@charset "UTF-8";

/* Inter (variable, 100 à 900), hébergée sur le site : rien n'est chargé chez Google */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  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; }
:root {
  --nuit: #0B1A2E;
  --nuit-2: #0f2238;
  --texte: #FFFFFF;
  --texte-doux: #BCCCDC;
  --cyan: #00C2D4;
  --degrade: linear-gradient(90deg, #377bbc 0%, #377bbc 15%, #139ccb 40%, #00afd4 53%, #4cc4d3 100%);
  --bouton: linear-gradient(135deg, #00C2D4 0%, #0077B6 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --edge: clamp(20px, 5.5vw, 80px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nuit); color: var(--texte); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.edge { padding-left: max(var(--edge), env(safe-area-inset-left, 0px)); padding-right: max(var(--edge), env(safe-area-inset-right, 0px)); }

/* Signal : petites capitales */
.signal { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }

/* En-tête */
.top { position: absolute; inset: 0 0 auto; z-index: 3; padding-top: calc(env(safe-area-inset-top, 0px) + 28px); }
.top img { height: 64px; width: auto; }

/* Haut de page */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero { background: radial-gradient(70% 60% at 72% 28%, #12355a 0%, rgba(11,26,46,0) 70%), var(--nuit); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,26,46,.55) 0%, rgba(11,26,46,.15) 35%, rgba(11,26,46,.75) 72%, var(--nuit) 100%); }
.hero-inner { width: 100%; padding-top: 160px; padding-bottom: clamp(48px, 9vh, 96px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.hero-text { display: grid; gap: 22px; max-width: 760px; }
.date { margin: 0; font-weight: 900; font-size: clamp(44px, 14vw, 168px); line-height: .92; letter-spacing: -.035em; }
.date span { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lieu { font-size: clamp(19px, 2vw, 24px); font-weight: 700; margin: 0; }
.intro { margin: 0; color: var(--texte-doux); font-size: 18px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; background: var(--bouton); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 8px 30px rgba(0,194,212,.25); transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.btn:active { transform: scale(.97); }
.lien { color: var(--texte-doux); font-size: 15px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,194,212,.35); }
  .lien:hover { color: var(--texte); }
}

/* Décompte */
.decompte { text-align: right; display: grid; gap: 4px; }
.decompte b { font-size: clamp(56px, 6vw, 88px); font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.decompte span { color: var(--texte-doux); font-size: 15px; }

/* Programme : trois piliers posés sur le fond, séparés par des filets */
.piliers { background: var(--nuit-2); padding-block: clamp(64px, 10vw, 112px); }
.piliers-inner { display: grid; gap: 44px; }
.piliers h2 { margin: 10px 0 0; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.piliers-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pilier { padding: 4px 32px; border-left: 1px solid rgba(188,204,220,.18); display: grid; gap: 10px; align-content: start; }
.pilier:first-child { padding-left: 0; border-left: 0; }
.pilier h3 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; line-height: 1; letter-spacing: -.03em; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.pilier p { margin: 0; color: var(--texte-doux); max-width: 30em; }

/* Alerte inscriptions (formulaire Brevo), juste sous le haut de page */
.alerte { padding-block: clamp(56px, 8vw, 96px); background: var(--nuit); border-top: 1px solid rgba(188,204,220,.12); scroll-margin-top: 0; }
.alerte-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.alerte h2 { margin: 10px 0 14px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.alerte p { margin: 0; color: var(--texte-doux); max-width: 30em; }
.nl { display: grid; gap: 14px; }
.nl-label { font-weight: 700; font-size: 15px; }
.nl-ligne { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(188,204,220,.22); transition: border-color 160ms var(--ease-out); }
.nl-ligne:focus-within { border-color: var(--cyan); }
.nl-champ { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--texte); font: inherit; font-size: 16px; padding: 10px 18px; outline: none; }
.nl-champ::placeholder { color: #7f95ad; }
.nl .btn { border: 0; cursor: pointer; font-family: inherit; flex: none; }
.nl .btn[disabled] { opacity: .6; cursor: progress; }
.nl-accord { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--texte-doux); line-height: 1.5; cursor: pointer; }
.nl-accord input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cyan); }
.nl-accord a { color: var(--texte); text-underline-offset: 3px; }
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-message { min-height: 1.5em; font-size: 15px; margin: 0; }
.nl-message.ok { color: var(--cyan); font-weight: 600; }
.nl-message.erreur { color: #ff9b8a; }
.nl.envoye .nl-ligne, .nl.envoye .nl-accord, .nl.envoye .nl-label { display: none; }
.nl.envoye .nl-message { font-size: 18px; }

/* Pied de page */
footer { padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 56px; }
.infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.infos .signal { margin-bottom: 8px; }
.infos p { margin: 0; line-height: 1.55; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.orgas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; }
.orgas .signal { color: var(--texte-doux); width: 100%; }
.orgas img { height: 34px; width: auto; }
.orgas img.ll { height: 40px; }
.credit { color: var(--texte-doux); font-size: 14px; }

/* Politique de confidentialité */
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: calc(env(safe-area-inset-top, 0px) + 28px); padding-bottom: 28px; border-bottom: 1px solid rgba(188,204,220,.12); }
.legal-top img { height: 52px; width: auto; }
.legal-top .lien { white-space: nowrap; }
.legal { max-width: calc(760px + 2 * var(--edge)); margin: 0 auto; padding-block: clamp(48px, 7vw, 88px); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 800; margin: 12px 0 20px; letter-spacing: -.02em; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 48px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--texte-doux); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.legal b { color: var(--texte); font-weight: 700; }
.legal a { color: var(--texte); text-underline-offset: 3px; }
.legal a:hover { color: var(--cyan); }
.legal-chapo { font-size: 18px; }
.legal-tableau { overflow-x: auto; margin: 0 0 16px; border: 1px solid rgba(188,204,220,.14); border-radius: 12px; }
.legal-tableau table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 14px; }
.legal-tableau th, .legal-tableau td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(188,204,220,.12); color: var(--texte-doux); }
.legal-tableau tr:last-child td { border-bottom: 0; }
.legal-tableau th { color: var(--texte); font-weight: 700; white-space: nowrap; }
.legal-tableau code { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--texte); }
.legal-btn { border: 0; cursor: pointer; font-family: inherit; }
.legal-date { font-size: 14px; }
.legal-pied { padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(188,204,220,.12); }
.credit a { color: inherit; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .decompte { text-align: left; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
  .piliers-liste { grid-template-columns: 1fr; gap: 28px; }
  .pilier { padding: 0; border-left: 0; }
  .infos { grid-template-columns: 1fr; gap: 24px; }
  .alerte-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .top img { height: 42px; }
  .hero-inner { padding-top: 130px; }
  .intro { font-size: 16px; }
  .actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn { justify-content: center; }
  .nl-ligne { flex-direction: column; border-radius: 20px; padding: 8px; }
  .nl-champ { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
