/* ==========================================================================
   scpipremium.fr : feuille de style
   Format « décryptage » : titres Newsreader, corps Public Sans, fond blanc
   cassé, badges de verdict vert / ambre / rouge. Aucun JavaScript.
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("https://scpipremium.fr/assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("https://scpipremium.fr/assets/fonts/public-sans-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------- Variables */
:root {
  --paper:   #fcfcfa;
  --card:    #ffffff;
  --shell:   #f3f3ef;
  --ink:     #1a1a1a;
  --ink-2:   #494943;
  --ink-3:   #85857c;
  --line:    #e5e5df;
  --line-2:  #cfcfc6;

  --vrai:    #1f7a4d;
  --vrai-l:  #e7f4ec;
  --nuance:  #b7791f;
  --nuance-l:#fbf1de;
  --faux:    #bd2f38;
  --faux-l:  #fbe9ea;
  --marque:  #1257b5;
  --marque-l:#e9f0fb;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --col: 74rem;
  --read: 43rem;
  --r: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 18px 40px -30px rgba(0,0,0,.5);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }

body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
  font-size: 1.05rem; line-height: 1.72; overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--marque); text-underline-offset: 3px; }
a:hover { color: #0d4088; }
:focus-visible { outline: 3px solid var(--marque); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0 0 .5em; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.45rem + 2.7vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .55vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; color: var(--ink-2); }
strong, b { font-weight: 700; color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--col)); margin-inline: auto; }
.narrow { max-width: var(--read); margin-inline: auto; }

.kicker { font-family: var(--sans); font-size: .74rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--marque); margin: 0 0 1rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r); }
.skip:focus { left: .75rem; top: .75rem; }

/* --------------------------------------------------------------- En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252,252,250,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--sans); color: var(--ink-2); text-decoration: none; font-size: .88rem; font-weight: 600; padding: .25rem 0; border-bottom: 2px solid transparent; display: block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--marque); border-bottom-color: var(--marque); }
.age { font-family: var(--sans); font-size: .72rem; font-weight: 800; color: #fff; background: var(--faux); border-radius: 999px; padding: .18rem .55rem; }
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .age { margin-left: auto; }
}

/* ----------------------------------------------------------- Fil d'Ariane */
.crumbs { font-family: var(--sans); font-size: .8rem; color: var(--ink-3); padding: .9rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--marque); text-decoration: underline; }

/* ------------------------------------------------------------- Ouverture */
.hero { padding: 2.75rem 0 1.5rem; }
.hero .kicker { color: var(--faux); }
.hero h1 { max-width: 24ch; }
.hero .chapo { font-size: 1.2rem; color: var(--ink-2); max-width: 46rem; line-height: 1.6; margin-top: 1rem; }
.byline { font-family: var(--sans); color: var(--ink-3); font-size: .86rem; margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.byline strong { color: var(--ink-2); }

/* -------------------------------------------------- Tableau récapitulatif */
.recap { border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); box-shadow: var(--shadow);
  margin: 2rem 0 0; overflow: hidden; }
.recap-head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); background: var(--shell); }
.recap-head img { width: 44px; height: 44px; border-radius: 10px; }
.recap-head h2 { font-size: 1.15rem; margin: 0; border: 0; padding: 0; }
.recap-head p { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); margin: 0; }
.recap ul { list-style: none; margin: 0; padding: .4rem 0; }
.recap li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: .7rem 1.4rem; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .93rem; }
.recap li:first-child { border-top: 0; }
.recap li .claim { color: var(--ink-2); }
.recap li .claim b { color: var(--ink); }

/* ----------------------------------------------------------- Badge verdict */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--sans);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; }
.badge.vrai { color: var(--vrai); background: var(--vrai-l); }
.badge.vrai::before { background: var(--vrai); }
.badge.nuance { color: var(--nuance); background: var(--nuance-l); }
.badge.nuance::before { background: var(--nuance); }
.badge.faux { color: var(--faux); background: var(--faux-l); }
.badge.faux::before { background: var(--faux); }
.recap li .badge { margin-top: .05rem; }

/* -------------------------------------------------------------- Boutons */
.btn {
  --bg: var(--marque); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .94rem; line-height: 1.3;
  text-decoration: none; cursor: pointer; text-align: center;
  padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 8px;
  color: var(--fg); background: var(--bg); transition: background .12s linear, transform .1s ease;
}
.btn:hover { background: #0d4088; color: #fff; transform: translateY(-1px); }
.btn-ink { --bg: var(--ink); }
.btn-ink:hover { background: #333; }
.btn-line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--shell); color: var(--marque); }
.btn-wide { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .84rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

/* -------------------------------------------------------- Corps de page */
.layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding: 3rem 0 4rem; align-items: start; }
@media (max-width: 1020px) { .layout { grid-template-columns: 1fr; gap: 1.5rem; } }

.toc { position: sticky; top: 5rem; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; background: var(--card); }
@media (max-width: 1020px) { .toc { position: static; } }
.toc h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: .9rem; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: .4rem; }
.toc a { color: var(--ink-2); text-decoration: none; display: flex; gap: .5rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--marque); font-weight: 700; font-size: .78rem; }
.toc a:hover { color: var(--marque); }
.toc .cta { margin-top: 1rem; }

.prose section { scroll-margin-top: 5rem; }
.prose section + section { margin-top: 2.75rem; }
.prose p { max-width: var(--read); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; max-width: var(--read); }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5em; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .45rem; height: .45rem; background: var(--marque); border-radius: 50%; }
.prose ol { padding-left: 1.3rem; margin: 0 0 1.3em; max-width: var(--read); }
.prose ol li { margin-bottom: .5em; color: var(--ink-2); }
.prose ol li::marker { font-family: var(--serif); font-weight: 600; color: var(--marque); }

/* ------------------------------------------------ En-tête d'affirmation */
.claim-block { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 1.4rem 1.5rem; margin: 0 0 1.6rem; box-shadow: var(--shadow); max-width: none; }
.claim-block.vrai { border-left: 5px solid var(--vrai); }
.claim-block.nuance { border-left: 5px solid var(--nuance); }
.claim-block.faux { border-left: 5px solid var(--faux); }
.claim-quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 0 0 .6rem; line-height: 1.4; }
.claim-quote::before { content: "\201C"; }
.claim-quote::after { content: "\201D"; }
.claim-src { font-family: var(--sans); font-size: .78rem; color: var(--ink-3); margin: 0 0 .9rem; }
.claim-verdict { display: flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 700; font-size: .95rem; color: var(--ink); }

figure { margin: 1.7rem 0; }
figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
figcaption { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); padding-top: .5rem; }

/* ------------------------------------------------------------- Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.7rem; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .92rem; }
caption { text-align: left; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); padding: .85rem 1rem .3rem; }
th, td { padding: .7rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
thead th { background: var(--ink); color: #fff; font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; border-top: 0; }
tbody th { font-weight: 700; color: var(--ink); }
tbody tr:nth-child(even) td { background: #fbfbf9; }
.table-key tbody th { width: 40%; background: var(--shell); white-space: normal; }
td.oui { color: var(--vrai); font-weight: 700; }
td.non { color: var(--faux); font-weight: 700; }

/* ------------------------------------------------------- Deux colonnes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0 0 1.7rem; max-width: none; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }
.duo > div { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.25rem; background: var(--card); }
.duo h3 { font-family: var(--sans); font-size: .95rem; font-weight: 800; margin: 0 0 .7rem; text-transform: uppercase; letter-spacing: .04em; }
.duo .pro { color: var(--vrai); }
.duo .con { color: var(--faux); }
.duo ul { margin: 0; }

/* ------------------------------------------------------------- Encadrés */
.box { border: 1px solid var(--line); border-left: 4px solid var(--marque); background: var(--card); border-radius: 8px; padding: 1rem 1.25rem; margin: 0 0 1.6rem; max-width: none; }
.box p { max-width: none; }
.box p:last-child { margin-bottom: 0; }
.box .kicker { margin-bottom: .35rem; }
.box-vrai { border-left-color: var(--vrai); }
.box-vrai .kicker { color: var(--vrai); }
.box-faux { border-left-color: var(--faux); }
.box-faux .kicker { color: var(--faux); }
.box-nuance { border-left-color: var(--nuance); }
.box-nuance .kicker { color: var(--nuance); }

/* ------------------------------------------------------------------ FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; background: var(--card); }
.faq summary { cursor: pointer; padding: .9rem 1.1rem; font-family: var(--serif); font-weight: 600; color: var(--ink); list-style: none; display: flex; gap: .7rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--marque); font-size: 1.35rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.1rem 1rem; color: var(--ink-2); }
.faq details > div p { max-width: none; }
.faq details > div p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- Verdict final */
.final { border: 1px solid var(--line-2); border-radius: 12px; background: var(--shell); padding: 2rem 1.75rem; margin-top: 2.5rem; }
.final h2 { border: 0; padding: 0; margin-bottom: .5rem; }
.final .final-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }

/* --------------------------------------------------------------- Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; max-width: none; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.member { border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; background: var(--card); text-align: center; }
.member img { width: 5rem; height: 5rem; border-radius: 50%; margin: 0 auto .7rem; }
.member h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.member .role { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--marque); margin-bottom: .5rem; }
.member p { font-family: var(--sans); font-size: .87rem; color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------- Barre CTA mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(252,252,250,.97); border-top: 1px solid var(--line-2); }
.sticky-cta .btn { flex: 1 1 0; min-width: 0; font-size: .84rem; padding: .72rem .5rem; }
@media (max-width: 780px) { .sticky-cta { display: flex; } body { padding-bottom: 4.4rem; } }

/* ---------------------------------------------------------- Pied de page */
.site-footer { background: var(--ink); color: #a8a8a0; padding: 3rem 0; font-family: var(--sans); font-size: .9rem; }
.site-footer img { margin-bottom: 1rem; border-radius: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: #cbcbc3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { color: #a8a8a0; }
.site-footer strong { color: #fff; }
.legal { margin-top: 1.9rem; padding-top: 1.4rem; border-top: 1px solid #363630; font-size: .81rem; }
.legal p { color: #8a8a82; }
.legal strong { color: #e29a9a; }

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