/* ==========================================================================
   Laboratoire de Langues de Libreville — feuille de style du site public
   --------------------------------------------------------------------------
   Direction : « monter d'un niveau ». Le motif de l'escalier (les six niveaux
   A1 → C2) découpe les photos, les blocs et les transitions ; les couleurs
   viennent du logo (marine #0B2465, vert #14B36F) et du drapeau gabonais
   (vert, jaune, bleu), sur fond blanc ; Manrope pour le texte, Literata italique pour les
   mots d'accent. Aucune dépendance, aucune compilation.
   ========================================================================== */

/* --- Polices (hébergées sur le site) --------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-display-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-display-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --- Jetons ----------------------------------------------------------------- */
@property --r {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

:root {
  /* Couleurs */
  --papier: #ffffff;
  --papier-fonce: #f2f5f9;
  --papier-clair: #f8fafc;
  --gris-pale: #e7ecf3;
  --blanc: #ffffff;
  --encre: #0a1a3f;
  --encre-douce: #2b3654;
  --gris: #5a6275;
  --gris-clair: #8a91a3;
  --ligne: rgba(10, 26, 63, 0.13);
  --ligne-forte: rgba(10, 26, 63, 0.26);
  --marine: #0b2465;
  --nuit: #071433;
  --nuit-2: #0c1d4a;
  --bleu: #1d56c4;
  --bleu-survol: #3a75c4;
  --emeraude: #14b36f;
  --vert: #097a48;
  --vert-fonce: #06633a;
  --vert-pale: #dcefe2;
  --foret: #0a3d2a;
  --soleil: #fcd116;
  --erreur: #b42318;
  --sur-sombre: rgba(255, 255, 255, 0.72);
  --ligne-claire: rgba(255, 255, 255, 0.16);

  /* Typographie */
  --police: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --police-accent: "Literata", Georgia, "Times New Roman", serif;
  --t-geant: clamp(2.4rem, 0.9rem + 4.9vw, 5.5rem);
  --t-titre-page: clamp(2.2rem, 1.3rem + 3.2vw, 4.25rem);
  --t-titre: clamp(1.75rem, 1.15rem + 1.8vw, 2.9rem);
  --t-titre-moyen: clamp(1.5rem, 1.15rem + 1.1vw, 2.25rem);
  --t-grand: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --t-chapeau: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --t-texte: 1rem;
  --t-petit: 0.9375rem;
  --t-micro: 0.75rem;

  /* Espaces et formes */
  --conteneur: 1320px;
  --gouttiere: clamp(16px, 3.2vw, 40px);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --section-serree: clamp(2.5rem, 2rem + 2vw, 4.25rem);
  --rayon: 14px;
  --rayon-petit: 8px;
  --pilule: 999px;
  --entete: 76px;
  --marche: clamp(14px, 1.1rem + 0.6vw, 30px);

  /* Mouvement */
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
  --aller-retour: cubic-bezier(0.65, 0, 0.35, 1);
  --duree: 0.9s;

  --ombre: 0 1px 2px rgba(10, 26, 63, 0.05), 0 12px 32px -12px rgba(10, 26, 63, 0.16);
  --ombre-forte: 0 2px 4px rgba(10, 26, 63, 0.06), 0 30px 60px -20px rgba(10, 26, 63, 0.3);

  color-scheme: light;
}

/* --- Base ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete) + 24px);
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police);
  font-size: var(--t-texte);
  line-height: 1.62;
  font-weight: 400;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--emeraude); color: var(--nuit); }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h3 { font-weight: 700; }
p { text-wrap: pretty; }
em { font-style: normal; }
.insecable { white-space: nowrap; }
[hidden] { display: none !important; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.lien-evitement {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  border-radius: var(--pilule);
  background: var(--nuit);
  color: var(--blanc);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.3s var(--sortie);
}
.lien-evitement:focus { transform: none; }

main { display: block; outline: none; }

/* --- Mise en page -------------------------------------------------------------- */
.conteneur {
  width: min(100% - 2 * var(--gouttiere), var(--conteneur));
  margin-inline: auto;
}
.conteneur--etroit { width: min(100% - 2 * var(--gouttiere), 780px); }

.section { position: relative; padding-block: var(--section); }
.section--serree { padding-block: var(--section-serree); }
.section--papier { background: var(--papier-fonce); }

/* Lignes de colonnes en filigrane, comme une grille de mise en page restée visible. */
.guides {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: min(100% - 2 * var(--gouttiere), var(--conteneur));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 0;
  pointer-events: none;
}
.guides i {
  border-left: 1px solid var(--ligne);
  opacity: 0.55;
  transform-origin: top;
}
.avec-js .guides i { transform: scaleY(0); transition: transform 1.6s var(--sortie); }
.avec-js .guides i:nth-child(2) { transition-delay: 0.08s; }
.avec-js .guides i:nth-child(3) { transition-delay: 0.16s; }
.avec-js .guides i:nth-child(4) { transition-delay: 0.24s; }
.avec-js .guides i:nth-child(5) { transition-delay: 0.32s; }
.hero-pret .guides i { transform: none; }

/* Étiquette au-dessus des titres : un trait, un mot. */
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--vert);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.etiquette__trait {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--emeraude) 0 33%, var(--soleil) 33% 66%, var(--bleu) 66%);
}
.etiquette--clair { color: var(--emeraude); }

.titre-section {
  font-size: var(--t-titre);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.titre-section--moyen { font-size: var(--t-titre-moyen); line-height: 1.06; letter-spacing: -0.035em; }

/* Mot d'accent : Literata italique. */
.titre-section em,
.bandeau__titre em,
.hero__titre em,
.tete-service__titre em,
.appel__titre em,
.manifeste__texte em,
.introuvable__titre em,
.contact__titre em,
.encart__titre em {
  font-family: var(--police-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--vert);
}

.entete-section { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.entete-section--large {
  max-width: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 24px 8vw;
}
.entete-section--centre { margin-inline: auto; text-align: center; justify-items: center; }
.entete-section--centre .etiquette { justify-self: center; }
.entete-section__droite { display: grid; gap: 22px; justify-items: start; }
.entete-section--large > .bouton { justify-self: end; }
.entete-section__texte { color: var(--gris); font-size: var(--t-chapeau); max-width: 52ch; }

.texte-courant { display: grid; gap: 1em; color: var(--encre-douce); }
.texte-courant--grand { font-size: var(--t-chapeau); line-height: 1.6; }

.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Listes à coches */
.coches { display: grid; gap: 12px; }
.coches li {
  position: relative;
  padding-left: 32px;
  color: var(--encre-douce);
}
.coches li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.4 2.6 2.6L14.2 7.4' fill='none' stroke='%23097a48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.coches--petites { gap: 9px; font-size: var(--t-petit); }
.coches--petites li { padding-left: 28px; }
.coches--petites li::before { width: 18px; height: 18px; top: 0.25em; }

/* Pastilles (liens ou boutons arrondis) */
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--ligne-forte);
  border-radius: var(--pilule);
  background: transparent;
  color: var(--encre);
  font-size: var(--t-petit);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--sortie);
}
.pastille:hover { border-color: var(--encre); transform: translateY(-1px); }
.pastille[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }

.pastille-info {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: var(--pilule);
  background: var(--papier-fonce);
  color: var(--gris);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Liens */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  font-weight: 700;
  font-size: var(--t-petit);
  text-decoration: none;
}
.lien-fleche span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.45s var(--sortie); }
.lien-fleche .icone { width: 14px; height: 14px; transition: transform 0.45s var(--sortie); }
.lien-fleche:hover span,
a:hover .lien-fleche span { background-size: 100% 1.5px; }
.lien-fleche:hover .icone,
a:hover .lien-fleche .icone { transform: translateX(4px); }
.lien-fleche--retour .icone { transform: rotate(180deg); }
.lien-fleche--retour:hover .icone { transform: rotate(180deg) translateX(4px); }

.lien-souligne {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ligne-forte);
  transition: text-decoration-color 0.25s;
}
.lien-souligne:hover { text-decoration-color: currentColor; }
.lien-etire::after { content: ""; position: absolute; inset: 0; }

.icone { width: 1em; height: 1em; flex: none; }

/* Filet tricolore (vert, jaune, bleu du drapeau gabonais) */
.tricolore { display: inline-flex; width: 54px; height: 3px; gap: 0; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--emeraude); }
.tricolore i:nth-child(2) { background: var(--soleil); }
.tricolore i:nth-child(3) { background: var(--bleu); }

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--rayon-petit);
  background: var(--papier-fonce);
  color: var(--encre-douce);
  font-size: var(--t-petit);
}
.note .icone { width: 18px; height: 18px; margin-top: 3px; color: var(--vert); }

.vide { color: var(--gris); text-align: center; padding: 4rem 0; }

/* --- Cadres en escalier ----------------------------------------------------- */
/* Le coin supérieur gauche est découpé en trois marches. --r (0 → 1) fait
   monter tout le profil depuis le bas : c'est l'animation d'apparition. */
.cadre {
  position: relative;
  overflow: hidden;
  background: var(--papier-fonce);
  border-radius: var(--rayon-petit);
}
.cadre img { width: 100%; height: 100%; object-fit: cover; }

.marches {
  --m: var(--marche);
  border-radius: 0;
  clip-path: polygon(
    0 calc(var(--m) * 3 * var(--r) + (1 - var(--r)) * 100%),
    var(--m) calc(var(--m) * 3 * var(--r) + (1 - var(--r)) * 100%),
    var(--m) calc(var(--m) * 2 * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 2) calc(var(--m) * 2 * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 2) calc(var(--m) * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 3) calc(var(--m) * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 3) calc((1 - var(--r)) * 100%),
    100% calc((1 - var(--r)) * 100%),
    100% 100%,
    0 100%
  );
}
.marches--grandes { --m: clamp(18px, 1rem + 1.6vw, 44px); }

/* --- Boutons ---------------------------------------------------------------- */
.bouton {
  --fond: var(--vert);
  --texte: var(--blanc);
  --bord: var(--fond);
  --fond-survol: var(--bleu-survol);
  --texte-survol: var(--blanc);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid var(--bord);
  border-radius: var(--pilule);
  background: var(--fond);
  color: var(--texte);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--sortie), border-color 0.4s var(--sortie), transform 0.4s var(--sortie);
  -webkit-tap-highlight-color: transparent;
}
/* Remplissage qui monte depuis le bas au survol. */
.bouton::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fond-survol);
  transform: translateY(101%);
  transition: transform 0.5s var(--sortie);
}
.bouton:hover { color: var(--texte-survol); border-color: var(--fond-survol); }
.bouton:hover::before { transform: none; }
.bouton:active { transform: scale(0.97); }

.bouton__texte { position: relative; display: block; overflow: hidden; padding-block: 2px; }
.bouton__texte > span { display: block; transition: transform 0.5s var(--sortie); }
.bouton__texte::after {
  content: attr(data-texte);
  position: absolute;
  left: 0; top: 2px;
  transform: translateY(110%);
  transition: transform 0.5s var(--sortie);
}
.bouton:hover .bouton__texte > span { transform: translateY(-110%); }
.bouton:hover .bouton__texte::after { transform: none; }

.bouton__icone {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-right: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.5s var(--sortie), background 0.4s;
}
.bouton__icone .icone { width: 14px; height: 14px; }
.bouton:hover .bouton__icone { transform: rotate(-45deg); }
.bouton__icone--avant { margin-right: 0; margin-left: -12px; background: transparent; width: 22px; }
.bouton:hover .bouton__icone--avant { transform: none; }

.bouton--clair { --fond: var(--blanc); --texte: var(--nuit); --fond-survol: var(--emeraude); --texte-survol: var(--nuit); }
.bouton--clair .bouton__icone { background: var(--papier-fonce); }
.bouton--contour { --fond: transparent; --texte: var(--encre); --bord: var(--ligne-forte); --fond-survol: var(--nuit); --texte-survol: var(--blanc); }
.bouton--contour .bouton__icone { background: var(--papier-fonce); }
.bouton--contour:hover .bouton__icone { background: rgba(255, 255, 255, 0.14); }
.bouton--contour-clair { --fond: transparent; --texte: var(--blanc); --bord: rgba(255, 255, 255, 0.4); --fond-survol: var(--blanc); --texte-survol: var(--nuit); }
.bouton--contour-clair:hover .bouton__icone { background: var(--papier-fonce); }
.bouton--petit { min-height: 42px; padding: 0 18px; font-size: var(--t-petit); }
.bouton--petit .bouton__icone { width: 26px; height: 26px; margin-right: -10px; }
.bouton--plein { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-block: 10px; }
.bouton--plein .bouton__texte::after { display: none; }
.bouton--plein:hover .bouton__texte > span { transform: none; }

/* --- Écran de chargement ------------------------------------------------------------ */
.chargeur { display: none; }
.premiere-visite .chargeur {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  color: var(--blanc);
  pointer-events: auto;
}
.premiere-visite body { overflow: hidden; }
.chargeur__marches { position: absolute; inset: 0; display: flex; }
.chargeur__marches span {
  flex: 1;
  margin-right: -1px;
  background: var(--nuit);
  transition: transform 0.8s var(--aller-retour) calc(var(--i) * 55ms);
}
.chargeur__aurore {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 45% at 30% 70%, rgba(29, 86, 196, 0.55), transparent 70%),
    radial-gradient(35% 40% at 72% 30%, rgba(20, 179, 111, 0.42), transparent 70%),
    radial-gradient(30% 30% at 60% 80%, rgba(252, 209, 22, 0.1), transparent 70%);
  filter: blur(20px);
  animation: aurore 9s ease-in-out infinite alternate;
  transition: opacity 0.4s;
}
.chargeur__centre {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  transition: opacity 0.35s, transform 0.6s var(--sortie);
}
.chargeur__monogramme { width: 64px; margin-bottom: 10px; overflow: visible; }
.chargeur .monogramme__toque,
.chargeur .monogramme__gland { fill: var(--blanc); }
.chargeur .monogramme__livre { fill: var(--emeraude); transform-box: fill-box; transform-origin: 50% 100%; animation: livre-ouvre 0.5s var(--sortie) both; }
.chargeur .monogramme__toque { transform-box: fill-box; transform-origin: 50% 50%; animation: toque-pose 0.55s 0.1s var(--sortie) both; }
.chargeur .monogramme__gland { animation: fondu 0.3s 0.4s both; }
.chargeur__mot {
  font-family: var(--police-accent);
  font-style: italic;
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  min-height: 1.1em;
  transform-origin: 50% 50%;
}
.chargeur__mot.change { animation: mot-entre 0.26s var(--sortie) both; }
.chargeur.resolu .chargeur__mot { color: var(--emeraude); }
.chargeur__langue {
  min-height: 1.4em;
  color: var(--sur-sombre);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.chargeur__onde { display: flex; align-items: center; gap: 4px; height: 44px; margin-top: 8px; }
.chargeur__onde span {
  width: 3px;
  height: calc(var(--h) * 100%);
  border-radius: 3px;
  background: linear-gradient(var(--emeraude), var(--bleu));
  animation: onde 1.1s ease-in-out calc(var(--i) * -0.07s) infinite alternate;
  transform-origin: center;
}
/* Fin : les marches se lèvent ; sur l'accueil, seul le mot reste et vole jusqu'au titre. */
.chargeur.fin { pointer-events: none; }
.chargeur.fin .chargeur__centre > * { opacity: 0; transition: opacity 0.25s; }
.chargeur.fin.resolu .chargeur__mot { opacity: 1; }
.chargeur.fin .chargeur__aurore { opacity: 0; }
.chargeur.fin .chargeur__marches span { transform: translateY(-101%); }
.hero__morceau--cible > span { transform: none !important; transition: none !important; }
.atterrissage .hero__morceau--cible { visibility: hidden; }

@keyframes onde { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes livre-ouvre { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toque-pose { from { transform: translateY(-60%) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes mot-entre { from { opacity: 0; transform: translateY(40%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes aurore {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, -4%, 0) rotate(8deg) scale(1.06); }
  100% { transform: translate3d(-4%, 3%, 0) rotate(-6deg) scale(1.02); }
}

/* --- En-tête ------------------------------------------------------------------------ */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  view-transition-name: entete;
  transition: transform 0.5s var(--sortie);
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--ligne);
  opacity: 0;
  transition: opacity 0.4s;
}
.entete--plein::before { opacity: 1; }
.entete--cache { transform: translateY(-100%); }
.entete--menu-ouvert { transform: none !important; }

.entete__barre {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 2 * var(--gouttiere), 1440px);
  height: var(--entete);
  margin-inline: auto;
}

.entete__marque {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--marine);
  text-decoration: none;
  flex: none;
}
.entete__monogramme { width: 44px; overflow: visible; }
.monogramme__toque, .monogramme__gland { fill: var(--marine); }
.monogramme__livre { fill: var(--emeraude); }
.entete__marque:hover .monogramme__toque { transform: translateY(-3px) rotate(-4deg); }
.monogramme__toque { transform-box: fill-box; transform-origin: 50% 80%; transition: transform 0.5s var(--sortie); }
.entete__nom {
  display: grid;
  gap: 2px;
  font-family: var(--police-accent);
  font-style: normal;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.entete__nom-ville {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vert);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
}
.entete__nom-ville i { flex: 1; height: 1px; min-width: 8px; background: currentColor; }

.entete__nav { flex: 1; display: flex; justify-content: center; }
.entete__liens { display: flex; align-items: center; gap: 2px; }
.entete__item--accueil { display: none; }
.entete__lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--pilule);
  background: none;
  color: var(--encre);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.entete__lien:hover { background: rgba(10, 26, 63, 0.06); }
.entete__lien[aria-current="page"]::after,
.entete__deplier[data-actif]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--emeraude);
  transform: translateX(-50%);
}
.entete__chevron { width: 11px; height: 11px; transition: transform 0.4s var(--sortie); }
.entete__deplier[aria-expanded="true"] .entete__chevron { transform: rotate(180deg); }
.entete__titre-services,
.entete__sous-liste,
.entete__mobile-pied { display: none; }

.entete__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; flex: none; }
.entete__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  font-size: 0.9375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.entete__tel-icone {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--ligne-forte);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.entete__tel-icone .icone { width: 14px; height: 14px; }
.entete__tel:hover .entete__tel-icone { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.entete__bascule { display: none; }

/* Méga-menu des services */
.mega {
  position: fixed;
  left: 0; right: 0;
  top: var(--entete);
  z-index: -1;
  padding: 10px var(--gouttiere) 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--sortie), transform 0.5s var(--sortie), visibility 0s 0.5s;
}
.ouvert > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega__dedans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  width: min(100%, 1180px);
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--ligne);
  border-radius: 22px;
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
}
.mega__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; align-content: start; }
.mega__lien {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 14px;
  color: var(--encre);
  text-decoration: none;
  transition: background 0.3s;
}
.mega__lien:hover, .mega__lien[aria-current="page"] { background: var(--papier-fonce); }
.mega__num { color: var(--gris-clair); font-size: var(--t-micro); font-weight: 700; font-variant-numeric: tabular-nums; }
.mega__picto {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blanc);
  color: var(--vert);
  box-shadow: inset 0 0 0 1px var(--ligne);
  transition: background 0.3s, color 0.3s;
}
.mega__picto .picto { width: 24px; height: 24px; }
.mega__lien:hover .mega__picto { background: var(--nuit); color: var(--emeraude); }
.mega__texte { display: grid; gap: 2px; }
.mega__texte strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.mega__texte small { color: var(--gris); font-size: 0.8125rem; line-height: 1.35; }
.mega__fleche { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--sortie); }
.mega__lien:hover .mega__fleche { opacity: 1; transform: none; }
.mega__aside { display: grid; gap: 12px; align-content: start; padding: 4px 0 4px 28px; border-left: 1px solid var(--ligne); }
.mega__photo { aspect-ratio: 4 / 3; margin-bottom: 6px; background: var(--papier-fonce); }
.mega__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.mega__aide-titre { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.mega__aide-texte { color: var(--gris); font-size: var(--t-petit); }
.entete__voile {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: rgba(7, 20, 51, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}
.entete--mega .entete__voile { opacity: 1; visibility: visible; transition-delay: 0s; }

/* --- Accueil : bandeau ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--entete) + clamp(2.5rem, 1rem + 5vw, 6rem));
  overflow: hidden;
}
.hero__grille { position: relative; z-index: 1; }
.hero__etiquette { margin-bottom: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.hero__titre {
  font-size: var(--t-geant);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
  text-wrap: initial;
}
.hero__ligne { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.2em; }
.hero__ligne:nth-child(2) { padding-left: clamp(0px, 7vw, 120px); }
.hero__ligne:nth-child(3) { padding-left: clamp(0px, 3vw, 50px); }
.hero__morceau { display: inline-block; overflow: hidden; padding-block: 0.06em 0.12em; margin-block: -0.06em -0.12em; }
.hero__morceau > span { display: inline-block; }
.hero__titre em { color: var(--vert); padding-right: 0.06em; }
.hero__pilule {
  position: relative;
  display: inline-block;
  width: 2.1em;
  height: 0.86em;
  border-radius: var(--pilule);
  overflow: hidden;
  background: var(--papier-fonce);
  vertical-align: middle;
  transform: translateY(0.04em);
  cursor: zoom-in;
}
/* Plusieurs photos empilées : seule l'active est visible ; la suivante entre par un balayage. */
.hero__pilule img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.hero__pilule img.est-active,
.hero__pilule img.sortante { visibility: visible; }
.hero__pilule img.entre { z-index: 1; animation: vignette-entre 0.9s var(--sortie) both; }
.hero__pilule:hover img.est-active { scale: 1.08; }
@keyframes vignette-entre {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.25); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}

.avec-js .hero__morceau > span { transform: translateY(108%); }
.avec-js .hero__pilule { clip-path: inset(0 50% 0 50% round 999px); }
.avec-js .hero__pilule img { transform: scale(1.5); }
.avec-js [data-hero-entree] { opacity: 0; transform: translateY(24px); }
.hero-pret .hero__morceau > span { transform: none; transition: transform 1.15s var(--sortie) calc(var(--l) * 0.12s + 0.05s); }
.hero-pret .hero__ligne .hero__morceau:last-child > span { transition-delay: calc(var(--l) * 0.12s + 0.14s); }
.hero-pret .hero__pilule { clip-path: inset(0 0 0 0 round 999px); transition: clip-path 1.1s var(--sortie) calc(var(--l) * 0.12s + 0.35s); }
.hero-pret .hero__pilule img { transform: none; transition: transform 1.6s var(--sortie) calc(var(--l) * 0.12s + 0.35s), scale 0.6s var(--sortie); }
.hero-pret [data-hero-entree] { opacity: 1; transform: none; transition: opacity 0.9s var(--sortie), transform 1.1s var(--sortie); }
.hero-pret [data-hero-entree]:nth-child(1) { transition-delay: 0.55s; }
.hero-pret [data-hero-entree]:nth-child(2) { transition-delay: 0.65s; }
.hero-pret [data-hero-entree]:nth-child(3) { transition-delay: 0.75s; }

.hero__pied {
  display: grid;
  grid-template-columns: minmax(0, 46ch) auto;
  justify-content: start;
  align-items: end;
  gap: 28px 56px;
  margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.hero__texte { max-width: 46ch; color: var(--encre-douce); font-size: var(--t-chapeau); }
.hero__boutons { flex-wrap: nowrap; }

/* Photo d'une vignette ouverte en grand : elle part de la pilule. */
.zoom {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  border: 0;
  background: transparent;
  overflow: hidden;
}
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: rgba(7, 20, 51, 0.82); animation: fondu 0.35s var(--sortie) both; }
.zoom.se-ferme::backdrop { animation: none; opacity: 0; transition: opacity 0.4s var(--sortie); }
.zoom__cadre { display: grid; gap: 14px; justify-items: center; margin: 0; }
/* Taille fixée par les proportions de la photo : elle ne bouge pas quand la haute définition arrive. */
.zoom__image {
  width: min(92vw, 1200px, calc(78dvh * var(--ratio, 1.5)));
  height: auto;
  aspect-ratio: var(--ratio, 1.5);
  object-fit: cover;
  border-radius: 10px;
  transform-origin: 0 0;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  cursor: zoom-out;
}
.zoom__legende { color: var(--blanc); font-size: var(--t-petit); text-align: center; animation: fondu 0.4s 0.35s both; }
.zoom.se-ferme .zoom__legende,
.zoom.se-ferme .zoom__fermer { animation: none; opacity: 0; transition: opacity 0.15s; }
.zoom__fermer {
  position: absolute;
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(7, 20, 51, 0.5);
  color: var(--blanc);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.zoom__fermer:hover { background: var(--bleu-survol); border-color: var(--bleu-survol); }
.zoom__fermer .icone { width: 18px; height: 18px; }

/* Pellicule de photos qui glisse au défilement */
.pellicule { position: relative; padding-bottom: var(--section-serree); overflow: hidden; }
.pellicule__piste {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 1.5vw, 24px);
  width: max-content;
  padding-inline: var(--gouttiere);
  transform: translate3d(calc(var(--x, 0) * -1px), 0, 0);
  will-change: transform;
}
.pellicule__photo { display: grid; gap: 10px; flex: none; }
.pellicule__photo .cadre { width: clamp(220px, 26vw, 420px); aspect-ratio: 4 / 3; }
.pellicule__photo--1 .cadre { width: clamp(180px, 20vw, 330px); aspect-ratio: 4 / 5; }
.pellicule__photo--2 .cadre { width: clamp(240px, 30vw, 480px); aspect-ratio: 16 / 10; }
.pellicule__legende { color: var(--gris); font-size: 0.8125rem; max-width: 34ch; }
.avec-js .pellicule__photo { opacity: 0; transform: translateY(60px); }
.hero-pret .pellicule__photo { opacity: 1; transform: none; transition: opacity 1s var(--sortie), transform 1.3s var(--sortie); }
.hero-pret .pellicule__photo:nth-child(1) { transition-delay: 0.7s; }
.hero-pret .pellicule__photo:nth-child(2) { transition-delay: 0.8s; }
.hero-pret .pellicule__photo:nth-child(3) { transition-delay: 0.9s; }
.hero-pret .pellicule__photo:nth-child(4) { transition-delay: 1s; }
.hero-pret .pellicule__photo:nth-child(n + 5) { transition-delay: 1.1s; }

/* --- Manifeste ------------------------------------------------------------------------ */
.manifeste { padding-block: var(--section); background: var(--papier-clair); border-block: 1px solid var(--ligne); }
.manifeste__texte {
  max-width: 24ch;
  font-size: clamp(1.45rem, 1rem + 1.9vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 30ch;
}
.manifeste__texte .mot-eclaire { opacity: 0.16; transition: opacity 0.35s linear; }
.manifeste__texte .mot-eclaire.allume { opacity: 1; }
.manifeste__pied {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
}

/* --- Chiffres --------------------------------------------------------------------------- */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.chiffres__element { display: grid; gap: 6px; padding: 6px 24px 6px 0; border-left: 1px solid var(--ligne); padding-left: 22px; }
.chiffres__element:first-child { border-left: 0; padding-left: 0; }
.chiffres__valeur {
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.chiffres__suffixe { color: var(--vert); }
.chiffres__libelle { color: var(--gris); font-size: var(--t-petit); font-weight: 600; }
.chiffres--clair .chiffres__element { border-color: var(--ligne-claire); }
.chiffres--clair .chiffres__valeur { color: var(--blanc); }
.chiffres--clair .chiffres__suffixe { color: var(--emeraude); }
.chiffres--clair .chiffres__libelle { color: var(--sur-sombre); }

/* --- Index des services (accueil) --------------------------------------------------- */
.index { border-bottom: 1px solid var(--ligne); }
.index__ligne { position: relative; border-top: 1px solid var(--ligne); }
.index__lien {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1.05fr) minmax(0, 1fr) 180px 48px;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 1rem + 1.4vw, 36px) 8px;
  color: var(--encre);
  text-decoration: none;
  isolation: isolate;
  transition: color 0.45s var(--sortie), opacity 0.45s;
}
.index__lien::before {
  content: "";
  position: absolute;
  inset: 0 -14px;
  z-index: -1;
  border-radius: 6px;
  background: var(--nuit);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--sortie);
}
.index__num { color: var(--gris-clair); font-size: var(--t-petit); font-weight: 700; font-variant-numeric: tabular-nums; }
.index__titre {
  font-size: clamp(1.35rem, 1rem + 1.3vw, 2.1rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  transition: transform 0.55s var(--sortie);
}
.index__desc { color: var(--gris); font-size: var(--t-petit); max-width: 40ch; transition: color 0.45s; }
.index__fait {
  justify-self: start;
  padding: 7px 14px;
  border: 1px solid var(--ligne-forte);
  border-radius: var(--pilule);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.45s, color 0.45s;
}
.index__fleche {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ligne-forte);
  transition: transform 0.55s var(--sortie), background 0.45s, border-color 0.45s, color 0.45s;
}
.index__fleche .icone { width: 16px; height: 16px; }
.index__vignette { display: none; }
@media (hover: hover) {
  .index:has(.index__lien:hover) .index__lien:not(:hover) { opacity: 0.4; }
  .index__lien:hover { color: var(--blanc); }
  .index__lien:hover::before { transform: none; }
  .index__lien:hover .index__titre { transform: translateX(12px); }
  .index__lien:hover .index__desc { color: var(--sur-sombre); }
  .index__lien:hover .index__fait { border-color: var(--emeraude); color: var(--emeraude); }
  .index__lien:hover .index__fleche { background: var(--emeraude); border-color: var(--emeraude); color: var(--nuit); transform: rotate(-45deg); }
}

/* Photo du service qui suit le pointeur */
.apercu {
  position: fixed;
  left: 0; top: 0;
  z-index: 50;
  width: 300px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  opacity: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  transition: opacity 0.35s, scale 0.45s var(--sortie);
  scale: 0.6;
}
.apercu.actif { opacity: 1; scale: 1; }
.apercu img { width: 100%; height: 100%; object-fit: cover; }

/* --- Orientation : « Par où commencer ? » --------------------------------------------- */
.orientation {
  position: relative;
  padding-block: var(--section);
  background: var(--nuit);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.orientation__aurore,
.bande-chiffres__aurore,
.appel__aurore {
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(32% 40% at 18% 78%, rgba(29, 86, 196, 0.5), transparent 70%),
    radial-gradient(30% 36% at 85% 20%, rgba(20, 179, 111, 0.32), transparent 70%),
    radial-gradient(24% 26% at 70% 90%, rgba(252, 209, 22, 0.08), transparent 70%);
  filter: blur(30px);
  animation: aurore 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.orientation__grille { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.orientation .titre-section em { color: var(--emeraude); }
.orientation__intro { margin-top: 18px; color: var(--sur-sombre); font-size: var(--t-chapeau); max-width: 44ch; }
.orientation__choix { display: grid; gap: 8px; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.choix {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--ligne-claire);
  border-radius: 16px;
  color: var(--blanc);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--sortie);
}
.choix:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.32); }
.choix__rond {
  width: 20px; height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.choix__fleche { width: 14px; height: 14px; opacity: 0.4; transition: opacity 0.3s, transform 0.4s var(--sortie); }
.choix[aria-current="true"] { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); transform: translateX(8px); }
.choix[aria-current="true"] .choix__rond { border-color: var(--vert); box-shadow: inset 0 0 0 5px var(--emeraude); }
.choix[aria-current="true"] .choix__fleche { opacity: 1; }

.orientation__droite { position: sticky; top: calc(var(--entete) + 30px); }
.reponse { display: grid; gap: 26px; }
.reponse.entre { animation: reponse-entre 0.7s var(--sortie) both; }
.reponse__visuel { position: relative; aspect-ratio: 16 / 10; background: var(--nuit-2); }
.reponse__visuel img { width: 100%; height: 100%; object-fit: cover; }
.reponse__visuel .visuel { height: 100%; }
.reponse__num {
  position: absolute;
  right: 16px; bottom: 12px;
  color: var(--blanc);
  font-size: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.06em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.reponse__corps { display: grid; gap: 14px; justify-items: start; }
.reponse__picto { display: flex; align-items: center; gap: 10px; color: var(--emeraude); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.reponse__picto .picto { width: 22px; height: 22px; }
.reponse__titre { font-size: var(--t-titre-moyen); line-height: 1.04; letter-spacing: -0.035em; }
.reponse__texte { color: var(--sur-sombre); font-size: var(--t-chapeau); max-width: 48ch; }
.reponse__faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 22px; width: 100%; margin: 6px 0 10px; padding-block: 16px; border-block: 1px solid var(--ligne-claire); }
.reponse__faits dt { color: var(--sur-sombre); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.reponse__faits dd { font-weight: 600; font-size: var(--t-petit); }
@keyframes reponse-entre { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* --- Escalier des étapes (accueil) --------------------------------------------------- */
.escalier {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}
.escalier__marche {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(15rem + var(--i) * 4.5rem);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: var(--gris-pale);
}
.escalier__marche:nth-child(2) { background: var(--vert-pale); }
.escalier__marche:nth-child(3) { background: var(--emeraude); }
.escalier__marche:nth-child(4) { background: var(--nuit); color: var(--blanc); }
.escalier__marche:nth-child(n + 5) { background: var(--marine); color: var(--blanc); }
.escalier__contenu { display: grid; gap: 10px; align-content: start; padding: clamp(18px, 1rem + 1vw, 30px); }
.escalier__num { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.75rem); font-weight: 300; line-height: 1; letter-spacing: -0.05em; }
.escalier__titre { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.escalier__texte { font-size: var(--t-petit); opacity: 0.82; }
.escalier__marche:nth-child(3) .escalier__texte { opacity: 0.9; }
.escalier__pilier {
  align-self: end;
  height: 10px;
  margin: 0 clamp(18px, 1rem + 1vw, 30px) clamp(18px, 1rem + 1vw, 30px);
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 10px);
  opacity: 0.18;
}
.avec-js .escalier[data-reveal] > .escalier__marche { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
.avec-js .escalier[data-reveal] .escalier__contenu { opacity: 0; transform: translateY(20px); }
.avec-js .escalier.vu[data-reveal] > .escalier__marche { transform: none; transition: transform 1s var(--sortie) calc(var(--i) * 0.12s); }
.avec-js .escalier.vu[data-reveal] .escalier__contenu { opacity: 1; transform: none; transition: opacity 0.8s calc(var(--i) * 0.12s + 0.4s), transform 0.9s var(--sortie) calc(var(--i) * 0.12s + 0.4s); }

/* --- Visite ---------------------------------------------------------------------------- */
.visite { background: var(--papier-fonce); }
.visite__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 1rem + 6vw, 8rem); align-items: center; }
.visite__intro { margin-top: 20px; color: var(--encre-douce); font-size: var(--t-chapeau); max-width: 48ch; }
.fiche {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  padding: 8px 26px 24px;
  border-radius: 20px;
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.fiche__ligne { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.fiche__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--vert); color: var(--blanc); }
.fiche__icone .icone { width: 16px; height: 16px; }
.fiche__libelle { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--gris); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.fiche__valeur { font-weight: 600; font-size: 1.0625rem; }
.fiche__horaires { display: grid; gap: 2px; margin-top: 4px; }
.fiche__horaires div, .horaires div { display: flex; justify-content: space-between; gap: 18px; max-width: 280px; }
.fiche__horaires dt, .horaires dt { font-weight: 600; }
.fiche__horaires dd, .horaires dd { font-variant-numeric: tabular-nums; color: var(--encre-douce); }
.fiche__actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.visite .coches { margin-top: 30px; }

/* Ouvert / fermé à l'heure de Libreville */
.statut {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  border-radius: var(--pilule);
  background: var(--papier-fonce);
  color: var(--gris);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
}
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.statut--ouvert { background: var(--vert-pale); color: var(--vert); }
.statut--ouvert::before { animation: pulsation 1.8s ease-out infinite; }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(9, 122, 72, 0.5); } 100% { box-shadow: 0 0 0 8px rgba(9, 122, 72, 0); } }

.visite__photos { position: relative; min-height: clamp(420px, 40vw, 620px); }
.visite__photo { position: absolute; }
.visite__photo--0 { top: 0; right: 0; width: 78%; aspect-ratio: 4 / 3; }
.visite__photo--1 { bottom: 0; left: 0; width: 52%; aspect-ratio: 4 / 5; box-shadow: var(--ombre-forte); }
.visite__plaque {
  position: absolute;
  right: 6%; bottom: 10%;
  display: grid;
  gap: 2px;
  padding: 18px 22px 14px;
  /* Coin en escalier, le motif du site, plutôt qu'un liseré de couleur. */
  clip-path: polygon(0 16px, 8px 16px, 8px 8px, 16px 8px, 16px 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 6px 6px 6px;
  background: var(--nuit);
  color: var(--blanc);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--ombre-forte);
}
.visite__plaque-num { font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; }

/* --- Questions fréquentes ----------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.faq__entete { position: sticky; top: calc(var(--entete) + 30px); display: grid; gap: 18px; justify-items: start; }
.faq__entete .etiquette { margin-bottom: 0; }
.faq__intro { color: var(--gris); font-size: var(--t-chapeau); max-width: 40ch; }
.faq__liste { border-top: 1px solid var(--ligne); }
.faq__question { border-bottom: 1px solid var(--ligne); }
.faq__question summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: color 0.3s;
}
.faq__question summary::-webkit-details-marker { display: none; }
.faq__question summary:hover { color: var(--vert); }
.faq__num { color: var(--gris-clair); font-size: var(--t-micro); font-weight: 700; font-variant-numeric: tabular-nums; }
.faq__signe {
  position: relative;
  width: 36px; height: 36px;
  border: 1px solid var(--ligne-forte);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.5s var(--sortie);
}
.faq__signe::before, .faq__signe::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--sortie);
}
.faq__signe::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__question[open] .faq__signe { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); transform: rotate(180deg); }
.faq__question[open] .faq__signe::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__reponse { overflow: hidden; }
.faq__reponse > div { display: grid; gap: 0.8em; padding: 0 56px 26px 46px; color: var(--encre-douce); max-width: 70ch; }
.faq--compacte { grid-template-columns: 1fr; gap: 26px; }
.faq--compacte .faq__entete { position: static; }
.faq--compacte .faq__intro { display: none; }

/* --- Appel à l'action --------------------------------------------------------------- */
.appel { padding-bottom: var(--section); }
.appel__bloc {
  --m: clamp(20px, 1rem + 2vw, 56px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: end;
  gap: 40px;
  padding: clamp(3rem, 2rem + 5vw, 7rem) clamp(1.5rem, 1rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 5rem);
  background: var(--nuit);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
  clip-path: polygon(
    0 calc(var(--m) * 3 * var(--r) + (1 - var(--r)) * 100%),
    var(--m) calc(var(--m) * 3 * var(--r) + (1 - var(--r)) * 100%),
    var(--m) calc(var(--m) * 2 * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 2) calc(var(--m) * 2 * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 2) calc(var(--m) * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 3) calc(var(--m) * var(--r) + (1 - var(--r)) * 100%),
    calc(var(--m) * 3) calc((1 - var(--r)) * 100%),
    100% calc((1 - var(--r)) * 100%),
    100% 100%,
    0 100%
  );
}
.appel__escalier {
  position: absolute;
  right: 0; bottom: 0;
  z-index: -1;
  width: min(48%, 640px);
  height: 72%;
  fill: var(--foret);
  opacity: 0.9;
}
.appel__titre { font-size: var(--t-titre); line-height: 1.02; letter-spacing: -0.045em; }
.appel__titre em { color: var(--emeraude); }
.appel__texte { margin-top: 20px; color: var(--sur-sombre); font-size: var(--t-chapeau); max-width: 46ch; }
.appel .groupe-boutons { margin-top: 32px; }
.appel__direct { display: grid; gap: 10px; }
.appel__direct a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--ligne-claire);
  border-radius: 16px;
  background: rgba(7, 20, 51, 0.4);
  backdrop-filter: blur(8px);
  color: var(--blanc);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.appel__direct a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); }
.appel__direct small { display: block; color: var(--sur-sombre); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.appel__picto { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--emeraude); color: var(--nuit); }
.appel__picto .icone { width: 17px; height: 17px; }

/* --- Bandeau des pages intérieures --------------------------------------------------- */
.bandeau {
  position: relative;
  padding-top: calc(var(--entete) + clamp(2.5rem, 1rem + 4.5vw, 6rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 6.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--ligne);
}
.bandeau__grille { position: relative; z-index: 1; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--gris); font-size: 0.8125rem; font-weight: 600; }
.ariane li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gris-clair); }
.ariane a { text-decoration: none; transition: color 0.25s; }
.ariane a:hover { color: var(--vert); }
.ariane [aria-current] { color: var(--encre); }
.bandeau .ariane { margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.bandeau__titre {
  max-width: 16ch;
  font-size: var(--t-titre-page);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.bandeau__titre--article { max-width: 24ch; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.25rem); }
.bandeau__pied { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); padding-right: clamp(0px, 16vw, 260px); }
.bandeau__texte { max-width: 52ch; color: var(--encre-douce); font-size: var(--t-chapeau); }
.bandeau__pastilles { max-width: 620px; }
.bandeau__compte { color: var(--gris); font-weight: 600; }
.bandeau__compte strong { color: var(--encre); font-size: 2.6rem; font-weight: 400; letter-spacing: -0.04em; margin-right: 6px; }
.bandeau__marches {
  position: absolute;
  right: 0; bottom: 0;
  width: clamp(120px, 18vw, 300px);
  height: clamp(90px, 13vw, 220px);
  background: var(--emeraude);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 66.6%, 33.3% 66.6%, 33.3% 33.3%, 66.6% 33.3%, 66.6% 0);
  opacity: 0.95;
}
.bandeau__marches::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nuit);
  clip-path: polygon(100% 33.3%, 100% 100%, 33.3% 100%, 33.3% 100%, 66.6% 100%, 66.6% 66.6%, 100% 66.6%);
}
.avec-js .bandeau__marches { transform: translateY(100%); transition: transform 1.2s var(--sortie) 0.3s; }
.hero-pret .bandeau__marches { transform: none; }

/* --- Services : mosaïque --------------------------------------------------------------- */
.mosaique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1vw + 8px, 28px); }
.tuile { grid-column: span 6; }
.tuile--0, .tuile--3 { grid-column: span 7; }
.tuile--1, .tuile--2 { grid-column: span 5; }
.tuile__lien { display: grid; height: 100%; grid-template-rows: minmax(clamp(220px, 20vw, 320px), 1fr) auto; border-radius: var(--rayon); background: var(--blanc); color: var(--encre); text-decoration: none; overflow: hidden; box-shadow: var(--ombre); transition: transform 0.6s var(--sortie), box-shadow 0.6s var(--sortie); }
.tuile__lien:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.tuile__visuel { position: relative; background: var(--nuit); overflow: hidden; --m: 22px; }
.tuile__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sortie); }
.tuile__visuel .visuel { position: absolute; inset: 0; }
.tuile__lien:hover .tuile__visuel img { transform: scale(1.06); }
.tuile__visuel .visuel { height: 100%; }
.tuile__corps { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 1rem + 1vw, 34px); }
.tuile__haut { display: flex; justify-content: space-between; align-items: center; color: var(--gris-clair); font-weight: 700; font-size: var(--t-petit); font-variant-numeric: tabular-nums; }
.tuile__picto { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--vert); color: var(--blanc); }
.tuile__picto .picto { width: 24px; height: 24px; }
.tuile__titre { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.05; letter-spacing: -0.04em; }
.tuile__texte { color: var(--gris); max-width: 52ch; }
.tuile__faits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tuile__faits li { padding: 5px 12px; border-radius: var(--pilule); background: var(--papier-fonce); font-size: 0.8125rem; font-weight: 600; }
.tuile__faits strong { color: var(--vert); }
.tuile__faits span { color: var(--gris); font-weight: 500; }
.tuile__plus { margin-top: 10px; }

.encart {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 1rem + 2vw, 44px);
  border-radius: 22px;
  background: var(--vert-pale);
}
.encart__picto { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: var(--blanc); color: var(--vert); }
.encart__picto .picto { width: 36px; height: 36px; }
.encart__titre { font-size: var(--t-grand); letter-spacing: -0.025em; margin-bottom: 6px; }
.encart p { color: var(--encre-douce); max-width: 60ch; }

/* --- Page d'un service ----------------------------------------------------------------- */
.tete-service {
  position: relative;
  padding-top: calc(var(--entete) + clamp(2rem, 1rem + 3.5vw, 5rem));
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  overflow: hidden;
}
.tete-service__grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: end; }
.tete-service .ariane { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.tete-service__index { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gris); font-size: var(--t-petit); font-weight: 700; font-variant-numeric: tabular-nums; }
.tete-service__total { color: var(--gris-clair); }
.tete-service__picto { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--nuit); color: var(--emeraude); }
.tete-service__picto .picto { width: 24px; height: 24px; }
.tete-service__titre {
  font-size: var(--t-titre-page);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.tete-service__accroche { margin-top: 22px; max-width: 44ch; color: var(--encre-douce); font-size: var(--t-chapeau); }
.tete-service .groupe-boutons { margin-top: 30px; }
.tete-service__visuel { position: relative; }
.tete-service__photo,
.tete-service__illustration { aspect-ratio: 5 / 4; background: var(--nuit); }
.tete-service__illustration .visuel { height: 100%; }

.faits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  border-top: 1px solid var(--ligne-forte);
}
.fait { display: grid; gap: 6px; padding: 22px 22px 6px 0; }
.fait + .fait { padding-left: 22px; border-left: 1px solid var(--ligne); }
.fait dt { color: var(--gris); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.fait dd { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

.sous-nav { display: none; }

.service { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 6.5rem); padding-bottom: var(--section-serree); }
.service__aside { position: relative; }
.service__collant { position: sticky; top: calc(var(--entete) + 28px); display: grid; gap: 28px; padding-top: clamp(3rem, 2rem + 2vw, 4.5rem); }
.service__aside-titre { color: var(--gris); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.sommaire { display: grid; gap: 2px; margin-top: -14px; }
.sommaire a { display: flex; align-items: center; gap: 12px; padding: 7px 0; color: var(--gris); font-size: var(--t-petit); font-weight: 600; text-decoration: none; transition: color 0.3s; }
.sommaire__trait { flex: none; width: 32px; height: 2px; background: var(--ligne-forte); transform: scaleX(0.4375); transform-origin: 0 50%; transition: transform 0.45s var(--sortie), background 0.3s; }
.sommaire a:hover { color: var(--encre); }
.sommaire a.actif { color: var(--encre); }
.sommaire a.actif .sommaire__trait { transform: none; background: var(--emeraude); }
.service__carte { display: grid; gap: 12px; padding: 22px; border-radius: 18px; background: var(--papier-fonce); font-size: var(--t-petit); color: var(--encre-douce); }
.service__carte-titre { color: var(--encre); font-weight: 700; font-size: 1rem; }
.service__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--encre); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.service__tel .icone { width: 13px; height: 13px; color: var(--vert); }

.service__partie { padding-block: clamp(3rem, 2rem + 3vw, 5.5rem); border-top: 1px solid var(--ligne); }
.service__partie:first-child { border-top: 0; }
.service__presentation { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.service__intro { display: grid; gap: 1em; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; letter-spacing: -0.015em; color: var(--encre); max-width: 40em; }
.service__visuel { aspect-ratio: 16 / 10; border-radius: var(--rayon); background: var(--nuit); overflow: hidden; }
.service__visuel .visuel { height: 100%; }
.service__entete { display: grid; gap: 14px; margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.service__entete .etiquette { margin-bottom: 0; }
.service__intro-section { color: var(--gris); font-size: var(--t-chapeau); max-width: 56ch; }
.service__lien-tarifs { margin-top: 20px; font-size: var(--t-petit); }

/* Pour qui */
/* « Pour qui ? » : chaque public sur son palier ; les paliers montent de gauche à droite. */
.publics { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); align-items: start; }
.public {
  display: grid;
  gap: 10px;
  align-content: start;
  margin-top: calc((var(--n, 3) - 1 - var(--i, 0)) * var(--marche) * 1.6);
  padding: 20px clamp(16px, 2vw, 28px) 4px;
  border-top: 2px solid var(--encre);
  border-left: 1px solid var(--ligne);
}
.public:first-child { padding-left: 0; border-left: 0; }
.public__titre { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; letter-spacing: -0.02em; }
.public__titre .icone { flex: none; width: 18px; height: 18px; color: var(--vert); }
.public p { color: var(--gris); font-size: var(--t-petit); }

/* Déroulement : fil vertical */
.fil { position: relative; display: grid; gap: 0; --progression: 0; }
.fil::before, .fil::after {
  content: "";
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: var(--ligne);
}
.fil::after { background: linear-gradient(var(--emeraude), var(--bleu)); transform: scaleY(var(--progression)); transform-origin: top; }
.fil__etape { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-block: 18px; }
.fil__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 1.5px solid var(--ligne-forte);
  border-radius: 50%;
  background: var(--papier);
  color: var(--gris);
  font-weight: 700;
  font-size: var(--t-petit);
  font-variant-numeric: tabular-nums;
  transition: background 0.5s, color 0.5s, border-color 0.5s, transform 0.6s var(--sortie);
}
.fil__etape.atteinte .fil__num { background: var(--nuit); border-color: var(--nuit); color: var(--emeraude); transform: scale(1.06); }
.fil__contenu { padding-top: 12px; }
.fil__titre { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.2; }
.fil__texte { margin-top: 6px; color: var(--gris); max-width: 58ch; }

/* Échelle CECRL */
.echelle { display: grid; gap: 8px; }
.echelle__niveau {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 24px 18px 20px;
  border-radius: 14px;
  background: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.echelle__barre {
  position: absolute;
  left: 0; bottom: 0;
  width: calc((var(--i) + 1) / 6 * 100%);
  height: 4px;
  background: linear-gradient(90deg, var(--emeraude), var(--bleu));
  transform-origin: left;
}
.echelle__niveau::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 4px; background: var(--papier-fonce); }
.avec-js .echelle[data-reveal] .echelle__barre { transform: scaleX(0); }
.avec-js .echelle.vu[data-reveal] .echelle__barre { transform: none; transition: transform 1.2s var(--sortie) calc(var(--i) * 0.1s + 0.2s); }
.echelle__code { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--vert); }
.echelle__nom { font-size: 1.15rem; letter-spacing: -0.02em; }
.echelle__corps p { color: var(--gris); font-size: var(--t-petit); max-width: 60ch; }

/* Séquence et grille numérotées */
.sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sequence--grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sequence__element { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
.sequence__num { color: var(--vert); font-size: 2rem; font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.sequence__titre { font-size: 1.1rem; letter-spacing: -0.02em; }
.sequence__element p { color: var(--gris); font-size: var(--t-petit); }

/* Formules en cartes */
.formules { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.formule { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
/* Le prix de la formule, aligné en bas de la carte. */
.formule__prix {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ligne);
}
.formule__prix strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.formule__prix span { color: var(--gris); font-size: var(--t-petit); }
.formule__prix .lien-fleche span { color: inherit; font-size: inherit; }
.formule__titre { font-size: 1.2rem; letter-spacing: -0.02em; }
.formule__texte { color: var(--gris); font-size: var(--t-petit); }
.formule__infos { display: flex; flex-wrap: wrap; gap: 6px; }
.formule__infos div { display: flex; gap: 6px; padding: 5px 12px; border-radius: var(--pilule); background: var(--papier-fonce); font-size: 0.8125rem; }
.formule__infos dt { color: var(--gris); }
.formule__infos dd { font-weight: 700; }

/* Tableaux de définitions (horaires, infos pratiques) */
.tableau { border-top: 1px solid var(--ligne-forte); }
.tableau__ligne { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.tableau__ligne dt { color: var(--gris); font-weight: 600; }
.tableau__ligne dd { font-weight: 600; font-size: 1.0625rem; }
.tableau--compact .tableau__ligne { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
.tableau--compact dt { font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }

/* Ressources (lieux, matériel) */
.ressources { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ressource { display: grid; gap: 10px; align-content: start; padding: 14px 14px 24px; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
.ressource > :not(.ressource__photo) { margin-inline: 10px; }
.ressource__photo { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.ressource__icone { display: grid; place-items: center; width: 46px; height: 46px; margin-top: 10px; border-radius: 14px; background: var(--nuit); color: var(--emeraude); }
.ressource__icone .icone { width: 19px; height: 19px; }
.ressource__titre { font-size: 1.15rem; letter-spacing: -0.02em; }
.ressource p { color: var(--gris); font-size: var(--t-petit); }

/* Tarifs façon carte de restaurant */
.prix-liste { border-top: 1px solid var(--ligne-forte); }
.prix-ligne { display: grid; grid-template-columns: minmax(0, auto) minmax(30px, 1fr) auto auto; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.prix-ligne__titre { font-size: 1.2rem; letter-spacing: -0.02em; }
.prix-ligne__inclus { margin-top: 4px; color: var(--gris); font-size: 0.875rem; max-width: 46ch; }
.prix-ligne__pointilles { align-self: center; height: 2px; background: radial-gradient(circle, var(--ligne-forte) 1px, transparent 1.5px) 0 50% / 8px 2px repeat-x; }
.prix-ligne__prix { white-space: nowrap; color: var(--gris); font-size: var(--t-petit); }
.prix-ligne__prix span { margin-left: 4px; }
.prix-ligne__prix strong { color: var(--encre); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Infos pratiques */
.pratique { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.pratique__documents { padding: 26px; border-radius: var(--rayon); background: var(--papier-fonce); }
.pratique__titre { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.1rem; letter-spacing: -0.02em; }
.pratique__titre .icone { width: 17px; height: 17px; color: var(--vert); }

/* Les autres services */
.autres { background: var(--papier-fonce); }
.carrousel { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gouttiere), (100vw - var(--conteneur)) / 2); scrollbar-width: none; padding-bottom: 8px; }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel__piste { display: flex; gap: 18px; width: max-content; padding-inline: max(var(--gouttiere), (100vw - var(--conteneur)) / 2); }
.carte-service { width: clamp(260px, 26vw, 340px); scroll-snap-align: start; }
.carte-service a { display: grid; gap: 10px; color: var(--encre); text-decoration: none; }
.carte-service__visuel { aspect-ratio: 4 / 3; margin-bottom: 8px; background: var(--nuit); --m: 18px; }
.carte-service__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--sortie); }
.carte-service a:hover .carte-service__visuel img { transform: scale(1.06); }
.carte-service__visuel .visuel { height: 100%; }
.carte-service__num { color: var(--gris-clair); font-size: var(--t-micro); font-weight: 700; }
.carte-service__titre { font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1.1; }
.carte-service p { color: var(--gris); font-size: var(--t-petit); }

.barre-action { display: none; }

/* --- Illustrations des services (SVG) --------------------------------------------- */
.visuel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(20, 179, 111, 0.28), transparent 70%),
    radial-gradient(60% 70% at 10% 100%, rgba(29, 86, 196, 0.35), transparent 70%),
    var(--nuit);
  color: var(--blanc);
  overflow: hidden;
}
.visuel svg { width: 100%; height: 100%; max-height: 100%; }
.visuel text { font-family: var(--police); font-size: 17px; font-weight: 600; fill: var(--sur-sombre); }
.visuel .visuel__petit { font-size: 14.5px; font-weight: 600; fill: rgba(255, 255, 255, 0.55); }
.visuel .visuel__code { font-size: 30px; font-weight: 700; fill: var(--blanc); letter-spacing: -0.03em; }

/* Langues : bulles */
.visuel__orbites ellipse { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-dasharray: 3 7; }
.visuel__liens line { stroke: rgba(255, 255, 255, 0.14); }
.visuel__bulle rect { fill: rgba(255, 255, 255, 0.08); stroke: rgba(255, 255, 255, 0.22); }
.visuel__bulle path { fill: rgba(255, 255, 255, 0.08); }
.visuel__bulle text:not(.visuel__petit) { font-family: var(--police-accent); font-style: italic; font-size: 28px; font-weight: 400; fill: var(--blanc); }
.visuel__bulle--centre rect { fill: var(--emeraude); stroke: none; }
.visuel__bulle--centre path { fill: var(--emeraude); }
.visuel__bulle--centre text:not(.visuel__petit) { fill: var(--nuit); }
.visuel__flotte { animation: flotte 6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.9s); }
@keyframes flotte { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

/* CECRL : marches */
.visuel__grille line { stroke: rgba(255, 255, 255, 0.06); }
.visuel__marche rect { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.18); }
.visuel__marche:nth-child(n + 4) rect { fill: rgba(20, 179, 111, 0.16); stroke: rgba(20, 179, 111, 0.5); }
.visuel__marche:nth-child(n + 6) rect { fill: rgba(29, 86, 196, 0.3); stroke: rgba(58, 117, 196, 0.7); }
.visuel__groupes path { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; }
.visuel__groupes text { font-size: 16px; fill: rgba(255, 255, 255, 0.7); }
.visuel__repere { fill: var(--soleil); filter: drop-shadow(0 0 10px rgba(252, 209, 22, 0.7)); }
.vu .visuel__repere, .visuel--compact .visuel__repere { animation: grimpe 6s var(--aller-retour) infinite; }
@keyframes grimpe {
  0%, 8% { transform: translate(0, 0); }
  16%, 24% { transform: translate(93px, -58px); }
  32%, 40% { transform: translate(186px, -116px); }
  48%, 56% { transform: translate(279px, -174px); }
  64%, 72% { transform: translate(372px, -232px); }
  80%, 100% { transform: translate(465px, -290px); }
}

/* Documents */
.visuel__feuille rect { fill: var(--papier-clair); }
.visuel__feuille line { stroke: rgba(10, 26, 63, 0.18); stroke-width: 6; stroke-linecap: round; }
.visuel__feuille .visuel__code { fill: var(--marine); font-size: 26px; }
.visuel__feuille--cible line { stroke: rgba(9, 122, 72, 0.4); }
.visuel__sceau circle { fill: none; stroke: var(--vert); stroke-width: 3; }
.visuel__sceau circle:first-child { fill: rgba(20, 179, 111, 0.12); }
.visuel__sceau path { fill: none; stroke: var(--vert); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.visuel__fleche path { fill: none; stroke: var(--emeraude); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 8 8; animation: tirets 1.2s linear infinite; }
.visuel__fleche path + path { stroke-dasharray: none; animation: none; }
.visuel__etiquettes text { font-size: 17px; fill: rgba(255, 255, 255, 0.75); }
@keyframes tirets { to { stroke-dashoffset: -32; } }
.visuel__trait { stroke-dasharray: 180; stroke-dashoffset: 0; }
.avec-js [data-reveal="visuel"]:not(.vu) .visuel__trait { stroke-dashoffset: 180; }
.vu .visuel__trait { transition: stroke-dashoffset 0.8s var(--sortie) calc(var(--i) * 0.12s + 0.4s); }

/* Interprétation : scène */
.visuel__scene rect, .visuel__scene circle, .visuel__scene path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-linecap: round; }
.visuel__cabine > rect:first-child { fill: rgba(255, 255, 255, 0.05); }
.visuel__cabine .visuel__vitre { fill: rgba(29, 86, 196, 0.25); stroke: rgba(58, 117, 196, 0.8); }
.visuel__cabine circle, .visuel__cabine path { stroke: var(--emeraude); }
.visuel__emetteur rect { fill: rgba(20, 179, 111, 0.18); stroke: var(--emeraude); }
.visuel__onde { stroke: var(--soleil) !important; animation: onde-ir 1.8s ease-out infinite; animation-delay: calc(var(--i) * 0.25s); }
@keyframes onde-ir { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.visuel__public g circle { fill: rgba(255, 255, 255, 0.1); }
.visuel__public g path { stroke: var(--emeraude); stroke-width: 3; }
.visuel__public g { animation: auditeur 3s ease-in-out infinite; animation-delay: calc(var(--i) * 0.2s); }
@keyframes auditeur { 50% { opacity: 0.55; } }
.visuel__cable { stroke-dasharray: 6 6 !important; animation: tirets 1.6s linear infinite; }
.visuel__scene text { font-size: 17px; fill: rgba(255, 255, 255, 0.75); stroke: none; }

/* TOEFL : anneau */
.visuel__piste { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 22; }
.visuel__arc { fill: none; stroke-width: 22; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.visuel__arc:nth-of-type(1) { stroke: var(--emeraude); }
.visuel__arc:nth-of-type(2) { stroke: var(--bleu-survol); }
.visuel__arc:nth-of-type(3) { stroke: var(--soleil); }
.visuel__arc:nth-of-type(4) { stroke: #7fd8b0; }
.avec-js [data-reveal="visuel"]:not(.vu) .visuel__arc { stroke-dashoffset: 260; }
.vu .visuel__arc { transition: stroke-dashoffset 1.1s var(--sortie) calc(var(--i) * 0.18s + 0.2s); }
.visuel .visuel__arc-texte { font-size: 17px; font-weight: 700; fill: var(--blanc); }
.visuel .visuel__score { font-size: 64px; font-weight: 300; fill: var(--blanc); letter-spacing: -0.04em; }

/* OACI */
.visuel__trajet { fill: none; stroke: var(--soleil); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: 0.7; }
.visuel__avion { offset-path: path("M20 150 C 180 140, 260 60, 420 50 S 600 30, 640 20"); offset-rotate: auto; animation: vol 9s linear infinite; }
.visuel__avion path { fill: var(--blanc); }
@keyframes vol { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.visuel__niveau rect { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.18); }
.visuel__niveau--ok rect { fill: rgba(20, 179, 111, 0.2); stroke: var(--emeraude); }
.visuel__niveau--seuil rect { fill: var(--emeraude); }
.visuel__niveau--seuil .visuel__code, .visuel .visuel__niveau--seuil .visuel__validite { fill: var(--nuit); }
.visuel .visuel__validite { font-size: 12px; font-weight: 700; fill: var(--emeraude); }
.visuel__niveau .visuel__petit { font-size: 12.5px; }
.visuel__seuil line { stroke: var(--soleil); stroke-width: 2; stroke-dasharray: 6 6; }
.visuel__seuil text { font-size: 14px; font-weight: 700; fill: var(--soleil); }

/* Apparition des marches et niveaux */
.avec-js [data-reveal="visuel"]:not(.vu) :is(.visuel__marche, .visuel__niveau, .visuel__bulle) { opacity: 0; }
.vu :is(.visuel__marche, .visuel__niveau, .visuel__bulle) { transition: opacity 0.6s var(--sortie) calc(var(--i) * 0.1s); }

.visuel--compact text { font-size: 15px; }
.visuel__picto { fill: none; stroke: var(--blanc); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Tarifs ----------------------------------------------------------------------------- */
.grille-tarifs + .grille-tarifs { padding-top: 0; }

.paiement { background: var(--papier-fonce); }
.paiement__grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: start; }
.paiement__gauche .entete-section__texte { margin-top: 18px; }
.paiement__remise { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.paiement__remise strong { font-size: clamp(3rem, 2.4rem + 2.6vw, 5rem); font-weight: 300; letter-spacing: -0.06em; line-height: 0.9; color: var(--vert); }
.paiement__remise span { color: var(--encre-douce); font-weight: 600; max-width: 18ch; }
.paiement__cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.paiement__carte { padding: 28px; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
.paiement__carte h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 1.15rem; letter-spacing: -0.02em; }
.paiement__icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--vert); color: var(--blanc); }
.paiement__icone .icone { width: 17px; height: 17px; }

/* --- À propos ---------------------------------------------------------------------------- */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 6vw, 8rem); align-items: center; }
.deux-colonnes__texte { display: grid; gap: 22px; justify-items: start; }
.deux-colonnes__texte .etiquette { margin-bottom: 0; }
.deux-colonnes__visuel { aspect-ratio: 4 / 5; }
.deux-colonnes--inverse .deux-colonnes__visuel { order: -1; }
.bande-chiffres { position: relative; background: var(--nuit); color: var(--blanc); overflow: hidden; isolation: isolate; }
.bande-chiffres .titre-section em { color: var(--emeraude); }
.bande-chiffres .entete-section__texte { color: var(--sur-sombre); }
.equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 44px 20px; }
.membre { display: grid; gap: 4px; justify-items: center; align-content: start; text-align: center; }
.membre__photo {
  width: 168px;
  max-width: 100%;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gris-pale);
  box-shadow: 0 0 0 6px var(--blanc), 0 0 0 7px var(--ligne);
}
.membre__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--sortie); }
.membre:hover .membre__photo img { transform: scale(1.06); }
.membre__nom { font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.25; }
.membre__role { color: var(--vert); font-size: var(--t-petit); font-weight: 600; line-height: 1.35; max-width: 24ch; }
.membre__email { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--gris); font-size: 0.8125rem; font-weight: 500; text-decoration: none; word-break: break-word; }
.membre__email .icone { width: 12px; height: 12px; flex: none; }
.membre__email:hover { color: var(--vert); }
.membre__email:hover span { text-decoration: underline; }
/* À propos : sous les logos, ce que recouvre chaque partenariat, en lignes simples. */
.partenariats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: clamp(1.75rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--ligne); }
.partenariat { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.partenariat dt { font-weight: 700; letter-spacing: -0.01em; }
.partenariat dd { color: var(--gris); font-size: var(--t-petit); }

/* --- Galerie ------------------------------------------------------------------------------ */
.galerie { columns: 4 260px; column-gap: 14px; }
.galerie__element { break-inside: avoid; margin-bottom: 14px; }
.galerie__lien { display: block; border-radius: 10px; }
.galerie__lien img { height: auto; transition: transform 0.9s var(--sortie), filter 0.5s; }
.galerie__lien:hover img { transform: scale(1.05); }
.galerie__loupe {
  position: absolute;
  right: 12px; bottom: 12px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--nuit);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.4s var(--sortie);
}
.galerie__loupe .icone { width: 14px; height: 14px; }
.galerie__lien:hover .galerie__loupe, .galerie__lien:focus-visible .galerie__loupe { opacity: 1; transform: none; }

.visionneuse {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(7, 20, 51, 0.96);
  color: var(--blanc);
}
.visionneuse::backdrop { background: rgba(7, 20, 51, 0.6); }
.visionneuse[open] { display: grid; place-items: center; animation: fondu 0.3s both; }
.visionneuse__cadre { display: grid; gap: 14px; justify-items: center; max-width: min(92vw, 1400px); }
.visionneuse__image { max-height: 80dvh; width: auto; border-radius: 8px; }
.visionneuse__image.change { animation: mot-entre 0.5s var(--sortie) both; }
.visionneuse__image.charge-en-cours { opacity: 0.3; }
.visionneuse__legende { color: var(--sur-sombre); font-size: var(--t-petit); text-align: center; }
.visionneuse__compteur { position: absolute; left: 24px; top: 24px; color: var(--sur-sombre); font-weight: 700; font-variant-numeric: tabular-nums; }
.visionneuse__bouton {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--ligne-claire);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--blanc);
  transition: background 0.3s, color 0.3s;
}
.visionneuse__bouton:hover { background: var(--blanc); color: var(--nuit); }
.visionneuse__bouton .icone { width: 18px; height: 18px; }
.visionneuse__bouton--fermer { right: 20px; top: 20px; }
.visionneuse__bouton--precedent { left: 20px; top: 50%; translate: 0 -50%; }
.visionneuse__bouton--suivant { right: 20px; top: 50%; translate: 0 -50%; }
.visionneuse__attente { position: absolute; display: none; }
.visionneuse__cadre.attente .visionneuse__attente { display: flex; }

.points-attente { display: inline-flex; gap: 5px; }
.points-attente span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: points 1s ease-in-out infinite; }
.points-attente span:nth-child(2) { animation-delay: 0.15s; }
.points-attente span:nth-child(3) { animation-delay: 0.3s; }
@keyframes points { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* --- Blog et article ----------------------------------------------------------------------- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.carte-article { position: relative; display: grid; gap: 18px; align-content: start; }
.carte-article--une { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.carte-article__image { aspect-ratio: 16 / 10; }
.carte-article__image img { transition: transform 0.9s var(--sortie); }
.carte-article:hover .carte-article__image img { transform: scale(1.05); }
.carte-article__corps { display: grid; gap: 10px; justify-items: start; }
.carte-article__date { color: var(--vert); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.carte-article__titre { font-size: 1.35rem; letter-spacing: -0.025em; line-height: 1.15; }
.carte-article--une .carte-article__titre { font-size: var(--t-titre-moyen); letter-spacing: -0.04em; }
.carte-article__titre a { text-decoration: none; }
.carte-article__resume { color: var(--gris); }
.blog-vide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; }
.blog-vide__texte { display: grid; gap: 22px; justify-items: start; }
.blog-vide__texte .etiquette { margin-bottom: 0; }
.blog-vide__image { aspect-ratio: 4 / 3; }

.bandeau--article .ariane { margin-bottom: 2.5rem; }
.article__image { aspect-ratio: 16 / 9; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.article__contenu { display: grid; gap: 1.1em; font-size: 1.125rem; line-height: 1.75; color: var(--encre-douce); }
.article__contenu h2 { margin-top: 1em; font-size: var(--t-grand); color: var(--encre); letter-spacing: -0.025em; line-height: 1.2; }
.article__contenu h3 { margin-top: 0.6em; font-size: 1.25rem; color: var(--encre); }
.article__contenu ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: disc; }
.article__contenu a { color: var(--vert); font-weight: 600; }
.article__retour { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ligne); }

/* --- Contact --------------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.coordonnees { display: grid; gap: 0; border-top: 1px solid var(--ligne-forte); }
.coordonnee { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--ligne); }
.coordonnee__icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--nuit); color: var(--emeraude); }
.coordonnee__icone--whatsapp { background: #1fae5b; color: var(--blanc); }
.coordonnee__icone .icone { width: 18px; height: 18px; }
.coordonnee__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; color: var(--gris); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.coordonnee__valeur { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.coordonnee__valeur a { text-decoration: none; }
.coordonnee__valeur a:hover { color: var(--vert); }
.coordonnee .lien-fleche { margin-top: 8px; }
.horaires { display: grid; gap: 2px; margin-top: 4px; }

.contact__formulaire {
  padding: clamp(24px, 1rem + 3vw, 56px);
  border-radius: 24px;
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
}
.contact__titre { font-size: var(--t-titre-moyen); line-height: 1.05; letter-spacing: -0.04em; }
.contact__intro { margin-top: 12px; color: var(--gris); }
.alerte { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: #fdecea; color: var(--erreur); font-weight: 600; }
.alerte .icone { width: 18px; height: 18px; margin-top: 3px; }
.formulaire { display: grid; gap: 22px; margin-top: 32px; }
.formulaire__piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__sujets { margin: 0; padding: 0; border: 0; }
.formulaire__sujets legend { margin-bottom: 12px; font-weight: 700; font-size: var(--t-petit); }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.formulaire__champ { display: grid; gap: 8px; }
.formulaire__champ label { font-weight: 700; font-size: var(--t-petit); }
.requis { color: var(--vert); }
.facultatif { color: var(--gris); font-weight: 500; }
.formulaire__champ input,
.formulaire__champ textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--ligne);
  border-radius: 12px;
  background: var(--papier-clair);
  font-size: 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.formulaire__champ textarea { resize: vertical; min-height: 150px; }
.formulaire__champ input:hover,
.formulaire__champ textarea:hover { border-color: var(--ligne-forte); }
.formulaire__champ input:focus,
.formulaire__champ textarea:focus { outline: none; border-color: var(--vert); background: var(--blanc); box-shadow: 0 0 0 4px rgba(20, 179, 111, 0.16); }
.formulaire__champ [aria-invalid="true"] { border-color: var(--erreur); background: #fff8f7; }
/* « Comment vous répondre ? » : téléphone ou e-mail, au choix. */
.formulaire__joindre { display: grid; gap: 14px; margin: 0; padding: 0; border: 0; }
.formulaire__joindre legend { float: left; width: 100%; padding: 0; font-weight: 700; font-size: var(--t-petit); }
.formulaire__aide { margin-top: -6px; color: var(--gris); font-size: var(--t-petit); }
.formulaire__case { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-size: var(--t-petit); font-weight: 600; cursor: pointer; }
.formulaire__case input { width: 20px; height: 20px; margin: 0; accent-color: var(--vert); cursor: pointer; }
.formulaire__case span { display: inline-flex; align-items: center; gap: 8px; }
.formulaire__case .icone { width: 16px; height: 16px; color: var(--vert); }
.formulaire__erreur { display: flex; gap: 8px; align-items: center; color: var(--erreur); font-size: var(--t-petit); font-weight: 600; }
.formulaire__erreur .icone { width: 14px; height: 14px; }
.formulaire__envoi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 6px; }
.formulaire__note { display: flex; gap: 10px; align-items: flex-start; max-width: 40ch; color: var(--gris); font-size: 0.8125rem; }
.formulaire__note .icone { width: 13px; height: 13px; margin-top: 3px; flex: none; }
.bouton .points-attente { display: none; }
.bouton.en-cours .points-attente { display: inline-flex; }
.bouton.en-cours .bouton__icone { display: none; }
.confirmation { display: grid; gap: 14px; justify-items: start; padding: 20px 0; }
.confirmation__coche { width: 64px; height: 64px; }
.confirmation__coche circle { fill: var(--vert-pale); stroke: var(--emeraude); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: trace 0.9s var(--sortie) forwards; }
.confirmation__coche path { fill: none; stroke: var(--vert); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: trace 0.6s var(--sortie) 0.5s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.confirmation__titre { font-size: var(--t-titre-moyen); letter-spacing: -0.04em; }
.plan-acces { padding-bottom: var(--section); }
.plan-acces__cadre { width: 100%; height: clamp(320px, 38vw, 540px); }
.plan-acces__cadre iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(1.02); }

/* --- Page introuvable ------------------------------------------------------------------- */
.introuvable { position: relative; min-height: 92vh; padding-top: calc(var(--entete) + 4rem); padding-bottom: var(--section-serree); overflow: hidden; display: grid; align-items: center; }
.introuvable__grille { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.introuvable__code { display: flex; align-items: center; gap: 0.06em; font-size: clamp(6rem, 3rem + 14vw, 16rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.07em; }
.introuvable__zero { display: grid; place-items: center; width: 0.82em; height: 0.82em; border-radius: 50%; background: var(--nuit); }
.introuvable__zero .monogramme { width: 56%; overflow: visible; }
.introuvable__zero .monogramme__toque, .introuvable__zero .monogramme__gland { fill: var(--blanc); }
.introuvable__zero .monogramme__toque { animation: toque-saute 2.6s var(--sortie) infinite; }
@keyframes toque-saute { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-18%) rotate(-10deg); } 80% { transform: translateY(0) rotate(4deg); } }
.introuvable__perdu { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--gris); font-family: var(--police-accent); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); }
.introuvable__perdu li { animation: flotte 4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.7s); }
.introuvable__perdu li:nth-child(odd) { color: var(--vert); }
.introuvable__titre { font-size: var(--t-titre); line-height: 1.02; letter-spacing: -0.045em; max-width: 18ch; }
.introuvable__texte { color: var(--gris); font-size: var(--t-chapeau); }

/* --- Langues (accueil) : une bande de salutations, chacune avec son drapeau --------- */
.bande-langues { display: flex; flex-wrap: wrap; border-block: 1px solid var(--ligne); }
.bande-langues__langue {
  flex: 1 1 170px;
  display: grid;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 34px) clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--ligne);
}
.bande-langues__langue:first-child { padding-left: 0; border-left: 0; }
.bande-langues__salut {
  color: var(--encre);
  font-family: var(--police-accent);
  font-style: italic;
  font-size: clamp(2.1rem, 1.4rem + 2vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.3s;
}
.bande-langues__langue:hover .bande-langues__salut { color: var(--vert); }
.bande-langues__nom { display: inline-flex; align-items: center; gap: 10px; color: var(--encre-douce); font-size: var(--t-petit); font-weight: 700; }
.bande-langues__drapeau { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--ligne); }

/* --- Partenaires : logos alignés, sans défilement ni doublons ------------------- */
/* Logos posés sur la page, sans boîtes : la marque de chaque partenaire suffit. */
.partenaires {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 40px) clamp(28px, 5vw, 72px);
  width: min(100% - 2 * var(--gouttiere), var(--conteneur));
  margin-inline: auto;
}
.partenaires__element > * { display: grid; place-items: center; height: 96px; transition: transform 0.5s var(--sortie); }
.partenaires__element > *:hover { transform: translateY(-3px); }
.partenaires__logo { max-height: 88px; width: auto; max-width: 190px; object-fit: contain; }

/* --- Tarifs : une carte par offre, icône de couleur, prix et unité sur une ligne --- */
.offres { display: grid; grid-template-columns: repeat(var(--colonnes, 3), minmax(0, 1fr)); gap: 16px; }
.offres--4 { --colonnes: 4; }
.offres--2 { --colonnes: 2; }
.offres--1 { --colonnes: 1; max-width: 480px; }
.offre {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  background: var(--blanc);
  transition: transform 0.5s var(--sortie), box-shadow 0.5s var(--sortie), border-color 0.4s;
}
.offre:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.offre__haut { display: grid; gap: 8px; align-content: start; }
.offre__icone {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--blanc);
}
.offre__icone .icone { width: 21px; height: 21px; }
.offre__titre { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.offre__texte { color: var(--gris); font-size: var(--t-petit); }
.offre__prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.offre__prix strong { font-size: 1.3125rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.offre__prix span { color: var(--encre-douce); font-size: 1.125rem; font-weight: 400; }
.offre__points { align-content: start; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: 0.9rem; }
.offre__pied { display: grid; gap: 12px; justify-items: center; align-content: end; }
.offre__detail { font-size: 0.8125rem; color: var(--gris); }

/* --- Valeurs (À propos) : cartes avec pastille verte ------------------------------ */
.valeurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.valeur {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--ligne);
  border-radius: 16px;
  background: var(--blanc);
  transition: transform 0.5s var(--sortie), box-shadow 0.5s var(--sortie), border-color 0.3s;
}
.valeur:hover { transform: translateY(-5px); box-shadow: var(--ombre-forte); border-color: var(--emeraude); }
.valeur__icone { order: -1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; background: var(--vert); color: var(--blanc); }
.valeur__icone .icone { width: 23px; height: 23px; }
.valeur__num { position: absolute; right: 26px; top: 26px; color: var(--gris-clair); font-weight: 700; font-size: var(--t-petit); }
.valeur__titre { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.025em; }
.valeur p { color: var(--gris); }

/* --- Pied de page : compact, tout y sert ------------------------------------------- */
.pied {
  position: relative;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: var(--nuit);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.pied__aurore {
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(32% 40% at 18% 78%, rgba(29, 86, 196, 0.5), transparent 70%),
    radial-gradient(30% 36% at 85% 20%, rgba(20, 179, 111, 0.32), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.pied a { text-decoration: none; }
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.35fr);
  gap: 40px clamp(1.5rem, 1rem + 2.5vw, 4rem);
  padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.pied__marque { display: grid; gap: 18px; justify-items: start; align-content: start; }
.pied__logo { display: flex; align-items: center; gap: 12px; color: var(--blanc); }
.pied__logo .monogramme { width: 46px; overflow: visible; }
.pied__logo .monogramme__toque, .pied__logo .monogramme__gland { fill: var(--blanc); }
.pied__nom { display: grid; gap: 2px; font-family: var(--police-accent); font-weight: 600; font-size: 0.86rem; line-height: 1.05; letter-spacing: 0.06em; text-transform: uppercase; }
.pied__nom span + span { color: var(--emeraude); font-size: 0.68rem; letter-spacing: 0.24em; }
.pied__description { color: var(--sur-sombre); font-size: var(--t-petit); max-width: 42ch; }
.pied__boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.pied__titre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blanc);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pied__liste { display: grid; gap: 8px; font-size: var(--t-petit); }
.pied__liste a, .pied__coordonnees a { color: var(--sur-sombre); transition: color 0.25s; }
.pied__liste a:hover, .pied__coordonnees a:hover { color: var(--blanc); }
.pied__coordonnees { display: grid; gap: 12px; color: var(--sur-sombre); font-size: var(--t-petit); }
.pied__coordonnees li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; }
.pied__coordonnees .icone { width: 15px; height: 15px; margin-top: 5px; color: var(--emeraude); }
.pied__horaires { display: grid; gap: 2px; }
.pied__horaires div { display: flex; justify-content: space-between; gap: 18px; max-width: 220px; }
.pied__horaires dd { font-variant-numeric: tabular-nums; }
.pied .statut { margin-bottom: 4px; background: rgba(255, 255, 255, 0.08); color: var(--sur-sombre); letter-spacing: 0.04em; }
.pied .statut--ouvert { background: rgba(20, 179, 111, 0.16); color: var(--emeraude); }
.pied__reseaux { display: flex; gap: 8px; }
.pied__reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ligne-claire); border-radius: 50%; color: var(--blanc); transition: background 0.3s, color 0.3s; }
.pied__reseaux a:hover { background: var(--blanc); color: var(--nuit); }
.pied__bas {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--ligne-claire);
  color: var(--sur-sombre);
  font-size: 0.8125rem;
}
.pied__bas p { flex: 1; }
.pied__haut-page { display: inline-flex; align-items: center; gap: 8px; color: var(--sur-sombre); font-weight: 600; }
.pied__haut-page:hover { color: var(--blanc); }
.pied__haut-page .icone { width: 12px; height: 12px; transition: transform 0.4s var(--sortie); }
.pied__haut-page:hover .icone { transform: translateY(-3px); }

@media (max-width: 1100px) {
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__marque, .pied__colonne--contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .offres, .offres--4 { --colonnes: 2; }
  .valeurs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .offres, .offres--4, .offres--2 { --colonnes: 1; }
  .offre { grid-row: auto; grid-template-rows: none; }
  .bande-langues { display: grid; grid-template-columns: 1fr 1fr; }
  .bande-langues__langue { padding-left: 0; border-left: 0; }
  .bande-langues__langue:nth-child(n + 3) { border-top: 1px solid var(--ligne); }
  .partenaires { gap: 24px 10px; }
  .partenaires__element { width: calc(50% - 14px); }
  .partenaires__element > * { width: 100%; height: 84px; }
  .pied__bas { flex-wrap: wrap; }
  .pied__bas p { flex-basis: calc(100% - 60px); }
}

/* Sur fond blanc, les cartes blanches sont cernées d'un filet. */
.formule, .sequence__element, .ressource, .echelle__niveau,
.tuile__lien, .paiement__carte, .fiche, .contact__formulaire { border: 1px solid var(--ligne); }

/* --- Apparitions au défilement ------------------------------------------------------- */
.avec-js [data-reveal]:not([data-reveal="mots"]):not([data-reveal="cascade"]):not([data-reveal="image"]):not([data-reveal="visuel"]) {
  opacity: 0;
  transform: translateY(28px);
}
.avec-js [data-reveal].vu:not([data-reveal="mots"]):not([data-reveal="cascade"]):not([data-reveal="image"]):not([data-reveal="visuel"]) {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--sortie) var(--delai, 0s), transform 1.1s var(--sortie) var(--delai, 0s);
}

.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.08em 0.14em; margin-block: -0.08em -0.14em; }
.mot__dedans { display: inline-block; }
.avec-js [data-reveal="mots"] .mot__dedans { transform: translateY(110%); }
.avec-js [data-reveal="mots"].vu .mot__dedans { transform: none; transition: transform 1s var(--sortie) calc(var(--i) * 0.045s + var(--delai, 0s)); }

.avec-js [data-reveal="cascade"]:not(.escalier) > * { opacity: 0; transform: translateY(30px); }
.avec-js [data-reveal="cascade"].vu:not(.escalier) > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--sortie) calc(var(--i) * 0.07s), transform 1s var(--sortie) calc(var(--i) * 0.07s);
}

.avec-js [data-reveal="image"] { --r: 0; }
.avec-js [data-reveal="image"] img { scale: 1.18; }
.avec-js [data-reveal="image"].vu { --r: 1; transition: --r 1.25s var(--aller-retour); }
.avec-js [data-reveal="image"].vu img { scale: 1; transition: scale 1.8s var(--sortie); }

/* Secours : si le script ne tourne pas, tout reste visible. */
.anim-secours [data-reveal],
.anim-secours [data-reveal] > *,
.anim-secours .mot__dedans,
.anim-secours .hero__morceau > span,
.anim-secours [data-hero-entree],
.anim-secours .pellicule__photo,
.anim-secours .escalier__marche,
.anim-secours .escalier__contenu { opacity: 1 !important; transform: none !important; }
.anim-secours [data-reveal="image"] { --r: 1 !important; }
.anim-secours .hero__pilule { clip-path: none !important; }
/* Sans script, l'écran de chargement ne doit jamais rester devant la page. */
.anim-secours .chargeur { display: none !important; }
.anim-secours.premiere-visite body { overflow: visible; }

/* --- Transitions entre les pages ------------------------------------------------------ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.32s var(--aller-retour) both vt-sortie; }
::view-transition-new(root) { animation: 0.6s var(--sortie) both vt-entree; }
::view-transition-group(entete) { animation-duration: 0s; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-24px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(40px); } }

/* --- Adaptations ---------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .entete__tel-numero { display: none; }
  .hero__pied { grid-template-columns: 1fr auto; }
  .index__lien { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 48px; }
  .index__fait { display: none; }
}

@media (max-width: 1100px) {
  :root { --entete: 68px; }
  .entete__bascule {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border: 1px solid var(--ligne-forte);
    border-radius: 50%;
    background: transparent;
  }
  .entete__burger { display: grid; gap: 6px; width: 18px; }
  .entete__burger span { height: 1.5px; background: var(--encre); transition: transform 0.45s var(--sortie); }
  .entete__bascule[aria-expanded="true"] .entete__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .entete__bascule[aria-expanded="true"] .entete__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .entete__actions { margin-left: auto; }
  .entete__tel { display: none; }

  /* Menu : un panneau qui descend de l'en-tête ; la page reste visible, assombrie, dessous. */
  .entete--menu-ouvert::before { opacity: 1; }
  .entete__nav {
    position: fixed;
    top: var(--entete);
    left: 0;
    right: 0;
    z-index: 1;
    display: grid;
    gap: 18px;
    max-height: calc(100dvh - var(--entete) - 64px);
    padding: 20px var(--gouttiere) 22px;
    border-radius: 0 0 22px 22px;
    background: var(--papier);
    box-shadow: 0 28px 60px -28px rgba(7, 20, 51, 0.45);
    overflow-y: auto;
    overscroll-behavior: contain;
    clip-path: inset(0 0 100% 0 round 0 0 22px 22px);
    visibility: hidden;
    transition: clip-path 0.5s var(--sortie), visibility 0s 0.5s;
  }
  .entete__nav.ouvert { clip-path: inset(0 0 0 0 round 0 0 22px 22px); visibility: visible; transition: clip-path 0.55s var(--sortie); }
  /* Le logo ramène à l'accueil : la ligne des pages tient ainsi sur une seule ligne. */
  .entete__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 22px; }
  .entete__lien { padding: 8px 0; border-radius: 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
  .entete__lien:hover { background: none; color: var(--vert); }
  .entete__lien[aria-current="page"] { color: var(--vert); }
  .entete__lien[aria-current="page"]::after { display: none; }
  .mega,
  .entete__deplier { display: none; }

  /* Les services d'abord, en tuiles : ce que la plupart des visiteurs viennent chercher. */
  .entete__item--services { order: -1; flex-basis: 100%; margin-bottom: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--ligne); }
  .entete__titre-services { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; color: var(--gris); font-size: var(--t-micro); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
  .entete__titre-services a { color: var(--vert); font-size: var(--t-petit); letter-spacing: 0; text-transform: none; text-decoration: none; }
  .entete__sous-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .entete__sous-liste a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 9px 12px 9px 9px;
    border: 1px solid var(--ligne);
    border-radius: 14px;
    color: var(--encre);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s;
  }
  .entete__sous-liste a:hover { border-color: var(--ligne-forte); }
  .entete__sous-liste a[aria-current="page"] { border-color: var(--emeraude); background: var(--vert-pale); color: var(--vert); }
  .entete__picto { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--nuit); color: var(--emeraude); }
  .entete__picto .picto { width: 20px; height: 20px; }

  .entete__mobile-pied { display: flex; align-items: center; gap: 10px; padding-top: 4px; }
  .entete__mobile-pied .bouton { flex: 1; justify-content: center; }
  .entete__rond { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid var(--ligne-forte); border-radius: 50%; color: var(--vert); }
  .entete__rond .icone { width: 18px; height: 18px; }
  .entete--menu-ouvert .entete__voile { opacity: 1; visibility: visible; transition-delay: 0s; }

  .service { grid-template-columns: minmax(0, 1fr); }
  .service__aside { display: none; }
  .sous-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: block;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-block: 1px solid var(--ligne);
    transition: top 0.5s var(--sortie);
  }
  body:not(.entete-cache) .sous-nav { top: var(--entete); }
  .sous-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px var(--gouttiere); }
  .sous-nav ul::-webkit-scrollbar { display: none; }
  .sous-nav a { display: block; padding: 8px 14px; border-radius: var(--pilule); color: var(--gris); font-size: 0.875rem; font-weight: 700; white-space: nowrap; text-decoration: none; transition: background 0.3s, color 0.3s; }
  .sous-nav a.actif { background: var(--nuit); color: var(--blanc); }

  .barre-action {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: var(--pilule);
    background: rgba(7, 20, 51, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--ombre-forte);
    transform: translateY(150%);
    transition: transform 0.6s var(--sortie);
  }
  .barre-action.visible { transform: none; }
  .barre-action .bouton { flex: 1; }
  .barre-action__rond { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--blanc); }
  .barre-action__rond .icone { width: 18px; height: 18px; }

  .faq { grid-template-columns: 1fr; }
  .faq__entete { position: static; }
  .orientation__grille { grid-template-columns: 1fr; }
  .orientation__droite { position: static; }
}

@media (max-width: 900px) {
  .entete-section--large { grid-template-columns: 1fr; }
  .hero__pied { grid-template-columns: 1fr; }
  .hero__boutons { flex-wrap: wrap; }
  .manifeste__pied { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .chiffres__element:nth-child(3) { border-left: 0; padding-left: 0; }
  .index__lien { grid-template-columns: 34px minmax(0, 1fr) 72px; gap: 16px; }
  .index__desc, .index__fleche { display: none; }
  .index__vignette { display: block; width: 72px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
  .index__vignette img { width: 100%; height: 100%; object-fit: cover; }
  .escalier { grid-template-columns: 1fr; gap: 8px; }
  .escalier__marche { min-height: 0; margin-left: calc(var(--i) * 18px); border-radius: 6px; }
  .escalier__pilier { display: none; }
  .avec-js .escalier[data-reveal] > .escalier__marche { transform: scaleX(0); transform-origin: left; }
  .visite__grille, .deux-colonnes, .blog-vide, .contact, .paiement__grille, .pratique, .tete-service__grille, .appel__bloc { grid-template-columns: 1fr; }
  .deux-colonnes--inverse .deux-colonnes__visuel { order: 0; }
  .deux-colonnes__visuel { aspect-ratio: 4 / 3; }
  .visite__photos { min-height: 0; aspect-ratio: 1; }
  .tuile, .tuile--0, .tuile--1, .tuile--2, .tuile--3 { grid-column: 1 / -1; }
  .sequence, .sequence--grille { grid-template-columns: 1fr 1fr; }
  /* Sur écran étroit, les paliers se lisent de haut en bas, décalés d'une marche. */
  .publics { grid-template-columns: 1fr; }
  .public { margin-top: 0; padding: 18px 0 14px calc(var(--i, 0) * var(--marche)); border-left: 0; }
  .public:first-child { padding-left: 0; }
  .articles { grid-template-columns: 1fr 1fr; }
  .carte-article--une { grid-template-columns: 1fr; }
  .encart { grid-template-columns: auto 1fr; }
  .encart .bouton { grid-column: 1 / -1; justify-self: start; }
  .appel__escalier { width: 70%; height: 40%; }
  .tete-service__visuel { order: -1; }
  .tete-service .ariane { order: -2; }
}

@media (max-width: 640px) {
  :root { --t-texte: 1rem; }
  .entete__nom { font-size: 0.72rem; }
  .entete__nom-ville { font-size: 0.58rem; }
  .entete__monogramme { width: 38px; }
  .entete__inscrire { display: none; }
  .hero__ligne:nth-child(n) { padding-left: 0; }
  .hero__pilule { width: 1.85em; height: 0.8em; }
  .hero__boutons .bouton { flex: 1 1 100%; }
  .chiffres__valeur { font-size: 2.6rem; }
  .sequence, .sequence--grille, .articles, .paiement__cartes, .formulaire__ligne { grid-template-columns: 1fr; }
  .fait + .fait { padding-left: 0; border-left: 0; }
  .faits { grid-template-columns: 1fr 1fr; }
  .fait:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--ligne); }
  .tableau__ligne { grid-template-columns: 1fr; gap: 4px; }
  .prix-ligne { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .prix-ligne__pointilles { display: none; }
  .prix-ligne__prix { white-space: normal; }
  .echelle__niveau { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px 16px 20px; }
  .faq__reponse > div { padding: 0 0 24px; }
  .faq__question summary { gap: 12px; }
  .faq__num { display: none; }
  .faq__question summary { grid-template-columns: 1fr auto; }
  .visite__plaque { right: 0; bottom: 4%; }
  .pellicule { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pellicule::-webkit-scrollbar { display: none; }
  .pellicule__piste { transform: none; }
  .pellicule__photo { scroll-snap-align: center; }
  .contact__formulaire { padding: 22px; border-radius: 18px; }
  .formulaire__envoi .bouton { width: 100%; }
  .visionneuse__bouton--precedent, .visionneuse__bouton--suivant { top: auto; bottom: 20px; translate: none; }
  .introuvable__code { font-size: 7rem; }
  .bandeau__marches { width: 90px; height: 66px; }
  .service__visuel { aspect-ratio: 640 / 520; }
  .galerie { columns: 2; column-gap: 10px; }
  .galerie__element { margin-bottom: 10px; }
  .equipe { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ligne); }
  .membre { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; justify-items: start; align-items: center; text-align: left; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
  .membre__photo { grid-row: span 3; width: 88px; margin: 0; box-shadow: 0 0 0 3px var(--blanc), 0 0 0 4px var(--ligne); }
  .membre__role { max-width: none; }
  .membre__email { margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pellicule__piste { transform: none; }
  .pellicule { overflow-x: auto; }
}

/* --- Vérification d'un certificat (/verification/) --------------------------
   Page ouverte par le QR code d'un certificat. Le verdict passe avant tout :
   sur téléphone, il s'affiche en premier, sous l'en-tête du site. */

.verification {
  position: relative;
  padding-top: calc(var(--entete) + clamp(1.5rem, 1rem + 2.5vw, 3.5rem));
  padding-bottom: var(--section-serree);
  border-bottom: 1px solid var(--ligne);
}
.verification__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.75rem, 1rem + 4vw, 5rem); }
.verification__tete { position: sticky; top: calc(var(--entete) + 1.5rem); }
.verification .ariane { margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.verification__titre { max-width: 13ch; font-size: var(--t-titre); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; }
.verification__titre em { padding-right: 0.06em; color: var(--vert); font-family: var(--police-accent); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.verification__texte { max-width: 44ch; margin-top: 1rem; color: var(--encre-douce); font-size: var(--t-chapeau); }
.langues { display: flex; gap: 8px; margin-top: 1.5rem; }

.verdict__carte { overflow: hidden; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); }
.verdict__bandeau { display: flex; align-items: flex-start; gap: 16px; padding: clamp(18px, 3vw, 28px); background: var(--vert); color: var(--blanc); }
.verdict__bandeau > .icone { flex: none; width: 34px; height: 34px; margin-top: 1px; }
.verdict__bandeau p { margin-top: 6px; color: #e2f4e9; }
.verdict__titre { font-size: var(--t-titre-moyen); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
.verdict__carte--expire .verdict__bandeau { background: var(--soleil); color: var(--encre); }
.verdict__carte--expire .verdict__bandeau p { color: #3b3413; }
.verdict__carte--refuse .verdict__bandeau { background: var(--erreur); }
.verdict__carte--refuse .verdict__bandeau p { color: #fde5e2; }
.verdict__corps { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); }
.verdict__corps > .verdict__titre + p { margin-top: -8px; }
.verdict__corps > p { max-width: 60ch; color: var(--encre-douce); }

.fiche-certificat { display: grid; gap: 12px; }
.fiche-certificat__ligne { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: baseline; gap: 2px 16px; }
.fiche-certificat dt { color: var(--gris); font-size: var(--t-petit); }
.fiche-certificat dd { color: var(--encre); font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.fiche-certificat [data-valeur="titulaire"] { font-size: 1.25rem; letter-spacing: -0.015em; }
.criteres-certificat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 22px; padding: 14px 18px; border-radius: var(--rayon-petit); background: var(--papier-fonce); }
.criteres-certificat li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; color: var(--encre-douce); font-size: var(--t-petit); }
.criteres-certificat strong { color: var(--encre); font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.verdict__corps > .verdict__conseil { display: flex; align-items: flex-start; gap: 10px; max-width: none; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: var(--t-petit); }
.verdict__conseil .icone { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--bleu); }

.verification__explications { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 0.9fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.verification__sous-titre { margin-bottom: 10px; font-size: var(--t-grand); font-weight: 600; letter-spacing: -0.02em; }
.verification__explications p { max-width: 46ch; color: var(--encre-douce); }
.verification__contacts { display: grid; gap: 8px; margin-top: 14px; }
.verification__contacts li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.verification__contacts .icone { width: 15px; height: 15px; color: var(--vert); }
.verification__contacts a { text-decoration: none; }
.verification__contacts a:hover { color: var(--vert); }

@media (max-width: 900px) {
  .verification__grille, .verification__explications { grid-template-columns: minmax(0, 1fr); }
  .verification__tete { position: static; }
  /* Un résultat à montrer : il passe devant le titre de la page. */
  .verification[data-resultat]:not([data-resultat="vide"]) .verdict { order: -1; }
  .verification__titre { max-width: none; }
}
@media (max-width: 520px) {
  .fiche-certificat__ligne { grid-template-columns: minmax(0, 1fr); }
  .criteres-certificat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
