/* Apprends ça — feuille de styles, version 4 « revue d'affaires »
   Fond blanc partout (pas de mode sombre). Titres en Newsreader (serif de presse), texte en
   Public Sans, logo en Archivo large.
   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
   de l'édition 1, posé sur la pile des numéros suivants. 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: "Newsreader"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo Logo"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/archivo-logo.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;
  --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;

  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-logo: "Archivo Logo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

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


/* 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: 600; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance; margin: 0; color: var(--ink); }
h3, h4 { letter-spacing: -.005em; font-weight: 600; line-height: 1.2; }
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-logo); 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 { min-width: 0; }
.signup-embed iframe { width: 100%; max-width: 100%; border: 0; display: block; }

/* ---------- 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.05fr) minmax(0, .95fr); 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(44px, 5.8vw, 70px); font-weight: 600; letter-spacing: -.022em; line-height: 1.02; max-width: 14.5ch; }
.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: 700 14px var(--f-body); overflow: hidden; flex: none; }
.byline .avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.byline b { color: var(--ink); }

/* L'aperçu du courriel : l'édition 1 posée sur la pile des numéros suivants */
.edition-zone { margin: 0; min-width: 0; width: min(520px, 100%); justify-self: end; display: grid; gap: 14px; }
@media (max-width: 900px) { .edition-zone { justify-self: start; } }
.edition-stack { position: relative; margin: 10px 14px 18px 4px; }
.edition-stack::before, .edition-stack::after { content: ""; position: absolute; inset: 0; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: 0 2px 6px rgba(19, 35, 61, .06); }
.edition-stack::before { background: #EEF2F8; transform: rotate(5.5deg); transform-origin: 30% 60%; }
.edition-stack::after { background: #F7F9FC; transform: rotate(2.6deg); transform-origin: 30% 60%; }
.edition { position: relative; z-index: 1; background: #FFFFFF; color: #13233D; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 64px -28px rgba(19, 35, 61, .42), 0 2px 6px rgba(19, 35, 61, .06); }
.ed-from { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ed-avatar { width: 42px; height: 42px; border-radius: 10px; display: block; }
.ed-from b { display: block; font-size: 15.5px; line-height: 1.3; }
.ed-from div > span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.ed-from time { font-size: 13.5px; color: var(--muted); white-space: nowrap; align-self: start; padding-top: 3px; }
.ed-body { padding: 22px 24px 26px; display: grid; gap: 12px; }
.ed-body .ed-title { font: 600 clamp(27px, 3vw, 33px)/1.08 var(--f-display); letter-spacing: -.018em; text-wrap: balance; }
.ed-body p { font-size: 15.5px; line-height: 1.6; }
.ed-note { background: var(--bg-alt); border-left: 3px solid var(--loi); border-radius: 0 8px 8px 0; padding: 11px 14px; }
.ed-body .ed-todo-title { font-weight: 700; padding-top: 4px; }
.ed-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: todo; }
.ed-todo li { counter-increment: todo; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.5; }
.ed-todo li::before { content: counter(todo); width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #FFFFFF; display: grid; place-items: center; font: 700 12.5px var(--f-body); margin-top: 1px; }
.edition-zone figcaption { font-size: 14.5px; color: var(--muted); }
@media (max-width: 520px) {
  .edition-stack { margin: 6px 8px 14px 2px; }
  .edition-stack::before { transform: rotate(3.5deg); }
  .edition-stack::after { transform: rotate(1.7deg); }
  .ed-from { padding: 14px 16px; }
  .ed-body { padding: 18px 18px 22px; }
}

/* ---------- 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: 700 14px/1.75 var(--f-body); 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: 700 36px/1 var(--f-body); }
.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: 600 20px/1.35 var(--f-display); letter-spacing: -.005em; }
.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); 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-left: 3px solid var(--c, var(--line-strong)); border-radius: 0 10px 10px 0; padding: 14px 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(--surface); color: var(--ink); font: 800 16px var(--f-logo); text-transform: uppercase; padding: 14px 16px; border-bottom: 2px solid var(--ink); }
.schema-head .dot { color: var(--yellow); }
.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: 600 34px/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-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: 600 clamp(64px, 10vw, 96px)/.9 var(--f-display); font-variant-numeric: lining-nums 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: 50%; background: var(--navy); color: var(--on-navy); display: grid; place-items: center; font: 700 13px var(--f-body); margin-top: 2px; }

/* ---------- 404 / merci ---------- */
.center-page { min-height: 55vh; display: grid; align-items: center; }
.big-num { font: 600 clamp(88px, 15vw, 160px)/.9 var(--f-display); font-variant-numeric: lining-nums; 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: 600 21px/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; }

.col-sem { width: 3.5rem; }

/* ---------- Boîte à outils ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15.5px; padding-top: 4px; }
.jump a { color: var(--ink); font-weight: 700; text-decoration-color: var(--line-strong); }
.jump a:hover { text-decoration-color: var(--ink); }
.tool-group { font: 700 15px/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin: 40px 0 0; padding-bottom: 12px; }
.section-head + .tool-group { margin-top: 0; }
.tools { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.tool-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 10px 32px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.tool-id { display: flex; gap: 12px; align-items: center; }
.tool-logo { width: 44px; height: 44px; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #FFFFFF; }
.tool-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.tool-row h4 { font-size: 23px; letter-spacing: -.01em; }
.tool-maker { font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.tool-what { display: grid; gap: 6px; max-width: 64ch; }
.tool-what p { font-size: 16px; color: var(--muted); }
.tool-what .tool-fact { color: var(--ink); font-size: 15.5px; }
.tool-act { display: grid; justify-items: end; gap: 6px; padding-top: 2px; }
.tool-act .btn { white-space: nowrap; }
.aff-note { font-size: 12.5px; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) {
  .tool-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tool-act { justify-items: start; }
}
.prompts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .prompts { grid-template-columns: minmax(0, 1fr); } }
.prompt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; align-content: start; }
.prompt-card h3 { font-size: 20px; }
.prompt-text { background: var(--bg-alt); border-left: 3px solid var(--line-strong); border-radius: 0 8px 8px 0; padding: 12px 14px; font-size: 15px; line-height: 1.6; }
.prompt-card .btn { justify-self: start; }
.prompts-note { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 70ch; }
