/*
Theme Name: ARWEN Production
Theme URI: https://arwenproduction.fr
Author: Arwen Production
Description: Thème du studio Arwen Production. Site bilingue français/anglais, pages légales, vitrine des applications, en-têtes de sécurité stricts. À l'activation, il crée ou met à jour ses pages.
Version: 2.0.3
Requires at least: 6.2
Requires PHP: 7.4
License: Propriétaire (polices sous SIL Open Font License)
Text Domain: arwen-neon
*/

/* ============================================================
   Polices (hébergées sur le site)
   ============================================================ */
@font-face { font-family: "Crimson"; src: url("assets/fonts/CrimsonText-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson"; src: url("assets/fonts/CrimsonText-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson"; src: url("assets/fonts/CrimsonText-SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSans-var.woff") format("woff"); font-weight: 100 1000; font-style: normal; font-display: swap; }

/* ============================================================
   Jetons
   ============================================================ */
:root {
  --ink: #15102a;        /* crépuscule profond : fond */
  --ink-2: #1c1535;      /* bandes et surfaces */
  --ink-3: #272045;
  --paper: #f1ebf5;      /* texte principal */
  --mist: #b2a8c5;       /* texte secondaire */
  --faint: #8b80a3;
  --line: rgba(241, 235, 245, 0.12);
  --line-strong: rgba(241, 235, 245, 0.24);
  --dawn: #f6cb7b;       /* l'horizon : or, braise, rose */
  --ember: #f38c6b;
  --rose: #ee6b93;
  --horizon: linear-gradient(90deg, rgba(246, 203, 123, 0), var(--dawn) 22%, var(--ember) 50%, var(--rose) 78%, rgba(238, 107, 147, 0));
  --serif: "Crimson", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --head-h: 76px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 24px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: rgba(241, 235, 245, 0.35); transition: text-decoration-color 0.2s, color 0.2s; }
a:hover { text-decoration-color: var(--ember); }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(238, 107, 147, 0.35); color: #fff; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ============================================================
   En-tête
   ============================================================ */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(21, 16, 42, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--head-h); width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.32rem; letter-spacing: 0.01em; white-space: nowrap; }
.nav-main { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); font-size: 0.96rem; }
.nav-main a, .nav-mobile a { text-decoration: none; color: var(--mist); }
.nav-main a:hover, .nav-main a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--paper); }
.nav-main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ember); }
.lang-switch { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--paper) !important; }
.lang-switch:hover { border-color: var(--paper); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.92rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--paper); color: var(--ink); }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 12px); min-width: 230px; display: grid; gap: 4px; padding: 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.nav-mobile nav a { padding: 10px 12px; border-radius: 8px; font-size: 1.05rem; color: var(--paper); }
.nav-mobile nav a:hover { background: var(--ink-3); }
@media (max-width: 760px) { .nav-main { display: none; } .nav-mobile { display: block; } }

/* ============================================================
   Mise en page du contenu
   ============================================================ */
.entry > * { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.entry > .feature-app, .entry > .hero-card, .entry > .vf-hero, .entry > .screens { width: 100%; }
.section { padding-block: clamp(72px, 10vw, 136px); }
.section + .section { border-top: 1px solid var(--line); }
.entry > .section.closing { text-align: center; }
.closing h2 { margin-bottom: 0.35em; }
.closing p { color: var(--mist); }
.closing .wp-block-buttons { justify-content: center; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.45; color: var(--paper); max-width: 34em; }
.wp-block-columns { display: grid; gap: clamp(28px, 4vw, 56px); margin: 0; }
.wp-block-column { min-width: 0; }
.wp-block-column > *:last-child, .wp-block-group > *:last-child { margin-bottom: 0; }
.wp-block-group__inner-container { display: contents; }
.wp-block-group__inner-container > *:last-child { margin-bottom: 0; }

/* Boutons */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.wp-block-button__link:hover { background: #fff; color: var(--ink); box-shadow: 0 0 0 4px rgba(246, 203, 123, 0.25); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--paper); border: 1px solid var(--line-strong); }

/* Grand lien e-mail */
.mail-xl { font-family: var(--serif); font-size: clamp(1.8rem, 4.6vw, 3.4rem); line-height: 1.1; margin: 0.4em 0 0; word-break: break-word; }
.mail-xl a { text-decoration: none; background-image: var(--horizon); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 6px; }
.mail-xl a:hover { color: #fff; }

/* ============================================================
   Accueil : la carte de titre et l'horizon
   ============================================================ */
.hero-card {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - var(--head-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px var(--gutter) 80px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 62%, rgba(243, 140, 107, 0.16), rgba(243, 140, 107, 0) 70%),
    linear-gradient(180deg, #120d24 0%, #15102a 55%, #1b1433 100%);
}
.hero-card .tagline { position: relative; }
.hero-card .tagline::after {
  /* le soleil, posé sous l'horizon, qui se lève à peine */
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 100%;
  width: min(820px, 130vw); height: min(300px, 46vw); transform: translateX(-50%); transform-origin: 50% 100%;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(246, 203, 123, 0.26), rgba(238, 107, 147, 0.10) 48%, rgba(21, 16, 42, 0) 74%);
  animation: arwen-rise 2.6s cubic-bezier(0.2, 0.7, 0.1, 1) 0.6s both;
  pointer-events: none;
}
.hero-card h1 {
  font-size: clamp(3.6rem, 16vw, 11rem); line-height: 0.88; letter-spacing: -0.025em;
  margin: 0; color: #fff;
  animation: arwen-fade 1.6s ease-out both;
}
.hero-card .tagline { margin: clamp(36px, 5vw, 56px) 0 0; max-width: 34em; text-wrap: balance; color: var(--mist); font-size: clamp(1rem, 1.5vw, 1.15rem); letter-spacing: 0.01em; animation: arwen-fade 1.4s ease-out 1.1s both; }
.hero-card .tagline::before {
  content: ""; display: block; width: min(1080px, 86vw); height: 1px;
  margin: 0 0 clamp(28px, 4vw, 40px) 50%; transform: translateX(-50%);
  background: var(--horizon);
  box-shadow: 0 0 18px rgba(243, 140, 107, 0.55), 0 0 2px rgba(246, 203, 123, 0.9);
  animation: arwen-horizon 1.8s cubic-bezier(0.65, 0, 0.35, 1) 0.35s both;
}
@keyframes arwen-horizon { from { transform: translateX(-50%) scaleX(0); opacity: 0; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
@keyframes arwen-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes arwen-rise { from { opacity: 0; transform: translateX(-50%) scaleY(0.5); } to { opacity: 1; transform: translateX(-50%) scaleY(1); } }

.statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.85rem); line-height: 1.28; letter-spacing: -0.005em; max-width: 26em; margin: 0; }

/* Principes / faits : trois colonnes séparées par un filet en tête */
.principles { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 4vw, 48px); }
.principles > .wp-block-column { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.principles h3 { margin-bottom: 0.45em; }
.principles p { color: var(--mist); margin: 0; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* Mise en avant de l'application (la nuit s'allume) */
.feature-app {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 10vw, 136px) var(--gutter);
  background:
    radial-gradient(ellipse 55% 70% at 78% 55%, rgba(238, 107, 147, 0.22), rgba(238, 107, 147, 0) 70%),
    radial-gradient(ellipse 40% 50% at 82% 40%, rgba(246, 203, 123, 0.12), rgba(246, 203, 123, 0) 70%),
    linear-gradient(180deg, #1a1233 0%, #241344 100%);
  border-block: 1px solid var(--line);
}
.feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; width: min(100%, var(--wrap)); margin-inline: auto; }
.feature-text h2 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.feature-text p { color: #e2d9ea; max-width: 30em; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--dawn) !important; margin-top: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 12px var(--dawn); }
.feature-visual { display: grid; place-items: center; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* Téléphone : capture d'écran dans un cadre */
.wp-block-image.phone { margin: 0; width: min(300px, 78vw); padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #2d2644, #0c0a14 55%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(238, 107, 147, 0.18); }
.wp-block-image.phone img { width: 100%; border-radius: 38px; }

/* ============================================================
   Pages intérieures
   ============================================================ */
.page-intro { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-intro h1 { margin-bottom: 0.3em; }
.page-intro .mail-xl { margin-top: 0.6em; }
.split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); align-items: start; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); position: sticky; top: calc(var(--head-h) + 32px); }
.split p { max-width: 38em; color: #e2d9ea; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split h2 { position: static; } }

/* Listes « terme + description » */
.skills, .facts { list-style: none; margin: 0; padding: 0; }
.skills li { padding: 24px 0; border-top: 1px solid var(--line); color: var(--mist); max-width: 40em; }
.skills li:first-child { border-top: 0; padding-top: 0; }
.skills li strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.6rem); color: var(--paper); margin-bottom: 4px; }
.facts { display: grid; gap: 10px; margin: 24px 0 0; }
.facts li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; color: var(--mist); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts li strong { font-weight: 500; color: var(--faint); }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 0; } }

/* Fiche d'application */
.app-entry { grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); align-items: center; }
.app-entry .app-icon { margin: 0; }
.app-entry .app-icon img { width: min(260px, 60vw); border-radius: 22%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 70px rgba(238, 107, 147, 0.25); }
.app-entry h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.app-entry p { color: #e2d9ea; max-width: 34em; }
@media (max-width: 860px) { .app-entry { grid-template-columns: 1fr; } }

/* ============================================================
   Vice Fitness : la nuit néon de l'application
   ============================================================ */
.layout-app .site-main { background: #0d0a17; }
.vf-hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(64px, 9vw, 110px) var(--gutter) calc(clamp(64px, 9vw, 110px) + 150px);
  background: linear-gradient(180deg, #0d0a17 0%, #1e1031 50%, #48183f 100%);
}
.vf-hero::before {
  content: ""; position: absolute; z-index: -2; left: 50%; bottom: 0; transform: translate(-50%, 45%);
  width: min(560px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a 0%, #ff9a6b 48%, #ff4f8b 100%);
  box-shadow: 0 0 90px rgba(255, 120, 140, 0.5);
  -webkit-mask: linear-gradient(180deg, #000 0 16%, transparent 16% 18.5%, #000 18.5% 24%, transparent 24% 27.5%, #000 27.5% 32%, transparent 32% 36.5%, #000 36.5% 40%, transparent 40% 45.5%, #000 45.5%);
          mask: linear-gradient(180deg, #000 0 16%, transparent 16% 18.5%, #000 18.5% 24%, transparent 24% 27.5%, #000 27.5% 32%, transparent 32% 36.5%, #000 36.5% 40%, transparent 40% 45.5%, #000 45.5%);
}
.vf-hero::after {
  content: ""; position: absolute; z-index: -1; left: -50%; right: -50%; bottom: -260px; height: 400px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 79, 163, 0.5) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(180deg, rgba(255, 79, 163, 0.5) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, #2a0f33, #0d0a17);
  transform: perspective(300px) rotateX(60deg); transform-origin: 50% 0;
  border-top: 1px solid #ff4fa3; box-shadow: 0 -8px 40px rgba(255, 79, 163, 0.55);
}
.vf-hero .vf-icon { margin: 0 auto 28px; width: 116px; }
.vf-hero .vf-icon img { border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 50px rgba(255, 79, 163, 0.45); }
.vf-hero h1 { font-family: var(--sans); font-weight: 800; font-style: italic; letter-spacing: -0.02em; font-size: clamp(3rem, 9vw, 6.4rem); color: #fff; text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 28px #ff4fa3, 0 0 70px rgba(255, 79, 163, 0.7); margin-bottom: 0.15em; }
.vf-hero .lead { margin: 0 auto 14px; font-family: var(--sans); font-size: clamp(1.15rem, 2vw, 1.4rem); color: #f3e8f6; }
.vf-hero .wp-block-buttons { justify-content: center; }
.vf-hero .wp-block-button__link { background: linear-gradient(90deg, #ff4fa3, #ff7a59); color: #fff; box-shadow: 0 0 26px rgba(255, 79, 163, 0.5); }
.vf-hero .wp-block-button__link:hover { box-shadow: 0 0 36px rgba(255, 79, 163, 0.8); }

.screens {
  display: flex; gap: clamp(16px, 2.4vw, 32px); justify-content: center; align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent;
}
.screens .phone { flex: none; width: min(230px, 64vw); scroll-snap-align: center; }
.screens .phone:nth-child(3) { width: min(270px, 70vw); }
.screens .phone:nth-child(1), .screens .phone:nth-child(5) { opacity: 0.75; }
@media (max-width: 1100px) { .screens { justify-content: flex-start; } }

.vf-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.vf-row .row-visual { display: grid; place-items: center; }
.vf-row h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.vf-row p { color: #ddd2e6; max-width: 30em; font-size: 1.1rem; }
.vf-row.is-reversed .row-text { order: 2; }
@media (max-width: 860px) { .vf-row { grid-template-columns: 1fr; } .vf-row.is-reversed .row-text { order: 0; } }
.layout-app .section + .section { border-top-color: rgba(255, 79, 163, 0.14); }
.layout-app .principles h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; }
.layout-app .principles > .wp-block-column { border-top-color: rgba(255, 79, 163, 0.45); }
.layout-app h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.fineprint p { font-size: 0.9rem; color: var(--faint); max-width: 52em; }

/* ============================================================
   Pages légales
   ============================================================ */
.entry-legal { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 88px); width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-bottom: 110px; }
.entry-legal > * { width: auto; margin-inline: 0; }
.entry-legal > .legal-intro { grid-column: 1 / -1; }
.updated { color: var(--faint); margin: 0; }
.toc { position: sticky; top: calc(var(--head-h) + 32px); align-self: start; padding-top: 56px; font-size: 0.95rem; }
.toc p { color: var(--faint); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { color: var(--mist); text-decoration: none; }
.toc a:hover { color: var(--paper); }
.legal-body { padding-top: 56px; max-width: 46em; }
.legal-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin: 2em 0 0.5em; scroll-margin-top: calc(var(--head-h) + 24px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.3rem; margin-top: 1.5em; }
.legal-body p, .legal-body li { color: #e2d9ea; }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin: 6px 0; }
.legal-body li::marker { color: var(--ember); }
.note { padding: 20px 24px; margin: 1em 0 1.4em; border-left: 2px solid var(--dawn); background: rgba(246, 203, 123, 0.06); border-radius: 0 12px 12px 0; }
.note p { color: var(--paper) !important; }
.table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.table th { color: var(--faint); font-weight: 500; }
.table td:first-child { color: #fff; }
@media (max-width: 900px) { .entry-legal { grid-template-columns: 1fr; } .toc { position: static; padding-top: 40px; } .legal-body { padding-top: 40px; } }
@media (max-width: 640px) { .table, .table tbody, .table tr, .table td { display: block; } .table thead { display: none; } .table td { border: 0; padding: 2px 0; } .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); } }

/* Identité de l'éditeur (shortcode) */
.id-list { list-style: none; padding: 0 !important; margin: 1em 0 1.4em; display: grid; gap: 8px; }
.id-list li { display: grid; grid-template-columns: 11em 1fr; gap: 16px; margin: 0 !important; }
.id-list li span:first-child { color: var(--faint); }
@media (max-width: 520px) { .id-list li { grid-template-columns: 1fr; gap: 0; } }
.todo { color: var(--dawn); border-bottom: 1px dashed rgba(246, 203, 123, 0.6); }

/* ============================================================
   Pied de page
   ============================================================ */
.site-foot { border-top: 1px solid var(--line); background: #110d22; color: var(--mist); font-size: 0.95rem; }
.foot-grid { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 56px; }
.foot-brand p { margin: 14px 0 0; max-width: 24em; }
.foot-grid h2 { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--faint); letter-spacing: 0; margin: 4px 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--paper); }
.foot-grid a:hover { text-decoration: underline; text-decoration-color: var(--ember); }
.foot-base { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 32px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--faint); }
.foot-base a { color: var(--mist); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Page introuvable */
.not-found { min-height: 60vh; display: grid; align-content: center; padding-block: 96px; }
.not-found p { color: var(--mist); }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
