/*
  apps/_shared/static/css/zb-refonte-enquete.css
  ----------------------------------------------
  L'habillage de la refonte ZB sur les pages d'une enquête (19/11/2026), chargé
  par `apps/zerobullshit/templates/refonte/habillage_enquete.html`, sur la
  preprod seulement (bascule `zb_refonte`). Toutes les règles sont sous
  `html[data-zb-refonte]` : sans l'attribut, aucune ne s'applique.
*/
html[data-zb-refonte][data-mode="clair"] .theme-blanc,
html[data-zb-refonte][data-mode="clair"] .theme-chrome{--txt:#0D0D0D;--txt-dim:rgba(13,13,13,.86);--txt-muted:rgba(13,13,13,.6);--accent:#8E5880;--border:rgba(13,13,13,.16);background:#FAFAF8}
html[data-zb-refonte][data-mode="clair"] body{background:#FAFAF8;color:#0D0D0D}
html[data-zb-refonte] .ch-header{border-bottom:3px solid currentColor;padding:56px 0 30px;margin-bottom:40px}
html[data-zb-refonte] .ch-header-num{font-family:'DM Sans',sans-serif;font-size:13px;font-weight:700;letter-spacing:0;text-transform:none;color:var(--accent)}
html[data-zb-refonte] .ch-header-num::after{display:none}
html[data-zb-refonte] .ch-header-emoji{display:none}
html[data-zb-refonte] .ch-header-title{font-size:clamp(40px,5vw,80px);line-height:1;letter-spacing:-.025em}
html[data-zb-refonte] .body-p{font-weight:400;font-size:19px;line-height:1.72;margin-bottom:1.15em}
html[data-zb-refonte] .body-p .nb{font-family:inherit;font-size:1em;font-weight:700;color:inherit}
html[data-zb-refonte] .body-p .hl{border-radius:0}
html[data-zb-refonte][data-mode="clair"] #topbar{background:rgba(250,250,248,.97);border-bottom:1px solid #0D0D0D}
html[data-zb-refonte][data-mode="clair"] .topbar-brand,
html[data-zb-refonte][data-mode="clair"] .topbar-nav-btn{color:#0D0D0D}
html[data-zb-refonte][data-mode="clair"] .topbar-nav-btn:hover,
html[data-zb-refonte][data-mode="clair"] .topbar-nav-btn.active-nav{color:#8E5880}
/* LA PAGE DES ACTEURS : les rubriques et les fiches de la maquette (`site/acteurs.html`). */
html[data-zb-refonte] .cast-section-label{font-family:'Playfair Display',serif;font-style:italic;font-size:22px;letter-spacing:0;text-transform:none;color:#8E5880 !important;border-bottom:3px solid #0D0D0D !important;grid-column:1 / -1}
html[data-zb-refonte] .cast-card{gap:20px;padding:22px 0}
html[data-zb-refonte] .cast-name{font-weight:900;font-size:22px;letter-spacing:-.01em}
html[data-zb-refonte] .cast-role{font-family:'DM Sans',sans-serif;font-size:13px;letter-spacing:0;text-transform:none;color:rgba(13,13,13,.62)}
html[data-zb-refonte] .cast-bio,html[data-zb-refonte] .cast-co-details{font-size:15px;font-weight:400;line-height:1.6}
html[data-zb-refonte] .cast-avatar,html[data-zb-refonte] .cast-avatar-ph{width:64px;height:64px}
html[data-zb-refonte] .cast-co-name{font-family:'Playfair Display',serif;font-weight:900;font-size:18px}
html[data-zb-refonte] .cast-co-type{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:0;text-transform:none}
html[data-zb-refonte][data-mode="clair"] .topbar-brand,
html[data-zb-refonte] .topbar-brand{font-family:'Playfair Display',serif;font-weight:900;font-style:normal;font-size:16px;letter-spacing:-.02em;color:#0D0D0D}
html[data-zb-refonte] [class*="barre"],
html[data-zb-refonte] [class*="-bar"]:not(#topbar):not(.premium-bar-name),
html[data-zb-refonte] [class*="mod-"],
html[data-zb-refonte] [class*="ch-table"],
html[data-zb-refonte] [class*="chart"],
html[data-zb-refonte] .pc-photo,
html[data-zb-refonte] .page img{border-radius:0 !important}

/* LES ACTEURS SUR DEUX COLONNES, comme la maquette : la colonne de lecture
   s'élargit sur cette page seulement, chaque rubrique devient une grille. */
html[data-zb-refonte] .text-col:has(.cast-section){max-width:1120px !important;width:100%}
html[data-zb-refonte] .topbar-brand,html[data-zb-refonte] .topbar-brand s{color:#0D0D0D !important}
html[data-zb-refonte] .cast-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px}
html[data-zb-refonte] .cast-section>:not(.cast-section-label){border-bottom:1px solid rgba(13,13,13,.16)}
@media (max-width:760px){html[data-zb-refonte] .cast-section{grid-template-columns:minmax(0,1fr)}}
/* Le logotype de la barre du haut (sans emoji, BULLSHIT barré) : écrit par le script de l'habillage. */
html[data-zb-refonte] .topbar-brand s{text-decoration:none;position:relative}
html[data-zb-refonte] .topbar-brand s::after{content:"";position:absolute;left:-1%;right:-1%;top:52%;height:2px;background:#8E5880;transform:rotate(-2.5deg)}
