/* Convial Pro — association pour le dynamisme du commerce local
   Palette officielle (BRAND_GUIDELINES 2026-09-15) : crème / or / encre */

/* Polices hébergées sur le site (aucun appel à Google Fonts, RGPD) : variables, sous-ensemble latin */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/fraunces-latin.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500 600; font-display: swap; src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); }

:root {
  --cream: #FBF7EE;
  --cream-2: #F3EAD4;
  --gold: #E8A33D;
  --gold-deep: #C9852A;
  --gold-text: #8C5A12;   /* or lisible sur crème et crème-2 (AA, ≥4.5:1) */
  --gold-accent: #B0701C; /* or profond lisible pour grands textes et icônes sur crème (≥3:1) */
  --gold-pale: #F6D9A0;
  --ink: #2E2A22;
  --ink-2: #1F1C16;
  --ink-soft: #625949;
  --line: #E6DAC0;
  --field-line: #8C7F66;
  --white: #FFFFFF;
  --error: #B3401F;
  --r: 22px;
  --r-sm: 14px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --nav-h: 72px;
  --sticky-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 112px 0; }
.hand { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--gold-accent); }
.script { font-family: var(--display); font-style: italic; font-weight: 600; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker-light { color: var(--gold); }

.head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.head .kicker { justify-content: center; }
.head h2, .why h2, .sponsor h2, .contact h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.head-sub { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; }
.head-left { text-align: left; margin-left: 0; }
.head-left .kicker { justify-content: flex-start; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 28px rgba(232,163,61,.35); }
.btn-gold:hover { background: #F0B254; box-shadow: 0 14px 34px rgba(232,163,61,.5); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: .88rem; }
.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s ease, box-shadow .35s ease; }
.nav-inner { max-width: 1240px; margin: 0 auto; height: var(--nav-h); padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-txt { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; white-space: nowrap; }
.brand-txt b { font-family: var(--display); font-weight: 600; font-size: .62em; text-transform: uppercase; letter-spacing: .22em; color: #E8B04B; margin-left: .3em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 500; font-size: .93rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav.scrolled { background: rgba(251,247,238,.92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .brand, .nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .brand-txt b { color: var(--gold-text); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease; }
.nav.scrolled .burger { background: var(--cream-2); }
.nav.scrolled .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { background: var(--cream); padding: 12px 24px 28px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 20px 40px rgba(31,28,22,.15); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; text-decoration: none; font-family: var(--display); font-size: 1.35rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; padding: 0; background: var(--ink-2) url('assets/hero-loop-poster.jpg') center/cover; overflow: hidden; color: var(--white); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,12,.65) 0%, rgba(20,17,12,0) 22%, rgba(20,17,12,0) 42%, rgba(20,17,12,.6) 68%, rgba(20,17,12,.85) 100%); pointer-events: none; }
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: 1240px; margin: 0 auto; padding: 0 24px 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: .98rem; font-weight: 500; width: 100%; color: rgba(255,255,255,.92); }
.hero-eyebrow .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(232,163,61,.25); animation: pulse 2.4s ease-in-out 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(232,163,61,0); } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-title { width: 100%; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04; font-weight: 600; max-width: 15ch; text-shadow: 0 0 2px rgba(20,17,12,.9), 0 2px 24px rgba(0,0,0,.6); }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-pause { position: absolute; z-index: 2; right: max(24px, calc((100% - 1240px) / 2 + 24px)); bottom: 51px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(20,17,12,.4); backdrop-filter: blur(6px); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s ease; }
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgba(20,17,12,.65); }
.hero-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-pause .i-play { display: none; fill: currentColor; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

/* ---------- Manifeste ---------- */
.manifesto { background: var(--cream); }
.manifesto-lead { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3.3rem); line-height: 1.15; font-weight: 500; max-width: 22ch; letter-spacing: -0.015em; }
.manifesto-lead em { font-style: italic; color: var(--gold-accent); }
.manifesto-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; max-width: 980px; color: var(--ink-soft); font-size: 1.05rem; }
.manifesto-cols strong { color: var(--ink); }
.audience { list-style: none; padding: 0; margin: 56px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.audience li { padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

/* ---------- Services (bento) ---------- */
.services { background: var(--cream-2); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: var(--white); border-radius: var(--r); padding: 34px 30px 32px; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(46,42,34,.1); }
.card h3 { font-size: 1.4rem; margin: 18px 0 12px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card-num { font: 700 .8rem var(--body); letter-spacing: .1em; color: var(--gold-text); display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.card-feature { grid-column: span 2; background: radial-gradient(120% 90% at 100% 0%, rgba(232,163,61,.28), transparent 60%), var(--white); padding: 44px; display: flex; flex-direction: column; }
.card-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 16ch; }
.card-feature p { font-size: 1.08rem; max-width: 46ch; }
.card-feature .ticks { margin-top: auto; padding-top: 28px; }
.card-dark { grid-column: 1 / -1; background: var(--ink); color: var(--cream); border-color: var(--ink); display: grid; grid-template-columns: auto 1fr 1.4fr auto; align-items: center; gap: 28px; }
.card-dark h3 { margin: 0; }
.card-dark .link-arrow { margin: 0; white-space: nowrap; }
.card-dark p { color: #CFC4AE; }
.card-dark .card-num { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--gold); }
.link-arrow { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2A22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Méthode ---------- */
.method { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { position: relative; padding: 32px 4px 0; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--display); font-size: 4.2rem; font-weight: 600; line-height: 1; color: var(--gold-accent); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 12px; }
.steps p { color: var(--ink-soft); }

/* ---------- Pourquoi ---------- */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.why-visual { background: var(--ink); border-radius: 32px; padding: 28px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 40px 80px rgba(46,42,34,.22); }
.net { width: 100%; height: auto; overflow: visible; }
.net-lines path { fill: none; stroke: var(--gold); stroke-opacity: .45; stroke-width: 1.4; stroke-dasharray: 820; stroke-dashoffset: 0; }
.net-nodes circle { fill: var(--gold-pale); filter: drop-shadow(0 0 8px rgba(232,163,61,.85)); }
.net-nodes .core { fill: var(--gold); }
.net-labels text { paint-order: stroke; stroke: var(--ink); stroke-width: 6px; stroke-linejoin: round; fill: #E9DFC8; font: 600 13px var(--body); text-anchor: middle; }
.net-labels .core-label { fill: var(--gold); font: 700 15px var(--display); }
.why-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.why-list li { padding-left: 22px; border-left: 3px solid var(--gold); color: var(--ink-soft); font-size: 1.04rem; }
.why-list strong { color: var(--ink); display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin-bottom: 2px; }

/* ---------- Sponsoring ---------- */
.sponsor { background: radial-gradient(80% 60% at 85% 0%, rgba(232,163,61,.22), transparent 60%), var(--ink); color: var(--cream); }
.sponsor-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.sponsor-head > p { color: #CFC4AE; font-size: 1.06rem; }
.sponsor .hand { color: var(--gold); }
.sponsor-from { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--cream); padding: 28px 0; border-top: 1px solid rgba(246,217,160,.22); border-bottom: 1px solid rgba(246,217,160,.22); }
.sponsor-from strong { color: var(--gold); font-weight: 600; }
.sponsor-foot { margin-top: 44px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.sponsor-args { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #DCD2BE; font-size: .95rem; }
.sponsor-args li::before { content: "●"; color: var(--gold); margin-right: 8px; font-size: .7em; vertical-align: 2px; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-grid .head a { color: var(--gold-text); font-weight: 700; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-family: var(--display); font-size: 1.22rem; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--gold-accent); border-bottom: 2px solid var(--gold-accent); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 44px 26px 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--ink-2); color: var(--cream); }
/* Desktop : les liens #contact posent le haut du formulaire juste sous la nav (saute le padding de la section) */
@media (min-width: 861px) { .contact { scroll-margin-top: calc(24px - 112px); } }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.contact-intro > p { color: #CFC4AE; font-size: 1.06rem; margin-top: 22px; max-width: 46ch; }
.contact .script { font-size: 2rem; color: var(--gold); margin-top: 36px; line-height: 1.2; }
.contact-direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 2px; font-weight: 600; font-size: 1.06rem; }
.contact-direct a { display: inline-block; padding: 6px 0; color: var(--cream); text-decoration-color: var(--gold); text-underline-offset: 5px; }
.contact-direct a:hover { color: var(--gold); }
.form { background: var(--cream); color: var(--ink); border-radius: 28px; padding: 32px 40px; display: grid; gap: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--field-line); background: var(--white); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px rgba(232,163,61,.3); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field input[aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 2px var(--error), 0 0 0 6px rgba(179,64,31,.18); }
.field-error { font-size: .84rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.req { color: var(--error); }
.form-req { font-size: .82rem; color: var(--ink-soft); margin-bottom: -6px; }
.form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-status { font-size: .9rem; min-height: 1.2em; color: var(--ink-soft); }
.form-status[data-state="error"] { color: var(--error); font-weight: 600; }
.form-status[data-state="ok"] { color: var(--ink); font-weight: 600; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-note a { color: var(--gold-text); font-weight: 600; }

/* ---------- Mentions légales ---------- */
.legal { padding: calc(var(--nav-h) + 72px) 0 96px; }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal p { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--gold-text); font-weight: 600; }
.todo { color: var(--gold-text); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: #BFB49E; border-top: 1px solid rgba(255,255,255,.08); padding: 64px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer a { text-decoration: none; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold); }
.brand-light { display: flex !important; color: var(--cream); }
.footer-tag { margin-top: 14px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.footer .hand { color: var(--gold); font-size: 1.15rem; margin-top: 10px; }
.footer-h { color: var(--cream); font-weight: 700; margin-bottom: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.footer-bottom a { display: inline; }

.sticky-cta { display: none; }

/* ---------- Thème « réseau » de la page d'accueil (network-bg.js) ----------
   Fond encre chaude avec un réseau or / crème animé derrière le contenu ; cartes, formulaire et boutons gardent crème, or et encre.
   Limité à body.theme-net : la page des mentions légales reste sur fond crème. */
.theme-net { --night: #17140F; --night-rgb: 23,20,15; --ui: 232,163,61; --mist: #CFC4AE; background: var(--night); color: var(--cream); }
#net { position: fixed; top: 0; left: 0; width: 100%; height: 100%; height: 100lvh; z-index: -1; pointer-events: none; background: radial-gradient(70% 60% at 78% 18%, #3A2C17 0%, transparent 70%), radial-gradient(60% 50% at 8% 88%, #1F252C 0%, transparent 70%), var(--night); }
.theme-net .manifesto, .theme-net .method, .theme-net .faq, .theme-net .sponsor, .theme-net .contact, .theme-net .footer { background: transparent; }
.theme-net .services, .theme-net .why { background: rgba(46,42,34,.45); }
/* Liseré : le texte posé sur le réseau garde le fond autour des lettres (contraste AA quels que soient les points lumineux dessous) */
.theme-net main .wrap, .theme-net .footer .wrap { text-shadow: 0 0 1px var(--night), 0 0 4px var(--night), 0 0 8px var(--night); }
.theme-net .card, .theme-net .form, .theme-net .btn, .theme-net .audience li, .theme-net .why-visual { text-shadow: none; }
.theme-net .kicker, .theme-net .hand, .theme-net .manifesto-lead em, .theme-net .step-n, .theme-net .faq-grid .head a { color: var(--gold); }
.theme-net .head-sub, .theme-net .manifesto-cols, .theme-net .steps p, .theme-net .why-list li, .theme-net .faq-list details p, .theme-net .sponsor-head > p, .theme-net .contact-intro > p, .theme-net .sponsor-args, .theme-net .footer { color: var(--mist); }
.theme-net .manifesto-cols strong, .theme-net .why-list strong { color: var(--cream); }
.theme-net .card:not(.card-dark) { color: var(--ink); }
/* Focus : or sur fond sombre, encre sur les surfaces crème (contraste du contour ≥ 3:1) */
.theme-net :focus-visible { outline-color: var(--gold); }
.theme-net .form :focus-visible, .theme-net .card:not(.card-dark) :focus-visible { outline-color: var(--ink); }
.theme-net .mobile-menu { background: var(--night); color: var(--cream); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.theme-net .mobile-menu a:not(.btn) { border-bottom-color: rgba(251,247,238,.12); }
.theme-net .audience li { background: rgba(251,247,238,.05); border-color: rgba(var(--ui),.28); color: var(--cream); }
.theme-net .steps li { border-top-color: rgba(251,247,238,.35); }
.theme-net .why-visual { background: rgba(var(--night-rgb),.75); box-shadow: 0 0 0 1px rgba(var(--ui),.22); }
.theme-net .faq-list details { border-bottom-color: rgba(251,247,238,.12); }
.theme-net .faq-list summary::after { border-color: var(--gold); }
.theme-net .sponsor-from { border-color: rgba(var(--ui),.22); }
.theme-net .footer, .theme-net .footer-bottom { border-top-color: rgba(var(--ui),.15); }
.theme-net .nav.scrolled { background: rgba(var(--night-rgb),.82); box-shadow: 0 1px 0 rgba(var(--ui),.18); }
.theme-net .nav.scrolled .brand, .theme-net .nav.scrolled .nav-links a { color: var(--cream); }
.theme-net .nav.scrolled .brand-txt b { color: var(--gold); }
.theme-net .nav.scrolled .burger { background: rgba(251,247,238,.1); }
.theme-net .nav.scrolled .burger span { background: var(--cream); }
/* Pause de l'animation du fond (WCAG 2.2.2), masquée tant que le hero vidéo occupe l'écran */
.net-pause { position: fixed; z-index: 40; left: 20px; bottom: 20px; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(var(--ui),.45); background: rgba(var(--night-rgb),.75); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: opacity .3s ease, visibility .3s; }
.net-pause[hidden] { display: none; }
.net-pause.away { opacity: 0; visibility: hidden; }
.net-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.net-pause .i-play { display: none; fill: currentColor; }
.net-pause[aria-pressed="true"] .i-pause { display: none; }
.net-pause[aria-pressed="true"] .i-play { display: block; }
@media (max-width: 860px) { .net-pause { bottom: calc(var(--sticky-h) + 32px); } }
body::after { content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .045; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .16 0 0 0 0 .13 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media print { #net, body::after, .net-pause { display: none; } }

/* ---------- Mentions légales en thème sombre ---------- */
.theme-net .legal p { color: var(--mist); }
.theme-net .legal a, .theme-net .todo { color: var(--gold); }

/* ---------- Page 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-items: center; padding: 72px 0; background: radial-gradient(70% 60% at 78% 18%, #3A2C17 0%, transparent 70%), var(--night); }
.notfound .brand { color: var(--cream); margin-bottom: 64px; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 16ch; margin-bottom: 20px; }
.notfound p:not(.kicker) { color: var(--mist); max-width: 52ch; font-size: 1.06rem; }
.notfound-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card-dark { grid-template-columns: 1fr; gap: 0; }
  .card-dark h3 { margin: 18px 0 12px; }
  .card-dark .link-arrow { margin-top: 18px; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .manifesto-cols, .why-grid, .faq-grid, .contact-grid, .sponsor-head { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .why-visual { max-width: 420px; }
  .faq-grid .head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
  .sticky-cta { display: flex; position: fixed; right: 24px; bottom: 20px; z-index: 40; justify-content: center; min-height: var(--sticky-h); padding: 0 28px; align-items: center; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(31,28,22,.3); transform: translateY(160%); transition: transform .3s ease; }
  .sticky-cta.show { transform: none; }
  .footer { padding-bottom: calc(28px + var(--sticky-h) + 20px); }
}
@media (max-width: 600px) {
  .wrap, .nav-inner, .hero-bottom { padding-left: 16px; padding-right: 16px; }
  .bento, .field-row { grid-template-columns: 1fr; }
  .card-feature { grid-column: auto; padding: 32px 26px; }
          .hero { height: auto; min-height: 0; padding-top: var(--nav-h); background: var(--ink-2); }
  .hero-video { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .hero-shade { display: none; }
  .hero-pause { right: 12px; bottom: auto; top: calc(var(--nav-h) + 56.25vw - 60px); }
  .hero:has(.hero-video[hidden]) { padding-top: calc(var(--nav-h) + 56.25vw); background-size: 100% auto; background-position: center var(--nav-h); background-repeat: no-repeat; }
  .hero-bottom { position: relative; padding-top: 28px; padding-bottom: 44px; }
  .hero-title { font-size: 2.1rem; line-height: 1.12; text-shadow: none; }
  .nav:not(.scrolled) { background: var(--ink-2); }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-eyebrow { font-size: .9rem; align-items: flex-start; }
  .hero-eyebrow .dot { margin-top: 6px; }
  .form { padding: 26px 20px; }
  .sticky-cta { left: 16px; right: 16px; bottom: 14px; }
  .footer { padding-bottom: calc(28px + var(--sticky-h) + 14px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
