/* Phocelia · site v3 : sombre comme la v1, mise en scène différente
   (vol autour du phare au défilement, frise, accordéon, projecteur sur les cartes). */
@font-face { font-family: 'Sora'; src: url('fonts/sora-latin-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; src: url('fonts/sora-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nuit: #0B0D12;
  --nuit2: #141821;
  --nuit3: #1A1F2B;
  --ecume: #F4EFE6;
  --mer: #2F7DD1;
  --mer-clair: #6FA8EC;
  --doux: #B8C0CC;
  --gris: #8A93A3;
  --trait: rgba(244, 239, 230, 0.1);
  --trait-fort: rgba(244, 239, 230, 0.22);
  --entree: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--nuit); color: var(--ecume); font-family: 'Sora', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: inherit; }
svg { display: block; }
::selection { background: var(--mer); color: var(--ecume); }
:focus-visible { outline: 2px solid var(--mer-clair); outline-offset: 3px; border-radius: 8px; }
.cadre { width: min(1200px, 100% - 48px); margin-inline: auto; }
.evitement { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ecume); color: var(--nuit); padding: 10px 16px; border-radius: 8px; }
.evitement:focus { left: 12px; }
.bleu { color: var(--mer-clair); }

/* ---------- En-tête : navigation en pilule au centre ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 16px 10px; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.entete.defile { background: rgba(11, 13, 18, 0.92); border-bottom-color: var(--trait); }
.entete-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; }
.logo svg { height: 36px; width: auto; }
.logo text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 120px; fill: var(--ecume); }
.nav { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--trait-fort); border-radius: 999px; background: rgba(11, 13, 18, 0.55); transition: background-color .3s; }
.entete.defile .nav { background: rgba(20, 24, 33, 0.95); }
.nav a { text-decoration: none; font-size: 14px; color: var(--doux); padding: 8px 16px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ecume); background: var(--trait); }
.entete-cta { justify-self: end; }
.menu-bouton { display: none; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 999px; background: var(--ecume); color: var(--nuit) !important; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--ecume); transition: transform .25s var(--entree), box-shadow .25s; }
.bouton:hover { transform: translateY(-2px); }
.bouton-contour { background: transparent; color: var(--ecume) !important; border-color: var(--trait-fort); }
.bouton-contour:hover { border-color: var(--ecume); }
.bouton-petit { padding: 10px 18px; font-size: 14px; }

/* ---------- Typographie ---------- */
.surtitre { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mer-clair); }
.geant { font-size: clamp(46px, 8vw, 128px); font-weight: 700; line-height: .95; letter-spacing: -.045em; margin-top: 20px; }
.titre { font-size: clamp(32px, 4.4vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; margin-top: 16px; max-width: 860px; }
.titre-moyen { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; margin-top: 14px; }
.texte { font-size: 19px; font-weight: 300; color: var(--doux); margin-top: 22px; max-width: 600px; }
.petit { font-size: 14px; color: var(--gris); margin-top: 18px; }

/* ---------- Accueil : vol autour du phare ---------- */
.vol { position: relative; height: 380vh; --sortie: 0; }
.scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
#phare-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; }
.webgl #phare-3d { opacity: 1; }
/* Secours sans 3D (WebGL indisponible) : un faisceau dessiné et un phare stylisé */
html:not(.webgl) .scene { background: #0b0d12 url('phare-repli.jpg') center 35% / cover no-repeat; }
/* Le pied du phare se fond dans le noir : seul le haut de la tour et la lanterne ressortent */
/* Fondu au noir de la fin du vol : le passage au constat se fait dans l'obscurité */
.scene::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--nuit); opacity: calc(var(--sortie) * 0.88); }
.points-vol, .defiler { z-index: 1; }
.scene::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, var(--nuit) 0%, rgba(11,13,18,.97) 20%, rgba(11,13,18,.78) 34%, rgba(11,13,18,.35) 48%, rgba(11,13,18,0) 62%); }
.chapitres { z-index: 1; position: absolute; inset: auto 0 0 0; padding-bottom: clamp(64px, 11vh, 120px); }
.chapitre { position: absolute; left: 0; right: 0; bottom: clamp(64px, 11vh, 120px); text-align: center; padding-inline: 24px; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--entree), transform .9s var(--entree); pointer-events: none; }
.chapitre.actif { opacity: 1; transform: none; pointer-events: auto; }
.chapitre .actions { justify-content: center; }
.geant-2 { font-size: clamp(40px, 6.4vw, 100px); }
/* 3e écran : le logo apparaît quand la caméra arrive à la lanterne */
.logo-final { width: min(620px, 84vw); height: auto; margin-inline: auto; overflow: visible; }
.logo-final text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 120px; fill: var(--ecume); }
.logo-final-faisceau { transform-origin: 449px 58px; transform: scaleX(0); transition: transform 1.4s var(--entree) .5s; }
.chapitre-logo.actif .logo-final-faisceau { transform: scaleX(1); }
.chapitre-logo .logo-final { opacity: 0; transform: translateY(16px) scale(.96); transition: opacity 1s var(--entree) .15s, transform 1.2s var(--entree) .15s; }
.chapitre-logo.actif .logo-final { opacity: 1; transform: none; }
.logo-final-texte { font-size: clamp(18px, 1.8vw, 24px); font-weight: 300; color: var(--doux); margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.points-vol { position: absolute; right: 28px; top: 50%; display: grid; gap: 10px; transform: translateY(-50%); }
.points-vol span { width: 6px; height: 6px; border-radius: 50%; background: var(--trait-fort); transition: background-color .3s, transform .3s; }
.points-vol span.actif { background: var(--mer-clair); transform: scale(1.5); }
.defiler { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); transition: opacity .4s; }
.vol.fini .defiler { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(100px, 12vw, 160px); position: relative; }

/* Projecteur : une lueur bleue suit la souris sur la carte */
[data-lumiere] { position: relative; overflow: hidden; }
[data-lumiere]::before { content: none; }
[data-lumiere]:hover::before { opacity: 1; }

.constats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.constat { background: var(--nuit2); border: 1px solid var(--trait); border-radius: 22px; padding: 34px; }
.gros-n { font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--mer-clair); }
.constat h3 { font-size: 21px; font-weight: 600; margin-top: 40px; }
.constat p:last-child { color: var(--doux); font-weight: 300; margin-top: 10px; font-size: 16px; }
.loi { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-top: 24px; padding: 36px 40px; border: 1px solid var(--trait); border-radius: 22px; }
.loi-annee { font-size: clamp(56px, 7vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--mer-clair); }
.loi p:last-child { color: var(--doux); font-weight: 300; max-width: 760px; }
.loi strong { color: var(--ecume); font-weight: 600; }

/* Méthode : frise verticale qui s'allume */
.methode { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.methode-tete { position: sticky; top: 130px; }
.frise { list-style: none; padding: 0; position: relative; display: grid; gap: 22px; }
.frise-rail { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--trait); }
.frise-rail span { position: absolute; inset: 0; background: var(--mer); transform: scaleY(0); transform-origin: top; }
.etape { display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; position: relative; }
.pastille-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); border: 1px solid var(--mer); color: var(--mer-clair); font-weight: 700; position: relative; z-index: 1; }
.etape > div { background: var(--nuit2); border: 1px solid var(--trait); border-radius: 20px; padding: 26px 28px; }
.etape h3 { font-size: 22px; font-weight: 600; }
.etape p { color: var(--doux); font-weight: 300; margin-top: 8px; font-size: 16px; }

/* Services : grille 2 x 2, cartes complètes */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.service { background: var(--nuit2); border: 1px solid var(--trait); border-radius: 24px; padding: 34px 36px 30px; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--entree); }
.service:hover { border-color: rgba(111, 168, 236, .45); transform: translateY(-3px); }
.service-tete { display: flex; justify-content: space-between; align-items: center; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(47, 125, 209, .14); fill: none; stroke: var(--mer-clair); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-n { font-size: 14px; font-weight: 600; color: var(--gris); }
.service h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 26px; }
.service-desc { color: var(--doux); font-weight: 300; margin-top: 8px; }
.exemples { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 15px; }
.exemples li { padding-left: 22px; position: relative; }
.exemples li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 1px; background: var(--mer-clair); }
.service-pied { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--trait); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--gris); }
.service-pied strong { color: var(--ecume); font-size: 16px; }

.souverain { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--nuit2); border: 1px solid var(--trait); border-radius: 22px; padding: clamp(28px, 4vw, 56px); }
.onglets { display: inline-flex; gap: 4px; padding: 5px; margin-top: 28px; border: 1px solid var(--trait-fort); border-radius: 999px; flex-wrap: wrap; }
.onglets button { font: inherit; font-size: 14px; font-weight: 600; color: var(--doux); background: none; border: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.onglets button[aria-selected="true"] { background: var(--ecume); color: var(--nuit); }
.panneau p { color: var(--doux); font-weight: 300; margin-top: 20px; max-width: 460px; min-height: 3.2em; }
.cercles { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; }
.cercle { position: absolute; border-radius: 50%; border: 1px solid var(--trait-fort); display: flex; justify-content: center; transition: background-color .5s, border-color .5s; }
.cercle em { font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-top: 7%; transition: color .5s; }
.cercle.c3 { inset: 0; }
.cercle.c2 { inset: 18%; }
.cercle.c1 { inset: 36%; align-items: center; }
.cercle.c1 em { margin-top: 0; }
.cercle em { text-align: center; padding-left: .14em; }
.cercles[data-niveau="1"] .c1, .cercles[data-niveau="2"] .c2, .cercles[data-niveau="3"] .c3 { background: rgba(47, 125, 209, .18); border-color: var(--mer); }
.cercles[data-niveau="1"] .c1 em, .cercles[data-niveau="2"] .c2 em, .cercles[data-niveau="3"] .c3 em { color: var(--ecume); }

/* Formules ; la vedette a une simple bordure bleue (sobre, sans lueur) */
@property --tour { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; align-items: stretch; }
.formule { display: flex; flex-direction: column; background: var(--nuit2); border: 1px solid var(--trait); border-radius: 24px; padding: 40px 34px 34px; }
.formule.vedette { border: 1.5px solid var(--mer); background: var(--nuit3); overflow: visible; }
@keyframes tour { to { --tour: 360deg; } }
.f-etiquette { align-self: flex-start; background: var(--mer); color: var(--nuit); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.f-nom { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mer-clair); }
.f-prix { font-size: 52px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 20px; }
.f-prix span, .f-prix small { font-size: 17px; font-weight: 400; color: var(--gris); letter-spacing: 0; }
.f-sous { font-size: 14px; color: var(--gris); margin-top: 8px; }
.f-desc { color: var(--doux); font-weight: 300; margin-top: 20px; }
.formule ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; font-size: 15px; }
.formule li { padding-left: 28px; position: relative; }
.formule li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(47,125,209,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236FA8EC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.formule .bouton { margin-top: auto; }
.formule li strong { color: var(--mer-clair); }
.f-ensuite { font-size: 13px; color: var(--gris); margin: -18px 0 28px; }

.carte-tarifs { margin-top: 24px; border: 1px solid var(--trait); border-radius: 20px; padding: 0 28px; }
.carte-tarifs summary, .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-weight: 600; }
.carte-tarifs summary { padding: 22px 0; }
.carte-tarifs summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.carte-tarifs summary::after, .faq summary::after { content: '+'; color: var(--mer-clair); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s; }
.carte-tarifs[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); padding: 12px 0; border-bottom: 1px solid var(--trait-fort); }
td { padding: 14px 0; border-bottom: 1px solid var(--trait); color: var(--doux); }
td:first-child { color: var(--ecume); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; }
.carte-tarifs .petit { padding-bottom: 24px; }

/* Équipe */
.ensemble { margin-top: 56px; background: var(--nuit2); border: 1px solid var(--trait); border-radius: 24px; padding: 36px; }
.ensemble .role { margin-top: 0; }
.ensemble-liste { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 32px; }
.ensemble-liste li { border-top: 1px solid var(--trait-fort); padding-top: 16px; color: var(--doux); font-weight: 300; font-size: 15px; }
.ensemble-liste b { display: block; color: var(--ecume); font-weight: 600; font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.fondateurs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.fondateur { background: var(--nuit2); border: 1px solid var(--trait); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.initiales { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--mer-clair); border: 1px solid var(--mer); background: rgba(47,125,209,.12); }
.portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; border: 1px solid var(--trait-fort); background: #0B0D12; }
.role { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mer-clair); margin-top: 28px; }
.fondateur .role { margin-top: 0; }
.fondateur h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.fondateur div > p:not(.role) { color: var(--doux); font-weight: 300; margin-top: 10px; }
/* Reflet discret : un fin trait de lumière passe une fois sur chaque portrait quand la carte apparaît */
.portrait-cadre { position: relative; display: block; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; }
.portrait-cadre::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(244,239,230,.32) 50%, transparent 58%); transform: translateX(-130%); }
.fondateur.vu .portrait-cadre::after { animation: reflet 1.3s .6s var(--entree) both; }
.fondateur.vu + .fondateur.vu .portrait-cadre::after { animation-delay: .9s; }
@keyframes reflet { to { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .portrait-cadre::after { display: none; } }

/* Questions */
.faq-grille { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); }
.faq details { border-top: 1px solid var(--trait-fort); }
.faq details:last-child { border-bottom: 1px solid var(--trait-fort); }
.faq summary { padding: 22px 0; font-size: 17px; }
.faq details p { color: var(--doux); font-weight: 300; padding-bottom: 22px; max-width: 560px; }

/* Contact : centré, sous le faisceau */
.contact { position: relative; padding-block: clamp(120px, 14vw, 200px); overflow: hidden; text-align: center; }
.contact::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; width: 120%; height: 100%; transform: translateX(-50%); pointer-events: none; background: linear-gradient(to bottom, rgba(47,125,209,.2), rgba(47,125,209,0) 75%); clip-path: polygon(50% 0, 22% 100%, 78% 100%); }
.geant-contact { font-size: clamp(44px, 7.4vw, 116px); max-width: 1000px; margin-inline: auto; }
.texte-centre { margin-inline: auto; }
.actions-centre { justify-content: center; }

/* Pied */
.pied { border-top: 1px solid var(--trait); padding-block: 36px; font-size: 14px; color: var(--gris); }
.pied-in { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.pied strong { color: var(--ecume); }
.pied nav { display: flex; gap: 24px; }
.pied a { color: var(--doux); text-decoration: none; }
.pied a:hover { color: var(--ecume); }

/* Apparitions */
[data-apparait] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--entree), transform .9s var(--entree); }
[data-apparait].vu { opacity: 1; transform: none; }
.service:nth-child(2), .service:nth-child(4), .constat:nth-child(2), .formule:nth-child(2), .fondateur:nth-child(2), .etape:nth-child(3) { transition-delay: .1s; }
.constat:nth-child(3), .formule:nth-child(3), .etape:nth-child(4) { transition-delay: .2s; }
.etape:nth-child(5) { transition-delay: .3s; }

/* Pages légales (partagent cette feuille) */
.conteneur { width: min(1200px, 100% - 48px); margin-inline: auto; }
.entete-in:has(.bouton-contour) { display: flex; }
.page-legale { padding-block: 150px 100px; }
.page-legale h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.1; margin-top: 14px; }
.page-legale h2 { font-size: 22px; margin-top: 48px; }
.page-legale p, .page-legale li { color: var(--doux); font-weight: 300; margin-top: 12px; max-width: 760px; }
.page-legale a { color: var(--mer-clair); }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 980px) {
  .entete-in { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav a { padding: 8px 10px; }
  .constats, .formules, .fondateurs { grid-template-columns: 1fr; }
  .ensemble-liste { grid-template-columns: 1fr 1fr; }
  .methode, .faq-grille, .souverain { grid-template-columns: 1fr; }
  .methode-tete { position: static; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .entete { padding-top: 10px; }
  .entete-in { display: flex; justify-content: space-between; }
  .entete-cta { display: none; }
  .menu-bouton { display: grid; gap: 6px; place-content: center; width: 44px; height: 44px; background: rgba(11,13,18,.6); border: 1px solid var(--trait-fort); border-radius: 999px; cursor: pointer; }
  .menu-bouton span { width: 18px; height: 1.5px; background: var(--ecume); transition: transform .3s; }
  .menu-bouton[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 72px 16px auto 16px; flex-direction: column; border-radius: 22px; padding: 10px; background: var(--nuit2); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .nav.ouverte { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 18px; }
  .points-vol { right: 14px; }
  .constat, .fondateur, .ensemble { padding: 28px; }
  .fondateur { grid-template-columns: 88px 1fr; gap: 20px; }
  .fondateur .portrait, .fondateur .portrait-cadre { width: 88px; height: 88px; }
  .ensemble-liste { grid-template-columns: 1fr; }
  .carte-tarifs { padding: 0 18px; }
  td:nth-child(2), th:nth-child(2) { display: none; }
  .loi { grid-template-columns: 1fr; gap: 14px; padding: 28px; }
  /* Souveraineté : trois onglets égaux sur une ligne, cercles lisibles */
  .onglets { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; flex-wrap: nowrap; }
  .onglets button { font-size: 13px; padding: 10px 4px; line-height: 1.2; text-align: center; border-radius: 14px; }
  .cercles { max-width: 300px; }
  .cercle em { font-size: 10.5px; letter-spacing: .12em; padding-left: .12em; white-space: nowrap; }
  .cercle.c1 { inset: 32%; }
  /* Portrait : comme sur ordinateur, le pied du phare et l'île se fondent dans le noir sous le titre */
  .scene::after { background: linear-gradient(to top, var(--nuit) 0%, rgba(11,13,18,.98) 30%, rgba(11,13,18,.9) 44%, rgba(11,13,18,.55) 56%, rgba(11,13,18,0) 68%); }
  .entete.defile { background: rgba(11, 13, 18, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-apparait] { opacity: 1; transform: none; }
  .frise-rail span { transform: scaleY(1) !important; }
}

/* Arrivée au constat : la section suit le noir de la scène, et le titre est balayé une fois par le faisceau */
#constat { padding-top: clamp(64px, 8vw, 110px); }
.titre-eclaire {
  background: linear-gradient(100deg, var(--ecume) 0%, var(--ecume) 42%, #dcebff 47%, var(--mer-clair) 50%, #dcebff 53%, var(--ecume) 58%, var(--ecume) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.titre-eclaire.vu { animation: balayage 2.2s cubic-bezier(.3,.6,.2,1) .35s both; }
@keyframes balayage { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .titre-eclaire { background: none; color: var(--ecume); } }

/* Liaison constat → méthode : un trait de lumière descend et mène à la frise */
.liaison { position: relative; display: grid; justify-items: center; gap: 28px; padding-block: 40px 20px; text-align: center; }
.liaison-trait { width: 2px; height: 22vh; min-height: 140px; background: var(--trait); position: relative; overflow: hidden; border-radius: 2px; }
.liaison-trait span { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(111,168,236,.25), var(--mer-clair)); transform: scaleY(var(--liaison, 0)); transform-origin: top; }
.liaison-trait::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--mer-clair); opacity: var(--liaison, 0); }
.liaison-texte { font-size: clamp(24px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 760px; padding-inline: 24px; }
#methode, #services, #offres, #equipe, #questions { padding-top: clamp(60px, 7vw, 100px); }
.contact { padding-top: clamp(80px, 9vw, 130px); }
.etape-quand { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mer-clair); margin-bottom: 6px; }



/* Titres : jamais de retour à la ligne mot à mot */
.geant-3 { font-size: clamp(32px, 5vw, 82px); text-wrap: balance; }
.titre, .geant, .liaison-texte { text-wrap: balance; }
.d-un-bloc { display: inline-block; white-space: nowrap; }
@media (min-width: 981px) { .methode { grid-template-columns: 6fr 6fr; } }
.methode-tete .titre, .faq-grille .titre { font-size: clamp(30px, 3.3vw, 48px); }
@media (max-width: 420px) { .d-un-bloc { white-space: normal; } .geant-3 { font-size: 26px; } }

/* Tableaux des pages légales (CGV) */
.table-legale { overflow-x: auto; margin-top: 16px; max-width: 760px; }
.table-legale table { font-size: 15px; }
.page-legale strong { color: var(--ecume); font-weight: 600; }

/* ---------- Grille tarifaire en colonnes (29/11/2026) ---------- */
.grille-prix { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto auto auto 1fr; gap: 0 14px; margin-top: 64px; }
.colonne { grid-row: span 4; display: grid; grid-template-rows: subgrid; background: var(--nuit2); border: 1px solid var(--trait); border-radius: 24px; padding: 32px 26px 30px; }
.colonne.vedette { border: 1.5px solid var(--mer); background: var(--nuit3); }
.c-tete { display: flex; flex-direction: column; }
.c-tete .f-prix { font-size: 44px; white-space: nowrap; }
.c-tete .f-desc { font-size: 15px; margin-top: 16px; }
.colonne .f-etiquette { margin-bottom: 14px; }
.c-bouton { width: 100%; margin: 26px 0 0; align-self: start; }
.bouton-mer { background: var(--mer); border-color: var(--mer); color: #fff !important; }
.bouton-mer:hover { transform: translateY(-2px); }
.c-plus { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--trait); font-size: 15px; line-height: 1.45; color: var(--ecume); }
.c-plus-vide { border-bottom: 1px solid var(--trait); padding-bottom: 0; }
.c-plus .badge { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--mer-clair); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.c-plus b { font-weight: 600; color: var(--mer-clair); }
.c-blocs { display: flex; flex-direction: column; }
.c-bloc { padding: 22px 0; border-bottom: 1px solid var(--trait); }
.c-bloc:last-child { border-bottom: 0; padding-bottom: 0; }
.c-bloc h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
.c-bloc h3 svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ecume); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-note { margin: 8px 0 0 34px; font-size: 13px; color: var(--mer-clair); }
.c-bloc ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--doux); }
.c-bloc li { position: relative; padding-left: 34px; line-height: 1.45; }
.c-bloc li::before { content: ''; position: absolute; left: 2px; top: .1em; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.4l3.4 3.4 7.6-7.8' fill='none' stroke='%236FA8EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.c-bloc li strong { color: var(--ecume); font-weight: 600; }
.grille-prix .colonne:nth-child(2) { transition-delay: .08s; } .grille-prix .colonne:nth-child(3) { transition-delay: .16s; } .grille-prix .colonne:nth-child(4) { transition-delay: .24s; }
@media (max-width: 1100px) { .grille-prix { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 680px) { .grille-prix { grid-template-columns: 1fr; } .colonne { padding: 28px 22px; } }
