/* ==========================================================================
   MATAL — site officiel
   Palette : Indigo #1E2A5A · Or #D08A2E · Latérite #A4462A · Ivoire #F5EFE4
   ========================================================================== */
:root {
  --indigo: #1E2A5A; --indigo-700: #18224B; --nuit: #141C40; --abysse: #0B1029;
  --or: #D08A2E; --or-clair: #E0A04A; --or-pale: #F3D9AE;
  --laterite: #A4462A; --lat-clair: #D8714A;
  --ivoire: #F5EFE4; --sable: #EDE4D3; --blanc: #FFFDF8;
  --encre: #1A1F33; --gris: #5E6278; --ligne: #E3D9C6;
  --glass: rgba(255, 253, 248, .62); --glass-strong: rgba(255, 253, 248, .82); --glass-border: rgba(255, 255, 255, .7);
  --glass-dark: rgba(255, 255, 255, .06); --glass-dark-border: rgba(255, 255, 255, .14);
  --radius: 14px; --radius-lg: 24px;
  --shadow-sm: 0 2px 10px -4px rgba(20, 28, 64, .18);
  --shadow: 0 30px 60px -28px rgba(20, 28, 64, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Sora", "Readex Pro", system-ui, sans-serif;
  --text: "Readex Pro", system-ui, "Segoe UI", sans-serif;
  --tricolore: linear-gradient(90deg, var(--laterite) 0 33.3%, var(--indigo) 33.3% 66.6%, var(--or) 66.6%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 17px/1.7 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.02em; color: var(--indigo); }
h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--laterite); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--or); }
.dark .eyebrow { color: var(--or-clair); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: #40445c; max-width: 720px; }
.dark { background: var(--nuit); color: #DCE0F0; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #C3C9E2; }
em.or { font-style: normal; color: var(--or); }
.dark em.or { color: var(--or-clair); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15.5px/1 var(--display); padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(4px); }
.btn-or { background: linear-gradient(135deg, var(--or-clair), var(--or)); color: var(--abysse); box-shadow: 0 14px 30px -12px rgba(208, 138, 46, .8); }
.btn-or:hover { box-shadow: 0 20px 40px -12px rgba(208, 138, 46, .95); }
.btn-ghost { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-indigo { background: var(--indigo); color: #fff; box-shadow: 0 14px 30px -14px rgba(30, 42, 90, .9); }
.btn-line { background: transparent; color: var(--indigo); border: 1.5px solid var(--indigo); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }

/* ---------- chargement : logo animé ---------- */
#loader { position: fixed; inset: 0; z-index: 100; background: radial-gradient(90% 70% at 50% 40%, #26357A 0%, var(--nuit) 45%, var(--abysse) 100%); display: grid; place-items: center; transition: clip-path 1s var(--ease), visibility 0s 1s; clip-path: inset(0 0 0 0); }
#loader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.ld { position: relative; width: min(300px, 62vw); display: grid; justify-items: center; }
.ld-mark { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.ld-mark img { width: 70%; clip-path: inset(100% 0 0 0); animation: ld-grow 1.5s .25s var(--ease) forwards; }
.ld-mark canvas { display: none; width: 72%; height: auto; grid-area: 1 / 1; }
.ld-mark img { grid-area: 1 / 1; }
#loader.intro .ld-mark img { display: none; }
#loader.intro .ld-mark canvas { display: block; }
#loader.intro .ld-ring .arc { opacity: .35; }
.fig video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--nuit); }
.ld-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 1.5s linear infinite; }
.ld-ring circle { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.ld-ring .track { stroke: rgba(255, 255, 255, .08); }
.ld-ring .arc { stroke: url(#ldg); stroke-dasharray: 90 300; }
.ld-name { margin-top: 6px; width: 62%; opacity: 0; transform: translateY(12px); animation: ld-up .8s 1.15s var(--ease) forwards; }
.ld-line { margin-top: 18px; width: 120px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ld-line i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--tricolore); animation: ld-slide 1.2s ease-in-out infinite; }
@keyframes ld-grow { to { clip-path: inset(0 0 0 0); } }
@keyframes ld-up { to { opacity: 1; transform: none; } }
@keyframes ld-slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* petit indicateur de chargement réutilisable (boutons, formulaires) */
.spinner { position: relative; width: 26px; height: 26px; display: inline-grid; place-items: center; flex: none; }
.spinner::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .25); border-top-color: var(--or-clair); animation: spin .8s linear infinite; }
.spinner img { width: 62%; }

/* ---------- navigation ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: top .4s var(--ease); }
.nav-in { display: flex; align-items: center; gap: 22px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(20, 28, 64, .42); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .4s, box-shadow .4s, border-color .4s; }
.nav.solid .nav-in { background: rgba(255, 253, 248, .86); border-color: var(--glass-border); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); letter-spacing: .02em; color: #fff; }
.brand img { height: 46px; width: auto; }
.brand b { color: var(--or-clair); font-weight: 800; }
.nav.solid .brand { color: var(--indigo); }
.nav.solid .brand b { color: var(--or); }
.nav.solid .brand img.n, .brand img.c { display: none; }
.nav.solid .brand img.c { display: block; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { padding: 10px 14px; border-radius: 999px; font: 500 14.5px/1 var(--text); color: #E3E7F6; transition: background .25s, color .25s; }
.menu a:hover, .menu a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.nav.solid .menu a { color: #40445c; }
.nav.solid .menu a:hover, .nav.solid .menu a.on { background: var(--sable); color: var(--indigo); }
.nav .btn { padding: 12px 20px; font-size: 14.5px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; place-items: center; }
.nav.solid .burger { background: var(--sable); color: var(--indigo); }
.burger svg { width: 22px; height: 22px; }

/* bouton de connexion dans le menu */
.nav-compte { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 10px 17px 10px 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; font: 600 14.5px/1 var(--text); transition: background .25s, color .25s, border-color .25s; }
.nav-compte svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.nav-compte:hover, .nav-compte.on { background: #fff; color: var(--indigo); border-color: #fff; }
.nav.solid .nav-compte { border-color: var(--indigo); color: var(--indigo); }
.nav.solid .nav-compte:hover, .nav.solid .nav-compte.on { background: var(--indigo); color: #fff; }

/* ---------- accueil ---------- */
.hero { min-height: 100svh; padding: 140px 0 0; background: radial-gradient(80% 60% at 72% 30%, #2B3C86 0%, #1E2A5A 34%, var(--nuit) 66%, var(--abysse) 100%); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: center; flex: 1; }
.hero .kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font: 500 13.5px/1 var(--text); color: #E3E7F6; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero .kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 0 5px rgba(224, 160, 74, .22); }
.hero h1 { color: #fff; font-size: clamp(46px, 7.4vw, 104px); line-height: .98; font-weight: 800; letter-spacing: -.04em; margin: 26px 0 22px; }
.hero h1 span { display: block; overflow: hidden; }
.hero h1 span > b { display: block; font-weight: 800; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero h1 .l2 b { color: var(--or-clair); transition-delay: .12s; }
.ready .hero h1 span > b { transform: none; }
.hero p.sub { font-size: clamp(17px, 1.6vw, 21px); color: #C9CFE8; max-width: 540px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.ready .fade { opacity: 1; transform: none; }
.ready .fade.d1 { transition-delay: .35s; } .ready .fade.d2 { transition-delay: .5s; } .ready .fade.d3 { transition-delay: .65s; }
.hero-mark { position: relative; display: grid; place-items: center; }
.hero-mark::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 160, 74, .30), rgba(224, 160, 74, .06) 55%, transparent 70%); filter: blur(24px); }
.hero-mark .orbit { position: absolute; width: 104%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(224, 160, 74, .32); animation: spin 80s linear infinite; }
.hero-mark .orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 18px 4px rgba(224, 160, 74, .8); }
.hero-mark .orbit.o2 { width: 122%; border-color: rgba(255, 255, 255, .1); animation-duration: 130s; animation-direction: reverse; }
.hero-mark .orbit.o2::after { background: var(--lat-clair); box-shadow: 0 0 16px 4px rgba(216, 113, 74, .7); width: 8px; height: 8px; }
.hero-mark img { position: relative; width: min(500px, 88%); transform: scale(.86); opacity: 0; transition: transform 1.4s var(--ease) .2s, opacity 1.2s ease .2s; will-change: transform; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.ready .hero-mark img { transform: none; opacity: 1; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .12); }
.steps div { padding: 24px 22px 30px; border-right: 1px solid rgba(255, 255, 255, .12); position: relative; }
.steps div:last-child { border-right: 0; }
.steps small { display: block; font: 600 11.5px/1 var(--text); letter-spacing: .2em; color: var(--or-clair); margin-bottom: 10px; }
.steps b { font: 700 19px/1.2 var(--display); color: #fff; }
.steps span { display: block; font-size: 14px; color: #AEB5D3; margin-top: 4px; }
.steps div::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--or-clair); transition: width 1.2s var(--ease); }
.ready .steps div::before { width: 100%; }
.ready .steps div:nth-child(2)::before { transition-delay: .25s; } .ready .steps div:nth-child(3)::before { transition-delay: .5s; } .ready .steps div:nth-child(4)::before { transition-delay: .75s; }
.strip { height: 7px; background: var(--tricolore); }

/* ---------- bandeau défilant ---------- */
.marquee { background: var(--indigo); color: #fff; overflow: hidden; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.marquee div { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; font: 700 15px/1 var(--display); letter-spacing: .2em; white-space: nowrap; }
.marquee span { display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✱"; color: var(--or-clair); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- apparitions ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- cartes verre ---------- */
.glass { background: var(--glass-strong); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.glass.lift:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--or-pale); }
.dark .glass { background: var(--glass-dark); border-color: var(--glass-dark-border); box-shadow: none; }
.dark .glass.lift:hover { border-color: rgba(224, 160, 74, .55); background: rgba(255, 255, 255, .09); }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- le nom ---------- */
.nom { background: radial-gradient(60% 50% at 0% 0%, rgba(208, 138, 46, .12), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(164, 70, 42, .10), transparent 70%), var(--ivoire); }
.nom-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.word { font: 800 clamp(64px, 11vw, 150px)/.9 var(--display); letter-spacing: -.05em; color: var(--indigo); }
.word b { color: var(--or); font-weight: 800; }
.word-def { font: 500 15px/1.5 var(--text); color: var(--gris); margin-top: 18px; border-left: 3px solid var(--or); padding-left: 16px; }
.word-def b { color: var(--indigo); }
.acro { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 60px; }
.acro .glass { padding: 26px 20px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 230px; position: relative; overflow: hidden; }
.acro .l { font: 800 68px/1 var(--display); color: var(--indigo); transition: transform .5s var(--ease); transform-origin: left bottom; }
.acro .or .l { color: var(--or); }
.acro .glass:hover .l { transform: scale(1.12); }
.acro b { font: 700 17px/1.2 var(--display); color: var(--indigo); }
.acro span { font-size: 14.5px; line-height: 1.5; color: var(--gris); }
.acro .glass::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.acro .or.glass::after { background: var(--or); }
.acro .glass:hover::after { transform: scaleX(1); }

/* ---------- manifeste ---------- */
.manifeste { background: var(--nuit); overflow: hidden; }
.manifeste::before { content: ""; position: absolute; right: -8%; top: 50%; width: min(620px, 60vw); aspect-ratio: 1.12; transform: translateY(-50%); background: url(assets/embleme-blanc.png) center/contain no-repeat; opacity: .05; }
.mani-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.big-quote { font: 700 clamp(26px, 3.4vw, 44px)/1.2 var(--display); color: #fff; letter-spacing: -.02em; }
.big-quote em { font-style: normal; color: var(--or-clair); }
.mani-text p { color: #C3C9E2; }
.mani-text p strong { color: #fff; font-weight: 600; }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; font: 600 13px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.sign::before { content: ""; width: 44px; height: 2px; background: var(--or-clair); }

/* ---------- valeurs ---------- */
.val .glass { padding: 30px 28px; }
.ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; border: 1.5px solid var(--or); color: var(--indigo); margin-bottom: 18px; transition: background .35s var(--ease), color .35s, transform .45s var(--ease); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.glass:hover .ico { background: var(--indigo); color: var(--or-clair); border-color: var(--indigo); transform: rotate(-6deg) scale(1.05); }
.val p { color: var(--gris); margin: 8px 0 0; font-size: 15.5px; }
.val .num { position: absolute; right: 22px; top: 18px; font: 800 44px/1 var(--display); color: rgba(30, 42, 90, .06); }
.val .glass { position: relative; }

/* ---------- vision : du local au monde ---------- */
.vision { background: linear-gradient(180deg, #F0E7D7, var(--ivoire)); }
.path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.path::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--laterite), var(--indigo) 50%, var(--or)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.path.in::before { transform: scaleX(1); }
.node { position: relative; padding-top: 78px; }
.node .dot { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 3px solid var(--c, var(--indigo)); color: var(--c, var(--indigo)); font: 800 18px/1 var(--display); box-shadow: 0 0 0 8px var(--ivoire); }
.node h3 { font-size: 24px; }
.node p { color: var(--gris); font-size: 15.5px; margin-top: 8px; }
.node small { font: 600 11.5px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--c, var(--laterite)); }

/* ---------- organisation ---------- */
.org { background: var(--ivoire); }
.org-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.org-list { display: grid; gap: 12px; }
.org-item { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; }
.org-item .n { font: 800 15px/1 var(--display); color: var(--or); width: 34px; }
.org-item h3 { font-size: 18px; }
.org-item p { margin: 2px 0 0; color: var(--gris); font-size: 14.5px; }
.org-item svg { width: 20px; height: 20px; color: var(--indigo); opacity: .35; transition: transform .4s var(--ease), opacity .3s; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.org-item:hover svg { transform: translateX(6px); opacity: 1; }

/* ---------- actualités ---------- */
.news { background: #F0E7D7; }
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.ncard { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.ncard .cover { aspect-ratio: 16/10; position: relative; overflow: hidden; display: grid; place-items: center; background: radial-gradient(90% 90% at 70% 20%, #2B3C86, var(--nuit)); }
.ncard .cover img { width: 46%; transition: transform .8s var(--ease); }
.ncard:hover .cover img { transform: scale(1.08); }
.ncard .cover.iv { background: linear-gradient(135deg, var(--sable), var(--blanc)); }
.ncard .cover.or { background: linear-gradient(135deg, var(--or-clair), var(--or)); }
.ncard .tag { position: absolute; left: 14px; top: 14px; font: 600 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--indigo); }
.ncard .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard small { color: var(--laterite); font-weight: 600; font-size: 13px; }
.ncard h3 { font-size: 21px; line-height: 1.25; }
.ncard p { color: var(--gris); font-size: 15px; margin: 0; }
.ncard .more { margin-top: auto; padding-top: 14px; font: 600 14px/1 var(--display); color: var(--indigo); display: inline-flex; align-items: center; gap: 8px; }
.ncard .more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.ncard:hover .more svg { transform: translateX(5px); }

/* ---------- adhésion ---------- */
.join { background: radial-gradient(70% 80% at 15% 20%, #2B3C86 0%, var(--indigo) 40%, var(--nuit) 100%); overflow: hidden; }
.join::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--tricolore); }
.join-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: #DCE0F0; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--or-clair); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form { padding: 34px; display: grid; gap: 16px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.form h3 { color: #fff; font-size: 24px; }
.form p.hint { margin: -8px 0 4px; color: #AEB5D3; font-size: 14.5px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font: 500 13px/1 var(--text); color: #C9CFE8; }
.field input, .field select { font: 400 16px/1.2 var(--text); padding: 14px 16px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .2); background: rgba(11, 16, 41, .45); color: #fff; width: 100%; transition: border-color .25s, box-shadow .25s; }
.field input::placeholder { color: #7f88ad; }
.field select option { color: var(--encre); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--or-clair); box-shadow: 0 0 0 4px rgba(224, 160, 74, .22); }
.form .btn { width: 100%; margin-top: 6px; }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--radius); background: rgba(224, 160, 74, .16); border: 1px solid rgba(224, 160, 74, .5); color: #fff; font-size: 15px; }
.form-msg.show { display: block; }
.form small { color: #8f98bd; font-size: 12.5px; line-height: 1.5; }

/* ---------- pied de page ---------- */
footer { background: var(--abysse); color: #AEB5D3; padding: 80px 0 30px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot img { width: 210px; margin-bottom: 18px; }
.foot h4 { color: #fff; font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { display: block; padding: 5px 0; transition: color .25s, transform .3s var(--ease); }
.foot a:hover { color: var(--or-clair); transform: translateX(4px); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom a { color: var(--or-clair); }
.top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--or); color: var(--abysse); display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(208, 138, 46, .9); opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.top.show { opacity: 1; transform: none; pointer-events: auto; }
.top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- menus déroulants ---------- */
.dd { position: relative; }
.dd-top { display: inline-flex !important; align-items: center; gap: 6px; }
.dd-top svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.dd:hover .dd-top svg, .dd:focus-within .dd-top svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 10px; border-radius: 20px; background: rgba(20, 28, 64, .96); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .25s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dd-menu a, .nav.solid .dd-menu a { display: block; padding: 12px 14px; border-radius: 12px; color: #E3E7F6; white-space: nowrap; }
.dd-menu a:hover, .dd-menu a.on, .nav.solid .dd-menu a:hover, .nav.solid .dd-menu a.on { background: rgba(255, 255, 255, .1); color: var(--or-clair); }

/* ---------- en-tête des pages intérieures ---------- */
.phead { padding: 170px 0 84px; overflow: hidden; background: radial-gradient(70% 90% at 80% 0%, #2B3C86 0%, #1E2A5A 38%, var(--nuit) 72%, var(--abysse) 100%); }
.phead canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phead::after { content: ""; position: absolute; right: -4%; bottom: -34%; width: min(520px, 50vw); aspect-ratio: 1.12; background: url(assets/embleme-blanc.png) center/contain no-repeat; opacity: .06; }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { color: #fff; font-size: clamp(34px, 5.4vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; max-width: 960px; }
.phead .lead { margin-top: 22px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 13.5px/1 var(--text); color: #AEB5D3; margin-bottom: 22px; }
.crumbs a:hover { color: var(--or-clair); }
.crumbs b { color: var(--or-clair); font-weight: 600; letter-spacing: .04em; }
body.inner #loader .ld-mark img { animation-duration: .7s; animation-delay: 0s; }
body.inner #loader .ld-name { animation-delay: .25s; animation-duration: .5s; }

/* ---------- texte courant ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; align-items: start; }
.prose { max-width: 780px; }
.prose p { color: #33384f; font-size: 17.5px; }
.prose h2 { margin-bottom: 22px; }
.prose h3 { font-size: 26px; margin: 46px 0 14px; scroll-margin-top: 110px; }
.prose a:not(.btn) { color: var(--laterite); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 4px; }
.prose .chapo { font: 500 clamp(19px, 1.9vw, 23px)/1.55 var(--text); color: var(--indigo); }
.prose .meta { font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--laterite); }
.prose blockquote { margin: 30px 0; padding: 4px 0 4px 24px; border-left: 5px solid var(--or); font: 700 clamp(21px, 2.3vw, 28px)/1.35 var(--display); color: var(--indigo); letter-spacing: -.01em; }
.prose strong { color: var(--indigo); font-weight: 600; }
.notice { padding: 18px 22px; border-radius: var(--radius); border-left: 5px solid var(--or); background: rgba(208, 138, 46, .13); color: #4a3a1c; font-size: 16px; margin-bottom: 26px; }
.notice b { color: var(--laterite); }
.timeline { list-style: none; margin: 24px 0 0; padding: 0 0 0 30px; border-left: 3px solid var(--ligne); display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -40.5px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blanc); border: 4px solid var(--indigo); box-sizing: border-box; }
.timeline li:last-child::before { border-color: var(--or); background: var(--or); box-shadow: 0 0 0 6px rgba(208, 138, 46, .22); }
.timeline b { font: 700 19px/1.3 var(--display); color: var(--indigo); }
.timeline p { margin: 4px 0 0; font-size: 16.5px; }
.toc { list-style: none; padding: 0; margin: 18px 0 30px; display: grid; gap: 10px; }
.toc li { display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; padding: 18px 22px; border-radius: var(--radius); background: var(--blanc); border: 1px solid var(--ligne); transition: transform .35s var(--ease), border-color .3s; }
.toc li:hover { transform: translateX(6px); border-color: var(--or); }
.toc span { grid-row: span 2; font: 700 13px/1.6 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--or); }
.toc b { font: 700 17.5px/1.3 var(--display); color: var(--indigo); }
.toc p { margin: 2px 0 0; font-size: 15px; color: var(--gris); }
.btn.off { opacity: .55; cursor: not-allowed; }
.btn.off:hover { transform: none; }
.side { position: sticky; top: 110px; }
.side-card { padding: 24px; display: grid; gap: 2px; }
.side-card h4 { font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--laterite); margin-bottom: 12px; }
.side-card a { padding: 11px 12px; border-radius: 10px; color: var(--indigo); font-weight: 500; font-size: 15.5px; transition: background .25s, padding .3s var(--ease); }
.side-card a:hover { background: var(--sable); padding-left: 18px; }
.others a small { display: block; color: var(--laterite); font-size: 12.5px; font-weight: 600; }
.others a b { font: 600 15.5px/1.35 var(--display); }
.prose .org-list { margin-top: 18px; }
.prose .org-item { grid-template-columns: auto 1fr; }
.prose .org-item h3 { margin: 0; font-size: 18px; }
.prose .org-item p { font-size: 15px; }

/* ---------- le président ---------- */
.pres { background: linear-gradient(180deg, var(--ivoire), #F0E7D7); }
.pres-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.frame { position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(90% 80% at 70% 15%, #2B3C86, var(--indigo) 50%, var(--nuit)); box-shadow: var(--shadow); }
.frame::before { content: ""; position: absolute; inset: 14px; border-radius: 18px; border: 1px solid rgba(224, 160, 74, .45); }
.frame::after { content: ""; position: absolute; right: -18%; bottom: -12%; width: 80%; aspect-ratio: 1.12; background: url(assets/embleme-blanc.png) center/contain no-repeat; opacity: .08; }
.frame span { position: relative; font: 800 clamp(70px, 9vw, 120px)/1 var(--display); letter-spacing: -.04em; color: var(--or-clair); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame.sm { width: 64px; aspect-ratio: 1; border-radius: 50%; box-shadow: none; flex: none; }
.frame.sm::before, .frame.sm::after { display: none; }
.frame.sm span { font-size: 22px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { padding: 9px 15px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); font: 500 14px/1 var(--text); color: var(--indigo); }
.pres-page { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; align-items: start; }
.pres-page aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.facts { padding: 24px; display: grid; gap: 16px; }
.facts small { display: block; font: 600 11.5px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--laterite); margin-bottom: 5px; }
.facts b { font: 600 15.5px/1.4 var(--display); color: var(--indigo); }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.signature b { display: block; font: 700 19px/1.2 var(--display); color: var(--indigo); }
.signature span { color: var(--gris); font-size: 15px; }
.signature .frame span { color: var(--or-clair); font-size: 22px; }

/* ---------- bandeau d'appel, onglets, contact ---------- */
.band { padding: 84px 0; background: radial-gradient(60% 120% at 10% 0%, #2B3C86, var(--indigo) 45%, var(--nuit)); overflow: hidden; }
.band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--tricolore); }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px, 3.6vw, 44px); }
.band .lead { margin: 12px 0 0; }
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); margin-bottom: 40px; }
.tabs a { padding: 11px 20px; border-radius: 999px; font: 600 14.5px/1 var(--display); color: var(--gris); transition: background .25s, color .25s; }
.tabs a.on { background: var(--indigo); color: #fff; }
.news-head .btn { margin-bottom: 6px; }
a.ncard { color: inherit; }
.contact { margin-top: 34px; padding: 26px; display: grid; gap: 8px; justify-items: start; }
.contact h3 { color: #fff; }
.contact p { margin: 0; color: #C3C9E2; }
.contact p:empty { display: none; }
.contact a:not(.btn) { color: var(--or-clair); }
.contact .btn { margin-top: 10px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; padding: 0 !important; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.social a:hover { background: var(--or); color: var(--abysse) !important; transform: translateY(-3px) !important; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
#contact-lines { display: block; padding: 5px 0; }
#contact-lines a { display: block; }

/* ---------- photo et illustrations ---------- */
.frame.photo::after { display: none; }
.frame.photo img { object-position: 50% 18%; }
.frame.photo::before { z-index: 1; border-color: rgba(255, 255, 255, .55); }
.frame.sm.photo img { object-position: 50% 10%; }
.fig { margin: 30px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--nuit); }
.fig img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s var(--ease); }
.fig:hover img { transform: scale(1.03); }
.fig figcaption { padding: 14px 20px; font: 500 14.5px/1.5 var(--text); color: #C9CFE8; background: var(--nuit); border-top: 3px solid var(--or); }
.join .fig { margin-top: 34px; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.ncard .cover.pic img { width: 100%; height: 100%; object-fit: cover; }
.photo-band { padding: 0; min-height: min(560px, 72vh); display: flex; align-items: flex-end; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 41, .15) 30%, rgba(11, 16, 41, .88)); }
.photo-band .wrap { position: relative; z-index: 1; padding: 0 0 56px; }
.photo-band h2 { color: #fff; max-width: 760px; }
.photo-band .eyebrow { color: var(--or-clair); }

/* ---------- vraies photos ---------- */
.phead.has-photo { background: linear-gradient(180deg, rgba(11, 16, 41, .78) 0%, rgba(20, 28, 64, .62) 45%, rgba(11, 16, 41, .9) 100%), var(--ph) center/cover no-repeat; }
.phead.has-photo::after { display: none; }
.ph-credit { position: absolute; right: 18px; bottom: 12px; z-index: 2; font: 500 11.5px/1 var(--text); color: rgba(255, 255, 255, .7); }
.ph-credit a { text-decoration: underline; }
.fig figcaption span { display: block; font-size: 12px; color: #8f98bd; margin-top: 3px; }
.ncard .cover.pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 41, .25), transparent 45%); }
.ncard .cover .tag { z-index: 1; }
.gal-sec { background: var(--ivoire); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--nuit); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; font: 600 14px/1.2 var(--display); color: #fff; background: linear-gradient(transparent, rgba(11, 16, 41, .85)); }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g4, .gallery .g5 { grid-row: span 2; }
.gallery .g6 { grid-column: span 2; }
.gal-credit { margin: 16px 0 0; font-size: 13px; color: var(--gris); }
.gal-credit a { text-decoration: underline; }
.credits { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credits li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 20px; overflow: hidden; }
.credits img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.credits div { padding: 16px 18px 20px; }
.credits b { font: 700 16px/1.3 var(--display); color: var(--indigo); }
.credits p { margin: 4px 0 8px; font-size: 14px; color: var(--gris); }
.credits a { font-size: 13.5px; color: var(--laterite); text-decoration: underline; }
.small-note { margin-top: 26px; font-size: 13.5px; color: var(--gris); }

/* ---------- filigrane du site : le symbole M, fixe et très discret, derrière le contenu ---------- */
body::before { content: ""; position: fixed; z-index: 0; right: -9vw; bottom: -7vh; width: min(62vw, 880px); aspect-ratio: 1.18; pointer-events: none;
  background: url(assets/embleme-indigo.png) center / contain no-repeat; opacity: .05; }
main, footer { position: relative; z-index: 1; }
/* les sections claires laissent voir le filigrane ; les sections sombres ont déjà le leur */
.nom, .val, .vision, .org, .news, .pres, .gal-sec, .app, main > section:not(.dark):not(.hero):not(.photo-band):not(.phead) { background-color: transparent; }
.nom { background: radial-gradient(60% 50% at 0% 0%, rgba(208, 138, 46, .12), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(164, 70, 42, .10), transparent 70%); }
.vision, .pres { background: linear-gradient(180deg, rgba(237, 228, 211, .55), rgba(245, 239, 228, 0)); }
.news { background: rgba(237, 228, 211, .6); }
.gal-sec, .org { background: none; }
@media (max-width: 640px) { body::before { width: 96vw; right: -24vw; bottom: -3vh; opacity: .045; } }

/* ---------- documents officiels ---------- */
.prose.doc h3 { text-transform: none; font-size: 27px; padding-top: 18px; border-top: 3px solid var(--or); margin-top: 54px; }
.prose.doc h3:first-of-type { margin-top: 26px; }
.prose h4 { font: 700 20px/1.3 var(--display); color: var(--indigo); margin: 30px 0 10px; }
.prose h5 { font: 700 16.5px/1.3 var(--display); color: var(--laterite); margin: 22px 0 8px; }
.prose ul { padding-left: 22px; color: #33384f; font-size: 17px; display: grid; gap: 6px; margin: 0 0 1em; }
.tableau { overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--ligne); border-radius: 16px; background: var(--blanc); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tableau th { text-align: left; background: var(--indigo); color: #fff; font: 600 13.5px/1.3 var(--display); padding: 12px 14px; }
.tableau td { padding: 12px 14px; border-top: 1px solid var(--ligne); vertical-align: top; color: #33384f; }
.side-card a { text-transform: none; }

/* ---------- page introuvable ---------- */
.perdu { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 150px 0 90px; color: #DCE0F0; text-align: center; overflow: hidden;
  background: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 64% 62%, rgba(255, 255, 255, .8) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 28% 74%, rgba(224, 160, 74, .9) 50%, transparent 51%), radial-gradient(1px 1px at 90% 80%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 42% 36%, rgba(255, 255, 255, .7) 50%, transparent 51%), radial-gradient(90% 70% at 50% 0%, #2A3A7C, #1E2A5A 40%, #0B1029); }
.perdu::before, .perdu::after { content: ""; position: absolute; width: 720px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(224, 160, 74, .16); pointer-events: none; }
.perdu::before { left: -360px; top: -300px; box-shadow: 0 0 0 60px rgba(224, 160, 74, .035); }
.perdu::after { right: -380px; bottom: -340px; box-shadow: 0 0 0 60px rgba(216, 113, 74, .035); }
.perdu-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; max-width: 760px; margin: 0 auto; }
.perdu-m { width: 132px; animation: flotter 4s ease-in-out infinite; }
@keyframes flotter { 50% { transform: translateY(-10px); } }
.perdu-code { margin: -6px 0 2px; font: 800 clamp(96px, 19vw, 200px)/.9 var(--display); letter-spacing: -.04em; color: rgba(255, 255, 255, .13); }
.perdu-code span { color: var(--or-clair); }
.perdu .eyebrow { color: var(--or-clair); }
.perdu h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; }
.perdu .lead { color: #C9CFE8; max-width: 560px; margin: 0; }
.perdu-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.perdu-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.perdu-liens a { padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #E3E7F6; font: 500 14.5px/1 var(--text); transition: background .25s, color .25s; }
.perdu-liens a:hover { background: var(--or-clair); color: var(--nuit); }

/* ---------- adaptatif ---------- */
@media (max-width: 1020px) {
  .menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; padding: 12px; border-radius: 24px; background: rgba(20, 28, 64, .96); border: 1px solid rgba(255, 255, 255, .14); }
  .menu.open { display: flex; }
  .menu a, .nav.solid .menu a { color: #E3E7F6; padding: 14px 16px; }
  .nav-compte { margin-left: auto; padding: 10px 14px 10px 11px; font-size: 14px; }
  .burger { margin-left: 0 !important; }
  .nav-in { gap: 10px; }
  .nav.solid .menu a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .nav-in { position: relative; }
  .burger { display: grid; margin-left: auto; }
  .nav .btn { display: none; }
  .hero-grid, .nom-grid, .mani-grid, .org-grid, .join-grid, .two, .pres-grid, .pres-page { grid-template-columns: 1fr; gap: 40px; }
  .side, .pres-page aside { position: static; }
  .pres-grid .portrait, .pres-page .portrait { max-width: 300px; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dd-menu a { padding: 11px 16px; font-size: 14px; color: #B9C0DD; }
  .dd-top svg { display: none; }
  .phead { padding: 130px 0 60px; }
  .hero-mark { order: -1; max-width: 340px; margin-inline: auto; }
  .hero { padding-top: 110px; }
  .acro { grid-template-columns: repeat(2, 1fr); }
  .acro .glass { min-height: 0; }
  .acro .glass:last-child { grid-column: 1 / -1; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .path::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery .g4, .gallery .g5 { grid-row: auto; }
  .credits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps div:nth-child(2) { border-right: 0; }
  .steps div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .g2, .g3, .row, .path { grid-template-columns: 1fr; }
  .acro { grid-template-columns: 1fr 1fr; }
  .form { padding: 24px; }
  .org-item { grid-template-columns: auto 1fr; }
  .toc li { grid-template-columns: 1fr; }
  .toc span { grid-row: auto; }
  .band-in .btn { width: 100%; }
  .org-item > svg { display: none; }
  .foot { grid-template-columns: 1fr; }
  .credits { grid-template-columns: 1fr; }
  .ph-credit { display: none; }
  .hero .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .fade { opacity: 1; transform: none; }
  .ld-mark img { clip-path: none; }
}

/* ---------- verre : barre de navigation, boutons, menu mobile ---------- */
/* Le flou de la barre est porté par un calque à part : sinon le menu mobile, qui est dedans, ne peut pas flouter la page. */
.nav-in { position: relative; z-index: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-in::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(20, 28, 64, .42); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .4s; }
.nav.solid .nav-in { background: none; }
.nav.solid .nav-in::before { background: rgba(255, 253, 248, .82); }
.nav-compte, .burger { background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .07)); border: 1px solid rgba(255, 255, 255, .42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 10px 22px -14px rgba(0, 0, 0, .7); color: #fff; }
.nav-compte:hover, .nav-compte.on, .burger:hover { background: linear-gradient(135deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .14)); color: #fff; border-color: rgba(255, 255, 255, .6); }
.nav.solid .nav-compte, .nav.solid .burger { background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(237, 228, 211, .5)); border: 1px solid rgba(30, 42, 90, .2); color: var(--indigo); box-shadow: inset 0 1px 0 #fff, 0 10px 20px -14px rgba(30, 42, 90, .55); }
.nav.solid .nav-compte:hover, .nav.solid .nav-compte.on, .nav.solid .burger:hover { background: linear-gradient(135deg, #fff, rgba(224, 160, 74, .28)); color: var(--indigo); border-color: rgba(208, 138, 46, .6); }
.top { background: linear-gradient(135deg, rgba(224, 160, 74, .92), rgba(208, 138, 46, .78)); border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 30px -10px rgba(20, 28, 64, .6); }

/* ---------- téléphone : rien ne dépasse de l'écran ---------- */
html { overflow-x: clip; }
@media (max-width: 1020px) {
  .hero-grid, .nom-grid, .mani-grid, .org-grid, .join-grid, .two, .pres-grid, .pres-page { grid-template-columns: minmax(0, 1fr); }
  .two > *, .pres-page > *, .prose { min-width: 0; max-width: 100%; }
  .prose .btn, .contact .btn, .perdu-btns .btn { white-space: normal; text-align: center; line-height: 1.3; max-width: 100%; }
  .prose img, .prose video, .prose iframe { max-width: 100%; height: auto; }
  .prose { overflow-wrap: break-word; }
  .menu { background: linear-gradient(160deg, rgba(34, 46, 100, .74), rgba(13, 19, 46, .86)); backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7); border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 34px 70px -26px rgba(0, 0, 0, .8); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
  .menu a, .nav.solid .menu a { border-radius: 14px; }
  .menu a.on, .menu .dd-top.on, .dd-menu a.on { background: rgba(255, 255, 255, .12); }
}
@media (max-width: 400px) {
  .nav-in { padding: 8px 8px 8px 14px; gap: 8px; }
  .brand img { height: 40px; }
  .nav-compte { padding: 10px 12px 10px 10px; font-size: 13.5px; gap: 6px; }
}

/* ---------- plus de bouton de connexion dans la barre : le menu reprend sa place à droite ---------- */
@media (max-width: 1020px) { .burger { margin-left: auto !important; } }

/* ---------- texte pas encore publié ---------- */
.bientot { padding: 80px 0 100px; }
.bientot-in { max-width: 720px; margin: 0 auto; padding: 56px 40px 44px; text-align: center; display: grid; justify-items: center; gap: 14px; position: relative; overflow: hidden; }
.bientot-in::before { content: ""; position: absolute; width: 460px; aspect-ratio: 1; border-radius: 50%; left: 50%; top: -300px; transform: translateX(-50%); border: 2px solid rgba(208, 138, 46, .28); box-shadow: 0 0 0 44px rgba(208, 138, 46, .05), 0 0 0 96px rgba(208, 138, 46, .03); pointer-events: none; }
.bientot-in > * { position: relative; }
.bientot-in img { width: 128px; animation: flotter 4s ease-in-out infinite; }
.pastille-or { margin-top: 6px; font: 600 12.5px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; background: rgba(208, 138, 46, .14); color: #8a5a12; border: 1px solid rgba(208, 138, 46, .35); }
.bientot-in h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; }
.bientot-in p { margin: 0; max-width: 480px; color: var(--gris); }
.bientot-liens { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--ligne); width: 100%; }
.bientot-liens span { width: 100%; font-size: 14px; color: var(--gris); margin-bottom: 2px; }
.bientot-liens a { padding: 10px 16px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); color: var(--indigo); font: 600 14.5px/1 var(--display); transition: border-color .25s, background .25s, transform .3s var(--ease); }
.bientot-liens a:hover { border-color: var(--or); background: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .bientot { padding: 48px 0 70px; } .bientot-in { padding: 44px 22px 32px; } .bientot-in img { width: 104px; } }
