/* Feuille de style de la page d'accueil publique (app/frontend/index.html).
   Autonome : les jetons de l'application (app/frontend/styles.css, lignes 26 à 74, et le bloc sombre)
   sont recopiés, sans lien vers styles.css (91 Ko, texte non sélectionnable). Aucune ressource externe,
   aucune police chargée : piles système. Thème sombre par prefers-color-scheme. */
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f1f4f9;
  --surface-blue: #f3f6ff;
  --border: #e4e8ef;
  --text: #152033;
  --muted: #5b6679;
  --accent: #3157d5;
  --accent-text: #3157d5;
  --accent-soft: #e9eeff;
  --accent-dark: #1f3ea6;
  --success: #23755a;
  --warning: #8a5a12;
  --focus: #3157d5;
  --shadow: 0 14px 42px rgba(25, 38, 70, .075);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "STIX Two Text", "Latin Modern Roman", "DejaVu Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  /* Ajouts de la mise en scène, tirés des mêmes teintes. */
  --shadow-lift: 0 24px 60px rgba(25, 38, 70, .16);
  --header-bg: rgba(245, 247, 251, .86);
  --watermark: rgba(49, 87, 213, .075);
  --grid-line: rgba(49, 87, 213, .065);
  --bezel: #152033;
  --screen-filter: none;
  --panel: radial-gradient(circle at top right, rgba(255, 255, 255, .26), transparent 30%), linear-gradient(145deg, #2f55d4, #213a8c);
  --band: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .07), transparent 40%), linear-gradient(145deg, #162238, #253b65);
  --band-border: transparent;
  --partial-text: #795c16;
  --partial-bg: #fff5d9;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e1420;
    --surface: #161e2e;
    --surface-soft: #1e2738;
    --surface-blue: #1a2440;
    --border: #2c374b;
    --text: #e6ebf4;
    --muted: #a5afc2;
    --accent: #4a67d6;
    --accent-text: #8ca4ff;
    --accent-soft: #1f2b52;
    --accent-dark: #a9bbff;
    --success: #5fcf9f;
    --warning: #f0b35a;
    --focus: #9db4ff;
    --shadow: 0 14px 42px rgba(0, 0, 0, .35);
    --shadow-lift: 0 24px 60px rgba(0, 0, 0, .5);
    --header-bg: rgba(14, 20, 32, .86);
    --watermark: rgba(140, 164, 255, .07);
    --grid-line: rgba(140, 164, 255, .055);
    --bezel: #05080f;
    --screen-filter: brightness(.9);
    --band: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .06), transparent 40%), linear-gradient(145deg, #172440, #24395f);
    --band-border: rgba(255, 255, 255, .07);
    --partial-text: #f0b35a;
    --partial-bg: rgba(240, 179, 90, .14);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 750; }
p, ul, ol, figure { margin: 0; }
a { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--text); color: var(--surface); font-weight: 700; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.nb { white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 15.5px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--text); color: var(--surface); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--muted); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions .btn { flex: 1 1 100%; } }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-size: 17px; font-weight: 750; letter-spacing: -.015em; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--text); color: var(--surface); }
.brand-mark svg { width: 21px; height: 21px; }
.main-nav { display: none; margin-left: auto; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 550; text-decoration: none; }
.main-nav a:hover { color: var(--text); background: var(--surface-soft); }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.header-signup { display: none; }
@media (min-width: 820px) { .main-nav { display: flex; } .header-actions { margin-left: 12px; } }
@media (min-width: 1080px) { .header-signup { display: inline-flex; } }

/* ---------- Accueil (deux colonnes, tablette dessinée) ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(36px, 6vw, 88px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(36px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -.045em; }
.swash { position: relative; white-space: nowrap; }
.swash svg { position: absolute; left: -1%; bottom: -.16em; width: 102%; height: .3em; color: var(--accent-text); overflow: visible; pointer-events: none; }
.lead { max-width: 33em; margin-bottom: 28px; color: var(--muted); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; }
.hero-meta { display: grid; gap: 12px; margin-top: 26px; max-width: 34em; }
.audience { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14.5px; font-weight: 500; }
.audience::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 18%, transparent); }
.ai-line { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.ai-tag { flex: none; padding: 1px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.ai-line a { font-weight: 600; }
.hero-tariffs { color: var(--muted); font-size: 14px; }
.hero-tariffs a { font-weight: 650; }

.hero-visual { position: relative; isolation: isolate; display: grid; justify-items: center; width: 100%; max-width: 580px; margin-inline: auto; padding: 26px 0 72px; }
.panel { position: absolute; z-index: -1; inset: 9% 0 6% 20%; overflow: hidden; border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); }
.panel::before, .panel::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .13); border-radius: 50%; }
.panel::before { width: 320px; height: 320px; right: -140px; top: -120px; }
.panel::after { width: 220px; height: 220px; left: -110px; bottom: -90px; }
.panel-glyph { position: absolute; right: 4%; top: 4%; color: rgba(255, 255, 255, .2); font-family: var(--serif); font-size: clamp(64px, 8.5vw, 124px); line-height: 1; }
.watermark { position: absolute; z-index: -2; color: var(--watermark); font-family: var(--serif); line-height: 1; pointer-events: none; -webkit-user-select: none; user-select: none; }
.wm-int { left: -2%; top: -6%; font-size: clamp(130px, 16vw, 230px); }
.tablet-wrap { position: relative; width: min(330px, 66%); }
.tablet { padding: 12px; border-radius: 34px; background: var(--bezel); box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.screen { position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 820 / 1180; background: #f5f7fb; filter: var(--screen-filter); }
.screen > svg, .screen > img { display: block; width: 100%; height: 100%; }
/* Pointe du stylet au bout de la troisième ligne écrite ; corps vers le bas à droite (main droite). */
.stylus { position: absolute; z-index: 3; left: 56.5%; top: 58.5%; width: 46%; pointer-events: none; filter: drop-shadow(0 10px 10px rgba(21, 32, 51, .28)); }
.float-card { position: absolute; z-index: 4; left: -30%; bottom: -8%; width: clamp(196px, 80%, 266px); padding: 13px 15px 11px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lift); font-size: 12.5px; line-height: 1.45; }
.float-card .verdict { display: inline-flex; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--partial-bg); color: var(--partial-text); font-size: 12px; font-weight: 750; }
.float-card p { margin-top: 6px; color: var(--muted); }
.float-card strong { display: block; color: var(--text); font-weight: 700; }
.float-card .ia { margin-top: 9px; padding-top: 7px; border-top: 1px solid var(--border); font-size: 11px; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }
}
@media (max-width: 599px) {
  .hero-visual { padding-bottom: 88px; }
  .tablet-wrap { width: 62%; transform: translateX(12%); }
  .tablet { padding: 9px; border-radius: 26px; }
  .screen { border-radius: 17px; }
  .float-card { left: -40%; bottom: -19%; width: 186px; padding: 10px 12px 9px; font-size: 11.5px; }
  .float-card .ia { display: none; }
  .panel { inset: 9% 0 6% 12%; border-radius: 22px; }
}

/* ---------- Chiffres vrais ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--border); box-shadow: var(--shadow); }
.stat { position: relative; padding: clamp(18px, 2.4vw, 26px) clamp(16px, 2.4vw, 26px); background: var(--surface); }
.stat-value { display: block; font-size: clamp(28px, 3.3vw, 40px); font-weight: 760; letter-spacing: -.04em; line-height: 1.1; }
.stat-value small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.stat-label { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.stat-glyph { position: absolute; top: 14px; right: 18px; color: var(--accent-text); font-family: var(--serif); font-size: 22px; line-height: 1; opacity: .45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 479px) { .stat-glyph { display: none; } }

/* ---------- Sections ---------- */
.section { padding-top: clamp(72px, 9vw, 124px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--accent-text); font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
h2 { margin-bottom: 14px; font-size: clamp(29px, 3.7vw, 44px); line-height: 1.08; letter-spacing: -.038em; }
.section-lead { color: var(--muted); font-size: clamp(16.5px, 1.4vw, 18.5px); }
.two-col { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }

/* ---------- Cadres de capture ---------- */
.capture figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.soon { display: inline-flex; padding: 2px 8px; border: 1px dashed var(--muted); border-radius: 999px; font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.window { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lift); }
.window-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.window-url { flex: 0 1 260px; margin-inline: auto; overflow: hidden; padding: 2px 10px; border-radius: 7px; background: var(--surface-soft); color: var(--muted); font-size: 11.5px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.window-bar::after { content: ""; width: 39px; }
.window .screen { border-radius: 0; aspect-ratio: 1440 / 900; }
.screen-wrap { position: relative; }
.phone-stage { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 28px 0 0; }
.phone-stage::before { content: ""; position: absolute; z-index: -1; inset: 12% 2% 9%; border: 1px solid var(--border); border-radius: 28px; background-color: var(--surface-blue); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 22px 22px; }
.phone { position: relative; width: min(290px, 78%); padding: 10px; border-radius: 46px; background: var(--bezel); box-shadow: var(--shadow-lift), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.phone .screen { border-radius: 36px; aspect-ratio: 390 / 844; }
.island { position: absolute; z-index: 2; top: 20px; left: 50%; width: 30%; height: 22px; border-radius: 12px; background: #000; transform: translateX(-50%); }
.phone-figure figcaption { justify-content: center; text-align: center; }

/* Écrans évoqués : couleurs fixes de l'application en clair, comme le seront les captures. */
.scr text { font-family: var(--sans); fill: #152033; }
.scr .bg { fill: #f5f7fb; }
.scr .sf { fill: #fff; stroke: #e4e8ef; stroke-width: 2; }
.scr .sf0 { fill: #fff; }
.scr .soft { fill: #f1f4f9; }
.scr .bar { fill: #e1e6ee; }
.scr .track { fill: #e4e8ef; }
.scr .ink-d { fill: #152033; }
.scr .acc { fill: #3157d5; }
.scr .acc-s { fill: #e9eeff; }
.scr .ok-s { fill: #e9f7f1; }
.scr .warn-s { fill: #fff5d9; }
.scr .bad-s { fill: #fff0ed; }
.scr .line { stroke: #e4e8ef; stroke-width: 2; }
.scr .rule { stroke: #e2e7f0; stroke-width: 2; }
.scr .ink { fill: none; stroke: #2a43a6; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scr .t-mu { fill: #5b6679; }
.scr .t-w { fill: #fff; }
.scr .t-acc { fill: #1f3ea6; }
.scr .t-ok { fill: #23755a; }
.scr .t-warn { fill: #795c16; }
.scr .t-bad { fill: #9a4438; }
.scr .b { font-weight: 700; }
.scr .eb { fill: #5b6679; font-weight: 700; letter-spacing: .14em; }
.scr .serif { font-family: var(--serif); }
.scr .mono { font-family: var(--mono); }
.scr .hand { font-family: var(--serif); font-style: italic; fill: #2a43a6; }

/* ---------- Fonctionnement ---------- */
.steps { position: relative; display: grid; gap: 6px; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 22px; top: 40px; bottom: 40px; border-left: 1.5px dashed var(--border); }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 12px 0; }
.step-num { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--accent-text); font-family: var(--serif); font-size: 21px; font-weight: 700; box-shadow: var(--shadow); }
.step h3 { margin: 9px 0 6px; font-size: 18.5px; letter-spacing: -.015em; }
.step p { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding: 0; list-style: none; }
.chips li { padding: 4px 9px; border-radius: 8px; background: var(--surface-soft); color: var(--muted); font-family: var(--mono); font-size: 12px; }
@media (min-width: 1000px) { .how { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }

/* ---------- Trois façons de rendre une copie ---------- */
.modes { display: grid; gap: 18px; }
.mode { display: flex; flex-direction: column; padding: 12px 12px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.crop { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; aspect-ratio: 4 / 3; background: #f5f7fb; filter: var(--screen-filter); }
.crop svg { display: block; width: 100%; height: 100%; }
.mode-body { padding: 18px 10px 0; }
.mode-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.mode-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.mode h3 { font-size: 19px; letter-spacing: -.015em; }
.mode p { color: var(--muted); font-size: 15px; }
.mode code { padding: 1px 5px; border-radius: 5px; background: var(--surface-soft); color: var(--text); font-family: var(--mono); font-size: .9em; }
@media (min-width: 860px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Correction annotée ---------- */
.marker { position: absolute; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 750; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent), 0 4px 12px rgba(21, 32, 51, .25); }
/* Positions des pastilles, en % de la capture : à replacer quand l'image remplacera le dessin. */
.marker-1 { left: 22.2%; top: 48.8%; }
.marker-2 { left: 60.4%; top: 48.8%; }
.marker-3 { left: 22.2%; top: 72.6%; }
.marker-4 { left: 22.2%; top: 90%; }
.legend { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.legend li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.legend .n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-size: 14px; font-weight: 750; }
.legend strong { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.legend span { color: var(--muted); font-size: 15px; }
.dispute { display: flex; gap: 12px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-blue); font-size: 15px; }
.dispute .ico { color: var(--accent-text); margin-top: 1px; }
@media (min-width: 1000px) { .correction { grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); } }
@media (max-width: 599px) { .marker { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; } }

/* ---------- Réviser ---------- */
.tiles { display: grid; gap: 14px; }
.tile { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.tile-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.tile-icon .ico { width: 24px; height: 24px; }
.tile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 2px 0 6px; }
.tile h3 { font-size: 18px; letter-spacing: -.015em; }
.duration { padding: 2px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.tile p { color: var(--muted); font-size: 15px; }
.prep-note { margin-top: 16px; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .revise { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---------- Une semaine type ---------- */
.week-card { padding: clamp(22px, 3.4vw, 36px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.week { position: relative; display: grid; gap: 4px; padding: 0; list-style: none; }
.week::before { content: ""; position: absolute; left: 22px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--border), var(--accent-soft), var(--border)); }
.day { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: center; padding: 8px 0; }
.node { position: relative; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); font-size: 13px; font-weight: 750; }
.node abbr { text-decoration: none; }
.day h3 { font-size: 15.5px; letter-spacing: -.01em; }
.day p { color: var(--muted); font-size: 14px; }
.day.key .node { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 5px var(--accent-soft); }
.day.rest .node { border-style: dashed; color: var(--muted); }
.day.rest h3 { color: var(--muted); font-weight: 600; }
.week-foot { display: grid; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.exam { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 650; }
.exam .duration { background: var(--accent-soft); color: var(--accent-dark); }
.disclaimer { color: var(--muted); font-size: 13.5px; }
@media (min-width: 900px) {
  .week { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .week::before { left: 10%; right: 10%; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--border), var(--accent-soft), var(--border)); }
  .day { grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 12px; padding: 0 6px; text-align: center; }
}
.progress-block { margin-top: clamp(40px, 6vw, 72px); }
.progress-text h3 { margin-bottom: 12px; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.progress-text p { color: var(--muted); }
.progress-text p + p { margin-top: 12px; }
@media (min-width: 1000px) { .progress-block { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }

/* ---------- Transparence (bandeau sombre de l'application) ---------- */
.band { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 60px); border: 1px solid var(--band-border); border-radius: var(--radius-lg); background: var(--band); color: #fff; box-shadow: var(--shadow); }
.band .eyebrow { color: #a9bbff; }
.band h2 { color: #fff; }
.band .section-lead { color: rgba(255, 255, 255, .74); }
.band a { color: #c7d4ff; }
.band-glyph { position: absolute; right: -2%; bottom: -18%; color: rgba(255, 255, 255, .045); font-family: var(--serif); font-size: clamp(200px, 26vw, 360px); line-height: 1; pointer-events: none; }
.band-grid { position: relative; display: grid; gap: 32px; }
.ai-list { display: grid; gap: 18px; margin-top: 30px; padding: 0; list-style: none; }
.ai-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; color: rgba(255, 255, 255, .9); font-size: 15.5px; }
.ai-list .n { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; font-family: var(--serif); font-size: 16px; }
.sent { align-self: start; padding: 24px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.sent h3 { margin-bottom: 16px; color: #fff; font-size: 16.5px; }
.sent ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.sent li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: rgba(255, 255, 255, .86); font-size: 15px; }
.yes, .no { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; }
.yes { background: rgba(95, 207, 159, .16); color: #8fe0bd; }
.no { background: rgba(255, 138, 122, .16); color: #ffb4a8; }
.sent-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .13); color: rgba(255, 255, 255, .8); font-size: 14px; }
.sent-foot strong { color: #fff; }
@media (min-width: 960px) { .band-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } .sent { margin-top: 8px; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; gap: 28px; }
.price-group { display: grid; gap: 14px; align-content: start; }
.group-label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.plan.launch { border: 2px solid var(--accent-text); padding: 25px 23px 23px; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 22px 22px; box-shadow: var(--shadow-lift); }
.plan-name { margin-bottom: 14px; font-size: 16px; letter-spacing: -.01em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.amount { font-size: clamp(38px, 4vw, 48px); font-weight: 780; letter-spacing: -.045em; line-height: 1; }
.per { color: var(--muted); font-size: 15px; }
.price-note { margin-top: 8px; color: var(--muted); font-size: 14px; }
.checks { display: grid; gap: 10px; margin-top: 20px; padding: 20px 0 0; border-top: 1px solid var(--border); list-style: none; font-size: 15px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 7.5px; top: calc(.2em + 4.5px); width: 5px; height: 9px; border: solid var(--accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-foot { margin-top: auto; padding-top: 22px; }
.later { display: inline-flex; padding: 4px 10px; border: 1px dashed var(--muted); border-radius: 999px; color: var(--muted); font-size: 12.5px; font-weight: 650; }
.plan .btn { width: 100%; }
.price-notes { display: grid; gap: 6px; margin-top: 10px; padding: 18px 20px; border: 1px dashed var(--border); border-radius: var(--radius-md); list-style: none; color: var(--muted); font-size: 14px; }
.price-notes li { display: flex; gap: 10px; }
.price-notes li::before { content: "·"; color: var(--accent-text); font-weight: 800; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pricing { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; } }

/* ---------- Questions ---------- */
.faq-layout { display: grid; gap: 28px; align-items: start; }
.faq-aside p { color: var(--muted); }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 2px; cursor: pointer; font-size: 17px; font-weight: 650; letter-spacing: -.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 50%; background: linear-gradient(var(--text), var(--text)) center / 11px 1.6px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.6px 11px no-repeat, var(--surface); }
.faq details[open] summary::after { background: linear-gradient(var(--text), var(--text)) center / 11px 1.6px no-repeat, var(--surface); }
.faq .answer { max-width: 46em; padding: 0 2px 22px; color: var(--muted); font-size: 15.5px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 56px; } .faq-aside { position: sticky; top: 100px; } }

/* ---------- Dernier appel et vidéo ---------- */
.closing { display: grid; gap: 32px; align-items: center; padding: clamp(24px, 4.5vw, 52px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.closing h2 { font-size: clamp(27px, 3.2vw, 38px); }
.closing .section-lead { margin-bottom: 24px; }
.closing .audience { margin-top: 20px; }
.video { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; aspect-ratio: 16 / 9; padding: 16px; border: 1.5px dashed var(--border); border-radius: 18px; background-color: var(--surface-soft); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 22px 22px; color: var(--muted); text-align: center; }
.play { width: 58px; height: 58px; display: grid; place-items: center; border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--accent-text); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.video strong { color: var(--text); font-size: 15px; }
.video span { font-size: 13px; }
@media (min-width: 960px) { .closing { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: clamp(72px, 9vw, 120px); padding: 34px 0 44px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 22px; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-note { margin-top: 14px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
