/* ==========================================================================
   BALLALADMIN — feuille de style principale
   Palette : bleu du logo #0F2A85 + ambre chaud pour les actions
   Typographie : Source Serif 4 (titres) / Source Sans 3 (texte)
   ========================================================================== */

/* --------------------------------------------------------- 0. Typographie

   Les polices sont hébergées sur le domaine, jamais appelées chez un tiers :
   aucune donnée de visiteur ne quitte le site pour charger un caractère.
   Source Serif 4 et Source Sans 3 — SIL Open Font License 1.1 (Adobe).
   Les plages Unicode évitent de télécharger les jeux de caractères inutiles.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-italic.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.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;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.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;
}

/* Caractères latins étendus — chargés seulement s'ils apparaissent */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-600-normal.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;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-700-normal.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;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: "Source Serif 4";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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;
}

/* --------------------------------------------------------------- 1. Jetons */

:root {
  color-scheme: dark;

  /* Surfaces — le bleu de la section « On récupère vos documents » devient
     le fond de tout le site. Trois niveaux de profondeur : la bande creusée,
     le fond courant, la bande éclaircie. Les cartes, elles, sont un voile
     blanc translucide : elles se détachent donc de n'importe quelle bande. */
  --bg:            #0F2A85;
  --bg-2:          #16379F;
  --surface:       rgba(255, 255, 255, .085);
  --surface-solid: #16379F;   /* là où l'opacité est obligatoire : fenêtre, barre fixe */
  --surface-sunk:  #0B1F6E;
  --line:          rgba(255, 255, 255, .17);
  --line-strong:   rgba(255, 255, 255, .32);

  /* Texte */
  --text:          #E8EDFD;
  --muted:         #B4C2EE;
  --heading:       #FFFFFF;

  /* Marque — sur fond bleu, le bleu du logo passe en version claire.
     Il sert aux liens, aux icônes et aux surtitres. */
  --brand:         #A8BCFF;
  --brand-strong:  #CFDAFF;
  --brand-soft:    rgba(255, 255, 255, .10);
  --brand-tint:    #17399F;
  --on-light:      #0F2A85;   /* le bleu d'origine, pour le texte sur pastille claire */

  /* En-tête et pied : plus sombres que le corps, ils encadrent la page */
  --header-bg:     #0A1B4A;
  --header-bg-2:   #071439;
  --header-text:   #FFFFFF;
  --header-muted:  rgba(255, 255, 255, .72);
  --header-line:   rgba(255, 255, 255, .16);
  --header-hover:  rgba(255, 255, 255, .13);

  /* Accent chaud — réservé aux actions. Éclairci pour tenir sur le bleu. */
  --accent:        #E9A93F;
  --accent-strong: #F4C070;
  --accent-ink:    #241705;
  --accent-soft:   rgba(255, 255, 255, .07);

  /* Bandeau d'ouverture */
  --hero-bg:       #0A1B4A;
  --hero-bg-2:     #122E80;
  --hero-text:     #FFFFFF;
  --hero-muted:    #BDCEEC;
  --hero-line:     rgba(255, 255, 255, .10);

  /* Ombres — sur fond sombre, elles creusent au lieu d'éclairer */
  --shadow-sm: 0 1px 2px rgba(3, 9, 34, .35), 0 2px 10px rgba(3, 9, 34, .28);
  --shadow-md: 0 2px 8px rgba(3, 9, 34, .38), 0 16px 40px rgba(3, 9, 34, .42);

  /* Rythme */
  --wrap: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);
  --radius: 10px;
  --radius-lg: 16px;

  /* Échelle typographique */
  --t-xs:   .8125rem;
  --t-sm:   .9375rem;
  --t-base: 1.125rem;
  --t-lg:   1.25rem;
  --t-xl:   1.5rem;
  --t-2xl:  clamp(1.5rem,  2.4vw, 1.875rem);
  --t-3xl:  clamp(1.875rem, 3.4vw, 2.5rem);
  --t-4xl:  clamp(2.25rem, 5.2vw, 3.5rem);

  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* Le site est bleu en permanence : le mode sombre du système ne change pas
   le design, il approfondit simplement les bleus pour la lecture de nuit. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #0B2072;
    --bg-2:          #102C8A;
    --surface-solid: #102C8A;
    --surface-sunk:  #081855;
    --brand-tint:    #102C8A;

    --header-bg:     #060F33;
    --header-bg-2:   #040A23;

    --hero-bg:       #060F33;
    --hero-bg-2:     #0F2467;
  }
}

:root[data-theme="dark"] {
  --bg:            #0B2072;
  --bg-2:          #102C8A;
  --surface-solid: #102C8A;
  --surface-sunk:  #081855;
  --brand-tint:    #102C8A;

  --header-bg:     #060F33;
  --header-bg-2:   #040A23;

  --hero-bg:       #060F33;
  --hero-bg-2:     #0F2467;
}

/* ------------------------------------------------------------- 2. Réglages */

*, *::before, *::after { box-sizing: border-box; }

/* Un display: flex/grid l'emporterait sinon sur l'attribut hidden. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* Deux halos très diffus donnent du relief au bleu : sans eux, une page
   longue sur une seule teinte plate paraît terne. Ils restent fixes au
   défilement sur grand écran, où le coût de repeinte est négligeable. */
body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 82% -6%, rgba(122, 154, 255, .20), transparent 62%),
    radial-gradient(900px 560px at -6% 20%, rgba(7, 22, 88, .55), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 760px) {
  body { background-attachment: scroll; }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.18;
  text-wrap: balance;
  margin: 0;
  font-weight: 600;
}

p { margin: 0; }
img, svg { max-width: 100%; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface-solid);
  color: var(--text);
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Repère visuel des informations restant à fournir */
.tbd {
  text-decoration: underline dotted var(--accent);
  text-underline-offset: 4px;
}

/* -------------------------------------------------------------- 3. Boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  min-height: 52px;
}
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover { background: var(--accent-strong); color: var(--accent-ink); }

/* Sur fond bleu, le bouton plein s'inverse : pastille claire, texte bleu. */
.btn--solid {
  background: #FFFFFF;
  color: var(--on-light);
}
.btn--solid:hover { background: #E4EAFF; color: var(--on-light); }

.btn--ghost {
  background: transparent;
  color: var(--hero-text);
  border-color: rgba(255, 255, 255, .35);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .10); color: var(--hero-text); }

.btn--outline {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--line-strong);
}
.btn--outline:hover { border-color: var(--brand); color: var(--brand-strong); }

.btn .ico { width: 20px; height: 20px; flex: none; }

/* ---------------------------------------------------------- 4. Barre haute */

.topbar {
  background: var(--header-bg-2);
  color: #FFFFFF;
  font-size: var(--t-sm);
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem 1.75rem;
  padding-block: .5rem;
}
.topbar a { color: #FFFFFF; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; text-decoration: underline; }
.topbar .item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .ico { width: 16px; height: 16px; opacity: .85; flex: none; }
.topbar .spacer { margin-left: auto; }

@media (max-width: 760px) {
  .topbar .hide-sm { display: none; }
}

/* ------------------------------------------------------------- 5. En-tête */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--header-line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(6, 13, 40, .28); }

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--header-text);
  margin-right: auto;
}
.brand__mark {
  width: 52px;
  height: 52px;
  flex: none;
  display: block;
}
@media (max-width: 520px) {
  .brand__mark { width: 46px; height: 46px; }
}
.brand__name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  color: var(--header-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .75rem;
  border-radius: 8px;
  color: var(--header-text);
  text-decoration: none;
  font-size: var(--t-sm);
  font-weight: 600;
  white-space: nowrap;
}
.nav a:hover { background: var(--header-hover); color: var(--header-text); }

/* Le bouton d'action du menu déroulant est plus spécifique que .btn--accent :
   sans ceci, son texte repasse en blanc sur l'ambre et devient illisible. */
.nav a.btn--accent,
.nav a.btn--accent:hover { color: var(--accent-ink); }
.nav a.btn--accent:hover { background: var(--accent-strong); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: 1px solid var(--header-line);
  border-radius: var(--radius);
  color: var(--header-text);
  font: 600 var(--t-sm)/1 var(--font-body);
  padding: .75rem 1rem;
  cursor: pointer;
  min-height: 46px;
}

@media (max-width: 1059px) {
  .nav-toggle { display: inline-flex; }
  .site-header .btn--header { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--header-bg-2);
    border-bottom: 1px solid var(--header-line);
    box-shadow: 0 12px 28px rgba(6, 13, 40, .34);
    padding: .5rem var(--gutter) 1rem;
  }
  .nav[hidden] { display: none; }
  .nav a {
    padding: .875rem .5rem;
    border-bottom: 1px solid var(--header-line);
    border-radius: 0;
    font-size: var(--t-base);
  }
  .nav .btn { margin-top: .75rem; }
}

@media (min-width: 1060px) {
  .nav[hidden] { display: flex; }
  /* Le bouton d'action du menu n'existe que sur mobile :
     sur grand écran c'est .btn--header qui le porte. */
  .nav .btn { display: none; }
}

/* Progression de lecture */
.progressbar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--accent);
  pointer-events: none;
}

/* ---------------------------------------------------------------- 6. Hero */

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--hero-text);
  overflow: hidden;
  isolation: isolate;
}

/* Photographie de fond — légèrement surdimensionnée pour la parallaxe */
.hero__bg {
  position: absolute;
  inset: -6% 0;
  z-index: -2;
  background-image: image-set(
    url("../../images/accueil.jpg") 1x
  );
  background-image: url("../../images/accueil.jpg");
  background-size: cover;
  background-position: 62% 38%;
  will-change: transform;
}
@media (max-width: 720px) {
  .hero__bg {
    background-image: url("../../images/accueil-mobile.jpg");
    background-position: 42% 22%;
  }
}

/* Voile : le texte doit rester lisible quoi qu'il arrive */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg,
      rgba(5, 13, 40, .97) 0%,
      rgba(8, 23, 66, .93) 40%,
      rgba(15, 42, 133, .70) 72%,
      rgba(15, 42, 133, .52) 100%),
    repeating-linear-gradient(to bottom, var(--hero-line) 0 1px, transparent 1px 38px);
}
@media (max-width: 900px) {
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(5, 13, 40, .90) 0%,
        rgba(8, 23, 66, .86) 55%,
        rgba(10, 27, 74, .88) 100%),
      repeating-linear-gradient(to bottom, var(--hero-line) 0 1px, transparent 1px 38px);
  }
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero h1 {
  color: var(--hero-text);
  font-size: var(--t-4xl);
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lede {
  color: var(--hero-muted);
  font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
  max-width: 34ch;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: var(--t-sm);
  color: var(--hero-muted);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero__facts span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}

/* Carte des démarches — opaque : elle se pose sur la photo du bandeau,
   un voile translucide y perdrait sa lisibilité. */
.pricecard {
  background: linear-gradient(180deg, #1C3FA8 0%, #14308E 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.pricecard__head {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
}
.pricecard__head strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--t-lg);
  color: var(--heading);
}
.pricecard__head span { font-size: var(--t-sm); color: var(--muted); }

.pricecard__list { list-style: none; margin: 0; padding: .5rem 1.5rem 1.25rem; }
.pricecard__list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--text);
}
.pricecard__list li:last-child { border-bottom: 0; }
.pricecard__list .tick {
  width: 20px; height: 20px; flex: none;
  color: var(--brand);
}
.pricecard__foot {
  padding: 1rem 1.5rem 1.375rem;
  background: rgba(0, 0, 0, .16);
  border-top: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--muted);
  text-align: center;
}
.pricecard__foot .btn { width: 100%; margin-bottom: .625rem; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__lede { max-width: none; }
}

/* -------------------------------------------------- 7. Bandeau indépendance */

.disclaimer {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.disclaimer .wrap {
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 1rem;
  font-size: var(--t-sm);
  color: var(--text);
}
.disclaimer .ico { width: 22px; height: 22px; flex: none; color: var(--accent-strong); }
/* Sur petit écran la mention passe sur plusieurs lignes : le bouclier
   revient en haut pour ne pas flotter au milieu du bloc. */
@media (max-width: 620px) {
  .disclaimer .wrap { align-items: flex-start; }
  .disclaimer .ico { margin-top: 2px; }
}
.disclaimer strong { color: var(--heading); }

/* ------------------------------------------------------------ 8. Sections */

.section {
  padding-block: var(--section-y);
  /* L'en-tête est collant : on décale l'ancre pour ne pas masquer le titre. */
  scroll-margin-top: 84px;
}
.section--sunk { background: var(--surface-sunk); }
.section--brand { background: var(--brand-tint); }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head.is-centered { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}
.section__head h2 { font-size: var(--t-3xl); letter-spacing: -.015em; }
.section__head p { color: var(--muted); margin-top: .875rem; font-size: var(--t-lg); }

/* ------------------------------------------------ 8 bis. Blocs par public */

.publics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) { .publics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .publics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.public {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.375rem 1.25rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.public:hover {
  border-color: var(--brand);
  background: rgba(255, 255, 255, .13);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.public .ico { width: 30px; height: 30px; color: var(--accent-strong); }
.public h3 { font-size: var(--t-lg); line-height: 1.25; }
.public__lead { color: var(--text); font-size: var(--t-sm); font-weight: 600; }

/* Les questions reprises des flyers : c'est là que le visiteur se reconnaît */
.public ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
  flex: 1;
}
.public li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.45;
}
.public li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.public .go {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.public .go svg { width: 15px; height: 15px; transition: transform .18s ease; }
.public:hover .go svg { transform: translateX(4px); }

/* ------------------------------------------------------------ 9. Services */

/* Quatre tuiles compactes, sur une seule rangée dès qu'il y a la place. */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 560px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 940px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service {
  padding: clamp(1.25rem, 2vw, 1.5rem) clamp(1rem, 1.6vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  transition: background-color .18s ease;
  display: flex;
  flex-direction: column;
}
.service:hover { background: var(--surface); }
.service .ico {
  width: 26px; height: 26px;
  color: var(--brand);
  margin-bottom: .625rem;
}
.service h3 { font-size: var(--t-lg); margin-bottom: .375rem; }
.service p {
  color: var(--muted);
  font-size: var(--t-sm);
  margin-bottom: .875rem;
  flex: 1;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.service__link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.service:hover .service__link svg { transform: translateX(4px); }

.services-more {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--t-sm);
  color: var(--muted);
}
.services-more strong { color: var(--heading); }
.services-more .btn { margin-left: auto; }

/* ----------------------------------------------------------- 10. Démarche */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.5rem; border-top: 3px solid var(--brand); }
.step:nth-child(1) { border-top-color: var(--brand); }
.step__num {
  font-family: var(--font-head);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .08em;
  display: block;
  margin-bottom: .5rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--t-lg); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: var(--t-sm); }

/* -------------------------------------------------------- 11. Engagements */

/* Quatre engagements : 2 × 2, jamais une carte seule en fin de rangée. */
.pledges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 680px) {
  .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.pledge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.pledge .ico { width: 28px; height: 28px; color: var(--accent-strong); margin-bottom: .875rem; }
.pledge h3 { font-size: var(--t-lg); margin-bottom: .5rem; }
.pledge p { color: var(--muted); font-size: var(--t-sm); }

/* Introduction : la promesse, en pleine largeur, juste sous le bandeau */
.intro { padding-block: clamp(3rem, 6vw, 4.5rem); }
.intro__inner {
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 1.25rem;
}
.intro__inner::before {
  content: "";
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto .5rem;
}
.intro__lead {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem);
  color: var(--heading);
  line-height: 1.45;
  text-wrap: pretty;
}
.intro__aim { color: var(--muted); font-size: var(--t-base); max-width: 56ch; margin-inline: auto; }

/* Texte de présentation, en colonne à côté d'une image */
.prose { display: grid; gap: 1.125rem; max-width: 62ch; }
.prose p { color: var(--text); }

/* Mission et engagement, côte à côte */
.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.duo > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.duo h3 {
  font-size: var(--t-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .875rem;
}
.duo p { font-size: var(--t-lg); font-family: var(--font-head); color: var(--heading); line-height: 1.4; }

/* Les quatre verbes de l'engagement */
.verbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-family: var(--font-head);
  font-size: var(--t-xl);
  color: var(--heading);
  line-height: 1.3;
}
.verbs span { display: inline-flex; align-items: center; gap: 1.25rem; }
.verbs span::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.verbs span:last-child::after { display: none; }

/* Les valeurs, en une ligne */
.values {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  text-align: center;
}
.values h3 {
  font-size: var(--t-sm);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .875rem;
}
.values .verbs {
  justify-content: center;
  font-size: var(--t-lg);
  gap: .5rem 1rem;
}
.values .verbs span { gap: 1rem; }

/* Phrase de clôture */
.closing {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing p {
  font-family: var(--font-head);
  font-size: var(--t-2xl);
  color: var(--heading);
  max-width: 30ch;
  margin-inline: auto;
  text-wrap: balance;
}

/* Variante compacte, en colonne, pour les mises en page à deux volets */
.pledge-list { display: grid; gap: 1.5rem; }
.pledge-list > div { display: flex; gap: 1rem; align-items: flex-start; }
.pledge-list .ico {
  width: 26px; height: 26px; flex: none;
  color: var(--accent-strong);
  margin-top: 4px;
}
.pledge-list h3 { font-size: var(--t-lg); margin-bottom: .25rem; }
.pledge-list p { color: var(--muted); font-size: var(--t-sm); }

/* --------------------------------------------------------------- 12. FAQ */

.faq { max-width: 76ch; }
.faq details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3rem 1.25rem 0;
  position: relative;
  font-family: var(--font-head);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .75rem;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 2rem 1.5rem 0; color: var(--muted); }
.faq .answer p + p { margin-top: .875rem; }

/* ------------------------------------------ 12 bis. Dépôt de documents */

.depot-card {
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.depot-card h3 { font-size: var(--t-xl); margin-bottom: .625rem; }
.depot-card > p { color: var(--muted); font-size: var(--t-sm); }

.depot-card ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: .625rem;
  text-align: left;
  max-width: 34ch;
  margin-inline: auto;
}
.depot-card li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: var(--t-sm);
  color: var(--text);
}
.depot-card li svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 3px; }
.depot-card .btn { margin-bottom: .875rem; }
.depot-card__note { font-size: var(--t-xs); color: var(--muted); }

/* La fenêtre de vérification */
.modal {
  border: 0;
  padding: 0;
  max-width: 540px;
  width: min(92vw, 540px);
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(3, 9, 34, .55);
}
.modal::backdrop { background: rgba(4, 10, 35, .72); }

.modal__inner { padding: clamp(1.5rem, 4vw, 2rem); }
.modal h2 { font-size: var(--t-2xl); margin-bottom: .625rem; }
.modal__lead { color: var(--muted); font-size: var(--t-sm); margin-bottom: 1.5rem; }

.check {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.check:hover { border-color: var(--brand); background: rgba(255, 255, 255, .07); }
.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check span { font-size: var(--t-sm); line-height: 1.45; }
.check b { display: block; color: var(--heading); font-size: var(--t-base); }
/* Coché : l'ambre confirme, là où un bleu de plus se perdrait dans le fond. */
.check:has(input:checked) { border-color: var(--accent); background: rgba(233, 169, 63, .15); }

.modal__note {
  font-size: var(--t-xs);
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
  padding-top: 1rem;
}
.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
.modal__actions .btn { flex: 1 1 200px; }
.btn[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
}


/* ------------------------------------------- 7 bis. Offre mise en avant */

/* Le site entier est désormais bleu : pour rester « mise en avant », cette
   section s'éclaircit d'un cran au lieu de se colorer, et porte un filet
   ambre qui la relie au vocabulaire des boutons d'action. */
.offer {
  background:
    radial-gradient(760px 340px at 12% 0%, rgba(255, 255, 255, .10), transparent 62%),
    linear-gradient(135deg, #1A3AA4 0%, #2348BE 100%);
  color: #FFFFFF;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.offer h2 {
  color: #FFFFFF;
  font-size: var(--t-3xl);
  letter-spacing: -.015em;
  max-width: 24ch;
}
.offer h2 em { font-style: normal; color: var(--accent); }

.offer__lead {
  color: rgba(255, 255, 255, .82);
  font-size: var(--t-lg);
  margin-top: .875rem;
  max-width: 44ch;
}

.offer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: clamp(1.75rem, 3vw, 2.25rem) 0;
}
@media (min-width: 720px) { .offer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Creusées plutôt qu'éclaircies : sur un panneau lumineux, un voile blanc
   ferait passer les titres ambre sous le seuil de contraste. */
.offer__item {
  background: rgba(6, 15, 53, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.offer__item b {
  display: block;
  font-family: var(--font-head);
  font-size: var(--t-xl);
  color: var(--accent);
  margin-bottom: .25rem;
}
.offer__item span { font-size: var(--t-sm); color: rgba(255, 255, 255, .88); line-height: 1.5; }

.offer__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.offer__foot p {
  font-family: var(--font-head);
  font-size: var(--t-lg);
  color: #FFFFFF;
}

/* ----------------------------------------------------------- 13. Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Pas de formulaire : on envoie directement vers les canaux que les gens
   utilisent déjà, sans faire transiter leurs données par un tiers. */
.contact-actions {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.contact-actions h3 { font-size: var(--t-xl); }
.contact-actions > p { color: var(--muted); font-size: var(--t-sm); }

.btn--xl {
  width: 100%;
  min-height: 72px;
  font-size: var(--t-lg);
  padding: 1rem 1.25rem;
  gap: .75rem;
}
.btn--xl .ico { width: 26px; height: 26px; }

/* Le vert de WhatsApp est un repère immédiat : on le garde tel quel. */
.btn--whatsapp { background: #25D366; color: #052E1B; }
.btn--whatsapp:hover { background: #1DB556; color: #052E1B; }

.contact-actions__note {
  font-size: var(--t-xs);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: .875rem; align-items: flex-start; }
.contact-list .ico { width: 24px; height: 24px; color: var(--brand); flex: none; margin-top: 3px; }
.contact-list b { display: block; color: var(--heading); font-family: var(--font-head); }
.contact-list span, .contact-list a { font-size: var(--t-sm); color: var(--muted); }
.contact-list a { color: var(--brand); }

/* -------------------------------------------------------------- 14. Pied */

.site-footer {
  background: var(--hero-bg);
  color: var(--hero-muted);
  font-size: var(--t-sm);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  color: var(--hero-text);
  font-size: var(--t-base);
  margin-bottom: .875rem;
}
.site-footer a { color: var(--hero-muted); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .brand__name { color: var(--hero-text); }
.site-footer .brand__tag { color: var(--hero-muted); }
.site-footer .brand__mark { width: 68px; height: 68px; margin-bottom: .875rem; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.25rem 5.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: .5rem 1.5rem;
  font-size: var(--t-xs);
}
@media (min-width: 761px) { .footer-legal { padding-bottom: 1.75rem; } }

/* ------------------------------------------------- 15. Barre mobile fixe */

.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: none;
  background: var(--header-bg);
  border-top: 1px solid var(--header-line);
  box-shadow: 0 -4px 20px rgba(3, 9, 34, .45);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .5rem;
}
.actionbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .5rem .25rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--header-text);
  font-size: .75rem;
  font-weight: 600;
  min-height: 56px;
}
.actionbar a .ico { width: 22px; height: 22px; color: var(--brand); }
.actionbar a.is-primary { background: var(--accent); color: var(--accent-ink); }
.actionbar a.is-primary .ico { color: var(--accent-ink); }

@media (max-width: 760px) {
  .actionbar { display: flex; }
}

/* -------------------------------------------------- 16. Bandes illustrées */

.band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(.22, .61, .36, 1);
}
.band.is-in img { transform: scale(1); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .band { aspect-ratio: 16 / 10; }
}

/* L'image occupe toute la hauteur de la colonne voisine plutôt que
   de flotter au milieu d'un vide. */
.split .band { min-height: 360px; }
.split--wide .band { aspect-ratio: 16 / 7; min-height: 0; }

.quote-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.quote-strip img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.quote-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(95deg, rgba(5, 13, 40, .92) 0%, rgba(15, 42, 133, .66) 58%, rgba(15, 42, 133, .26) 100%);
}
@media (max-width: 720px) {
  .quote-strip::after {
    background: linear-gradient(180deg, rgba(5, 13, 40, .90) 0%, rgba(10, 27, 74, .84) 100%);
  }
}
.quote-strip .inner {
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 60ch;
}
.quote-strip p {
  font-family: var(--font-head);
  font-size: var(--t-2xl);
  color: #FFFFFF;
  line-height: 1.35;
  text-wrap: balance;
}
.quote-strip span {
  display: block;
  margin-top: 1rem;
  font-size: var(--t-sm);
  color: var(--hero-muted);
}

/* ------------------------------------------------------- 17. Apparitions */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
              transform .6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0ms);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Cascade : chaque enfant direct entre légèrement après le précédent */
.js-reveal .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1),
              transform .55s cubic-bezier(.22, .61, .36, 1);
}
.js-reveal .stagger.is-in > * { opacity: 1; transform: none; }
.js-reveal .stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.js-reveal .stagger.is-in > *:nth-child(2) { transition-delay: 90ms; }
.js-reveal .stagger.is-in > *:nth-child(3) { transition-delay: 180ms; }
.js-reveal .stagger.is-in > *:nth-child(4) { transition-delay: 270ms; }
.js-reveal .stagger.is-in > *:nth-child(5) { transition-delay: 360ms; }
.js-reveal .stagger.is-in > *:nth-child(6) { transition-delay: 450ms; }

/* Trait qui se dessine sous les étapes */
.step { --line-scale: 0; }
.js-reveal .steps.is-in .step { --line-scale: 1; }
.step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(var(--line-scale));
  transform-origin: 0 50%;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.steps.is-in .step:nth-child(2)::before { transition-delay: .12s; }
.steps.is-in .step:nth-child(3)::before { transition-delay: .24s; }
.steps.is-in .step:nth-child(4)::before { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal,
  .js-reveal .stagger > * { opacity: 1; transform: none; }
  .band img { transform: none; }
  .step::before { transform: scaleX(1); }
  .progressbar { display: none; }
}

/* ------------------------------------------------ 18. Marque tierce */

/* Glyphe officiel WhatsApp — marque déposée de Meta, tracé conforme à leur
   charte. Il est plein et non tracé : les réglages de contour des autres
   icônes ne s'y appliquent pas. On ne le déforme pas et on ne le recolore
   pas arbitrairement — son vert de marque quand il est seul, une teinte
   unie lisible quand il est posé sur ce même vert.

   Les sélecteurs composés sont nécessaires : `.contact-list .ico` et
   `.actionbar a .ico` sont plus spécifiques qu'une simple classe, et
   l'emporteraient sinon quelle que soit leur position. Le bloc est en
   fin de feuille pour gagner à spécificité égale. */
.contact-list .ico--wa,
.actionbar a .ico--wa,
.ico--wa { color: #25D366; }
.ico--wa-plein { color: inherit; }

/* ------------------------------------- 19. Remontée en haut de page */

/* Nom accessible pour les lecteurs d'écran, sans texte visible. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Volontairement sobre : l'ambre est réservé aux actions commerciales et
   entrerait ici en concurrence avec « Devis gratuit ». On reste sur le
   bleu de l'en-tête, que ce bouton prolonge visuellement. */
.totop {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 110;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 27, 74, .90);
  border: 1px solid var(--line-strong);
  color: var(--header-text);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  /* Caché du parcours au clavier tant qu'il n'est pas affiché. */
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s,
              background-color .18s ease, border-color .18s ease;
}
.totop.is-on { visibility: visible; opacity: 1; transform: none; }
.totop:hover {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--header-text);
}
.totop svg { width: 22px; height: 22px; }

/* Au-dessus de la barre d'action fixe, qui occupe déjà le bas de l'écran. */
@media (max-width: 760px) {
  .totop {
    bottom: calc(5.25rem + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}
