/* Sans Arrondi V35 — BASE STRICTE V34
   Règle : toutes les pages du média sont claires.
   2027 est le seul univers sombre / spécial. */

:root{
  --v35-red:#C11C1C;
  --v35-ink:#0D0D0D;
  --v35-paper:#FFFFFF;
  --v35-soft:#F8F7F4;
  --v35-line:#E9E5DF;
  --v35-muted:#6B6660;
  --v35-shadow:0 10px 30px rgba(20,18,16,.055);
}

html{background:#fff}
body.sa-premium-v31{background:#fff!important;color:var(--v35-ink)!important}

/* ==============================================================
   SITE NORMAL : BLANC / NOIR TYPO / ROUGE. AUCUN GROS FOND NOIR.
   ============================================================== */
body:not(.page-2027) .sa-header-v31{
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid var(--v35-line)!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px);
}
body:not(.page-2027) .sa-header-v31 .main-nav a{
  color:#222!important;opacity:.72!important;
}
body:not(.page-2027) .sa-header-v31 .main-nav a:hover,
body:not(.page-2027) .sa-header-v31 .main-nav a.active{
  color:#050505!important;opacity:1!important;
}
body:not(.page-2027) .sa-header-v31 .main-nav a.active::after{background:var(--v35-red)!important}
body:not(.page-2027) .sa-linkedin{color:#222!important}
body:not(.page-2027) .sa-header-v31 .nav-toggle{
  border:1px solid #dedbd6!important;background:#fff!important;
}
body:not(.page-2027) .sa-header-v31 .nav-toggle span,
body:not(.page-2027) .sa-header-v31 .nav-toggle span::before,
body:not(.page-2027) .sa-header-v31 .nav-toggle span::after{background:#111!important}
body:not(.page-2027) .sa-mobile-v31{background:#fff!important;color:#111!important}
body:not(.page-2027) .sa-mobile-v31 a{color:#111!important;border-color:#eee9e3!important}
body:not(.page-2027) .sa-mobile-v31 .mnav-close{background:#fff!important;color:#111!important;border-color:#ddd!important}

/* Buttons and controls: red or outlined, never black blocks */
body:not(.page-2027) .sa-btn-black,
body:not(.page-2027) .sa-btn-ghost,
body:not(.page-2027) .rail-controls button,
body:not(.page-2027) .articles-rail-controls-v20 button,
body:not(.page-2027) .filter-btn.active,
body:not(.page-2027) .article-filter-v14.active,
body:not(.page-2027) .article-archive-v32 .article-filter-v14.active,
body:not(.page-2027) .sa-home-original-v31 .inline-signup button{
  background:var(--v35-red)!important;color:#fff!important;border-color:var(--v35-red)!important;
}

/* HOME V34 : contenu strictement conservé, juste rendu plus lumineux */
body.sa-home-original-v31{background:#fff!important}
.sa-home-original-v31 .mission{
  background:
    radial-gradient(circle at 82% 16%,rgba(193,28,28,.055),transparent 30%),
    #fff!important;
}
.sa-home-original-v31 .mission h1{color:#111!important}
.sa-home-original-v31 .mission p{color:var(--v35-muted)!important}
.sa-home-original-v31 .home-social-proof-v23{color:#5f5a54!important}
.sa-home-original-v31 .home-trust-v23{color:#625d57!important}
.sa-home-original-v31 .inline-signup input[type=email]{background:#fff!important;border:1px solid #ded9d3!important;color:#111!important}
.sa-home-original-v31 .site-footer{
  background:#fff!important;color:#6f6962!important;border-top:1px solid var(--v35-line)!important;
}
.sa-home-original-v31 .site-footer a{color:#35312e!important}

/* PUBLICATIONS */
body:not(.page-2027) .publications-page{background:#fff!important}
body:not(.page-2027) .publications-hero{
  background:transparent!important;color:#111!important;border-radius:0!important;
  padding:20px 0 34px!important;border-bottom:1px solid var(--v35-line)!important;
}
body:not(.page-2027) .publications-hero h1{color:#111!important}
body:not(.page-2027) .publications-hero p{color:var(--v35-muted)!important}
body:not(.page-2027) .moving-publications,
body:not(.page-2027) .publication-archive{
  background:#fff!important;box-shadow:none!important;border-radius:0!important;
  padding-left:0!important;padding-right:0!important;
}
body:not(.page-2027) .rail-card,
body:not(.page-2027) .gallery-item{
  background:#fff!important;border:1px solid var(--v35-line)!important;box-shadow:var(--v35-shadow)!important;
}
body:not(.page-2027) .article-ticker-v17{
  background:#fff!important;color:#111!important;border:1px solid var(--v35-line)!important;
}

/* ARTICLES INDEX : plus éditorial, pas de carte noire */
body.articles-index-body{background:#fff!important}
body:not(.page-2027) .articles-intro-v32{background:#fff!important;color:#111!important}
body:not(.page-2027) .articles-intro-v32 h1{color:#111!important}
body:not(.page-2027) .articles-intro-v32 p{color:var(--v35-muted)!important}
body:not(.page-2027) .article-feature-v32{
  background:#fff!important;color:#111!important;border:1px solid var(--v35-line)!important;
  box-shadow:var(--v35-shadow)!important;
}
body:not(.page-2027) .article-feature-copy-v32{
  background:linear-gradient(135deg,#fff 0%,#fff 74%,#fff6f6 100%)!important;color:#111!important;
}
body:not(.page-2027) .article-feature-copy-v32 h2{color:#111!important}
body:not(.page-2027) .article-feature-copy-v32 p{color:var(--v35-muted)!important}
body:not(.page-2027) .article-feature-media-v32{background:#f5f3ef!important}
body:not(.page-2027) .article-feature-copy-v32 .article-card-foot-v32{color:#5e5953!important;border-color:var(--v35-line)!important}
body:not(.page-2027) .article-feature-copy-v32 .article-card-foot-v32 strong{color:#111!important}
body:not(.page-2027) .article-side-card-v32{background:#fff!important;border-color:var(--v35-line)!important}
body:not(.page-2027) .articles-note-v32{
  background:#fff8f8!important;color:#111!important;border:1px solid #efd0d0!important;
}
body:not(.page-2027) .archive-section-v14{
  background:#fff!important;box-shadow:none!important;border-radius:0!important;padding-left:0!important;padding-right:0!important;
}
body:not(.page-2027) .article-reason-v32 b{background:var(--v35-red)!important;color:#fff!important}

/* MÉTHODE */
body:not(.page-2027) .page-header{
  background:transparent!important;color:#111!important;border:0!important;border-bottom:1px solid var(--v35-line)!important;
  border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important;
}
body:not(.page-2027) .page-header::after{display:none!important}
body:not(.page-2027) .page-header h1{color:#111!important}
body:not(.page-2027) .page-header p{color:var(--v35-muted)!important}
body:not(.page-2027) .principle,
body:not(.page-2027) .body-text,
body:not(.page-2027) .contact-box{
  background:#fff!important;color:#111!important;border:1px solid var(--v35-line)!important;box-shadow:none!important;
}
body:not(.page-2027) .contact-box p{color:var(--v35-muted)!important}

/* PAGES ARTICLE : lecture papier, noir uniquement en typo */
body.article-detail-body{background:#fff!important}
body:not(.page-2027) .article-detail-v2,
body:not(.page-2027) .article-header-v32,
body:not(.page-2027) .article-hero-copy-v32,
body:not(.page-2027) .article-content-v2{background:#fff!important;color:#111!important}
body:not(.page-2027) .article-cover-v32{background:#f5f3ef!important;box-shadow:var(--v35-shadow)!important}
body:not(.page-2027) .article-fast-v32,
body:not(.page-2027) .formula-v2,
body:not(.page-2027) .rate-chain-v2,
body:not(.page-2027) .article-conclusion-v2,
body:not(.page-2027) .article-newsletter-v2{
  background:#fff8f8!important;color:#111!important;border:1px solid #efd4d4!important;box-shadow:none!important;
}
body:not(.page-2027) .formula-v2 *,
body:not(.page-2027) .rate-chain-v2 *,
body:not(.page-2027) .article-conclusion-v2 *,
body:not(.page-2027) .article-newsletter-v2 *{color:inherit!important}
body:not(.page-2027) .article-newsletter-v2 a,
body:not(.page-2027) .article-newsletter-v2 button{background:var(--v35-red)!important;color:#fff!important}

/* Inline 2027 teaser, s'il apparaît ailleurs : clair et simple */
body:not(.page-2027) .sa-inline-2027{
  background:#fff7f7!important;color:#111!important;border:1px solid #efd0d0!important;
}
body:not(.page-2027) .sa-inline-2027 p{color:var(--v35-muted)!important}

/* FOOTER : clair sur tout le média normal */
body:not(.page-2027) .sa-footer-v31,
body:not(.page-2027) .site-footer{
  background:#fff!important;color:#6c6761!important;border-top:1px solid var(--v35-line)!important;border-radius:0!important;
}
body:not(.page-2027) .sa-footer-brand p,
body:not(.page-2027) .sa-footer-legal{color:#77716b!important}
body:not(.page-2027) .sa-footer-links a,
body:not(.page-2027) .sa-footer-legal a{color:#292623!important}
body:not(.page-2027) .sa-footer-legal{border-color:var(--v35-line)!important}

/* ==============================================================
   2027 : UNE VRAIE PAGE DÉDIÉE, VISUELLEMENT À PART.
   Le clic 2027 mène directement à 2027.html.
   ============================================================== */
body.page-2027{
  background:#090909!important;color:#fff!important;
}
body.page-2027 .sa-header-v31{
  background:#090909!important;border-bottom:1px solid #222!important;box-shadow:none!important;
}
body.page-2027 .sa-header-v31 .main-nav a{color:#d8d8d8!important}
body.page-2027 .sa-header-v31 .main-nav a.active{color:#fff!important}
body.page-2027 .sa-mobile-v31{background:#090909!important;color:#fff!important}
body.page-2027 .sa-audit-v31{background:#090909!important;padding-bottom:76px!important}
body.page-2027 .audit27-stage{
  background:
    radial-gradient(circle at 50% -14%,rgba(193,28,28,.20),transparent 34%),
    #090909!important;
  color:#fff!important;border-bottom:0!important;box-shadow:none!important;
  border-radius:0 0 46px 46px!important;
}
body.page-2027 .audit27-hero h1{color:#fff!important}
body.page-2027 .audit27-hero h1 span{color:#d9d9d9!important}
body.page-2027 .audit27-hero p{color:#9d9d9d!important}
body.page-2027 .party-card{
  background:#fff!important;color:#111!important;border-color:transparent!important;
  box-shadow:0 14px 34px rgba(0,0,0,.28)!important;
}
body.page-2027 .party-card.active{border-color:var(--party)!important}
body.page-2027 .party-nav{background:#1c1c1c!important;color:#fff!important;border:1px solid #333!important}
body.page-2027 .party-program{
  background:#fff!important;color:#111!important;box-shadow:0 26px 70px rgba(0,0,0,.32)!important;
}
body.page-2027 .program-status,
body.page-2027 .theme-panel,
body.page-2027 .audit-coming{background:#faf9f7!important;color:#111!important}
body.page-2027 .theme-pill.active{background:#111!important;color:#fff!important}
body.page-2027 .audit27-next{color:#fff!important}
body.page-2027 .audit27-next p{color:#999!important}
body.page-2027 .sa-footer-v31,
body.page-2027 .site-footer{
  background:#090909!important;color:#aaa!important;border-top:1px solid #222!important;border-radius:0!important;
}
body.page-2027 .sa-footer-links a,
body.page-2027 .sa-footer-legal a{color:#ddd!important}
body.page-2027 .sa-footer-legal{border-color:#222!important;color:#777!important}

/* Mobile */
@media(max-width:720px){
  body:not(.page-2027) .sa-header-v31{min-height:72px!important}
  body.page-2027 .audit27-stage{border-radius:0 0 28px 28px!important}
}
