/* ONZE ÉTERNEL — portail web. Charte « Broadcast Dark » (assets/style/tokens.json, docs/06-art.md).
   Aucune ressource externe : polices embarquées (WOFF, sous-ensemble Latin étendu A). */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg-deep: #070A10; --bg-base: #0B1018; --bg-raised: #0F1520;
  --surface-1: #141B27; --surface-2: #1A2332; --surface-3: #222D40; --surface-4: #2B384E;
  --border-subtle: #1F2A3B; --border: #2C3A51; --border-strong: #3E4F6C; --focus: #00E0A4;
  --text: #F2F5FA; --text-2: #A8B3C7; --text-muted: #8591A8; /* muted éclairci (#6E7A91 → #8591A8) pour AA 4.5:1 sur surface-1 */
  --on-accent: #04140F;
  --accent: #00E0A4; --accent-hover: #33E8B7; --accent-pressed: #00B886; --accent-soft: #00E0A426;
  --secondary: #FFB547; --secondary-soft: #FFB54726; --live: #FF3B5C; --highlight: #5B8CFF;
  --success: #22C55E; --success-soft: #22C55E26; --warning: #F5A524; --warning-soft: #F5A52426;
  --danger: #EF4444; --danger-text: #FF7B7B; --danger-soft: #EF444426; --info: #3B82F6; --info-soft: #3B82F626;
  --grad-accent: linear-gradient(90deg, #00E0A4, #00B4D8);
  --font-display: "Barlow Condensed", "Bahnschrift", "Segoe UI", sans-serif;
  --font-ui: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-num: "Rajdhani", "Bahnschrift", "Segoe UI", sans-serif;
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px; --r-xl: 16px;
  --shadow-md: 0 4px 12px #00000073; --shadow-lg: 0 12px 32px #00000080; --glow: 0 0 16px #00E0A466;
  --ease: cubic-bezier(.33, 1, .68, 1);
  --wrap: 1180px; --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg-base); color: var(--text);
  font: 400 16px/1.55 var(--font-ui);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: .3px; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.num { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; }
.mono { font-family: Consolas, "Cascadia Mono", monospace; font-size: .85rem; word-break: break-all; }
.eyebrow { font: 600 .8rem/1 var(--font-ui); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--grad-accent); transform: skewX(-20deg); }

/* ---------- Lien d'évitement, bandeaux ---------- */
.skip { position: absolute; left: 8px; top: -60px; z-index: 500; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; }
.skip:focus { top: 8px; color: var(--on-accent); }
.demo-banner { background: var(--secondary); color: #1A1200; text-align: center; font-size: .875rem; font-weight: 600; padding: 6px var(--gutter); }
.demo-banner a { color: #1A1200; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #0B1018E6; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 34px; height: 34px; }
.brand span { font: 700 1.35rem/1 var(--font-display); letter-spacing: 1px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 12px; border-radius: var(--r-md); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--text); background: var(--surface-1); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.site-header .nav-toggle { display: none; }
@media (max-width: 860px) {
  .site-header .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-raised); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Boutons ---------- */
.btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-md); border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg); font: 700 .95rem/1.1 var(--font-ui); letter-spacing: .3px;
  text-decoration: none; cursor: pointer; transition: background .15s var(--ease), transform .08s, box-shadow .15s;
}
.btn:hover { background: var(--surface-3); color: var(--b-fg); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { --b-bg: var(--accent); --b-fg: var(--on-accent); --b-bd: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--glow); }
.btn-primary:active { background: var(--accent-pressed); }
.btn-ghost { --b-bg: transparent; --b-bd: var(--border-strong); }
.btn-danger { --b-bg: var(--danger-soft); --b-fg: var(--danger-text); --b-bd: #EF444466; }
.btn-danger:hover { background: #EF444440; }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .85rem; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-deep); border-bottom: 1px solid var(--border-subtle); }
.hero-art { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, var(--bg-deep)); }
.hero-bar { position: relative; z-index: 1; margin-top: -48px; padding-bottom: 40px; }
.hero-card { background: #0F1520F2; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .hero-card { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.hero-card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .2em; }
.hero-card p { color: var(--text-2); margin: 0; max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
main { flex: 1; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-raised); border-block: 1px solid var(--border-subtle); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--grad-accent); }
.pillar-num, .card .pillar-num { font: 700 2.4rem/1 var(--font-num); color: var(--accent); opacity: .9; margin-bottom: 10px; }
.pillar p { color: var(--text-2); }

/* Captures (placeholders) */
.shot { margin: 0; background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-deep); }
.shot figcaption { padding: 14px 16px; font-size: .9rem; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 .75rem/1.4 var(--font-ui); letter-spacing: .5px; text-transform: uppercase; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.tag-accent { background: var(--accent-soft); color: var(--accent); }
.tag-warn { background: var(--secondary-soft); color: var(--secondary); }
.tag-danger { background: var(--danger-soft); color: var(--danger-text); }
.tag-ok { background: var(--success-soft); color: #4ADE80; }
.tag-info { background: var(--info-soft); color: #7FB0FF; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Configuration requise */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.spec thead th { font: 700 .8rem/1 var(--font-ui); letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); background: var(--surface-2); }
.spec tbody th { color: var(--text-2); font-weight: 600; width: 32%; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: var(--surface-1); }

/* FAQ */
.faq details { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--font-num); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 20px 18px; color: var(--text-2); }

/* ---------- Formulaires ---------- */
.auth-layout { display: grid; min-height: calc(100vh - 64px); }
@media (min-width: 960px) { .auth-layout { grid-template-columns: 1.1fr 1fr; } }
.auth-aside { display: none; position: relative; overflow: hidden; background: var(--bg-deep); }
.auth-aside img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; opacity: .75; }
.auth-aside .quote { position: absolute; left: 40px; right: 40px; bottom: 40px; font: 700 2rem/1.15 var(--font-display); text-transform: uppercase; text-shadow: 0 2px 12px #000; }
@media (min-width: 960px) { .auth-aside { display: block; } }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px var(--gutter) 64px; }
.form-card { width: 100%; max-width: 460px; }
.form-card h1 { font-size: 2.2rem; }
.form-card .lead { color: var(--text-2); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--text-muted); margin-top: 6px; }
.input-wrap { position: relative; }
.input, select.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--bg-raised); color: var(--text); border: 1px solid var(--border);
  font: 400 1rem/1.3 var(--font-ui); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--text-muted); }
.input:hover { border-color: var(--border-strong); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--danger-soft); }
.input-wrap .input { padding-right: 56px; }
.reveal { position: absolute; right: 4px; top: 4px; bottom: 4px; min-width: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.reveal:hover { color: var(--text); background: var(--surface-2); }
.field-error { color: var(--danger-text); font-size: .85rem; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: .92rem; color: var(--text-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.strength { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.strength-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.strength-bar > span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .2s var(--ease), background .2s; }
.strength-label { font-size: .8rem; color: var(--text-2); min-width: 64px; text-align: right; }
.form-actions { display: grid; gap: 12px; margin-top: 8px; }
.form-foot { margin-top: 24px; color: var(--text-2); font-size: .92rem; text-align: center; }
.rules { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: .8rem; color: var(--text-muted); }
.rules li::before { content: "○ "; }
.rules li.ok { color: #4ADE80; }
.rules li.ok::before { content: "✓ "; }

/* Alertes */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid; margin-bottom: 18px; font-size: .95rem; }
.alert:empty { display: none; }
.alert-error { background: var(--danger-soft); border-color: #EF444466; color: #FFD1D1; }
.alert-success { background: var(--success-soft); border-color: #22C55E66; color: #CFF7DD; }
.alert-info { background: var(--info-soft); border-color: #3B82F666; color: #D6E6FF; }
.alert-warn { background: var(--warning-soft); border-color: #F5A52466; color: #FFE7BF; }

/* ---------- Téléchargement ---------- */
.dl-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .dl-hero { grid-template-columns: 1.2fr 1fr; } }
.dl-card { background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-md); }
.dl-card .version { font: 700 2.6rem/1 var(--font-num); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 20px 0; font-size: .92rem; }
.meta dt { color: var(--text-muted); }
.meta dd { margin: 0; }
.hash-row { display: flex; gap: 8px; align-items: center; }
.hash-row code { flex: 1; min-width: 0; }
.platforms { display: grid; gap: 12px; }
.platform { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--border-subtle); }
.platform .icon { width: 28px; height: 28px; color: var(--text-2); }
.platform div { flex: 1; }
.platform strong { display: block; }
.notes { padding-left: 20px; color: var(--text-2); }
.notes li { margin-bottom: 6px; }
.soon { text-align: center; padding: 40px 24px; }
.soon .big { font: 700 2.2rem/1.1 var(--font-display); text-transform: uppercase; margin-bottom: 8px; }
pre.code { background: var(--bg-deep); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 12px 14px; overflow-x: auto; font-size: .85rem; color: var(--text-2); margin: 8px 0 0; }

/* ---------- Compte ---------- */
.kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; min-height: calc(100vh - 64px); }
@media (min-width: 1000px) { .admin-shell { grid-template-columns: 240px 1fr; } }
.admin-side { background: var(--bg-raised); border-right: 1px solid var(--border-subtle); padding: 16px; }
.admin-side nav { display: flex; gap: 4px; overflow-x: auto; }
@media (min-width: 1000px) { .admin-side nav { flex-direction: column; position: sticky; top: 80px; } }
.admin-side a { display: flex; align-items: center; gap: 10px; color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: var(--r-md); font-weight: 600; white-space: nowrap; min-height: 44px; }
.admin-side a:hover { background: var(--surface-1); color: var(--text); }
.admin-side a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); }
.admin-main { padding: 28px var(--gutter) 64px; min-width: 0; }
.admin-main > section { margin-bottom: 40px; scroll-margin-top: 80px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.admin-head h1 { font-size: 2.2rem; margin: 0; }
.panel { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 20px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 1.5rem; margin: 0; }
.stat { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: var(--r-lg); padding: 18px 20px; position: relative; }
.stat .label { color: var(--text-2); font-size: .8rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin: 0 0 8px; }
.stat .value { font: 700 2.2rem/1 var(--font-num); font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--text-muted); font-size: .85rem; margin-top: 6px; }
.stat-accent { border-left: 3px solid var(--accent); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .input { min-height: 44px; width: auto; flex: 1 1 220px; }
.toolbar select.input { flex: 0 1 180px; }
.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data th, .data td { padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: middle; }
.data thead th { position: sticky; top: 0; background: var(--surface-2); font: 600 .75rem/1 var(--font-ui); letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.data tbody tr:hover { background: var(--surface-2); }
.data td.actions { white-space: nowrap; text-align: right; }
.data td.actions .btn + .btn { margin-left: 6px; }
.data .empty { text-align: center; color: var(--text-muted); padding: 28px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; font-size: .9rem; color: var(--text-2); flex-wrap: wrap; }
.unavailable { border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 16px; color: var(--text-2); font-size: .92rem; }
.unavailable code { color: var(--secondary); }
.world-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .world-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .world-grid { grid-template-columns: repeat(4, 1fr); } }
.advance-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.advance-row .input { width: 96px; min-height: 44px; }

/* Dialogue de confirmation */
dialog { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: 24px; max-width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: #070A10CC; }
dialog h2 { font-size: 1.5rem; }
dialog .cta-row { justify-content: flex-end; margin-top: 20px; }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 400; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.toast { background: var(--surface-3); border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .92rem; animation: toast-in .22s var(--ease); }
.toast.error { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--border-subtle); background: var(--bg-deep); padding: 40px 0 28px; color: var(--text-2); font-size: .9rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: 2px; font-family: var(--font-ui); font-weight: 700; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }
.footer-logo { width: 220px; margin-bottom: 12px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border-subtle); font-size: .8rem; color: var(--text-muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utilitaires complémentaires ---------- */
.h3 { font-size: 1.35rem; }
.mt { margin-top: 20px; }
.btn-block { width: 100%; }
.cta-center { justify-content: center; }
.soon-mark { width: 88px; height: 88px; margin: 0 auto 16px; }
.platform .small { display: block; }
.verify { margin-top: 16px; }
.verify summary { cursor: pointer; color: var(--text-2); font-size: .9rem; min-height: 44px; display: flex; align-items: center; }
.verify summary:hover { color: var(--text); }
.grid + .card, .grid + .grid, .card + .grid { margin-top: 20px; }
.panel.prose { max-width: none; }
.panel.prose > * { max-width: 860px; }

.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-accent); }
.grid + p { margin-top: 16px; }
