/* Apprends ça — feuille de styles, version 3 « revue d'affaires »
   Mise en page : colonne de 1160 px, texte aligné à gauche. Accueil sur le schéma des infolettres
   qui convertissent : titre, une phrase, un seul champ courriel, auteur ; à droite, le vrai courriel
   dans un téléphone. Ensuite des sections calmes séparées par des filets, une seule bande foncée.
   Le jaune ne sert qu'aux boutons principaux et au point du logo. Les couleurs de rubrique ne
   servent qu'à identifier une rubrique (pastille). */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/public-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #13233D;
  --muted: #5A6477;
  --line: #DFE4EC;
  --line-strong: #C5CEDB;
  --link: #1F4FD1;
  --yellow: #FFD23F;
  --yellow-hover: #F5C518;
  --yellow-soft: #FFF6D6;
  --on-yellow: #13233D;
  --navy: #13233D;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B9C4D6;
  --focus: #1F4FD1;
  --shadow-phone: 0 40px 80px -30px rgba(19, 35, 61, .45), 0 2px 6px rgba(19, 35, 61, .08);
  --phone-backdrop: #FFF3C4;
  --avatar-bg: #13233D;
  --avatar-ink: #FFFFFF;

  --cyber: #C2412F;
  --ia: #5A45CF;
  --loi: #1F4FD1;
  --argent: #0E7A52;
  --local: #B26500;

  --good: #0E7A52; --good-soft: #E3F3EC;
  --warn: #8A5A00; --warn-soft: #FFF3D6;
  --bad: #B23A2B;  --bad-soft: #FBE9E6;

  /* Le courriel dans le téléphone garde toujours l'apparence d'un vrai courriel */
  --mail-bg: #FFFFFF;
  --mail-ink: #13233D;
  --mail-muted: #5A6477;
  --mail-note: #EAF0FC;

  --f-display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --r: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1627; --bg-alt: #131D31; --surface: #16223A; --ink: #E8EDF5; --muted: #A2AEC2;
    --line: #26324A; --line-strong: #35425E; --link: #8FB0FF;
    --yellow: #FFD23F; --yellow-hover: #FFDC66; --yellow-soft: #3A3316; --on-yellow: #13233D;
    --navy: #0A1120; --on-navy: #FFFFFF; --on-navy-muted: #A9B5CA; --focus: #8FB0FF;
    --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14);
    --phone-backdrop: #18243D;
    --avatar-bg: #FFD23F;
    --avatar-ink: #13233D;
    --cyber: #F08272; --ia: #A997FF; --loi: #8FB0FF; --argent: #4CCB95; --local: #F0A94F;
    --good: #4CCB95; --good-soft: #10302A; --warn: #F0B452; --warn-soft: #3A2C12; --bad: #F08272; --bad-soft: #3A1F1C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1627; --bg-alt: #131D31; --surface: #16223A; --ink: #E8EDF5; --muted: #A2AEC2;
  --line: #26324A; --line-strong: #35425E; --link: #8FB0FF;
  --yellow: #FFD23F; --yellow-hover: #FFDC66; --yellow-soft: #3A3316; --on-yellow: #13233D;
  --navy: #0A1120; --on-navy: #FFFFFF; --on-navy-muted: #A9B5CA; --focus: #8FB0FF;
  --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .14);
  --phone-backdrop: #18243D;
  --avatar-bg: #FFD23F;
  --avatar-ink: #13233D;
  --cyber: #F08272; --ia: #A997FF; --loi: #8FB0FF; --argent: #4CCB95; --local: #F0A94F;
  --good: #4CCB95; --good-soft: #10302A; --warn: #F0B452; --warn-soft: #3A2C12; --bad: #F08272; --bad-soft: #3A1F1C;
  color-scheme: dark;
}

/* Couleur d'identité d'une rubrique */
.c-cyber  { --c: var(--cyber); }
.c-ia     { --c: var(--ia); }
.c-loi    { --c: var(--loi); }
.c-argent { --c: var(--argent); }
.c-local  { --c: var(--local); }
.c-yellow { --c: var(--yellow); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.1; letter-spacing: -.012em; word-spacing: .06em; text-wrap: balance; margin: 0; color: var(--ink); }
h3, h4 { letter-spacing: 0; font-weight: 750; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--on-navy); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
.dot { color: var(--yellow); }
.note { font-size: 15px; font-weight: 700; color: var(--muted); }
.kicker { font-size: 15px; font-weight: 700; color: var(--muted); }

/* ---------- Bandeau et en-tête ---------- */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 14px; }
.topbar .wrap { padding-block: 8px; }
.topbar b { color: var(--on-navy); font-weight: 700; }

.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 18px; }
.logo { font: 800 25px/1 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 6px 28px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; padding-block: 4px; }
.nav a:hover { color: var(--link); }
.nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
@media (max-width: 820px) {
  .masthead .wrap { gap: 12px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 22px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .logo { font-size: 21px; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 10px; padding: 13px 20px;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); border-color: #E9B800; }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-ink, .btn-c { background: var(--navy); color: var(--on-navy); }
.btn-ink:hover, .btn-c:hover { background: #1E3457; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { font-size: 14.5px; padding: 9px 15px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Pastille de rubrique : le point porte la couleur, le texte reste à l'encre */
.tag { display: inline-flex; align-items: center; gap: 7px; font: 700 14px/1.2 var(--f-body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }
.tag-sponsor { font: 700 13px/1 var(--f-body); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 5px 8px; white-space: nowrap; }
.tag-sponsor::before { display: none; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }

/* ---------- Formulaire d'inscription ---------- */
.signup { display: grid; gap: 10px; max-width: 540px; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 230px; min-width: 0; font: 400 17px var(--f-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 13px 15px;
}
.signup input[type="email"]::placeholder { color: var(--muted); opacity: .9; }
.signup input[type="email"]:focus { outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent); border-color: var(--focus); }
.signup .btn { flex: 0 0 auto; }
@media (max-width: 480px) { .signup .btn { flex: 1 1 100%; } }
.signup-facts { font-size: 14.5px; color: var(--muted); }
.consent { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 62ch; }
.consent a { color: inherit; }
.signup-status { font-size: 15px; line-height: 1.5; padding: 11px 13px; border-radius: 10px; background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); }
.signup-embed iframe { max-width: 100%; }

/* ---------- Héros de l'accueil ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; max-width: 15ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); padding-top: 6px; }
.byline .avatar-sm { width: 40px; height: 40px; border-radius: 50%; background: var(--avatar-bg); color: var(--avatar-ink); display: grid; place-items: center; font: 800 14px var(--f-display); overflow: hidden; flex: none; }
.byline .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.byline b { color: var(--ink); }

/* Le téléphone */
.phone-zone { position: relative; display: grid; justify-items: center; min-width: 0; }

.phone { position: relative; z-index: 1; width: min(330px, 100%); border-radius: 44px; background: #0B1424; padding: 11px; box-shadow: var(--shadow-phone); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #0B1424; z-index: 2; }
.screen { border-radius: 34px; overflow: hidden; background: var(--mail-bg); color: var(--mail-ink); height: 590px; position: relative; font-family: var(--f-body); }
.screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--mail-bg)); }
.mail-head { background: #FFD23F; color: #13233D; padding: 50px 20px 16px; }
.mail-logo { font: 800 20px/1 var(--f-display); font-stretch: 112%; text-transform: uppercase; }
.mail-logo span { color: #1F4FD1; }
.mail-meta { font-size: 12px; margin-top: 6px; }
.mail-body { padding: 18px 20px; display: grid; gap: 11px; }
.mail-label { font-size: 12.5px; font-weight: 700; color: #1F4FD1; }
.mail-body h2 { font: 800 22px/1.15 var(--f-display); color: #13233D; letter-spacing: -.02em; }
.mail-body p { font-size: 14px; line-height: 1.55; color: #13233D; }
.mail-note { background: var(--mail-note); border-radius: 8px; padding: 10px 12px; }
.mail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mail-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; font-size: 13.5px; line-height: 1.5; color: #13233D; }
.mail-list li span:first-child { width: 22px; height: 22px; border-radius: 6px; background: #FFD23F; display: grid; place-items: center; font: 800 12px var(--f-display); }
@media (max-width: 900px) { .screen { height: 520px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(26px, 4vw, 40px); }
.section-head > div { display: grid; gap: 10px; max-width: 700px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 18px; max-width: 58ch; }

/* Ce que tu reçois : les rubriques dans l'ordre du courriel */
.rubriques { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; counter-reset: rub; border-top: 1px solid var(--line-strong); }
@media (max-width: 760px) { .rubriques { grid-template-columns: minmax(0, 1fr); } }
.rubriques li { counter-increment: rub; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.rubriques li::before { content: counter(rub, decimal-leading-zero); grid-row: span 2; font: 750 15px/1.6 var(--f-display); color: var(--muted); font-variant-numeric: tabular-nums; }
.rubriques h3 { font-size: 19px; }
.rubriques p { color: var(--muted); font-size: 16px; }
.features-note { margin-top: 24px; font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Liste des numéros */
.issues { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.issue-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.issue-row .when { display: grid; gap: 6px; }
.issue-row .date { font-size: 15px; font-weight: 700; }
.issue-row .num { font-size: 14px; color: var(--muted); }
.issue-row h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 6px; }
.issue-row p { color: var(--muted); font-size: 16px; max-width: 62ch; }
.issue-row .tag { margin-bottom: 8px; }
.issue-row .act { font-size: 15px; white-space: nowrap; }
.issue-row .act.soon { color: var(--muted); }
@media (max-width: 700px) { .issue-row { grid-template-columns: minmax(0, 1fr); } .issue-row .when { grid-auto-flow: column; justify-content: start; gap: 12px; } }

/* Engagements */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
@media (max-width: 860px) { .rules { grid-template-columns: minmax(0, 1fr); } }
.rule { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.rule h3 { font-size: 20px; letter-spacing: 0; }
.rule p { color: var(--muted); }

/* Bande diagnostic */
.promo { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; }
@media (max-width: 800px) { .promo { grid-template-columns: minmax(0, 1fr); } }
.promo h2 { font-size: clamp(30px, 4vw, 44px); color: var(--on-navy); }
.promo p { color: var(--on-navy-muted); font-size: 18px; margin-top: 14px; max-width: 50ch; }
.promo-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; color: var(--on-navy); }
.promo-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.promo-facts svg { width: 20px; height: 20px; color: var(--yellow); margin-top: 3px; }

/* Qui écrit */
.author { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: center; max-width: 820px; }
@media (max-width: 560px) { .author { grid-template-columns: minmax(0, 1fr); } }
.author.card { padding: clamp(20px, 3vw, 32px); }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--avatar-bg); color: var(--avatar-ink); display: grid; place-items: center; font: 800 38px/1 var(--f-display); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author h3 { font-size: clamp(24px, 3vw, 30px); margin-top: 6px; }
.author p { color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line-strong); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 19px/1.35 var(--f-display); letter-spacing: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* Appel final */
.final { background: var(--bg-alt); border-radius: 18px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 56px; align-items: center; }
.final > .note, .final > h2 { grid-column: 1; }
.final > .signup, .final > .actions { grid-column: 2; grid-row: 1 / span 3; }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 18ch; }
@media (max-width: 860px) { .final { grid-template-columns: minmax(0, 1fr); } .final > .signup, .final > .actions { grid-column: 1; grid-row: auto; } }

/* ---------- Pied de page ---------- */
.site-foot { background: var(--navy); color: var(--on-navy); padding-block: 52px 40px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }
.site-foot .logo { color: var(--on-navy); font-size: 22px; }
.site-foot h4 { font: 700 14px var(--f-body); letter-spacing: 0; color: var(--on-navy-muted); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-foot a { color: var(--on-navy); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot a.btn { color: var(--on-yellow); }
.site-foot a.btn:hover { text-decoration: none; }
.foot-id { display: grid; gap: 12px; font-size: 15px; color: var(--on-navy-muted); }
.foot-cats a { display: inline-flex; align-items: center; gap: 8px; }
.foot-cats a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; font-size: 13.5px; color: var(--on-navy-muted); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

/* ---------- Pages intérieures ---------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 72px); }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -.02em; max-width: 18ch; }
.page-head .lead { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 22px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .todo { background: var(--yellow-soft); padding: 1px 5px; border-radius: 4px; }
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: 16px; }

/* Tableaux */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 700 14px/1.3 var(--f-body); color: var(--muted); background: var(--bg-alt); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th { font-weight: 700; }
.tier-now { background: var(--yellow-soft); }
.scroll-hint { display: none; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 760px) { .scroll-hint { display: block; } }

/* Kit : schéma d'une édition */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.schema { overflow: hidden; max-width: 440px; }
.schema-head { background: var(--yellow); color: var(--on-yellow); font: 800 16px var(--f-display); font-stretch: 112%; text-transform: uppercase; padding: 14px 16px; }
.schema-head .dot { color: #1F4FD1; }
.schema ol { list-style: none; margin: 0; padding: 12px; display: grid; gap: 6px; }
.schema li { border-radius: 8px; padding: 10px 12px; font-size: 14.5px; background: var(--bg-alt); color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.schema li.paid { background: var(--yellow-soft); color: var(--ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--line-strong); }
.schema li.paid span:last-child { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.schema li.big { padding-block: 18px; }
.formats { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.format { padding-block: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.format.card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.format h3 { font-size: 19px; letter-spacing: 0; }
.format p { color: var(--muted); font-size: 16px; }
.formats > p { padding-top: 14px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { padding: 20px; display: grid; gap: 4px; }
.stat b { font: 800 32px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }

.lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 700px) { .lists { grid-template-columns: minmax(0, 1fr); } }
.list-card { padding: 22px 24px; }
.list-card h3 { font-size: 19px; margin-bottom: 12px; }
.list-card ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: s; max-width: 780px; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding-block: 16px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--on-navy); display: grid; place-items: center; font: 700 15px var(--f-body); }
.steps b { display: block; }
.steps span { color: var(--muted); }

.contact-card { padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; max-width: 660px; }
.contact-card h3 { font-size: 24px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.contact-line code { font: 600 16px var(--f-body); background: var(--bg-alt); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; user-select: all; }

/* ---------- Diagnostic ---------- */
.diag { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .diag { grid-template-columns: minmax(0, 1fr); } }
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: q; }
.q { counter-increment: q; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 12px; transition: border-color .15s ease; }
.q.answered { border-color: var(--line-strong); background: var(--bg-alt); }
.q legend { display: contents; }
.q fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.q-text { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.q-text::before { content: counter(q); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--on-navy); display: grid; place-items: center; font: 700 14px var(--f-body); }
.q-hint { font-weight: 400; font-size: 14.5px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 46px; }
@media (max-width: 480px) { .choices { padding-left: 0; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-size: 15px; font-weight: 700; background: var(--surface); color: var(--ink); cursor: pointer; user-select: none; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice.yes input:checked + span { background: var(--good-soft); border-color: var(--good); color: var(--good); }
.choice.no input:checked + span { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.choice.idk input:checked + span { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
@media (prefers-reduced-motion: reduce) { .q { transition: none; } }

.diag-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 20px); display: grid; gap: 14px; }
@media (max-width: 960px) { .diag-side { position: static; } }
.meter-card { padding: 20px; display: grid; gap: 12px; }
.meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--navy); transition: width .25s ease; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .meter i { background: var(--link); } }
:root[data-theme="dark"] .meter i { background: var(--link); }
@media (prefers-reduced-motion: reduce) { .meter i { transition: none; } }
.meter-label { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.disclaimer { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.result { margin-top: 44px; display: grid; gap: 28px; }
.score-card { border-radius: 16px; padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; border: 1px solid var(--line); }
@media (max-width: 560px) { .score-card { grid-template-columns: minmax(0, 1fr); } }
.score-card.lvl-bad { background: var(--bad-soft); }
.score-card.lvl-warn { background: var(--warn-soft); }
.score-card.lvl-good { background: var(--good-soft); }
.score { font: 800 clamp(64px, 10vw, 96px)/.9 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.score small { font-size: .32em; font-weight: 700; color: var(--muted); }
.lvl-bad .score { color: var(--bad); }
.lvl-warn .score { color: var(--warn); }
.lvl-good .score { color: var(--good); }
.score-card h2 { font-size: clamp(24px, 3vw, 32px); }
.score-card p { color: var(--muted); margin-top: 8px; max-width: 58ch; }
.fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: f; }
.fix { counter-increment: f; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; }
.fix-top { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; justify-content: space-between; }
.fix h3 { font-size: 20px; letter-spacing: 0; }
.fix h3::before { content: counter(f) ". "; color: var(--muted); }
.pill { font: 700 13px/1 var(--f-body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill.no { background: var(--bad-soft); color: var(--bad); }
.pill.idk { background: var(--warn-soft); color: var(--warn); }
.fix p { color: var(--muted); font-size: 16px; }
.fix p b { color: var(--ink); }
.fix .ref { font-size: 13.5px; color: var(--muted); }
.done-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); }
.result-cta { background: var(--navy); color: var(--on-navy); border-radius: 18px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.result-cta h2 { font-size: clamp(24px, 3vw, 34px); color: var(--on-navy); }
.result-cta p, .result-cta .consent, .result-cta .signup-facts { color: var(--on-navy-muted); }
.result-cta .kicker { color: var(--yellow); }
.result-cta .signup-status { background: rgba(255,255,255,.08); color: var(--on-navy); border-color: rgba(255,255,255,.18); }
.result-cta .signup input[type="email"] { background: #FFFFFF; color: #13233D; border-color: #FFFFFF; }

/* ---------- Archives ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { font: 700 14.5px/1 var(--f-body); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 9px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.filters button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, transparent); }
.filters button.all::before { display: none; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.empty { padding: 22px; color: var(--muted); margin-top: 16px; }

/* ---------- Extrait ---------- */
.extrait { padding: clamp(24px, 4vw, 44px); }
.extrait .prose { max-width: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before { content: attr(data-n); width: 26px; height: 26px; border-radius: 7px; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; font: 800 13px var(--f-display); margin-top: 2px; }

/* ---------- 404 / merci ---------- */
.center-page { min-height: 55vh; display: grid; align-items: center; }
.big-num { font: 800 clamp(88px, 15vw, 160px)/.9 var(--f-display); color: var(--ink); letter-spacing: -.04em; }

/* Espace publicitaire de l'accueil (caché tant que pubMaison vaut false) */
.adslot-section { padding-block: clamp(32px, 5vw, 56px); }
.ad { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 20px 24px; color: var(--ink); text-decoration: none; }
.ad:hover { border-color: var(--ink); }
.ad strong { font: 800 20px/1.25 var(--f-display); letter-spacing: -.01em; display: block; }
.ad .muted { font-size: 15px; }
@media (max-width: 760px) { .ad { grid-template-columns: minmax(0, 1fr); } }

/* Section collée à la précédente : ni marge du haut ni filet */
.section.tight { padding-top: 0; border-top: 0; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promo { background: var(--surface); border: 1px solid var(--line-strong); } }
:root[data-theme="dark"] .promo { background: var(--surface); border: 1px solid var(--line-strong); }
.col-sem { width: 3.5rem; }
