/* Maouja — feuille de style du site. Identité : ../../marque/DESIGN.md.
   Une seule idée : la porte. Le logo est seul sur une page blanche ; on entre par sa porte,
   puis chaque espace et chaque fonction s'ouvrent par le même mouvement.
   La page reste blanche. La couleur vient du logo : ses trois teintes pour les trois espaces,
   le bleu de la porte pour les boutons, et un grand morceau du M dans chaque partie. */
:root {
  color-scheme: light;
  --entete: 77px;
  --marine: #121a3f; --nuit: #2a3770;
  --blanc: #ffffff; --brume: #f5f7fb; --texte-2: #566089; --texte-3: #3f4a75; --bord: #e4e7ef;
  --rouge: #e42326; --vert: #158b4e; --bleu: #2165b0; --bleu-2: #1a5494; --violet: #6a55c2;
  --police: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --rebond: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; text-wrap: pretty; background: var(--blanc); color: var(--marine); font-family: var(--police); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
.salle.ouverte :focus-visible, .appel :focus-visible { outline-color: var(--blanc); }
.cadre { max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(64px, 9vw, 130px); }
.fonctions, .conviction, .fondateur { padding-top: 0; }
.r { color: var(--rouge); } .v { color: var(--vert); } .b { color: var(--bleu); }

/* Le logo : un symbole, un nom, une signature. */
.lk { display: inline-flex; align-items: center; gap: .2em; color: var(--marine); direction: ltr; white-space: nowrap; line-height: 1; }
.lk svg { height: 1em; width: auto; flex: none; overflow: visible; display: block; }
.lk .mots { display: flex; flex-direction: column; align-items: flex-start; }
.lk .l1, .lk .l2 { display: block; overflow: hidden; }
.lk .m1 { display: block; font-size: .6em; font-weight: 700; letter-spacing: -.01em; line-height: 1.22; }
.lk .m2 { display: block; font-size: .275em; font-weight: 500; letter-spacing: .12em; line-height: 1.35; }
[data-m], [data-porte] { display: inline-flex; flex: none; }
[data-m] svg, [data-porte] svg { display: block; height: 1em; width: auto; }

/* Les boutons prennent le bleu de la porte : c'est la couleur de l'action. */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 13px 26px; border-radius: 999px; border: 0; background: var(--bleu); color: var(--blanc); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: transform .35s var(--sortie), background-color .25s; }
.btn:hover { background: var(--bleu-2); transform: translateY(-2px); }
.btn.blanc { background: var(--blanc); color: var(--marine); }
.btn.blanc:hover { background: #eef1f8; }
.fl { width: 17px; height: 17px; flex: none; transition: transform .35s var(--sortie); }
a:hover > .fl, button:hover > .fl, .choix-b:hover .entrer .fl { transform: translateX(5px); }
.surtitre { display: block; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
.titre { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.publics span, .chute, .engagements b, .hesite-tete b, .choix-b small, .reseau span, .legende span, .nombres span { text-wrap: balance; }
.sous { margin-top: 18px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--texte-2); }

/* Les titres montent derrière un cache. */
.cache { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.cache > span { display: block; }
.anime .cache > span { transform: translateY(108%); transition: transform 1s var(--sortie); transition-delay: calc(var(--i, 0) * 110ms); }
.anime .cache.vu > span { transform: none; }
.anime .apparait { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--sortie), transform .8s var(--sortie); transition-delay: var(--d, 0s); }
.anime .apparait.vu { opacity: 1; transform: none; }
.anime .monte { translate: 0 70px; transition: translate 1.4s var(--sortie); }
.anime .monte.vu { translate: none; }
.rideau { position: fixed; inset: 0; z-index: 25; background: var(--blanc); opacity: 0; pointer-events: none; transition: opacity .32s ease; }
.rideau.ferme { opacity: 1; }

/* En-tête : le menu est au centre. Le logo n'y apparaît qu'une fois la porte passée, pour laisser le grand logo seul. */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete.passe { border-bottom-color: var(--bord); }
.entete .barre { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; min-height: 76px; }
.entete .lk-lien { justify-self: start; text-decoration: none; display: inline-flex; }
.entete .lk { font-size: 40px; }
.passage .entete .lk-lien { opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity .5s var(--sortie), transform .5s var(--sortie), visibility .5s; }
.passage .entete.passe .lk-lien { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.entete nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--brume); }
.entete nav a { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--texte-3); text-decoration: none; transition: background-color .2s, color .2s; }
.entete nav a:hover { background: var(--blanc); color: var(--marine); }
.entete .btn { justify-self: end; min-height: 46px; padding: 10px 20px; font-size: 15px; }
.entete .court { display: none; }

/* Le seuil. Sans la classe « passage » (pas de JavaScript, mouvement réduit), c'est une ouverture simple, tout visible. */
.seuil { padding: 0; margin-top: -77px; }
.seuil-colle { position: relative; }
.seuil-avant { display: grid; justify-items: center; gap: clamp(12px, 2.2vh, 26px); padding: 110px 20px 40px; }
.seuil-logo { width: min(56vw, 31vh, 440px); aspect-ratio: 810 / 790; }
.seuil-logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seuil-texte { display: grid; justify-items: center; gap: clamp(10px, 1.8vh, 16px); text-align: center; width: 100%; }
.marque-nom { margin-bottom: -4px; font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }
.publics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(100%, 940px); margin-block: 2px; }
.publics button { display: grid; gap: 2px; align-content: start; padding: 12px 16px; border: 1.5px solid var(--bord); border-radius: 18px; background: var(--blanc); text-align: left; transition: border-color .25s, transform .35s var(--sortie); }
.publics button:hover { border-color: var(--k); transform: translateY(-2px); }
.publics b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; line-height: 1.25; }
.publics b::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--k); }
.publics span { font-size: 14px; color: var(--texte-2); line-height: 1.35; }
h1 { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
/* Le titre d'accueil est une phrase : une ligne sur ordinateur, deux lignes équilibrées sur téléphone. */
.seuil-texte h1 { font-size: min(7.6vw, 30px); text-wrap: balance; }
@media (max-width: 350px) { .seuil-texte h1 { font-size: 22px; } }
/* Petit téléphone : l'invitation laisse la place aux trois boutons, qui la disent déjà. */
@media (max-width: 680px) and (max-height: 720px) { .chapo .choisir { display: none; } }
.chapo { text-wrap: balance; font-size: clamp(16px, 1.5vw, 20px); color: var(--texte-2); }
.indice { display: none; }
.seuil-apres { padding: 40px 20px 0; }
.seuil-apres .dedans { display: grid; justify-items: center; text-align: center; }
.trois { margin-top: 16px; font-size: clamp(18.7px, 1.9vw, 24px); font-weight: 700; line-height: 1.4; }
.passage .seuil { height: 200vh; height: 200svh; }
.passage .seuil-colle { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.passage .seuil-avant { position: absolute; inset: 0; align-content: center; padding: 96px 20px 26px; }
.passage .indice { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); text-decoration: none; }
.indice svg, .suivant { width: 44px; height: 44px; border: 1.5px solid var(--bord); border-radius: 50%; background: var(--blanc); color: var(--texte-3); transition: border-color .25s, color .25s, transform .35s var(--sortie); }
.indice svg { padding: 11px; }
.indice:hover svg, .suivant:hover { border-color: var(--marine); color: var(--marine); transform: translateY(3px); }
/* La suite : chaque écran se termine par une flèche qui mène au suivant. Le défilement au doigt reste libre. */
.suivant { position: relative; z-index: 1; flex: none; display: grid; place-items: center; margin: auto auto 0; }
.suivant svg { width: 20px; height: 20px; }
.passage .seuil-apres { position: absolute; inset: 0; padding: 0; opacity: 0; pointer-events: none; transform-origin: 50% 50%; }
.passage .seuil-apres .dedans { position: absolute; left: 0; right: 0; top: max(22%, 170px); padding: 0 20px; transform: translateY(-50%); }
.anime .seuil-texte > * { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--sortie), transform .9s var(--sortie); }
.anime .seuil-texte.vu > * { opacity: 1; transform: none; }
.anime .seuil-texte.vu > :nth-child(n+3) { transition-delay: .12s; } .anime .seuil-texte.vu > :nth-child(n+4) { transition-delay: .24s; } .anime .seuil-texte.vu > :nth-child(n+5) { transition-delay: .36s; } .anime .seuil-texte.vu > :nth-child(n+6) { transition-delay: .6s; }

/* La salle : des symboles sur fond blanc. On en touche un, il grandit jusqu'à remplir la salle de sa couleur. */
/* Passée la porte, les trois applications finissent au bas de l'écran, la flèche en dernier. */
.espaces { display: flex; flex-direction: column; gap: 14px; padding-block: clamp(20px, 4vw, 48px) 14px; }
.espaces > .cadre { width: 100%; }
.passage .espaces { position: relative; z-index: 2; min-height: 58vh; min-height: 58svh; margin-top: -58vh; margin-top: -58svh; padding-top: 0; }
.tete-sec { margin-bottom: clamp(20px, 3vw, 40px); }
.salle { position: relative; border-radius: 40px; overflow: hidden; display: grid; background: var(--fond, transparent); isolation: isolate; transition: min-height .8s var(--sortie); }
.choix { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: clamp(14px, 5vw, 84px); padding: 10px 10px 30px; align-self: start; transition: opacity .3s; }
.salle.part .choix { opacity: 0; }
/* À l'arrivée, chaque symbole se construit, puis son nom monte : l'un après l'autre. */
.choix.attend .choix-b > :not(.sym) { opacity: 0; }
.choix.arrive .choix-b > :not(.sym) { animation: monte .8s var(--sortie) both; animation-delay: calc(var(--n, 0) * 150ms + 500ms); }
.salle.ouverte .choix { display: none; }
.choix-b { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 14px; border: 0; background: none; text-align: center; }
.choix-b .sym { display: block; margin-bottom: 14px; transition: transform .7s var(--sortie); }
.choix-b .sym svg { display: block; height: var(--h, 180px); width: auto; overflow: visible; }
.choix-b:hover .sym, .choix-b:focus-visible .sym { transform: translateY(-10px); }
.choix-b b { font-size: clamp(20px, 2.4vw, 32px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.choix-b small { font-size: 14.5px; color: var(--texte-2); line-height: 1.3; max-width: 13em; min-height: 2.6em; }
.statut { margin-top: 4px; padding: 3px 11px; border-radius: 999px; background: var(--brume); font-size: 12.5px; font-weight: 600; color: var(--texte-3); }
.entrer { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--k); color: var(--k); font-size: 14.5px; font-weight: 600; transition: background-color .3s, color .3s; }
.choix-b:hover .entrer, .choix-b:focus-visible .entrer { background: var(--k); color: var(--blanc); }
.salle#salle-espaces .choix-b { --h: min(clamp(84px, 15vw, 190px), 21vh); }
.salle#salle-fonctions .choix-b { --h: clamp(96px, 12vw, 160px); }
.flot { position: absolute; z-index: 8; overflow: visible; pointer-events: none; max-width: none; }
.aplat { position: absolute; z-index: 9; inset: 0; opacity: 0; pointer-events: none; }
.piece { position: relative; z-index: 6; display: none; grid-template-rows: auto 1fr; gap: clamp(26px, 4vw, 48px); padding: clamp(24px, 4vw, 56px); color: var(--blanc); }
.salle.ouverte .piece { display: grid; }
.piece-haut { display: flex; align-items: center; gap: 10px; }
.minis { display: flex; flex-wrap: wrap; gap: 8px; }
.mini { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 16px 6px 10px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .86); font-size: 14.5px; font-weight: 600; color: var(--marine); transition: background-color .25s, box-shadow .25s; }
.mini:hover { background: var(--blanc); }
.mini[aria-current="true"] { background: var(--blanc); box-shadow: 0 0 0 4px rgba(255, 255, 255, .4); }
.mini .sym svg { display: block; height: 26px; width: auto; }
.fermer { margin-left: auto; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: var(--blanc); transition: background-color .25s, transform .5s var(--sortie); }
.fermer:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }
.fermer svg { width: 18px; height: 18px; }
.piece-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.piece-corps.entre > * { animation: monte .7s var(--sortie) both; }
.piece-corps.entre > :nth-child(2) { animation-delay: .1s; }
@keyframes monte { from { opacity: 0; transform: translateY(28px); } }
.fiche { display: grid; gap: 24px; justify-items: start; }
.entete-fiche { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: -8px; }
.fiche .role { font-size: 15px; font-weight: 600; opacity: .95; }
.badge-etat { display: inline-flex; align-items: center; gap: 8px; padding: 4px 13px; border-radius: 999px; background: var(--blanc); color: var(--marine); font-size: 13px; font-weight: 600; }
.badge-etat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.fiche h3 { font-size: clamp(30px, 3.7vw, 54px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.fiche > p { max-width: 29em; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; opacity: .96; }
.coches { display: grid; gap: 13px; }
.coches li { position: relative; padding-left: 32px; font-size: 16.5px; line-height: 1.45; }
.coches li::before { content: ""; position: absolute; left: 3px; top: .4em; width: 14px; height: 7px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); }
.pied-fiche { width: 100%; display: grid; gap: 16px; justify-items: start; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); }
.pied-fiche .note { font-size: 14.5px; line-height: 1.6; max-width: 34em; opacity: .94; }
.ou { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; }
.pilule { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 5px 14px 5px 8px; border: 0; border-radius: 999px; background: var(--blanc); color: var(--marine); font-size: 14.5px; font-weight: 600; }
.pilule [data-porte] { font-size: 24px; } .pilule [data-m] { font-size: 19px; }
.suite { display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .45); background: none; font-size: 16px; font-weight: 600; color: var(--blanc); text-align: left; }
.actions-f { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
a.suite { text-decoration: none; }
.vue { display: grid; gap: 10px; justify-items: center; }
.vue img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 70px rgba(8, 12, 36, .3); cursor: zoom-in; }
.loupe { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: max(16px, 3vw); background: rgba(18, 26, 63, .84); opacity: 0; pointer-events: none; transition: opacity .3s var(--sortie); cursor: zoom-out; }
.loupe.ouverte { opacity: 1; pointer-events: auto; }
.loupe img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); transform: scale(.96); transition: transform .4s var(--sortie); }
.loupe.ouverte img { transform: none; }
.vue.tel img { width: min(100%, 270px); height: 430px; object-fit: cover; object-position: top; border-radius: 30px; }
.vue figcaption, .reel { font-size: 13px; opacity: .88; }
.vue .picto { width: min(72%, 300px); height: auto; overflow: visible; }
.vue .arche { width: min(56%, 250px); height: auto; }

/* Stage en mouvement : les vraies captures défilent, une fonctionnalité à la fois. */
.defile { width: 100%; display: grid; gap: 16px; }
.cadre-d { position: relative; cursor: zoom-in; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--blanc); box-shadow: 0 30px 70px rgba(8, 12, 36, .3); }
.cadre-d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translateX(8%); scale: 1; transition: opacity .8s var(--sortie), transform 1s var(--sortie), scale 5s linear; }
.cadre-d img.actif { opacity: 1; transform: none; scale: 1.045; }
.cadre-d img.avant { transform: translateX(-8%); }
.barres { display: flex; gap: 6px; }
.barres button { flex: 1; padding: 9px 0; border: 0; background: none; }
.barres i { display: block; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.barres b { display: block; height: 100%; background: var(--blanc); transform: scaleX(0); transform-origin: left; }
.barres .fait b { transform: none; }
.barres .actif b { transform: none; animation: remplir 4.2s linear both; }
@keyframes remplir { from { transform: scaleX(0); } }
.legende { display: grid; gap: 2px; min-height: 5.2em; align-content: start; }
.legende b { font-size: clamp(19px, 1.9vw, 25px); font-weight: 700; line-height: 1.25; }
.legende span { font-size: 15.5px; opacity: .94; }
.legende.entre b, .legende.entre span { animation: monte .6s var(--sortie) both; }
.ecoute { width: 100%; display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: var(--blanc); color: var(--marine); box-shadow: 0 30px 70px rgba(8, 12, 36, .3); }
.ecoute .gris { font-size: 14px; color: var(--texte-2); }
.ecoute .q { font-weight: 700; font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; }
.ecoute .cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lire { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--c); color: var(--blanc); display: grid; place-items: center; transition: transform .4s var(--rebond); }
.lire:hover { transform: scale(1.08); }
.lire svg { width: 22px; height: 22px; }
.lire .pause, .ecoute.joue .lire .lecture { display: none; }
.ecoute.joue .lire .pause { display: block; }
.onde { flex: 1; min-width: 100px; height: 46px; display: flex; align-items: center; gap: 3px; }
.onde i { flex: 1; height: 100%; border-radius: 9px; background: var(--c); transform: scaleY(var(--s, .1)); transition: transform .1s linear; }
.langues { display: flex; gap: 6px; }
.langues button { min-height: 44px; padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--bord); background: var(--blanc); font-size: 14px; font-weight: 600; }
.langues button[aria-pressed="true"] { border-color: var(--c); color: var(--c); }

/* Par où commencer */
.hesite { margin-top: clamp(22px, 3vw, 36px); border: 1.5px solid var(--bord); border-radius: 32px; overflow: hidden; }
.hesite-tete { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 22px clamp(20px, 3vw, 34px); border: 0; background: none; text-align: left; }
.hesite-tete b { display: block; font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; line-height: 1.2; }
.hesite-tete small { display: block; font-size: 15px; color: var(--texte-2); }
.plus { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bleu); color: var(--blanc); transition: transform .5s var(--sortie); }
.plus svg { width: 18px; height: 18px; }
.hesite.ouvert .plus { transform: rotate(45deg); }
.quiz { display: none; padding: 0 clamp(20px, 3vw, 34px) clamp(22px, 3vw, 34px); gap: 18px; }
.hesite.ouvert .quiz { display: grid; }
.quiz .pas { display: flex; gap: 6px; max-width: 220px; }
.quiz .pas i { flex: 1; height: 5px; border-radius: 9px; background: var(--bord); }
.quiz .pas i.fait { background: var(--bleu); }
.quiz .corps { display: grid; gap: 16px; justify-items: start; animation: monte .6s var(--sortie) both; }
.quiz h3 { font-size: clamp(21px, 2.3vw, 27px); font-weight: 700; line-height: 1.2; }
.quiz .choix-q { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz .choix-q button { min-height: 50px; padding: 11px 20px; border: 1.5px solid var(--bord); border-radius: 999px; background: var(--blanc); font-size: 16px; font-weight: 500; transition: border-color .25s, transform .35s var(--sortie), background-color .25s, color .25s; }
.quiz .choix-q button:hover { border-color: var(--bleu); background: var(--bleu); color: var(--blanc); transform: translateY(-2px); }
.quiz .res { display: flex; align-items: center; gap: 18px; }
.quiz .res [data-porte] { font-size: 84px; }
.quiz .res small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); }
.quiz .res b { display: block; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.quiz .ensuite { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--texte-3); }
.quiz .ensuite .pilule { background: var(--brume); }
.quiz .etat-q { padding: 12px 16px; border-radius: 14px; background: var(--brume); font-size: 15px; color: var(--texte-3); }
.quiz .etat-q b { color: var(--marine); }
.quiz .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.quiz .re { border: 0; background: none; padding: 8px 4px; font-size: 15px; font-weight: 600; color: var(--texte-3); text-decoration: underline; text-underline-offset: 4px; }

/* Les tarifs : trois étapes, puis une estimation que l'école règle elle-même. */
.tarifs { padding-top: 0; }
.etapes { margin: clamp(34px, 5vw, 60px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.etapes li { position: relative; padding-top: 38px; border-top: 2px solid var(--bord); }
.etapes li:nth-child(2) { --k: var(--vert); } .etapes li:nth-child(3) { --k: var(--bleu); }
.etapes i { position: absolute; left: 0; top: -22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--k, var(--rouge)); color: var(--blanc); font-style: normal; font-size: 17px; font-weight: 700; box-shadow: 0 0 0 8px var(--blanc); }
.anime .etapes i { transform: scale(0); transition: transform .7s var(--rebond); transition-delay: calc(var(--d, 0s) + .15s); }
.anime .etapes .vu i { transform: none; }
.etapes b { display: block; font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.25; }
.etapes span { display: block; margin-top: 6px; font-size: 15.5px; color: var(--texte-2); max-width: 22em; text-wrap: balance; }
.prix { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }
.prix-c { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: 40px; background: var(--brume); }
.prix-c > *, .carte > :not(.decor) { position: relative; }
.prix-c .decor { position: absolute; right: -5%; top: -9%; height: 58%; width: auto; max-width: none; fill: var(--rouge); opacity: .07; pointer-events: none; }
.prix-c .decor.etoile { right: -9%; top: -11%; height: 52%; fill: var(--vert); opacity: .09; }
.prix-c header { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.prix-c .pour { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.prix-c .pour [data-m] { font-size: 26px; }
.prix-c .base { margin-left: auto; padding: 4px 13px; border-radius: 999px; background: var(--blanc); font-size: 13px; font-weight: 600; color: var(--texte-3); }
.montant { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; }
.montant b { font-size: clamp(72px, 10vw, 136px); font-weight: 800; line-height: .82; letter-spacing: -.05em; color: var(--k); }
.montant.texte b { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.05; letter-spacing: -.035em; }
.montant span { display: grid; padding-bottom: .1em; font-size: clamp(20px, 2.1vw, 28px); font-weight: 700; line-height: 1.2; }
.montant small { font-size: 15px; font-weight: 500; color: var(--texte-2); }
.prix-c > p:not(.montant), .carte > p:not(.montant) { font-size: 16px; color: var(--texte-3); max-width: 30em; }
.sim { width: 100%; display: grid; gap: 14px; padding: clamp(18px, 2vw, 24px); border-radius: 26px; background: var(--blanc); }
.sim-l { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; font-size: 15px; color: var(--texte-2); }
.sim-l b { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--marine); font-variant-numeric: tabular-nums; }
.regle-n { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: -8px 0; background: none; cursor: pointer; }
.regle-n::-webkit-slider-runnable-track { height: 8px; border-radius: 9px; background: linear-gradient(to right, var(--k) var(--p, 9%), var(--bord) var(--p, 9%)); }
.regle-n::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--k); box-shadow: 0 4px 12px rgba(18, 26, 63, .2); transition: transform .35s var(--rebond); }
.regle-n:active::-webkit-slider-thumb { transform: scale(1.14); }
.regle-n::-moz-range-track { height: 8px; border-radius: 9px; background: var(--bord); }
.regle-n::-moz-range-progress { height: 8px; border-radius: 9px; background: var(--k); }
.regle-n::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--blanc); border: 3px solid var(--k); box-shadow: 0 4px 12px rgba(18, 26, 63, .2); }
.sim-aide { position: relative; display: flex; align-items: center; gap: 14px; min-height: 44px; cursor: pointer; }
.sim-aide input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bascule { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #c9cfdd; transition: background-color .3s; }
.bascule::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--blanc); box-shadow: 0 2px 6px rgba(18, 26, 63, .25); transition: transform .45s var(--rebond); }
.sim-aide input:checked + .bascule { background: var(--k); }
.sim-aide input:checked + .bascule::after { transform: translateX(22px); }
.sim-aide input:focus-visible + .bascule { outline: 3px solid var(--bleu); outline-offset: 3px; }
.sim-aide .aide-t { flex: 1; min-width: 0; }
.sim-aide b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.sim-aide small { display: block; font-size: 14px; line-height: 1.4; color: var(--texte-2); text-wrap: balance; }
.sim-aide .aide-p { flex: none; font-size: 15px; font-weight: 600; color: var(--texte-3); white-space: nowrap; }
.sim-res { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--bord); }
.sim-res > span { font-size: 14.5px; color: var(--texte-2); }
.sim-res p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .28em; font-size: clamp(36px, 4.2vw, 56px); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sim-res p span { font-size: .5em; font-weight: 700; letter-spacing: -.01em; }
.actes { width: 100%; display: grid; gap: 10px; }
.actes li { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-radius: 18px; background: var(--blanc); font-size: 16px; font-weight: 600; line-height: 1.3; }
.actes [data-porte] { font-size: 36px; }
.actes .val { margin-left: auto; padding-left: 10px; font-weight: 700; white-space: nowrap; color: var(--k); }
.prix-c .sous-t { margin-bottom: -8px; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.packs { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.packs li { display: grid; align-content: start; gap: 2px; padding: 14px 8px; border-radius: 18px; background: var(--blanc); text-align: center; }
.packs b { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--k); }
.packs span { font-size: 14px; font-weight: 600; }
.packs small { margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--texte-2); text-wrap: balance; }
.prix-c .option { width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--bord); font-size: 15px; color: var(--texte-2); }

/* La conviction : trois verbes aux couleurs du logo, et l'étoile du candidat. L'étoile tourne : rien ne doit dépasser de la page. */
.conviction { overflow: hidden; overflow: clip; }
.conv-grille { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 26vw, 360px); gap: clamp(24px, 5vw, 70px); align-items: center; }
.verbes { display: block; font-size: clamp(40px, 7.2vw, 100px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.chute { display: block; margin-top: clamp(18px, 2.4vw, 30px); font-size: clamp(20px, 2.5vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.savoirs { margin-top: clamp(24px, 3vw, 38px); display: flex; flex-wrap: wrap; gap: 10px; }
.savoirs li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 17px 9px 13px; border: 1.5px solid var(--bord); border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--texte-3); }
.savoirs li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k, var(--rouge)); }
.anime .savoirs li { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--sortie), transform .6s var(--sortie); }
.anime .savoirs.vu li { opacity: 1; transform: none; transition-delay: calc(.55s + var(--n, 0) * 60ms); }
.savoirs li:nth-child(3n+2) { --k: var(--vert); } .savoirs li:nth-child(3n) { --k: var(--bleu); }
.decor-etoile { display: block; width: 100%; height: auto; fill: var(--vert); overflow: visible; transform: rotate(var(--tour, 0deg)); }

/* La confiance : un panneau clair, la porte en fond. */
.confiance { padding-top: 0; }
.panneau { position: relative; overflow: hidden; border-radius: 40px; background: var(--brume); padding: clamp(28px, 6vw, 84px); }
.panneau > *, .pan > :not(.decor-porte) { position: relative; }
.panneau .decor-porte { position: absolute; right: -3%; top: -8%; height: 78%; width: auto; max-width: none; fill: var(--bleu); opacity: .09; pointer-events: none; -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
.engagements { margin-top: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.engagements li { padding-top: 20px; border-top: 4px solid var(--k, var(--rouge)); }
.engagements li.large { grid-column: 1 / -1; --k: var(--marine); }
.engagements li.large span { max-width: 64em; }
.chiffres-t { margin: 0 0 -20px; }
.engagements.donnees li:nth-child(1) { --k: var(--bleu); } .engagements.donnees li:nth-child(2) { --k: var(--violet); }
.engagements li:nth-child(2), .nombres li:nth-child(2) { --k: var(--vert); } .engagements li:nth-child(3), .nombres li:nth-child(3) { --k: var(--bleu); } .engagements li:nth-child(4), .nombres li:nth-child(4) { --k: var(--violet); }
.engagements b { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; }
.engagements span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--texte-2); }
.nombres { margin-top: clamp(30px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.nombres b { display: block; font-size: clamp(54px, 7vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.045em; color: var(--k, var(--rouge)); }
.nombres span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--texte-2); max-width: 12em; }

/* Le fondateur */
.fond-grille { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.photo { position: relative; aspect-ratio: 1; margin: 0 16px 16px 0; }
.photo::before { content: ""; position: absolute; inset: 0; border-radius: 50% 0 0 0; background: var(--bleu); transform: translate(16px, 16px); }
.photo img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50% 0 0 0; }
.portrait figcaption { margin-top: 22px; }
.portrait b { display: block; font-size: 20px; font-weight: 700; }
.portrait figcaption > span { display: block; font-size: 15.5px; color: var(--texte-2); }
.portrait ul { margin-top: 12px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.45; color: var(--texte-3); }
.portrait li { padding-left: 14px; border-left: 3px solid var(--bleu); }
.domaines { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.domaines li { padding: 6px 14px; border-radius: 999px; background: var(--brume); font-size: 14px; font-weight: 500; color: var(--texte-3); }
.volets { margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 26px; background: var(--brume); }
.volets button { min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: none; font-size: 15.5px; font-weight: 600; color: var(--texte-3); transition: background-color .3s, color .3s; }
.volets button[aria-selected="true"] { background: var(--bleu); color: var(--blanc); }
.volet { margin-top: 22px; min-height: 8.3em; max-width: 36em; font-size: 18px; line-height: 1.65; }
.volet.entre { animation: monte .6s var(--sortie) both; }

/* Le contact : on finit devant une grande porte bleue. */
.contact { padding-top: 0; }
.appel { position: relative; overflow: hidden; border-radius: 40px; background: #31619d; color: var(--blanc); padding: clamp(30px, 6vw, 88px); }
.appel > * { position: relative; }
.appel .decor-m { position: absolute; right: -7%; bottom: -24%; font-size: clamp(240px, 38vw, 540px); opacity: .13; pointer-events: none; }
.appel .titre { font-size: clamp(42px, 7.4vw, 112px); letter-spacing: -.045em; }
.appel .sous { color: rgba(255, 255, 255, .94); }
.contact-bas { margin-top: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 80px); align-items: start; }
.adresse { container-type: inline-size; display: grid; gap: 14px; justify-items: start; min-width: 0; }
/* L'adresse tient toujours sur une ligne : sa taille suit la largeur de sa colonne. */
.adresse .mail { white-space: nowrap; font-size: clamp(15px, 4.4vw, 22px); font-size: min(36px, 6.3cqw); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .22em; text-decoration-color: rgba(255, 255, 255, .55); transition: text-decoration-color .25s; }
.adresse .mail:hover { text-decoration-color: var(--blanc); }
.adresse-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.adresse .copier { min-height: 52px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); background: none; color: var(--blanc); font-size: 16px; font-weight: 600; line-height: 1.2; transition: background-color .25s, border-color .25s; }
.adresse .copier:hover { background: rgba(255, 255, 255, .14); border-color: var(--blanc); }
.reseau b { display: block; font-size: 19px; font-weight: 700; }
.reseau span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .92); max-width: 30em; }
.reseau a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 10px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .55); transition: text-decoration-color .25s; }
.reseau a:hover { text-decoration-color: var(--blanc); }
.pied { padding-block: 28px; font-size: 14.5px; color: var(--texte-2); }
.pied .cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.pied .lk { font-size: 34px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pied a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pied a:hover { color: var(--marine); text-decoration: underline; text-underline-offset: 4px; }

/* Les écrans. Chaque partie occupe au moins la hauteur visible sous l'en-tête : le contenu au milieu, la flèche en bas.
   Un contenu plus haut que l'écran garde sa hauteur, et la flèche le suit. « ordi » : écran sur grand écran seulement ;
   « ecran-tel » : écran sur téléphone seulement (« sans-boite » : simple enveloppe, invisible ailleurs). */
.ecran { display: flex; flex-direction: column; gap: 14px; min-height: calc(100vh - var(--entete)); min-height: calc(100svh - var(--entete)); padding-block: clamp(10px, 2.4vh, 32px) 14px; }
.ecran > .cadre { width: 100%; }
.ecran > :first-child { margin-top: auto; }
.ecran > :last-child:not(.suivant) { margin-bottom: auto; }
section:has(> .ecran) { padding-block: 0; }
/* Un écran plus haut que la fenêtre : sa flèche reste au bas de la fenêtre. Elle fait d'abord défiler la fin de l'écran, puis mène au suivant. */
.long > .suivant { position: sticky; bottom: max(14px, env(safe-area-inset-bottom, 0px)); box-shadow: 0 0 0 7px rgba(255, 255, 255, .96), 0 0 26px 16px rgba(255, 255, 255, .82), 0 8px 22px rgba(18, 26, 63, .14); visibility: hidden; transition: visibility .3s, border-color .25s, color .25s, transform .35s var(--sortie); }
.long.ici > .suivant { visibility: visible; }
/* Un panneau de couleur ou le questionnaire ouvert : la flèche reprend sa place, à la fin. */
.long:has(.salle.ouverte, .hesite.ouvert) > .suivant { position: relative; bottom: auto; box-shadow: none; visibility: visible; }
@media (min-width: 561px) {
  .ecran-tel.sans-boite, .carte { display: contents; }
  .sur-tel { display: none !important; }
  /* La confiance : sur grand écran, un seul panneau et une seule grille pour les cinq engagements. */
  .panneau.grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .panneau.grille .pan, .panneau.grille .engagements { display: contents; }
  .pan-tete, .panneau.grille li.large { grid-column: 1 / -1; }
  .pan-tete { margin-bottom: clamp(4px, 5vw - 30px, 30px); }
}

@media (min-width: 680px) {
  .seuil-texte h1 { font-size: clamp(26px, 3.8vw, 54px); }
}
@media (min-width: 860px) {
  .chapo { white-space: nowrap; }
}
@media (max-width: 980px) {
  :root { --entete: 69px; }
  .entete nav { display: none; }
  .entete .barre { display: flex; justify-content: space-between; min-height: 68px; }
  .seuil { margin-top: -69px; }
  .piece-corps, .fond-grille, .contact-bas, .prix { grid-template-columns: minmax(0, 1fr); }
  .salle, .panneau, .appel, .prix-c { border-radius: 30px; }
  .engagements, .nombres, .panneau.grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait { max-width: none; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; align-items: end; }
  .portrait figcaption { margin: 0 0 16px; }
  .salle#salle-fonctions .choix { gap: 14px 6px; }
  .salle#salle-fonctions .choix-b { padding-inline: 8px; }
  .vue.tel img { height: 360px; }
  .volet { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .entete .lk { font-size: 34px; }
  .entete .long { display: none; }
  .entete .court { display: inline; }
  .trois span { display: block; }
  /* Le titre reste sous l'en-tête et les trois applications sous le titre, même sur un téléphone court. */
  .passage .espaces { min-height: min(64vh, 100vh - 292px); min-height: min(64svh, 100svh - 292px); margin-top: calc(-1 * min(64vh, 100vh - 292px)); margin-top: calc(-1 * min(64svh, 100svh - 292px)); }
  .passage .seuil-apres .dedans { top: max(21%, 182px); }
  /* Espaces et fonctions : une ligne chacun, le symbole à gauche, la flèche à droite. Rien n'est serré. */
  .salle { border-radius: 26px; }
  .choix { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding: 2px 2px 24px; }
  .choix-b { display: grid; grid-template-columns: var(--col, 66px) minmax(0, 1fr) 44px; grid-template-areas: "sym nom entrer" "sym sous entrer" "sym statut entrer"; column-gap: 14px; row-gap: 1px; align-items: center; justify-items: start; padding: 12px 14px; border: 1.5px solid var(--bord); border-radius: 22px; background: var(--blanc); text-align: left; }
  .salle#salle-espaces .choix-b, .salle#salle-fonctions .choix-b { --h: 62px; }
  .salle#salle-fonctions .choix-b { --col: 46px; }
  .choix-b .sym { grid-area: sym; justify-self: center; margin: 0; }
  .choix-b:hover .sym, .choix-b:focus-visible .sym { transform: none; }
  .choix-b b { grid-area: nom; align-self: end; font-size: 20px; }
  .choix-b small { grid-area: sous; max-width: none; min-height: 0; font-size: 13.5px; }
  .statut { grid-area: statut; margin-top: 5px; font-size: 11.5px; padding: 2px 9px; white-space: nowrap; }
  .entrer { grid-area: entrer; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 0; background: var(--k); color: var(--blanc); font-size: 0; gap: 0; }
  .entrer .fl { width: 18px; height: 18px; }
  .piece-haut { min-width: 0; }
  .minis { min-width: 0; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -6px 0 -6px -6px; padding: 6px; --g: transparent; --d: transparent; -webkit-mask-image: linear-gradient(to right, var(--g), #000 30px, #000 calc(100% - 30px), var(--d)); mask-image: linear-gradient(to right, var(--g), #000 30px, #000 calc(100% - 30px), var(--d)); }
  .minis.debut { --g: #000; } .minis.fin { --d: #000; }
  .minis::-webkit-scrollbar { display: none; }
  .mini { flex: none; min-height: 44px; padding: 5px 12px 5px 8px; font-size: 13px; }
  .mini .sym svg { height: 22px; }
  .piece-haut { align-items: flex-start; }
  .publics { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .publics button { padding: 8px 14px; border-radius: 14px; }
  .publics span { font-size: 13px; }
  .seuil-logo { width: min(50vw, 26vh); }
  /* Sur téléphone, le bouton de présentation reste dans l'en-tête, juste au-dessus : le premier écran garde les trois choix et la flèche. */
  .seuil-texte > .btn { display: none; }
  /* Tout ce qui est titre ou bloc court se centre ; les listes et les textes longs restent alignés à gauche pour se lire. */
  .tete-sec, .tarifs [data-ancre], .panneau .surtitre, .panneau .titre, .fond-grille > div > .surtitre, .fond-grille > div > .titre, .appel, .pied { text-align: center; }
  .conv-grille { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .decor-etoile { width: 34%; justify-self: center; order: -1; margin-bottom: 4px; }
  .savoirs, .domaines { justify-content: center; }
  .nombres { text-align: center; }
  .nombres span { margin-inline: auto; }
  .portrait { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; text-align: center; }
  .portrait figcaption { margin: 0; }
  .photo { width: min(62%, 230px); margin: 0 0 16px; }
  .photo::before { transform: translate(12px, 12px); }
  .portrait ul { justify-items: center; }
  .portrait li { padding-left: 0; border-left: 0; }
  .fond-grille { gap: 34px; }
  .appel .sous, .reseau span { margin-inline: auto; }
  .adresse { justify-items: center; }
  .adresse-actions { justify-content: center; }
  .pied .cadre { flex-direction: column; justify-content: center; gap: 6px; }
  .pied nav { justify-content: center; }
  .hesite-tete { padding: 18px 20px; }
  .engagements { grid-template-columns: minmax(0, 1fr); }
  .etapes { grid-template-columns: minmax(0, 1fr); gap: 20px; text-align: left; }
  .etapes li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: start; padding-top: 0; border-top: 0; }
  .etapes i { position: static; grid-row: 1 / span 2; box-shadow: none; }
  .etapes span { margin-top: 2px; }
  .prix-c .base { margin-left: 0; }
  .prix-c .btn, .fiche .btn { width: 100%; justify-content: center; gap: 7px; padding-inline: 10px; font-size: min(15px, 4.1vw); white-space: nowrap; }
  .prix-c { align-items: center; text-align: center; }
  .prix-c header { justify-content: center; }
  .montant { flex-direction: column; align-items: center; gap: 4px; }
  .montant span { justify-items: center; padding: 0; }
  .prix-c > p:not(.montant), .carte > p:not(.montant) { text-wrap: balance; }
  .prix-c .option { text-wrap: pretty; }
  .sim { padding: 18px 14px; }
  .sim-l { flex-direction: column; align-items: center; }
  .sim-res { justify-items: center; }
  .sim-res p { justify-content: center; }
  .sim-aide { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "p b"; gap: 10px 12px; align-items: center; padding: 14px; border: 1.5px solid var(--bord); border-radius: 18px; text-align: left; }
  .sim-aide .aide-t { grid-area: t; }
  .sim-aide b { font-size: min(16px, 4.3vw); white-space: nowrap; }
  .sim-aide small { font-size: 13px; margin-top: 2px; }
  .sim-aide .aide-p { grid-area: p; font-size: min(15px, 4vw); color: var(--marine); }
  .sim-aide .opt { display: none; }
  .sim-aide .bascule { grid-area: b; }
  .actes { text-align: left; }
  .volets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 22px; }
  .volets button { padding-inline: 6px; font-size: 14.5px; }
  /* Les écrans du téléphone. */
  .sur-ordi { display: none !important; }
  .ecran.ordi { display: block; min-height: 0; padding-block: 0; }
  .ecran-tel { display: flex; flex-direction: column; min-height: calc(100vh - var(--entete)); min-height: calc(100svh - var(--entete)); padding-block: 10px 14px; }
  .ecran-tel.sans-boite { gap: 14px; }
  .ecran-tel > :first-child { margin-top: auto; }
  .fonctions .tete-sec { margin-bottom: 14px; }
  .salle#salle-fonctions .choix { gap: 8px; padding-bottom: 2px; }
  .salle#salle-fonctions .choix-b { padding-block: 9px; }
  .hesite { margin-top: 14px; }
  .hesite-tete { padding: 13px 18px; }
  .prix { gap: 0; }
  .prix-c.ecole { display: block; padding: 0; border-radius: 0; background: none; overflow: visible; }
  .carte { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 24px; border-radius: 30px; background: var(--brume); }
  .decor-etoile { width: 22%; }
  .chute { margin-top: 12px; }
  .savoirs { gap: 6px; margin-top: 16px; }
  /* Le prix seul sur son écran : le chiffre prend de la place. */
  .carte .montant b { font-size: 104px; }
  .carte:has(.montant) { padding-block: 34px; gap: 22px; }
  .savoirs li { gap: 8px; padding: 6px 13px 6px 10px; font-size: 14px; }
  .panneau.grille { padding: 0; border-radius: 0; background: none; overflow: visible; }
  .pan { position: relative; overflow: hidden; padding: 28px; border-radius: 30px; background: var(--brume); }
  .engagements { gap: 22px; }
  .engagements.donnees { margin-top: 6px; }
  .fond-grille { gap: 0; }
  .portrait.ecran-tel { display: flex; align-items: center; }
  .portrait.ecran-tel figcaption, #parcours > div { margin-bottom: 14px; }
}
/* Téléphone court : le logo se réduit pour que la flèche reste à l'écran. */
@media (max-width: 560px) and (max-height: 700px) { .seuil-logo { width: min(50vw, 18vh); } }
@media (max-width: 560px) and (max-height: 600px) { .seuil-logo { width: min(50vw, 14vh); } }
/* Écran très bas (téléphone couché) : le mot et la flèche côte à côte. */
@media (max-height: 520px) { .passage .indice { flex-direction: row; gap: 12px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
