/* Agence REKAN : styles communs, charte graphique V2.2 */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bleu-nuit: #10243A;
  --bleu: #1463C5;
  --turquoise: #00B8D4;
  --turquoise-clair: #6EDDE7;
  --blanc: #FFFFFF;
  --gris-clair: #F3F6FA;
  --anthracite: #202B38;
  --texte: #5B6878;
  --bordure: #DCE3EB;
  --succes: #167347;
  --avertissement: #9A5700;
  --erreur: #B42318;

  --police-marque: "Manrope", system-ui, sans-serif;
  --police-interface: "Inter", system-ui, sans-serif;

  --largeur-site: 1200px;
  --largeur-lecture: 720px;
  --marge: 20px;
  --hauteur-entete: 72px;
  --colonnes: 1;

  --e1: 8px; --e2: 16px; --e3: 24px; --e4: 32px; --e5: 48px; --e6: 64px; --e7: 96px;

  --duree: 200ms;

  /* Teintes par rubrique, hors charte V2.2 à la demande de Chris (7 novembre 2026). */
  --fond-rubrique: var(--gris-clair);
  --halo-rubrique: rgba(0, 184, 212, .24);
  --accent-rubrique: var(--turquoise);
  --voile-rubrique: rgba(20, 99, 197, .14);
  --focus: var(--bleu);
}

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

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--anthracite);
  font-family: var(--police-interface);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 var(--e2); color: var(--bleu-nuit); font-family: var(--police-marque); font-weight: 700; line-height: 1.2; }
h1 { font-size: 34px; letter-spacing: -.02em; line-height: 1.12; }
h2 { font-size: 28px; letter-spacing: -.02em; }
h3 { font-size: 21px; }
p { margin: 0 0 var(--e2); }
a { color: var(--bleu); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Évitement */
.evitement {
  position: fixed; top: var(--e1); left: var(--e1); z-index: 30;
  padding: var(--e2); border-radius: 8px;
  background: var(--blanc); color: var(--bleu-nuit);
  transform: translateY(-200%);
}
.evitement:focus { transform: none; }

/* Grille */
.conteneur { max-width: var(--largeur-site); margin: 0 auto; padding: 0 var(--marge); }
.lecture { max-width: var(--largeur-lecture); }
.grille { display: grid; grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr)); gap: var(--e3); }
.section { padding: var(--e6) 0; }
.section--grise { background: var(--fond-rubrique); }
.section:not(.section--grise) + .section:not(.section--grise) { padding-top: 0; }
/* Rapproche la première section du bandeau pour éviter un titre isolé en bas d’écran */
.hero + .section { padding-top: var(--e5); }
.hero + .section:not(.section--grise) { padding-top: var(--e4); }
.section--nuit { background: var(--bleu-nuit); color: var(--blanc); --focus: var(--turquoise-clair); }
.section--nuit h2, .section--nuit h3 { color: var(--blanc); }
.section--nuit a:not(.bouton) { color: var(--turquoise-clair); }
.intro { color: var(--texte); font-size: 17px; }
.section--nuit .intro { color: var(--blanc); }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px var(--e3);
  border: 2px solid var(--bleu); border-radius: 8px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--duree) ease-out, border-color var(--duree) ease-out, color var(--duree) ease-out, box-shadow var(--duree) ease-out, transform var(--duree) ease-out;
}
.bouton:hover { transform: translateY(-1px); }
.bouton--principal { background: var(--bleu); color: var(--blanc); box-shadow: 0 8px 20px rgba(20, 99, 197, .24); }
.bouton--principal:hover { background: var(--bleu-nuit); border-color: var(--bleu-nuit); box-shadow: 0 10px 24px rgba(16, 36, 58, .24); }
.bouton--secondaire { background: var(--blanc); border-color: var(--bordure); color: var(--bleu-nuit); }
.bouton--secondaire:hover { background: var(--blanc); border-color: var(--bleu); color: var(--bleu); }
.bouton--clair { background: var(--blanc); border-color: var(--blanc); color: var(--bleu-nuit); }
.bouton--clair:hover { background: var(--turquoise-clair); border-color: var(--turquoise-clair); }
.section--nuit .bouton--secondaire { border-color: var(--blanc); color: var(--blanc); }
.section--nuit .bouton--secondaire:hover { background: var(--blanc); color: var(--bleu-nuit); }
.section--nuit .bouton--principal:hover { background: var(--blanc); border-color: var(--blanc); color: var(--bleu-nuit); }
.boutons { display: flex; flex-wrap: wrap; gap: var(--e2); }

/* Cartes */
.carte {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--e1);
  padding: var(--e3);
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 36, 58, .06);
  color: var(--anthracite);
  transition: transform var(--duree) ease-out, box-shadow var(--duree) ease-out, border-color var(--duree) ease-out;
}
.carte__icone {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--e1);
  border-radius: 12px; background: var(--bleu-nuit); color: var(--turquoise-clair);
}
.carte__icone svg { width: 24px; height: 24px; }
.carte .bouton { margin-top: var(--e1); }
.carte:hover { transform: translateY(-4px); border-color: var(--bleu); box-shadow: 0 16px 40px rgba(16, 36, 58, .10); }
.carte__lien {
  display: inline-flex; align-items: center; gap: var(--e1); min-height: 48px;
  font-weight: 600; text-decoration: none;
}
.carte__fleche { width: 16px; height: 16px; transition: transform var(--duree) ease-out; }
.carte:hover .carte__fleche { transform: translateX(4px); }
.section--nuit .carte h3 { color: var(--bleu-nuit); }
.section--nuit .carte { --focus: var(--bleu); }
.carte p { flex: 1; color: var(--texte); }
.carte p + p { flex: 0 1 auto; }
.carte p strong { color: var(--anthracite); font-weight: 600; }
.carte h2 { font-size: 21px; letter-spacing: 0; }
.carte__titre-lien { color: inherit; text-decoration: none; }
.carte__titre-lien:hover { color: var(--bleu); }
.section--nuit .carte a:not(.bouton) { color: var(--bleu); }
.section--nuit .carte .bouton--secondaire { border-color: var(--bleu); color: var(--bleu); }
.section--nuit .carte .bouton--secondaire:hover { background: var(--gris-clair); color: var(--bleu); }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--bordure);
}
/* Le flou reste sur un pseudo-élément : posé sur l'en-tête, il décalerait le menu mobile fixe. */
.entete::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.entete::after {
  content: ""; position: absolute; inset: 100% 0 auto; height: 8px;
  background: linear-gradient(rgba(16, 36, 58, .08), transparent);
  opacity: 0; pointer-events: none;
  transition: opacity var(--duree) ease-out;
}
.entete.defilee::after { opacity: 1; }
.entete__ligne {
  display: flex; align-items: center; justify-content: space-between; gap: var(--e3);
  min-height: var(--hauteur-entete);
}
.entete__logo { flex: none; width: 112px; }
/* Le SVG a une marge interne de 3 % : on la compense pour aligner le logo sur le texte. */
.entete__logo img { width: 100%; margin-left: -3%; }

.menu-bouton {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 48px; height: 48px; padding: 0;
  background: none; border: 1px solid var(--bordure); border-radius: 8px; cursor: pointer;
}
.menu-bouton span {
  display: block; width: 22px; height: 2px; background: var(--bleu-nuit);
  transition: transform var(--duree) ease-out, opacity var(--duree) ease-out;
}
.menu-bouton[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-bouton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Sans JavaScript, le menu reste affiché sous l'en-tête. */
.navigation { padding-bottom: var(--e2); }
.js .navigation {
  position: fixed; inset: var(--hauteur-entete) 0 0; z-index: 19;
  padding: var(--e3) var(--marge);
  overflow-y: auto; background: var(--blanc);
  opacity: 0; visibility: hidden;
  transition: opacity var(--duree) ease-out, visibility 0s linear var(--duree);
}
.js .navigation.ouverte { opacity: 1; visibility: visible; transition-delay: 0s; }
.no-js .menu-bouton { display: none; }
.no-js .entete__ligne { flex-wrap: wrap; }
.no-js .navigation { width: 100%; }
.navigation__liste { display: flex; flex-direction: column; margin: 0 0 var(--e3); padding: 0; list-style: none; }
.navigation__liste a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--bleu-nuit); font-size: 17px; font-weight: 500; text-decoration: none;
}
.navigation__liste a:hover { color: var(--bleu); }
.navigation__liste a[aria-current="page"] { color: var(--bleu); font-weight: 600; }

/* Pied de page */
.pied { padding: var(--e6) 0 var(--e4); background: var(--bleu-nuit); color: var(--blanc); --focus: var(--turquoise-clair); }
.pied__haut { display: grid; grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr)); gap: var(--e4); margin-bottom: var(--e5); }
.pied__marque img { width: 160px; margin: 0 0 var(--e2) -5px; }
.pied__liens { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.pied a { display: inline-flex; align-items: center; min-height: 32px; color: var(--blanc); text-decoration: none; }
.pied a:hover { color: var(--turquoise-clair); text-decoration: underline; }
.pied__bas { padding-top: var(--e3); border-top: 1px solid rgba(255, 255, 255, .24); font-size: 14px; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 0 var(--e3); margin: 0 0 var(--e1); padding: 0; list-style: none; }
.pied__bas p { margin: 0; }

/* Accordéon */
.accordeon { padding: var(--e1) var(--e3); background: var(--blanc); border: 1px solid var(--bordure); border-radius: 12px; }
.accordeon__element + .accordeon__element { border-top: 1px solid var(--bordure); }
.accordeon h2, .accordeon h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.accordeon__question {
  display: flex; align-items: center; justify-content: space-between; gap: var(--e2);
  width: 100%; min-height: 48px; padding: var(--e2) 0;
  background: none; border: 0; color: var(--bleu-nuit);
  font: 600 17px/1.4 var(--police-interface); text-align: left; cursor: pointer;
}
.accordeon__question:hover { color: var(--bleu); }
.accordeon__icone { flex: none; width: 12px; height: 12px; transition: transform var(--duree) ease-out; }
.accordeon__question[aria-expanded="true"] .accordeon__icone { transform: rotate(45deg); }
.accordeon__reponse { padding-bottom: var(--e2); color: var(--texte); }
.accordeon__reponse p:last-child { margin-bottom: 0; }
.accordeon__reponse:not([hidden]) { animation: ouverture var(--duree) ease-out; }

/* Apparition au défilement : sans JavaScript, tout reste visible. */
.js .apparition:not(.visible) { opacity: 0; }
.js .apparition.visible { animation: entree 500ms ease-out backwards; }
.grille > .apparition:nth-child(2), .appel > .apparition:nth-child(2) { animation-delay: 80ms; }
.grille > .apparition:nth-child(3), .appel > .apparition:nth-child(3) { animation-delay: 160ms; }
.grille > .apparition:nth-child(4) { animation-delay: 240ms; }
.grille > .apparition:nth-child(5) { animation-delay: 320ms; }

/* Entrée du haut de page : cascade de 80 ms, puis jauges et coche de la feuille de route. */
.hero__texte > *, .hero__visuel { animation: entree 500ms ease-out backwards; }
.hero__texte > :nth-child(2) { animation-delay: 80ms; }
.hero__texte > :nth-child(3) { animation-delay: 160ms; }
.hero__texte > :nth-child(4) { animation-delay: 240ms; }
.hero__texte > :nth-child(5) { animation-delay: 320ms; }
.hero__visuel { animation-delay: 320ms; }
.feuille__jauge::after { transform-origin: left; animation: jauge 500ms ease-out 400ms backwards; }
.feuille__jauge--2::after { animation-delay: 480ms; }
.feuille__jauge--3::after { animation-delay: 560ms; }
.feuille__pastille--faite svg { animation: coche 250ms ease-out 900ms backwards; }

@keyframes entree { from { opacity: 0; transform: translateY(16px); } }
@keyframes jauge { from { transform: scaleX(0); } }
@keyframes coche { from { opacity: 0; transform: scale(.4); } }
@keyframes derive { to { transform: translate3d(-8%, 6%, 0) scale(1.1); } }
@keyframes ouverture { from { opacity: 0; transform: translateY(-4px); } }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: var(--e6) 0;
  background:
    radial-gradient(50% 70% at 0% 0%, var(--voile-rubrique), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--bordure) 1px, transparent 1px), linear-gradient(90deg, var(--bordure) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
}
.hero::after {
  content: ""; position: absolute; top: -280px; right: -160px; width: 480px; height: 480px;
  background: radial-gradient(closest-side, var(--halo-rubrique), transparent);
  pointer-events: none;
  animation: derive 16s ease-in-out infinite alternate;
}
.hero__grille { position: relative; z-index: 1; display: grid; gap: var(--e5); align-items: center; }
.hero .intro { margin-bottom: var(--e4); }
.hero__detail { margin-top: calc(-1 * var(--e2)); margin-bottom: var(--e4); color: var(--texte); }
.accent { color: var(--bleu); }
.feuille {
  padding: var(--e3); background: var(--blanc);
  border: 1px solid var(--bordure); border-radius: 16px;
  box-shadow: 0 24px 64px rgba(16, 36, 58, .14);
}
.feuille__entete { display: flex; align-items: center; justify-content: space-between; gap: var(--e2); margin-bottom: var(--e3); padding-bottom: var(--e2); border-bottom: 1px solid var(--bordure); }
.feuille__titre { margin: 0; color: var(--bleu-nuit); font-family: var(--police-marque); font-weight: 700; }
.feuille__points { display: flex; gap: 6px; }
.feuille__points span { width: 8px; height: 8px; border-radius: 50%; background: var(--bordure); }
.feuille__etape { display: grid; grid-template-columns: 32px 1fr; gap: 4px var(--e2); align-items: center; }
.feuille__etape + .feuille__etape { margin-top: var(--e3); }
.feuille__pastille {
  grid-row: span 2; display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gris-clair); color: var(--bleu);
}
.feuille__pastille--faite { background: var(--bleu-nuit); color: var(--turquoise-clair); }
.feuille__pastille svg { width: 16px; height: 16px; }
.feuille__nom { color: var(--bleu-nuit); font-size: 15px; font-weight: 600; line-height: 1.3; }
.feuille__jauge { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--gris-clair); }
.feuille__jauge::after { content: ""; display: block; height: 100%; border-radius: 3px; background: var(--bleu); }
.feuille__jauge--1::after { width: 100%; background: var(--turquoise); }
.feuille__jauge--2::after { width: 68%; }
.feuille__jauge--3::after { width: 32%; background: var(--bleu-nuit); }

/* Surtitres et titres de section */
.surtitre {
  display: flex; align-items: center; gap: 12px; margin-bottom: var(--e2);
  color: var(--bleu); font-size: 13px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase;
}
.surtitre::before { content: ""; flex: none; width: 24px; height: 3px; border-radius: 2px; background: var(--accent-rubrique); }
.entete-section { margin-bottom: var(--e5); }
.entete-section--centree { max-width: var(--largeur-lecture); margin-inline: auto; text-align: center; }
.entete-section--centree .surtitre { justify-content: center; }
.entete-section h2 { margin-bottom: 0; }

/* Bloc d'appel */
.appel {
  position: relative; overflow: hidden; padding: var(--e6) var(--e3);
  border-radius: 16px; text-align: center;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(0, 184, 212, .28), transparent 70%),
    radial-gradient(50% 100% at 0% 100%, rgba(20, 99, 197, .40), transparent 70%),
    var(--bleu-nuit);
}
.appel > * { max-width: var(--largeur-lecture); margin-inline: auto; }
.appel .boutons { justify-content: center; margin-top: var(--e4); }

/* Teintes par rubrique */
[data-rubrique="formations"] { --fond-rubrique: #F3F1FC; --halo-rubrique: rgba(124, 108, 230, .22); --accent-rubrique: #7C6CE6; --voile-rubrique: rgba(124, 108, 230, .12); }
[data-rubrique="services"] { --fond-rubrique: #EDF8F3; --halo-rubrique: rgba(31, 163, 122, .20); --accent-rubrique: #1FA37A; --voile-rubrique: rgba(31, 163, 122, .12); }
[data-rubrique="a-propos"] { --fond-rubrique: #FBF4EA; --halo-rubrique: rgba(227, 155, 60, .22); --accent-rubrique: #E39B3C; --voile-rubrique: rgba(227, 155, 60, .12); }
[data-rubrique="contact"] { --fond-rubrique: #FCEFF2; --halo-rubrique: rgba(222, 98, 132, .18); --accent-rubrique: #DE6284; --voile-rubrique: rgba(222, 98, 132, .12); }

/* Liste à coches */
.liste-coches { margin: 0; padding: 0; list-style: none; }
.liste-coches li { position: relative; padding-left: var(--e4); color: var(--anthracite); }
.liste-coches li + li { margin-top: 12px; }
.liste-coches li::before {
  content: ""; position: absolute; left: 4px; top: .4em; width: 14px; height: 7px;
  border-left: 2px solid var(--bleu); border-bottom: 2px solid var(--bleu); transform: rotate(-45deg);
}

/* Étapes numérotées */
.etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etape { counter-increment: etape; padding-top: var(--e2); border-top: 2px solid var(--bordure); }
.etape::before {
  content: "0" counter(etape); display: block; margin-bottom: var(--e1);
  color: var(--bleu); font-family: var(--police-marque); font-size: 15px; font-weight: 700;
}
.etape p { margin: 0; color: var(--texte); }
.etape h3 { margin-bottom: var(--e1); }

/* Comparateur */
.tableau { overflow: hidden; background: var(--blanc); border: 1px solid var(--bordure); border-radius: 12px; }
.tableau table { width: 100%; border-collapse: collapse; }
.tableau th, .tableau td { padding: var(--e2) var(--e3); text-align: left; vertical-align: top; }
.tableau thead th { background: var(--bleu-nuit); color: var(--blanc); font-size: 15px; font-weight: 600; }
.tableau tbody th { color: var(--bleu-nuit); font-weight: 600; }
.tableau tbody tr + tr > * { border-top: 1px solid var(--bordure); }
.tableau td a { font-weight: 600; text-decoration: none; }
.tableau td a:hover { text-decoration: underline; }
@media (max-width: 639px) {
  .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tableau tr, .tableau th, .tableau td { display: block; }
  .tableau tbody tr { padding: var(--e2) 0; }
  .tableau tbody tr + tr { border-top: 1px solid var(--bordure); }
  .tableau tbody tr + tr > * { border-top: 0; }
  .tableau tbody th, .tableau tbody td { padding: 4px var(--e3); }
  .tableau tbody th::before, .tableau td::before {
    content: attr(data-titre); display: block; color: var(--texte); font-size: 13px; font-weight: 500;
  }
}

/* À retirer en phase 3d, avec les formulaires. */

/* Formulaires */
.formulaire-bloc { max-width: var(--largeur-lecture); margin-inline: auto; padding: var(--e4) var(--e3); background: var(--blanc); border: 1px solid var(--bordure); border-radius: 16px; }
.formulaire-bloc > h2 { margin-bottom: var(--e2); }
.formulaire-bloc > p { color: var(--texte); }
.formulaire { display: grid; gap: var(--e3); margin-top: var(--e3); }
.champ { display: grid; gap: 6px; }
.champ label { color: var(--bleu-nuit); font-weight: 600; }
.champ__option { color: var(--texte); font-weight: 400; }
.champ__aide { margin: 0; color: var(--texte); font-size: 14px; }
.champ input:not([type="checkbox"]):not([type="radio"]), .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px var(--e2);
  border: 1px solid #8A96A6; border-radius: 8px; background: var(--blanc);
  color: var(--anthracite); font: inherit;
}
.champ textarea { resize: vertical; }
.champ--case { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; }
.champ--case input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--bleu); }
.champ--case label { font-weight: 400; color: var(--anthracite); }
.formulaire__note { margin: 0; color: var(--texte); font-size: 14px; }
.formulaire .bouton { justify-self: start; }
/* Piège à robots, hors écran pour les humains. */
.formulaire__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.message { margin: var(--e2) 0 0; padding: var(--e2); border-radius: 8px; font-weight: 500; }
.message--succes { background: #E7F4EC; color: var(--succes); }
.message--erreur { background: #FBEAE8; color: var(--erreur); }

/* Questionnaire */
.question { margin: 0; padding: 0; border: 0; }
.question legend { margin-bottom: 12px; padding: 0; color: var(--bleu-nuit); font-family: var(--police-marque); font-size: 18px; font-weight: 700; }
.question__numero { display: block; margin-bottom: 4px; color: var(--bleu); font-family: var(--police-interface); font-size: 13px; font-weight: 600; }
.question__choix { display: grid; gap: var(--e1); }
.choix {
  display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px var(--e2);
  border: 1px solid var(--bordure); border-radius: 8px; cursor: pointer;
  transition: border-color var(--duree) ease-out, background-color var(--duree) ease-out;
}
.choix:hover { border-color: var(--bleu); }
.choix:has(input:checked) { border-color: var(--bleu); background: var(--gris-clair); }
.choix input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--bleu); }
.resultat { margin-top: var(--e4); padding: var(--e4) var(--e3); border-radius: 12px; background: var(--fond-rubrique); }
.resultat h3 { margin-bottom: var(--e1); }
.resultat .boutons { margin: var(--e3) 0; }
.resultat__note { margin: 0; color: var(--texte); font-size: 14px; }

/* Rapport de démonstration */
.demo { padding: var(--e2); border-left: 4px solid var(--avertissement); border-radius: 8px; background: #FFF4E0; color: var(--anthracite); }
.fiche { display: grid; gap: var(--e1); margin: var(--e3) 0 0; }
.fiche div { display: flex; flex-wrap: wrap; gap: 0 var(--e1); }
.fiche dt { color: var(--bleu-nuit); font-weight: 600; }
.fiche dt::after { content: " :"; }
.fiche dd { margin: 0; color: var(--texte); }

/* Pages légales */
.section--legale { padding-top: var(--e6); }
.lecture--centree { margin-inline: auto; }
.prose { margin-inline: auto; }
.prose h2 { margin-top: var(--e5); font-size: 24px; }
.prose p, .prose li { color: var(--anthracite); }
.prose ul { margin: 0 0 var(--e2); padding-left: var(--e3); }
.prose li + li { margin-top: var(--e1); }

/* Deux colonnes : titre et contenu */
.deux-temps { display: grid; gap: var(--e3); }

.fige { overflow: hidden; }

@media (min-width: 640px) {
  :root { --marge: 32px; --colonnes: 6; }
  .grille > * { grid-column: span 6; }
  .grille--2 > *, .grille--3 > *, .grille--4 > *, .grille--5 > * { grid-column: span 3; }
  .pied__haut > * { grid-column: span 3; }
  .entete__logo { width: 140px; }
}

@media (min-width: 1024px) {
  :root { --marge: 48px; --colonnes: 12; --hauteur-entete: 88px; }
  h1 { font-size: 44px; letter-spacing: -.03em; line-height: 1.1; }
  .hero .intro { font-size: 18px; }
  .hero::after { width: 720px; height: 720px; }
  h2 { font-size: 32px; }
  h3 { font-size: 20px; }
  .accordeon__question { font-size: 16px; }
  .section { padding: var(--e7) 0; }
  .hero { padding: var(--e7) 0 var(--e6); }
  .hero + .section { padding-top: var(--e6); }
  .hero + .section:not(.section--grise) { padding-top: var(--e5); }
  .hero__grille { grid-template-columns: 7fr 5fr; gap: var(--e6); }
  .feuille { padding: var(--e4); }
  .accordeon { padding: var(--e1) var(--e4); }
  .carte { padding: var(--e4); }
  .deux-temps { grid-template-columns: 4fr 8fr; gap: var(--e6); }
  .deux-temps .entete-section { margin-bottom: 0; }
  .grille > * { grid-column: span 12; }
  .grille--2 > * { grid-column: span 6; }
  .grille--3 > * { grid-column: span 4; }
  .grille--4 > * { grid-column: span 3; }
  .grille--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grille--5 > * { grid-column: auto; }
  .carte h2 { font-size: 20px; }
  .pied__haut > * { grid-column: span 4; }
  .entete__logo { width: 156px; }
  .menu-bouton { display: none; }
  .no-js .entete__ligne { flex-wrap: nowrap; }
  .no-js .navigation { width: auto; }
  .js .navigation, .navigation {
    position: static; display: flex; align-items: center; gap: var(--e3);
    padding: 0; overflow: visible; opacity: 1; visibility: visible; transition: none;
  }
  .navigation__liste { flex-direction: row; gap: var(--e2); margin: 0; }
  .navigation__liste a { position: relative; font-size: 15px; white-space: nowrap; }
  .navigation__liste a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px;
    background: var(--accent-rubrique); transform: scaleX(0); transform-origin: left;
    transition: transform var(--duree) ease-out;
  }
  .navigation__liste a:hover::after, .navigation__liste a[aria-current="page"]::after { transform: scaleX(1); }
  .entete__ligne { transition: min-height var(--duree) ease-out; }
  .entete__logo { transition: width var(--duree) ease-out; }
  .entete.defilee .entete__ligne { min-height: 68px; }
  .entete.defilee .entete__logo { width: 132px; }
  .navigation .bouton { white-space: nowrap; }
}

/* Transition entre les pages, ignorée par les navigateurs qui ne la gèrent pas. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 250ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; transition-delay: 0ms !important; animation: none !important; }
  .js .apparition:not(.visible) { opacity: 1; }
  .carte:hover, .bouton:hover { transform: none; }
  .carte:hover .carte__fleche { transform: none; }
}
