/* ==========================================================================
   AmiraBou — composants partagés
   Chaque règle est préfixée par la classe racine de son composant (plus de CSS
   « scopé » : on évite ainsi toute collision, notamment avec les calculateurs).
   Ce fichier sera réutilisé par le futur portail client.

   SOMMAIRE (composant — classe racine — usage)
   ---------------------------------------------------------------------------
    1. Barre du haut ........ (retirée le 8 octobre 2026 : un seul en-tête).
    2. En-tête .............. .site-header    Barre collante 76px : logotype, menu 6 liens (dont
                                             « Services » et son sous-menu des 5 catégories),
                                             bouton « Nous écrire » ;
                                             menu mobile repliant à 1240px (js/menu.js) ;
                                             ombre et barre or de lecture au défilement.
    3. Héros ................ .hero           Photo plein écran sous voile navy : h1, chapeau,
                                             signature (nom, titre, permis, registre), actions.
    4. Feuille de papier .... .sheet          Carte papier posée sur navy (onglet or, ombre
                                             --shadow-sheet). Formulaire de contact, envoi des questionnaires.
    5. Fiche de profil ...... (retirée le 15 octobre 2026).
    6. Bandeau confiance .... .trust          4 cartes à icône qui chevauchent le bas du héros.
    7. Voies francophones ... (retirées le 15 octobre 2026).
    8. Tableau comparatif ... (retiré le 15 octobre 2026).
    9. Services ............. .services       Paire titre / cartes de l'accueil.
   10. Cartes de services ... .service-cards  5 cartes-liens à icône (les catégories de Services),
                                             2 colonnes décalées.
   11. Admissibilité ........ .eligibility    Panneau navy arrondi + photo qui déborde.
   12. Processus ............ .process        Section des 4 étapes.
   13. Étapes ............... .steps          4 cartes numérotées en teintes, en escalier.
   14. Consultations ........ .consultations  Section des formules.
   15. Cartes d'offres ...... .plans          3 cartes (la 2e .featured en navy), sous-grille
                                             > 960px ; note .plans-note.
   16. Témoignages .......... .testimonials   Section des témoignages.
   17. Carrousel ............ .carrousel      Cartes de témoignages qui défilent (js/temoignages.js).
   18. FAQ .................. .faq            Titre collant + cartes <details name="faq"> (js/faq.js).
   19. À propos ............. .about          Devise .motto + texte + signature ; à l'accueil,
                                             photo avec la devise en carte qui déborde.
   20. Bande de fermeture ... .final          « Parlez-nous de votre projet » sur photo du drapeau.
   21. Pied de page ......... .site-footer    Cadre navy foncé : marque, permis, 3 colonnes, légal.
   22. Page introuvable ..... .notfound       Bande navy de la 404.
   23. Tête de page ......... .page-head      Bande des pages intérieures (h1, chapeau, actions),
                                             navy uni ou sur photo (.avec-photo).
   24. Liste cochée ......... .check-list     Liste réglée à coches ; .check-list--navy sur navy ;
                                             li.is-minor = critère atténué.
   25. Paire asymétrique .... .split          Grille 0.8fr / 1.2fr ; .split-head (titre + texte + lien).
   26. Texte long ........... .prose          Mentions légales : h2 à filet navy, h3 Bronze Ink,
                                             listes à tirets.
   28. Liens d'aide ......... .aide-liens     Liens officiels d'IRCC au-dessus des questionnaires.
   29. Mouvement ............ .reveal         Entrées au chargement, apparitions au défilement
                                             (js/mouvement.js), flèches au survol.
   30. Progression .......... .progression    Barre « N questions répondues sur M » des questionnaires.
   31. Sommaire de page ..... .sommaire       Puces collantes avec pastille qui glisse (js/sommaire.js).
   32. Retour en haut ....... .retour-haut    Bouton rond (js/mouvement.js).
   33. Photo de fond ........ .avec-photo     Photo sous voile navy, parallaxe (js/mouvement.js).
   34. Liste de nombres ..... .liste-nombre   Âge et années des questionnaires : menu compact
                                             (js/liste-nombres.js) à la place de la liste native.
   ========================================================================== */


/* ==========================================================================
   1. Barre du haut — retirée le 8 octobre 2026 (« pas de double en-tête ») : le permis et
   le registre sont dans la signature du héros (3), dans le pied de page (21) et à À propos.
   ========================================================================== */


/* ==========================================================================
   2. En-tête — .site-header (menu mobile : js/menu.js)
   Logotype à gauche ; à droite les 6 liens du menu, puis le lien de langue et « Nous écrire »
   (.header-actions). « Services » a un chevron qui ouvre ses 5 catégories (carte
   blanche au survol ou au clic ; accordéon sur téléphone). Sous 1240px, le menu passe dans le panneau ;
   le lien de langue et « Nous écrire » restent dans la barre.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-800);
  color: var(--white);
  border-bottom: 1px solid var(--on-navy-line);
  transition:
    background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
/* Dès que la page défile (js/mouvement.js) : ombre portée et fond légèrement translucide. */
.site-header.is-scrolled {
  background: rgba(26, 54, 95, 0.97);
  box-shadow: 0 14px 34px -22px rgba(14, 33, 64, 0.9);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled {
    background: rgba(26, 54, 95, 0.93);
    backdrop-filter: saturate(160%) blur(14px);
  }
}
/* Fine barre or de lecture, en bas de l'en-tête (créée par js/mouvement.js, décorative). */
.site-header .lecture {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.site-header .lecture span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-ink), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
}
.site-header :focus-visible {
  outline-color: var(--gold);
}
.site-header ::selection {
  background: var(--gold);
  color: var(--navy-900);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
.site-header .brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 5px;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
}
.site-header .brand-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.site-header .brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-header .nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.site-header .nav-liste {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .nav-groupe {
  position: relative;
  display: flex;
  align-items: center;
}
.site-header .nav-lien {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  color: var(--on-navy);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-color) var(--ease-out);
}
/* Soulignement or : se trace de gauche à droite au survol, reste visible sur la page courante. */
.site-header .nav-lien::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
}
.site-header .nav-lien:hover,
.site-header .nav-lien[aria-current="page"] {
  color: var(--white);
}
.site-header .nav-lien:hover::after,
.site-header .nav-lien[aria-current="page"]::after {
  transform: scaleX(1);
}
/* Chevron qui ouvre la liste des catégories de « Services » (le libellé reste un lien). */
.site-header .nav-deplier {
  display: grid;
  place-items: center;
  width: 22px;
  height: 36px;
  margin-left: 2px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--gold);
  cursor: pointer;
}
.site-header .nav-deplier svg {
  transition: rotate 0.25s var(--ease-out);
}
.site-header .nav-groupe.is-ouvert .nav-deplier svg {
  rotate: 180deg;
}
/* Sous-menu : carte blanche sous le libellé (survol ou clic sur grand écran, accordéon sur téléphone). */
.site-header .sous-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: -18px;
  display: none;
  min-width: 340px;
  padding: 10px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
}
/* Pont invisible entre le libellé et la carte : le survol ne se perd pas dans l'écart. */
.site-header .sous-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.site-header .sous-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header .sous-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color var(--dur-color) var(--ease-out);
}
.site-header .sous-menu a:hover {
  background: var(--tint-navy);
}
.site-header .sous-menu :focus-visible {
  outline-color: var(--navy-800);
}
@media (min-width: 1241px) {
  .site-header .nav-groupe.is-ouvert > .sous-menu {
    display: block;
  }
  @media (hover: hover) {
    .site-header .nav-groupe:hover > .sous-menu {
      display: block;
    }
  }
}
/* Un seul bouton (18 octobre 2026) : « Nous écrire » vers Contact depuis le 3 novembre 2026 (pas de
   réservation en ligne). « Espace client » est retiré tant que le portail n'est pas en service. */
.site-header .header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
/* Lien de langue (FR / EN), juste avant « Nous écrire ». */
.site-header .langue {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  color: var(--on-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color var(--dur-color) var(--ease-out), background-color var(--dur-color) var(--ease-out);
}
.site-header .langue:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
/* Or plein (corrections d'Amira du 28 octobre 2026) : l'action principale du site. */
.site-header .book {
  min-height: 42px;
  padding: 10px 18px;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px -12px rgba(195, 160, 99, 0.7);
}
.site-header .book:hover {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 14px 28px -14px rgba(212, 179, 122, 0.85);
}
.site-header .menu-toggle {
  display: none;
  flex-shrink: 0;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}
.site-header .menu-toggle .icon-close {
  display: none;
}
.site-header .menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.site-header .menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
/* Sous 1240px (6 liens + deux boutons ne tiennent plus) : menu repliable. */
@media (max-width: 1240px) {
  .site-header .menu-toggle {
    display: grid;
  }
  .site-header .header-actions {
    margin-left: auto;
  }
  .site-header .book {
    min-height: 44px;
  }
  .site-header .book {
    padding: 8px 16px;
  }
  /* Panneau du menu mobile */
  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 24px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--on-navy-line);
    box-shadow: var(--shadow-menu);
  }
  .site-header .nav.is-open {
    display: flex;
  }
  .site-header .nav-liste {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header .nav-groupe {
    flex-wrap: wrap;
    border-bottom: 1px solid var(--on-navy-line);
  }
  .site-header .nav-lien {
    flex: 1;
    display: block;
    padding: 14px 0;
    font-size: 1.0625rem;
  }
  .site-header .nav-lien::after {
    display: none;
  }
  .site-header .nav-lien[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.3em;
  }
  .site-header .nav-deplier {
    width: 48px;
    height: 52px;
  }
  /* Catégories de « Services » en accordéon dans le panneau. */
  .site-header .sous-menu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 12px 14px;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-header .sous-menu::before {
    display: none;
  }
  .site-header .nav-groupe.is-ouvert > .sous-menu {
    display: block;
  }
  .site-header .sous-menu a {
    padding: 11px 12px;
    color: var(--on-navy);
    font-size: 1rem;
  }
  .site-header .sous-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
  }
  .site-header .sous-menu :focus-visible {
    outline-color: var(--gold);
  }
}
@media (max-width: 520px) {
  .site-header .header-inner {
    gap: 10px;
  }
  .site-header .brand-name {
    font-size: 1.6rem;
  }
  /* 11px minimum pour rester lisible ; quand la place manque (langue, bouton et menu à
     droite), la ligne du logotype passe sur deux lignes au lieu de glisser dessous. */
  .site-header .brand-sub {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }
  /* Les boutons et le bouton de menu ne rétrécissent jamais : c'est le logotype qui cède. */
  .site-header .brand {
    flex-shrink: 1;
    min-width: 0;
  }
  .site-header .header-actions {
    gap: 8px;
  }
  .site-header .book {
    padding: 8px 14px;
  }
}
/* Petits téléphones (320 à 374px, ex. Android à 360px). */
@media (max-width: 374px) {
  .site-header .header-inner {
    gap: 8px;
  }
  .site-header .brand-name {
    font-size: 1.5rem;
  }
  .site-header .header-actions {
    gap: 6px;
  }
  .site-header .book {
    padding: 8px 10px;
  }
}


/* ==========================================================================
   3. Héros — .hero : photo plein écran (Montréal au crépuscule) sous un voile navy.
   La photo zoome lentement au chargement et glisse plus lentement que la page au
   défilement (parallaxe, js/mouvement.js). Le bandeau confiance (6) chevauche son bas.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-900);
}
.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Photo plus haute que la bande (120 %) : la parallaxe la déplace sans jamais montrer de bord. */
.hero .hero-photo {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 45%;
  /* Photo prise au crépuscule : éclaircie (17 octobre 2026, site jugé trop sombre). */
  filter: brightness(1.28) saturate(1.08);
  will-change: transform;
}
/* Voile : plus dense à gauche (titre), plus léger à droite (la photo respire). */
.hero .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 33, 64, 0.74) 0%, rgba(19, 41, 77, 0.6) 42%, rgba(19, 41, 77, 0.1) 74%, rgba(19, 41, 77, 0) 100%),
    linear-gradient(180deg, rgba(19, 41, 77, 0) 62%, rgba(19, 41, 77, 0.5) 100%);
}
.hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  /* Colonne de droite vide depuis le 15 octobre 2026 (fiche de profil retirée) : la photo respire. */
  grid-template-areas:
    "title ."
    "body .";
  column-gap: clamp(40px, 6vw, 88px);
  min-height: min(calc(100svh - var(--header-h) - 40px), 860px);
  /* Le bas laisse la place aux cartes du bandeau confiance qui chevauchent la photo. */
  padding-block: clamp(64px, 9vw, 120px) clamp(120px, 13vw, 176px);
}
/* Titre = le nom de l'activité du cabinet (texte du site Wix), pas un slogan :
   plus long qu'une accroche, il est donc un peu plus petit que l'échelle « display ». */
.hero .hero-titre {
  grid-area: title;
  align-self: end;
}
.hero h1 {
  max-width: 19ch;
  color: var(--white);
  font-size: clamp(2.4rem, 1.5rem + 2.7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.hero .hero-body {
  grid-area: body;
  align-self: start;
}
.hero .lead {
  margin-top: 28px;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--on-navy);
}
/* Signature mise en avant (8 octobre 2026) : carte vitrée avec un sceau or, le nom d'Amira en
   grand, son titre, son permis et le lien vers le registre public (la barre du haut, qui les
   portait, a été retirée). */
.hero .byline {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 36rem;
  margin: 28px 0 36px;
  padding: 18px 24px 16px 18px;
  background: rgba(14, 33, 64, 0.62);
  border: 1px solid rgba(195, 160, 99, 0.35);
  border-radius: var(--radius-card);
}
@supports (backdrop-filter: blur(8px)) {
  .hero .byline {
    background: rgba(14, 33, 64, 0.52);
    backdrop-filter: blur(10px);
  }
}
.hero .byline-seal {
  display: grid;
  flex: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(195, 160, 99, 0.6);
  border-radius: 50%;
  background: rgba(195, 160, 99, 0.12);
  color: var(--gold);
}
.hero .byline-text {
  min-width: 0;
}
.hero .byline-name {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.3rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--white);
}
.hero .byline-role {
  margin-top: 6px;
  font-size: var(--fs-label);
  font-weight: 500;
  line-height: 1.4;
  color: var(--gold);
}
.hero .byline-licence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--on-navy);
}
.hero .byline-verify {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(195, 160, 99, 0.7);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color var(--dur-color) var(--ease-out);
}
.hero .byline-verify:hover {
  text-decoration-color: var(--gold);
}
.hero .byline-verify svg {
  flex: none;
  color: var(--gold);
}
@media (max-width: 520px) {
  .hero .byline {
    gap: 14px;
    padding: 16px 16px 14px 14px;
  }
  .hero .byline-seal {
    width: 46px;
    height: 46px;
  }
  .hero .byline-seal svg {
    width: 22px;
    height: 22px;
  }
}
.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 30px;
}
.hero .hero-actions .text-link {
  font-size: var(--fs-label);
}
/* Tablette et téléphone : titre, puis le reste.
   La photo ne couvre que le haut de la bande et se fond dans le navy sous le titre. */
@media (max-width: 900px) {
  .hero .hero-media {
    bottom: auto;
    height: min(100%, 620px);
  }
  .hero .hero-media::after {
    background:
      linear-gradient(180deg, rgba(19, 41, 77, 0.62) 0%, rgba(19, 41, 77, 0.66) 50%, var(--navy-900) 100%);
  }
  .hero .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "body";
    min-height: 0;
    padding-bottom: clamp(96px, 20vw, 128px);
  }
  .hero h1 {
    max-width: 20ch;
  }
  .hero .hero-body {
    margin-top: 8px;
  }
}
@media (max-width: 520px) {
  .hero .hero-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   4. Feuille de papier — .sheet (seul objet levé : papier posé sur navy)
   ========================================================================== */
.sheet {
  position: relative;
  min-width: 0;
  padding: clamp(26px, 3vw, 38px);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sheet);
}
/* Onglet or en haut à gauche : le « sceau » de la feuille. */
.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 3vw, 38px);
  width: 56px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.sheet ::selection {
  background: var(--gold-soft);
  color: var(--navy-900);
}
/* Dans la feuille, l'anneau redevient navy même si la bande autour est navy. */
.sheet :focus-visible {
  outline-color: var(--navy-800);
}
.sheet .todo {
  color: var(--gold-ink);
}
.sheet .text-link {
  color: var(--navy-800);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.22em;
}
.sheet .text-link:hover {
  text-decoration-color: currentColor;
}
.sheet .sheet-head h2 {
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 1.95rem);
  color: var(--navy-800);
}
.sheet .sheet-head p {
  margin-top: 6px;
  font-size: var(--fs-label);
  color: var(--muted);
}


/* ==========================================================================
   5. Fiche de profil — retirée le 15 octobre 2026 (contre-proposition au cahier d’Amira).
   ========================================================================== */


/* ==========================================================================
   6. Bandeau confiance — .trust : 4 cartes blanches qui chevauchent le bas du héros
   (la mise en page sort de la ligne droite : la photo continue sous les cartes).
   ========================================================================== */
.trust {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(84px, 9vw, 116px));
}
.trust .trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  list-style: none;
  margin-block: 0;
}
.trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 22px 22px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  transition:
    translate var(--dur-lift) var(--ease-out),
    box-shadow var(--dur-lift) var(--ease-out);
}
.trust li:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-card-hover);
}
.trust .trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--tint-gold);
  color: var(--gold-ink);
}
.trust strong {
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy-800);
}
@media (max-width: 900px) {
  .trust .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .trust .trust-list {
    gap: 10px;
  }
  .trust li {
    padding: 16px 14px 18px;
    font-size: 0.8125rem;
  }
  .trust .trust-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
    border-radius: 10px;
  }
  .trust strong {
    font-size: 0.9rem;
  }
}
@media (max-width: 374px) {
  .trust .trust-list {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   7. Voies francophones et 8. Tableau comparatif — retirés de l’accueil le 15 octobre 2026.
   ========================================================================== */


/* ==========================================================================
   9. Services — .services (paire titre / liste de l'accueil)
   ========================================================================== */
.services .services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.services .services-head h2 {
  font-size: var(--fs-headline);
}
.services .services-head p {
  max-width: 26rem;
  margin: 1.1rem 0 1.25rem;
  font-size: var(--fs-lead);
  color: var(--muted);
}
/* Grand écran : le titre suit la lecture des cartes (elles sont plus hautes que lui). */
@media (min-width: 901px) {
  .services .services-head {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}
@media (max-width: 900px) {
  .services .services-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   10. Cartes de services — .service-cards
   Cartes-liens (toute la carte est cliquable) en 2 colonnes décalées : la seconde
   colonne descend d'un cran, pour casser l'alignement en ligne droite.
   ========================================================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-cards > li:nth-child(even) {
  margin-top: clamp(28px, 4vw, 48px);
}
/* Nombre impair de cartes (5 catégories depuis le 15 octobre 2026) : la dernière prend toute
   la largeur, icône à gauche, texte au milieu, flèche à droite. */
.service-cards > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
@media (min-width: 601px) {
  .service-cards > li:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 22px;
    align-items: center;
  }
  .service-cards > li:last-child:nth-child(odd) .service-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .service-cards > li:last-child:nth-child(odd) h3,
  .service-cards > li:last-child:nth-child(odd) p {
    grid-column: 2;
  }
  .service-cards > li:last-child:nth-child(odd) .service-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition:
    translate var(--dur-lift) var(--ease-out),
    box-shadow var(--dur-lift) var(--ease-out),
    border-color var(--dur-lift) var(--ease-out);
}
.service-card:hover {
  translate: 0 -6px;
  border-color: rgba(195, 160, 99, 0.6);
  box-shadow: var(--shadow-card-hover);
}
.service-card .service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--tint-navy);
  color: var(--navy-800);
  transition:
    background-color var(--dur-lift) var(--ease-out),
    color var(--dur-lift) var(--ease-out);
}
.service-card:hover .service-icon {
  background: var(--navy-800);
  color: var(--gold);
}
.service-card h3 {
  font-size: var(--fs-title);
  line-height: 1.15;
}
/* Le lien couvre toute la carte (pseudo-élément) ; l'anneau de focus entoure la carte. */
.service-card h3 a {
  color: inherit;
  text-decoration: none;
}
.service-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.service-card h3 a:focus-visible {
  outline: none;
}
.service-card:has(h3 a:focus-visible) {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
}
.service-card p {
  margin-top: 8px;
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--muted);
}
.service-card .service-arrow {
  margin-top: 18px;
  color: var(--gold-ink);
  transition: translate var(--dur-lift) var(--ease-out);
}
.service-card:hover .service-arrow {
  translate: 6px 0;
}
@media (max-width: 600px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
  .service-cards > li:nth-child(even) {
    margin-top: 0;
  }
}


/* ==========================================================================
   11. Admissibilité — .eligibility : panneau navy arrondi posé sur le papier, avec une
   photo qui déborde du panneau par le haut (mise en page en chevauchement).
   ========================================================================== */
.eligibility {
  padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px);
  background: var(--paper);
}
.eligibility .eligibility-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(195, 160, 99, 0.16) 0%, rgba(195, 160, 99, 0) 55%),
    var(--navy-800);
  box-shadow: var(--shadow-card-hover);
}
.eligibility h2 {
  font-size: clamp(2.25rem, 4vw, 3.2rem);
}
.eligibility .text {
  max-width: 32rem;
  margin: 18px 0 24px;
  font-size: var(--fs-body);
  color: var(--on-navy);
}
.eligibility .list-title {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--gold);
}
.eligibility .check-list--navy {
  max-width: 32rem;
  margin-bottom: 32px;
}
/* Photo : déborde au-dessus du panneau, cadre arrondi, filet or décalé derrière. */
.eligibility .eligibility-visual {
  position: relative;
  align-self: stretch;
  margin-top: calc(-1 * clamp(72px, 9vw, 120px));
  margin-bottom: clamp(8px, 2vw, 24px);
}
.eligibility .eligibility-visual::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border: 1px solid rgba(195, 160, 99, 0.6);
  border-radius: var(--radius-lg);
}
.eligibility .eligibility-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
@media (max-width: 900px) {
  .eligibility .eligibility-panel {
    grid-template-columns: 1fr;
  }
  /* La photo passe au-dessus du texte et déborde toujours du panneau. */
  .eligibility .eligibility-visual {
    order: -1;
    margin-top: calc(-1 * clamp(72px, 14vw, 104px));
    margin-bottom: 0;
  }
  .eligibility .eligibility-visual::before {
    display: none;
  }
  .eligibility .eligibility-photo {
    min-height: 0;
    height: clamp(200px, 48vw, 320px);
  }
}
@media (max-width: 520px) {
  .eligibility .eligibility-panel {
    padding: 28px 22px 32px;
  }
  .eligibility .btn {
    width: 100%;
  }
}


/* ==========================================================================
   12. Processus — .process  /  13. Étapes — .steps
   ========================================================================== */
/* 4 cartes numérotées, du plus clair au plus foncé (la démarche avance) : blanc, teinte
   navy, teinte or, navy plein. En escalier sur grand écran ; elles apparaissent l'une
   après l'autre au défilement (js/mouvement.js). */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps > li {
  position: relative;
  min-width: 0;
  padding: 28px 24px 30px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition:
    translate var(--dur-lift) var(--ease-out),
    box-shadow var(--dur-lift) var(--ease-out);
}
.steps > li:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-card-hover);
}
.steps > li:nth-child(2) {
  background: var(--tint-navy);
  border-color: transparent;
}
.steps > li:nth-child(3) {
  background: var(--tint-gold);
  border-color: transparent;
}
.steps > li:nth-child(4) {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.steps > li:nth-child(4) h3 {
  color: var(--white);
}
.steps > li:nth-child(4) p {
  color: var(--on-navy);
}
.steps .step-n {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.steps > li:nth-child(4) .step-n {
  background: var(--gold);
  color: var(--navy-900);
}
.steps h3 {
  margin: 20px 0 10px;
  font-size: var(--fs-title);
}
.steps p {
  font-size: var(--fs-body-sm);
  color: var(--muted);
}
@media (min-width: 901px) {
  /* Escalier : chaque carte descend un peu plus que la précédente. */
  .steps > li:nth-child(2) {
    margin-top: 28px;
  }
  .steps > li:nth-child(3) {
    margin-top: 56px;
  }
  .steps > li:nth-child(4) {
    margin-top: 84px;
  }
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps > li:nth-child(even) {
    margin-top: 32px;
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps > li:nth-child(even) {
    margin-top: 0;
  }
}


/* ==========================================================================
   14. Consultations — .consultations  /  15. Cartes d'offres — .plans
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}
.plans .plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.6vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition:
    translate var(--dur-lift) var(--ease-out),
    box-shadow var(--dur-lift) var(--ease-out);
}
.plans .plan:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-card-hover);
}
.plans .plan.featured {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(195, 160, 99, 0.18) 0%, rgba(195, 160, 99, 0) 60%),
    var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-float);
}
.plans .featured :focus-visible {
  outline-color: var(--gold);
}
.plans .featured ::selection {
  background: var(--gold);
  color: var(--navy-900);
}
.plans .plan h3 {
  font-size: clamp(1.65rem, 1.4rem + 0.6vw, 1.95rem);
}
.plans .featured h3 {
  color: var(--white);
}
.plans .duration {
  margin-top: 6px;
  font-size: var(--fs-caption);
  color: var(--muted);
}
.plans .featured .duration {
  color: var(--on-navy);
}
.plans .price {
  margin: 22px 0 6px;
  font-family: var(--serif);
  font-size: var(--fs-figure);
  font-weight: 600;
  line-height: 1;
  color: var(--navy-800);
}
.plans .currency {
  margin-left: 6px;
  font-size: 1.6rem;
  font-weight: 500;
}
.plans .featured .price {
  color: var(--white);
}
/* « Taxes incluses » sous le montant (tarifs du 13 octobre 2026). */
.plans .price .taxes {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.plans .featured .price .taxes {
  color: var(--on-navy);
}
.plans .price-case {
  font-size: 2.15rem;
  line-height: 1.1;
}
.plans .price-case span {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.plans .list-label {
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-ink);
}
.plans .featured .list-label {
  color: var(--gold);
}
.plans .includes {
  flex: 1;
  list-style: none;
  margin: 10px 0 30px;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.plans .featured .includes {
  border-top-color: var(--on-navy-line);
}
.plans .includes li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-label);
  line-height: 1.5;
  color: var(--ink);
}
/* Tiret de 10px en guise de puce (jamais un glyphe). */
.plans .includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 10px;
  height: 1px;
  background: var(--gold-ink);
}
.plans .featured .includes li {
  color: var(--on-navy);
  border-bottom-color: var(--on-navy-line);
}
.plans .featured .includes li::before {
  background: var(--gold);
}
.plans .plan .btn {
  width: 100%;
}
/* Alignement des lignes d'une carte à l'autre (titre, durée, prix, étiquette, liste, bouton). */
@media (min-width: 961px) {
  @supports (grid-template-rows: subgrid) {
    .plans .plan {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .plans .plan h3 {
      grid-row: 1;
      align-self: end;
    }
    .plans .duration {
      grid-row: 2;
    }
    .plans .price {
      grid-row: 3;
    }
    .plans .offre-texte {
      grid-row: 4;
    }
    .plans .plan .btn {
      grid-row: 5;
      align-self: end;
    }
  }
}
@media (max-width: 960px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 34rem;
  }
}
.plans-note {
  margin-top: 28px;
  font-size: var(--fs-caption);
  color: var(--muted);
}


/* ==========================================================================
   16. Témoignages — .testimonials  /  17. Carrousel — .carrousel (js/temoignages.js)
   Sans JavaScript : rangée de cartes qu'on fait défiler (doigt, pavé tactile, clavier).
   Avec JavaScript : boutons précédent / suivant, points, flèches du clavier. Pas de
   défilement automatique (bouton lecture/pause retiré le 8 octobre 2026).
   ========================================================================== */
.carrousel {
  --carrousel-gap: clamp(16px, 2vw, 28px);
  position: relative;
}
.carrousel .carrousel-piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--carrousel-gap)) / 2);
  gap: var(--carrousel-gap);
  margin: 0;
  padding: 8px 2px 30px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.carrousel .carrousel-piste:focus-visible {
  outline-offset: 2px;
  border-radius: var(--radius-lg);
}
/* Avec JavaScript, les boutons remplacent la barre de défilement. */
.carrousel.is-actif .carrousel-piste {
  scrollbar-width: none;
}
.carrousel.is-actif .carrousel-piste::-webkit-scrollbar {
  display: none;
}
.carrousel .carrousel-diapo {
  display: flex;
  min-width: 0;
  scroll-snap-align: start;
}
.carrousel .temoignage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(30px, 3.4vw, 44px) clamp(24px, 3vw, 40px) clamp(26px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
/* Guillemet ouvrant : typographie, pas une icône. */
.carrousel .temoignage::before {
  content: "\201C";
  display: block;
  height: 0.5em;
  font-family: var(--serif);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--gold);
}
.carrousel blockquote {
  flex: 1;
  margin: 0;
}
.carrousel blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem);
  font-weight: 500;
  line-height: 1.32;
  color: var(--navy-800);
}
.carrousel figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-caption);
  color: var(--muted);
}
.carrousel figcaption strong {
  font-weight: 600;
  color: var(--ink);
}
/* Commandes (créées par js/temoignages.js) */
.carrousel .carrousel-commandes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 2px;
}
.carrousel .carrousel-points {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
}
.carrousel .carrousel-point {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.carrousel .carrousel-point::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--line-strong);
  transition:
    width 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
}
.carrousel .carrousel-point:hover::before {
  background: var(--navy-600);
}
.carrousel .carrousel-point[aria-current="true"]::before {
  width: 24px;
  background: var(--gold-ink);
}
.carrousel .carrousel-fleches {
  display: flex;
  gap: 10px;
}
.carrousel .carrousel-bouton {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color var(--dur-color) var(--ease-out),
    border-color var(--dur-color) var(--ease-out),
    color var(--dur-color) var(--ease-out),
    translate var(--dur-lift) var(--ease-out);
}
.carrousel .carrousel-bouton:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}
.carrousel .carrousel-bouton:focus-visible {
  border-radius: 50%;
}
@media (max-width: 900px) {
  .carrousel .carrousel-piste {
    grid-auto-columns: 86%;
  }
}


/* ==========================================================================
   18. FAQ — .faq
   ========================================================================== */
.faq .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq .faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.faq .faq-aside h2 {
  font-size: var(--fs-headline);
}
.faq .faq-aside p {
  max-width: 24rem;
  margin: 1.1rem 0 1rem;
  font-size: var(--fs-body);
  color: var(--muted);
}
/* Chaque question est une carte ; l'ouverture et la fermeture glissent en douceur
   (js/faq.js ; sans JavaScript, les questions s'ouvrent normalement). */
.faq .faq-list {
  display: grid;
  gap: 12px;
}
/* Groupes de questions de la page FAQ (Avant de réserver, La consultation, Votre dossier) :
   titre Cormorant navy avec un court filet or. */
.faq .faq-groupe {
  margin-top: 40px;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.3rem + 0.7vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-800);
}
.faq .faq-groupe::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 10px;
  background: var(--gold);
}
/* Colonne latérale de la page FAQ : question d'appel, sommaire des thèmes, liens. */
.faq .faq-aside .faq-aside-titre {
  max-width: none;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-800);
}
.faq .faq-sommaire ul {
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.faq .faq-sommaire a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-color) var(--ease-out);
}
.faq .faq-sommaire a:hover {
  color: var(--gold-ink);
}
.faq .faq-aside-liens {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.faq .faq-groupe:first-child {
  margin-top: 0;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(26, 54, 95, 0.04);
  transition:
    border-color var(--dur-lift) var(--ease-out),
    box-shadow var(--dur-lift) var(--ease-out);
}
.faq details:hover {
  border-color: var(--line-strong);
}
.faq details[open] {
  border-color: rgba(195, 160, 99, 0.55);
  box-shadow: var(--shadow-card);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.15rem + 0.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy-800);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover span {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.faq summary .toggle {
  flex: none;
  box-sizing: content-box;
  margin-top: 0;
  padding: 4px;
  border-radius: 50%;
  background: var(--tint-gold);
  color: var(--gold-ink);
  transition:
    transform 0.4s var(--ease-out),
    background-color var(--dur-lift) var(--ease-out),
    color var(--dur-lift) var(--ease-out);
}
/* Le « plus » tourne de 45° pour devenir une croix ; il revient dès que la fermeture commence. */
.faq details[open]:not(.is-fermeture) summary .toggle {
  transform: rotate(45deg);
  background: var(--navy-800);
  color: var(--gold);
}
.faq .answer {
  padding: 0 70px 22px 22px;
}
.faq .answer p {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}
@media (max-width: 900px) {
  .faq .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq .faq-aside {
    position: static;
  }
  .faq .answer {
    padding-right: 22px;
  }
}


/* ==========================================================================
   19. À propos — .about
   ========================================================================== */
.about .about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.about .motto {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid var(--gold);
}
.about .motto blockquote {
  margin: 0;
}
.about .motto p {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--navy-800);
  text-wrap: balance;
}
.about .about-text > p {
  max-width: 38rem;
  font-size: var(--fs-body);
  color: var(--ink);
}
.about .about-text > p + p {
  margin-top: 1rem;
}
.about .about-text h3 {
  margin: 2rem 0 0.6rem;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--gold-ink);
}
.about .check-list {
  max-width: 38rem;
}
.about .signature {
  margin-top: 2rem;
}
.about .sig-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-800);
}
.about .sig-role {
  margin-top: 4px;
  font-size: var(--fs-caption);
  color: var(--muted);
}
.about .sig-licence {
  display: block;
  margin-top: 2px;
}
.about .signature .text-link {
  margin-top: 6px;
  font-size: var(--fs-caption);
}
@media (max-width: 900px) {
  .about .about-grid {
    grid-template-columns: 1fr;
  }
}
/* Accueil : photo du Vieux-Port, la devise posée en carte navy qui déborde de la photo. */
.about .about-grid:has(.about-visual) {
  align-items: center;
}
.about .about-visual {
  position: relative;
  padding-bottom: 56px;
}
.about .about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
.about .about-visual .motto {
  position: absolute;
  right: clamp(-28px, -2vw, -12px);
  bottom: 0;
  max-width: min(82%, 26rem);
  padding: 30px 30px 28px;
  background: var(--navy-800);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
}
.about .about-visual .motto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 48px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
}
.about .about-visual .motto p {
  font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.1rem);
  color: var(--white);
}
@media (max-width: 900px) {
  .about .about-visual .motto {
    right: 12px;
    max-width: calc(100% - 36px);
  }
}


/* ==========================================================================
   20. Bande de fermeture — .final : photo du drapeau sous un voile navy (composant 33).
   ========================================================================== */
.final {
  background: var(--navy-900);
}
/* Photo retournée en miroir : le drapeau passe à droite, là où le voile est le plus léger. */
.final .photo-fond {
  object-position: 35% 50%;
  scale: -1 1;
}
.final .final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  padding-block: clamp(72px, 9vw, 112px);
}
.final h2 {
  font-size: clamp(2.6rem, 1.8rem + 2.8vw, 4.2rem);
  line-height: 1.02;
}
.final .text {
  max-width: 32rem;
  margin: 18px 0 34px;
  font-size: var(--fs-lead);
  color: var(--on-navy);
}
.final .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
/* Liens texte au lieu de boutons (cahier : « Voir nos consultations », « Nous écrire »). */
.final .final-liens {
  gap: 4px 32px;
}
.final .reach {
  margin: 0;
  border-top: 1px solid var(--on-navy-line);
}
.final .reach div {
  padding: 16px 0;
  border-bottom: 1px solid var(--on-navy-line);
}
.final dt {
  font-size: var(--fs-fine);
  font-weight: 600;
  color: var(--gold);
}
.final dd {
  margin: 4px 0 0;
}
.final dd a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  max-width: 100%;
  color: var(--white);
  font-size: var(--fs-body);
  text-decoration: none;
  word-break: break-word;
}
.final dd a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.final dd svg {
  flex: none;
  color: var(--gold);
}
@media (max-width: 900px) {
  .final .final-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 520px) {
  .final .actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   21. Pied de page — .site-footer
   ========================================================================== */
.site-footer {
  padding: clamp(44px, 5vw, 60px) 0 26px;
  background: var(--navy-950);
  color: var(--on-navy-soft);
  font-size: var(--fs-caption);
}
.site-footer :focus-visible {
  outline-color: var(--gold);
}
.site-footer ::selection {
  background: var(--gold);
  color: var(--navy-900);
}
.site-footer .todo {
  color: var(--gold);
}
/* Haut : marque, une ligne de liens, coordonnées. Bas : permis et mentions légales. */
.site-footer .pied-haut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 48px;
  align-items: start;
  padding-bottom: 28px;
}
.site-footer .brand-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
}
.site-footer .tagline {
  max-width: 24rem;
  margin-top: 10px;
  line-height: 1.5;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .pied-liens,
.site-footer .pied-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.site-footer .pied-liens {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
}
.site-footer .pied-contact {
  grid-column: 2;
  justify-content: flex-end;
}
.site-footer .pied-liens a {
  color: var(--on-navy);
  font-weight: 500;
}
.site-footer li a {
  display: inline-block;
  padding: 6px 0;
  color: var(--on-navy-soft);
  text-decoration: none;
  word-break: break-word;
  transition: color var(--dur-color) var(--ease-out);
}
.site-footer li a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.site-footer .pied-marque {
  grid-row: 1 / span 2;
}
.site-footer .pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--on-navy-line);
  font-size: var(--fs-fine);
  line-height: 1.6;
}
.site-footer .pied-permis {
  max-width: 52rem;
}
.site-footer .pied-bas a {
  color: var(--gold);
}
.site-footer .pied-bas a:hover {
  color: var(--white);
}
@media (max-width: 960px) {
  .site-footer .pied-haut {
    grid-template-columns: 1fr;
  }
  .site-footer .pied-marque,
  .site-footer .pied-liens,
  .site-footer .pied-contact {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  .site-footer .pied-liens {
    flex-direction: column;
  }
  .site-footer li a {
    padding: 10px 0;
  }
}


/* ==========================================================================
   22. Page introuvable — .notfound
   ========================================================================== */
.notfound {
  padding-block: clamp(80px, 12vw, 160px);
  background: var(--navy-800);
}
.notfound h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--white);
}
.notfound p {
  max-width: 36rem;
  margin: 22px 0 34px;
  font-size: var(--fs-lead);
  color: var(--on-navy);
}
@media (max-width: 520px) {
  .notfound .btn {
    width: 100%;
  }
}


/* ==========================================================================
   23. Tête de page intérieure — .page-head : navy uni, ou photo sous un voile navy
   (classe .avec-photo, composant 33). Le contenu entre en douceur au chargement (29).
   ========================================================================== */
.page-head {
  background: var(--navy-800);
}
.page-head .page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
  padding-block: clamp(56px, 8vw, 96px) clamp(56px, 7vw, 88px);
}
.page-head.avec-photo .page-head-grid {
  padding-block: clamp(72px, 10vw, 136px) clamp(64px, 9vw, 112px);
}
/* Sans aside : une seule colonne. */
.page-head .page-head-grid:not(:has(.page-head-aside)) {
  grid-template-columns: minmax(0, 1fr);
}
.page-head h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
}
.page-head .page-head-lead {
  max-width: 36rem;
  margin-top: 22px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--on-navy);
}
.page-head .page-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 32px;
}
.page-head .page-head-label {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--gold);
}
@media (max-width: 900px) {
  .page-head .page-head-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}
@media (max-width: 520px) {
  .page-head .page-head-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   24. Liste cochée — .check-list (sur papier) / .check-list--navy (sur navy)
   ========================================================================== */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink);
}
.check-list svg {
  flex: none;
  margin-top: 3px;
  color: var(--gold-ink);
}
/* Élément atténué (ex. la preuve financière) */
.check-list li.is-minor {
  font-size: 0.875rem;
  color: var(--muted);
}
.check-list li.is-minor svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.check-list--navy {
  border-top-color: var(--on-navy-line);
}
.check-list--navy li {
  gap: 14px;
  padding: 16px 0;
  border-bottom-color: var(--on-navy-line);
  color: var(--white);
}
.check-list--navy svg {
  color: var(--gold);
}
.check-list--navy li.is-minor {
  padding-block: 13px;
  color: var(--on-navy-soft);
}


/* ==========================================================================
   25. Paire asymétrique — .split / .split-head
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.split .split-head h2 {
  font-size: var(--fs-headline);
}
.split .split-head p {
  max-width: 26rem;
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--muted);
}
.split .split-head .text-link {
  margin-top: 1rem;
}
.split .split-head .btn {
  margin-top: 1.75rem;
}
@media (max-width: 520px) {
  .split .split-head .btn {
    width: 100%;
  }
}
.split .split-body > p {
  max-width: 38rem;
  font-size: var(--fs-body);
  color: var(--ink);
}
.split .split-body > p + p {
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   26. Texte long — .prose (mentions légales)
   ========================================================================== */
.prose {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.prose > * + * {
  margin-top: 1rem;
}
.prose h2 {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy-800);
  font-size: clamp(1.6rem, 1.4rem + 0.6vw, 1.9rem);
  line-height: 1.12;
}
.prose > h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--gold-ink);
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75rem;
}
.prose ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
  padding: 0;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li + li {
  margin-top: 0.5rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 1px;
  background: var(--gold-ink);
}
.prose a {
  font-weight: 600;
  color: var(--navy-800);
  text-decoration-color: var(--gold);
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose strong {
  font-weight: 600;
}


/* Rangée de liens texte côte à côte (passe à la ligne si la place manque). */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
  margin-top: 1rem;
}


/* ==========================================================================
   28. Liens d'aide — .aide-liens
   Liens vers les pages officielles d'IRCC, au-dessus d'un questionnaire
   (tests de langue, diplômes, catégorie TEER…). Pas de cadre : une étiquette
   Bronze Ink et une rangée de liens texte ; le questionnaire s'ouvre ensuite
   sur son propre filet navy.
   ========================================================================== */
.aide-liens {
  max-width: 52rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.aide-liens .aide-liens-titre {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-ink);
}
.aide-liens ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
/* Liens en ligne (et non en boîte flexible) : sur téléphone, quand le texte passe sur deux
   lignes, l'icône suit le dernier mot au lieu de partir au bord droit. La rangée garde une
   zone de toucher d'au moins 44px grâce au rembourrage. */
.aide-liens li {
  padding-block: 10px;
}
.aide-liens .text-link {
  display: inline;
  min-height: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.aide-liens .text-link svg {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -0.15em;
}


/* ==========================================================================
   29. Mouvement (8 octobre 2026 : « plus animé, moins linéaire, en restant sérieux »)
   - Héros et têtes de page : le contenu entre au chargement (titre, texte, boutons,
     fiche), la photo du héros dézoome lentement. CSS seul.
   - Blocs plus bas dans la page : apparition au défilement, en cascade dans les listes,
     puis trait or des titres qui se dessine. js/mouvement.js pose .reveal (bloc caché)
     puis .is-visible (animation) ; sans JavaScript, rien n'est caché.
   - Flèches des liens et boutons : petit déplacement au survol.
   Rien ne bouge si la personne a demandé à réduire les animations (réglage du système,
   voir aussi la fin de base.css). À l'impression, tout est affiché.
   Les animations utilisent « transform » et « scale » ; les cartes, elles, se soulèvent
   avec « translate » : les deux mouvements ne se contrarient jamais.
   ========================================================================== */
@keyframes entree {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes zoom-lent {
  from {
    scale: 1.12;
  }
  to {
    scale: 1;
  }
}
@keyframes apparition-haut {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apparition-gauche {
  from {
    opacity: 0;
    transform: translateX(-48px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apparition-droite {
  from {
    opacity: 0;
    transform: translateX(48px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes apparition-zoom {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes trait {
  from {
    transform: scaleX(0);
  }
  to {
    transform: none;
  }
}

@media screen and (prefers-reduced-motion: no-preference) {
  /* Entrée au chargement : héros de l'accueil */
  .hero .hero-media {
    animation: zoom-lent 2.8s var(--ease-out) both;
  }
  .hero h1 {
    animation: entree 0.9s var(--ease-out) 0.1s both;
  }
  .hero .hero-body {
    animation: entree 0.9s var(--ease-out) 0.25s both;
  }
  .trust li {
    animation: entree 0.8s var(--ease-out) both;
  }
  .trust li:nth-child(1) {
    animation-delay: 0.5s;
  }
  .trust li:nth-child(2) {
    animation-delay: 0.6s;
  }
  .trust li:nth-child(3) {
    animation-delay: 0.7s;
  }
  .trust li:nth-child(4) {
    animation-delay: 0.8s;
  }

  /* Entrée au chargement : têtes de page intérieures et page Contact */
  .page-head .page-head-main > *,
  .contact-band .contact-head > *,
  .notfound .container > * {
    animation: entree 0.9s var(--ease-out) both;
  }
  .page-head .page-head-main > :nth-child(2),
  .contact-band .contact-head > :nth-child(2),
  .notfound .container > :nth-child(2) {
    animation-delay: 0.12s;
  }
  .page-head .page-head-main > :nth-child(3),
  .notfound .container > :nth-child(3) {
    animation-delay: 0.24s;
  }
  .page-head .page-head-main > :nth-child(n + 4) {
    animation-delay: 0.36s;
  }
  /* « scale » pour le zoom, « transform » pour la parallaxe : les deux se combinent. */
  .page-head > .photo-fond,
  .contact-band > .photo-fond {
    animation: zoom-lent 2.4s var(--ease-out) both;
  }

  /* Flèches des liens et boutons */
  .btn svg,
  .text-link svg {
    transition: translate 0.25s var(--ease-out);
  }
  /* Flèche vers la droite : avance ; flèche vers le bas : descend ; lien externe : part en diagonale. */
  .btn:hover svg:has(> path[d="M4 12h15"]),
  .text-link:hover svg:has(> path[d="M4 12h15"]) {
    translate: 4px 0;
  }
  .text-link:hover svg:has(> path[d="M12 4v15"]) {
    translate: 0 3px;
  }
  .text-link:hover svg:has(> path[d="M14 4.5h5.5V10"]) {
    translate: 2px -2px;
  }
}

/* Apparition au défilement (classes posées par js/mouvement.js, jamais dans le HTML). */
@media screen {
  .reveal {
    opacity: 0;
  }
  .reveal.is-visible {
    opacity: 1;
    animation: apparition-haut 0.9s var(--ease-out) var(--delai, 0s) both;
  }
  .reveal--gauche.is-visible {
    animation-name: apparition-gauche;
  }
  .reveal--droite.is-visible {
    animation-name: apparition-droite;
  }
  .reveal--zoom.is-visible {
    animation-name: apparition-zoom;
  }
  .reveal h2::after {
    transform: scaleX(0);
  }
  .reveal.is-visible h2::after {
    animation: trait 0.9s var(--ease-out) calc(var(--delai, 0s) + 0.35s) both;
  }
}


/* ==========================================================================
   30. Progression des questionnaires — .progression (créée par js/questionnaire-progression.js)
   Barre collée en bas de l'écran tant que le questionnaire est visible : nombre de
   questions répondues sur le nombre de questions affichées. Ce n'est PAS un score.
   ========================================================================== */
.progression {
  position: sticky;
  bottom: 0;
  z-index: 5;
  max-width: 52rem;
  margin-top: 32px;
  padding: 12px 18px 14px;
  background: var(--navy-800);
  border-top: 1px solid var(--gold);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -12px 30px -18px rgba(14, 33, 64, 0.5);
  color: var(--on-navy);
}
.progression .progression-ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 20px;
}
.progression .progression-texte {
  font-size: 0.9rem;
  font-weight: 600;
}
.progression .progression-texte .num {
  color: var(--white);
}
.progression .progression-envoi {
  padding-block: 0;
  font-size: 0.9rem;
}
/* Après un clic sur « Continuer » ou « Envoyer » avec des questions sans réponse :
   le nombre de réponses manquantes, au-dessus de la ligne (js/questionnaire-progression.js). */
.progression .progression-alerte {
  margin-bottom: 8px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.progression .progression-jauge {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
}
.progression .progression-jauge span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.52s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .progression .progression-jauge span {
    transition: none;
  }
}


/* ==========================================================================
   31. Sommaire de page — .sommaire (js/sommaire.js)
   Rangée de puces collée sous l'en-tête (Services, Accès francophone) : chaque puce mène
   à sa section ; celle de la section en cours de lecture est surlignée par une pastille
   navy qui glisse d'une puce à l'autre. Sur téléphone, la rangée défile de côté.
   Sans JavaScript : simples liens vers les sections.
   ========================================================================== */
html:has(.sommaire) {
  scroll-padding-top: calc(var(--header-h) + 80px);
}
.sommaire {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .sommaire {
    background: rgba(251, 250, 247, 0.82);
    backdrop-filter: saturate(150%) blur(12px);
  }
}
.sommaire .sommaire-liste {
  position: relative;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.sommaire .sommaire-liste::-webkit-scrollbar {
  display: none;
}
/* Rangée plus large que l'écran : bord estompé du côté où il reste des puces (js/sommaire.js). */
.sommaire .sommaire-liste.deborde-droite {
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}
.sommaire .sommaire-liste.deborde-gauche {
  mask-image: linear-gradient(90deg, transparent, #000 48px);
}
.sommaire .sommaire-liste.deborde-gauche.deborde-droite {
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.sommaire li {
  flex: none;
}
.sommaire a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.35s var(--ease-out),
    background-color var(--dur-color) var(--ease-out);
}
.sommaire a:hover {
  background: rgba(26, 54, 95, 0.07);
}
.sommaire a:focus-visible {
  outline-offset: -2px;
  border-radius: var(--radius-pill);
}
.sommaire a[aria-current="location"] {
  background: var(--navy-800);
  color: var(--white);
}
/* Avec la pastille qui glisse, la puce active laisse voir la pastille. */
.sommaire.has-curseur a[aria-current="location"] {
  background: transparent;
}
.sommaire .sommaire-curseur {
  position: absolute;
  z-index: 0;
  top: 10px;
  left: 0;
  width: 0;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--navy-800);
  box-shadow: 0 8px 18px -10px rgba(26, 54, 95, 0.7);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s var(--ease-out),
    width 0.5s var(--ease-out),
    opacity 0.3s var(--ease-out);
}
.sommaire .sommaire-curseur.is-visible {
  opacity: 1;
}


/* ==========================================================================
   32. Retour en haut — .retour-haut (créé par js/mouvement.js)
   Bouton rond en bas à droite, visible après un écran de défilement.
   ========================================================================== */
.retour-haut {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 35;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--navy-800);
  color: var(--gold);
  border: 1px solid rgba(195, 160, 99, 0.6);
  border-radius: 50%;
  box-shadow: var(--shadow-float);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  translate: 0 16px;
  transition:
    opacity 0.35s var(--ease-out),
    translate 0.35s var(--ease-out),
    background-color var(--dur-color) var(--ease-out),
    visibility 0s linear 0.35s;
}
.retour-haut.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition:
    opacity 0.35s var(--ease-out),
    translate 0.35s var(--ease-out),
    background-color var(--dur-color) var(--ease-out),
    visibility 0s;
}
.retour-haut:hover {
  background: var(--navy-700);
  color: var(--gold-bright);
}
.retour-haut svg {
  transition: translate 0.25s var(--ease-out);
}
.retour-haut:hover svg {
  translate: 0 -2px;
}
/* Le bouton passe sur des fonds clairs comme navy : anneau navy doublé de blanc. */
.retour-haut:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 2px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--white), var(--shadow-float);
}
/* Pages de questionnaire : au-dessus de la barre de progression collée en bas. */
body:has(.progression) .retour-haut {
  bottom: 104px;
}


/* ==========================================================================
   33. Photo de fond — .avec-photo / .photo-fond
   Bande navy (héros mis à part : tête de page, bande de fermeture, Contact, 404) avec une
   photo libre de droits (Unsplash, voir outils/photos-credits.md) sous un voile navy.
   La photo est plus haute que la bande (120 %) : la parallaxe (js/mouvement.js) la déplace
   sans jamais montrer de bord. Photo décorative : alt vide. Le voile se règle par bande
   avec la variable --voile (texte blanc et or toujours lisibles).
   ========================================================================== */
.avec-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.avec-photo > .photo-fond {
  position: absolute;
  z-index: -2;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.avec-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(
    --voile,
    linear-gradient(90deg, var(--veil-strong) 0%, var(--veil) 45%, var(--veil-light) 76%, rgba(19, 41, 77, 0.04) 100%)
  );
}
@media (max-width: 900px) {
  .avec-photo::before {
    background: var(--voile-mobile, linear-gradient(180deg, rgba(19, 41, 77, 0.66) 0%, var(--veil-strong) 100%));
  }
}
/* Texte posé sur une photo : ombre douce qui le détache du fond, maintenant que les voiles
   sont plus légers (les cartes et les boutons ont leur propre fond et n'en ont pas besoin). */
:is(.hero, .avec-photo) :is(h1, h2, p, dt, dd):not(:is(.sheet, .btn, .trust) *) {
  text-shadow: 0 1px 2px rgba(14, 33, 64, 0.4), 0 0 22px rgba(14, 33, 64, 0.35);
}
/* Paragraphes sur photo en blanc pur (le gris-bleu habituel manque de contraste sur un voile léger). */
:is(.hero, .avec-photo) p:not(:is(.sheet, .btn, .trust, .byline) *) {
  color: var(--white);
}
/* Bande de fermeture : voile plus égal (les coordonnées sont à droite, sur la photo). */
.final.avec-photo {
  --voile: linear-gradient(90deg, rgba(14, 33, 64, 0.76) 0%, rgba(19, 41, 77, 0.56) 50%, rgba(19, 41, 77, 0.3) 100%);
}
/* Coordonnées de la bande de fermeture : carte vitrée sur la photo. */
.final.avec-photo .reach {
  padding: 6px 24px;
  background: rgba(14, 33, 64, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
}
@supports (backdrop-filter: blur(8px)) {
  .final.avec-photo .reach {
    background: rgba(14, 33, 64, 0.6);
    backdrop-filter: blur(10px);
  }
}
.final.avec-photo .reach div:last-child {
  border-bottom: 0;
}


/* ==========================================================================
   34. Liste de nombres — .liste-nombre (créée par js/liste-nombres.js)
   Âge et années d'expérience des questionnaires (8 octobre 2026) : un bouton et un menu
   compact (6 lignes visibles, défilement à l'intérieur), au lieu de la liste native du
   navigateur qui affichait jusqu'à 85 lignes et débordait de l'écran. La liste native
   reste dans la page, invisible mais présente : le calcul, le compteur et la vérification
   avant envoi la lisent. Sans JavaScript, elle reste affichée telle quelle.
   ========================================================================== */
.liste-nombre {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.liste-nombre .liste-nombre-native {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  pointer-events: none;
}
.liste-nombre-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 9rem;
  min-height: 48px;
  padding: 10px 14px 10px 16px;
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid #7b8698; /* filet de 3,6:1 sur blanc, comme les champs des questionnaires */
  border-radius: var(--radius);
  font: 600 1rem/1.4 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  text-align: left;
  cursor: pointer;
  transition:
    border-color var(--dur-color) var(--ease-out),
    box-shadow var(--dur-color) var(--ease-out);
}
.liste-nombre-bouton.is-vide .liste-nombre-valeur {
  color: var(--muted);
  font-weight: 400;
}
.liste-nombre-bouton svg {
  flex: none;
  transition: rotate 0.25s var(--ease-out);
}
.liste-nombre.is-ouverte .liste-nombre-bouton svg {
  rotate: 180deg;
}
.liste-nombre-bouton:hover {
  border-color: var(--navy-600);
}
.liste-nombre-bouton:focus-visible {
  outline: 2px solid var(--navy-800);
  outline-offset: 3px;
  border-color: var(--navy-800);
  border-radius: var(--radius);
}
.liste-nombre.is-ouverte .liste-nombre-bouton {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(26, 54, 95, 0.08);
}
/* Question sans réponse signalée à l'envoi (js/formulaire.js marque la liste native). */
.liste-nombre:has(select[aria-invalid="true"]) .liste-nombre-bouton {
  border-color: var(--error);
}
.liste-nombre-options {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  max-height: 264px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  scrollbar-width: thin;
}
.liste-nombre.vers-le-haut .liste-nombre-options {
  top: auto;
  bottom: calc(100% + 6px);
}
.liste-nombre-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
  cursor: pointer;
}
.liste-nombre-options li svg {
  flex: none;
  visibility: hidden;
  color: var(--gold);
}
.liste-nombre-options li.is-actif {
  background: var(--tint-navy);
}
.liste-nombre-options li[aria-selected="true"] {
  background: var(--navy-800);
  color: var(--white);
  font-weight: 600;
}
.liste-nombre-options li[aria-selected="true"] svg {
  visibility: visible;
}
.liste-nombre-options li[aria-selected="true"].is-actif {
  background: var(--navy-700);
}
@keyframes liste-ouverture {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .liste-nombre.is-ouverte .liste-nombre-options {
    animation: liste-ouverture 0.18s var(--ease-out) both;
  }
}

/* ==========================================================================
   36. Ajouts du 18 octobre 2026 (cahier d'Amira) : description des offres, page FAQ seule,
   lien de fin de la page Services.
   ========================================================================== */
.plans .plan .offre-texte {
  margin: 22px 0 28px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
}
.plans .featured .offre-texte {
  color: var(--on-navy);
}

/* Ajouts du 21 octobre 2026 (phrases du cahier d'Amira) : titre du bloc À propos de l'accueil. */
.about .about-text > h2 {
  max-width: 22ch;
  margin-bottom: 1.1rem;
  font-size: var(--fs-headline);
}
