/* Site vitrine de Palier. Aucune dépendance : la police est servie depuis le site,
   et la politique de sécurité n'autorise que la même origine. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #141c31;
  --night-2: #1d2742;
  --accent: #6e86ff;
  --accent-soft: #a9b6ea;
  --primary: #3b54d6;
  --primary-hover: #2f45b8;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --border: #e2e7f1;
  --text: #1b2338;
  --muted: #56607a;
  --ok: #12805c;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    'IBM Plex Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--primary);
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 650;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}

/* En-tête */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(244 246 251 / 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--night);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand .dot {
  color: var(--accent);
}
.top nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.top nav a:hover {
  color: var(--text);
}

/* Boutons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease;
}
.button:hover {
  background: var(--primary-hover);
}
.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}
.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.button.ghost:hover {
  background: var(--surface);
}
.button.light {
  background: #fff;
  color: var(--night);
}
.button.light:hover {
  background: var(--accent-soft);
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

/* Accroche */
.hero {
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Captures */
.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgb(20 28 49 / 0.06),
    0 24px 48px -24px rgb(20 28 49 / 0.25);
}
.shot figcaption {
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.hero-shot {
  transform: perspective(1600px) rotateY(-4deg);
}

/* Bandeau */
.strip {
  background: var(--night);
  color: #d7ddf3;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
}
.strip p {
  margin: 0;
  font-size: 0.95rem;
}
.strip strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

/* Fonctionnalités */
.feature {
  padding: 88px 0;
}
.feature.alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.feature-grid.reverse > .feature-text {
  order: 2;
}
.feature-text p {
  color: var(--muted);
}
.feature-text.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
}
.shot-pair {
  display: grid;
  gap: 20px;
}
.shot-pair .shot:last-child {
  width: 82%;
  margin-left: auto;
  margin-top: -18%;
}
.spaces {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 40px;
}

/* Confiance */
.trust {
  padding: 88px 0;
  background: var(--night);
  color: #fff;
}
.trust .eyebrow {
  color: var(--accent-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.trust-grid > div {
  background: var(--night-2);
  border: 1px solid rgb(169 182 234 / 0.18);
  border-radius: var(--radius);
  padding: 22px;
}
.trust-grid p {
  color: #c4cbe4;
  margin: 0;
  font-size: 0.95rem;
}

/* Appel final */
.cta {
  padding: 88px 0;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary), #5b6ff0);
  color: #fff;
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
}
.cta-box p {
  color: #e3e8ff;
}
.cta-box .small {
  margin: 18px 0 0;
  font-size: 0.92rem;
}
.cta-box .small a {
  color: #fff;
}

/* Pied de page */
.foot {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.foot p {
  margin: 0;
}
.foot nav {
  display: flex;
  gap: 20px;
}
.foot a {
  color: var(--muted);
}

/* Mentions légales */
.legal {
  padding: 64px 0 88px;
}
.legal .wrap {
  max-width: 760px;
}
.legal h2 {
  font-size: 1.3rem;
  margin-top: 2em;
}

/* Tablette */
@media (max-width: 999px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .feature-grid.reverse > .feature-text {
    order: 0;
  }
  .hero-shot {
    transform: none;
  }
  .strip-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature,
  .trust,
  .cta {
    padding: 64px 0;
  }
}

/* Téléphone */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .top nav {
    display: none;
  }
  .top .button.small {
    margin-left: auto;
  }
  .hero {
    padding: 44px 0 40px;
  }
  .strip-grid,
  .trust-grid,
  .spaces {
    grid-template-columns: minmax(0, 1fr);
  }
  .shot-pair .shot:last-child {
    width: 100%;
    margin-top: 0;
  }
  .cta-box {
    padding: 40px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
}
