/* =============================================================================
   GEOBRAND - Sector report styles
   Public lead magnet. Design system mirrors brand reports for consistency,
   but lighter: no watermark, no freshness badge, no Share/PDF buttons,
   full indexable HTML.
   ============================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }

:root {
    /* holco.media - 2 mondes : ville (orange) vs IA (navy) sur blanc chaud */
    --cream: #FAF7F2;
    --cream-dark: #F1EBE2;
    --ink: #0A0A0A;
    --ink-soft: #1A1A1A;
    --navy: #102349;
    --orange: #FF4A1C;
    --blue: #2C5BAA;
    --accent: #FF4A1C;
    --accent-light: #FF7A52;
    --accent-wash: rgba(255, 74, 28, 0.07);
    --accent-wash-dark: rgba(255, 122, 82, 0.14);
    --gray-600: #666666;
    --gray-400: #999999;
    --gray-300: #BDBBB5;
    --gray-200: #E0DED8;
    --border: rgba(10, 10, 10, 0.12);
    --border-light: rgba(250, 248, 245, 0.18);

    --ff-serif: 'Instrument Serif', Georgia, serif;
    --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ff-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

    --container-max: 1200px;
    --container-pad: 48px;

    --section-pad-y: 80px;
    --block-gap: 32px;

    /* Heights used to align sticky surfaces and section scroll anchors.
       Kept in sync by media queries below. */
    --header-height: 60px;
    --nav-height: 44px;
    --sticky-total: calc(var(--header-height) + var(--nav-height));
}

body {
    font-family: var(--ff-sans);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.mono {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-600);
}

em {
    font-family: var(--ff-serif);
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.section-dark em { color: var(--accent-light); }

strong { font-weight: 600; }

/* ---------- Header ---------- */
/* The header and the section nav are wrapped in a single sticky shell so they
   stack together and never overlap while scrolling. */
.sticky-shell {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: saturate(180%) blur(6px);
    border-bottom: 1px solid var(--border);
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--container-pad);
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 16px;
    min-height: var(--header-height);
}

.header-left { display: flex; align-items: baseline; gap: 20px; min-width: 0; }
.header-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.brand {
    font-family: var(--ff-serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.header-meta {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-600);
}

.pill-btn {
    display: inline-block;
    padding: 9px 18px;
    font-family: var(--ff-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    transition: background-color 160ms ease, color 160ms ease;
    white-space: nowrap;
}
.pill-btn:hover, .pill-btn:focus-visible { background: var(--ink); color: var(--cream); outline: none; }
.pill-btn--dark { background: var(--ink); color: var(--cream); }
.pill-btn--dark:hover { background: var(--ink-soft); }

/* ---------- Cover ---------- */
.sector-cover {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--border);
}

.cover-label { display: block; margin-bottom: 24px; }

.cover-title {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-size: clamp(56px, 8.4vw, 112px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    max-width: 980px;
    color: var(--ink);
}

.cover-lede {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.4;
    color: var(--ink);
    max-width: 760px;
    margin: 0 0 36px;
}

.cover-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cover-meta > div { display: flex; flex-direction: column; gap: 6px; }
.cover-meta dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-400);
}
.cover-meta dd { font-family: var(--ff-sans); font-size: 14px; color: var(--ink); }

/* ---------- Sections ---------- */
.section {
    padding-top: var(--section-pad-y);
    padding-bottom: var(--section-pad-y);
    /* Offset so the combined sticky header + section nav never covers a
       section heading when the user clicks a nav link. */
    scroll-margin-top: calc(var(--sticky-total) + 16px);
}
.sector-cover { scroll-margin-top: calc(var(--sticky-total) + 16px); }
.section-cream { background: var(--cream); }
.section-cream-dark { background: var(--cream-dark); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark .mono { color: var(--gray-400); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    gap: 24px;
}
.section-dark .section-header { border-bottom-color: var(--border-light); }

.section-title {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.2;
    margin: 0 0 28px;
    max-width: 920px;
    color: var(--ink);
}

.section-title--light { color: var(--cream); }

.para {
    font-family: var(--ff-sans);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 820px;
    margin: 24px 0 0;
    color: var(--ink);
}
.section-dark .para { color: var(--cream); }

.para--tight { margin-top: 16px; font-size: 14px; }

/* ---------- Framing grid (section 01) ---------- */
.framing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.framing-card {
    padding: 22px 22px 24px;
    background: var(--cream-dark);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.framing-card .mono { color: var(--gray-400); }
.framing-card p {
    font-family: var(--ff-sans);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
}

.framing-card--internal { background: var(--cream); border-color: var(--border); }
.framing-card--internal .mono { color: var(--accent); }
.framing-kpi {
    font-family: var(--ff-serif) !important;
    font-size: 48px !important;
    line-height: 1 !important;
    font-weight: 500;
    color: var(--ink) !important;
    margin: 4px 0 !important;
    letter-spacing: -0.02em;
}
.framing-kpi em { font-style: italic; color: var(--accent); font-size: 1em; }
.framing-body {
    font-size: 13px !important;
    color: var(--gray-600) !important;
    line-height: 1.55 !important;
}

/* ---------- Section 04 - consumer queries ---------- */
.queries-intro {
    font-family: var(--ff-sans);
    font-size: 14.5px;
    line-height: 1.7;
    max-width: 820px;
    margin: 0 0 36px;
    color: var(--ink);
}

.queries-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 16px 0 32px;
}

.query-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 18px;
    background: var(--cream);
    border: 1px solid var(--border);
}

.section-cream-dark .query-col { background: var(--cream); }
.section-cream .query-col { background: var(--cream-dark); }

.query-col-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.query-col-head .mono { color: var(--accent); font-size: 10px; letter-spacing: 1.6px; }

.query-col-share {
    color: var(--gray-400) !important;
    font-size: 9.5px !important;
    letter-spacing: 1.5px !important;
}

.query-cards {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.query-card {
    background: var(--cream-dark);
    padding: 12px 14px;
    border-left: 2px solid var(--border);
    margin: 0;
    font-family: var(--ff-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.35;
}

.section-cream-dark .query-card { background: var(--cream); }
.section-cream .query-card { background: var(--cream-dark); }

.query-card::before {
    content: "〞";
    color: var(--accent);
    margin-right: 6px;
    font-size: 18px;
    font-style: normal;
    line-height: 1;
    vertical-align: -2px;
}

.insight-block {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insight-block > div {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1px;
    color: var(--ink);
    line-height: 1.55;
    text-transform: none;
}

.insight-block > div::before {
    content: "→ ";
    color: var(--accent);
    font-weight: 600;
}

.queries-conclusion {
    font-family: var(--ff-serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--accent);
    text-align: center;
    margin: 32px auto 0;
    max-width: 720px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    line-height: 1.45;
}

.queries-conclusion em { color: var(--accent); font-style: italic; font-weight: 500; }

@media (max-width: 1200px) {
    .queries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .queries-grid { grid-template-columns: 1fr; }
}

/* ---------- KPI rows ---------- */
.kpi-row {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 28px 0 32px;
}
.kpi-row-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-row-4 { grid-template-columns: repeat(4, 1fr); }
.kpi-row-5 { grid-template-columns: repeat(5, 1fr); }

.kpi-cell {
    padding: 22px 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kpi-cell:last-child { border-right: none; }

.kpi-cell .mono { color: var(--gray-400); }

.kpi-stat {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1;
    margin: 4px 0;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.kpi-stat em { color: var(--accent); font-size: 1em; font-weight: 500; }

.kpi-note {
    font-family: var(--ff-sans);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0;
}

/* "En clair" : traduit une métrique d'expert en une phrase métier */
.kpi-plain {
    font-family: var(--ff-serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.45;
    color: var(--navy);
    margin: 18px 0 0;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    max-width: 56ch;
}
.kpi-plain b, .kpi-plain strong { font-weight: 600; color: var(--accent); }
.section-dark .kpi-plain { color: var(--cream); }

/* ---------- Charts ---------- */
.chart-wrap {
    margin: 28px 0 0;
}
.chart-wrap--bordered {
    padding: 24px;
    background: var(--cream-dark);
    border: 1px solid var(--border);
}
.section-cream .chart-wrap--bordered { background: var(--cream-dark); }
.section-cream-dark .chart-wrap--bordered { background: var(--cream); }

.chart-svg {
    width: 100%;
    height: auto;
    display: block;
}

.chart-axis { stroke: var(--border); stroke-width: 1; }
.chart-axis-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 1.4px;
    fill: var(--gray-400);
    text-transform: uppercase;
}
.chart-tick {
    font-family: var(--ff-mono);
    font-size: 9.5px;
    fill: var(--gray-600);
}
.chart-bar-track { fill: var(--gray-200); }
.chart-row-label {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 1.6px;
    fill: var(--gray-600);
    text-transform: uppercase;
}
.chart-bar-engine {
    font-family: var(--ff-mono);
    font-size: 9.5px;
    letter-spacing: 1.4px;
    fill: var(--gray-600);
}
.chart-bar-val {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1px;
    fill: var(--ink);
}
.chart-bar-claude { fill: var(--ink-soft); }
.chart-bar-gemini { fill: var(--accent); }
.chart-bar-openai { fill: var(--gray-400); }

/* Long tail chart */
.lt-bar { fill: var(--gray-400); }
.lt-bar-top10 { fill: var(--ink-soft); }
.lt-bar-top3 { fill: var(--accent); }
.lt-curve {
    fill: none;
    stroke: var(--ink);
    stroke-width: 1;
    stroke-opacity: 0.35;
    stroke-dasharray: 3 2;
}
.lt-cutoff {
    stroke: var(--accent);
    stroke-width: 1;
    stroke-dasharray: 4 3;
    stroke-opacity: 0.7;
}
.lt-cutoff-label {
    font-family: var(--ff-mono);
    font-size: 9.5px;
    letter-spacing: 1.4px;
    fill: var(--accent);
}

/* Scatter chart */
.sc-diag {
    stroke: var(--gray-400);
    stroke-width: 1;
    stroke-dasharray: 4 3;
    stroke-opacity: 0.55;
}
.sc-dot {
    fill: var(--accent);
    fill-opacity: 0.6;
    stroke: var(--accent);
    stroke-width: 1;
}

/* ---------- Engine behaviors (section 02) ---------- */
.behavior-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.behavior-card {
    padding: 22px;
    background: var(--cream);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.section-cream-dark .behavior-card { background: var(--cream); }
.section-cream .behavior-card { background: var(--cream-dark); }

.behavior-card .mono { color: var(--accent); }

.behavior-key {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    margin: 6px 0 0;
    color: var(--ink);
}
.behavior-key em { font-size: 32px; font-weight: 500; }

.behavior-kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}
.behavior-kv dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gray-400);
}
.behavior-kv dd { font-family: var(--ff-sans); font-size: 13px; color: var(--ink); margin-bottom: 4px; }

/* ---------- Disparity (section 05) ---------- */
.disparity-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 16px;
}

.disparity-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stat-line {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-line:first-child { border-top: none; padding-top: 0; }
.stat-line .mono { color: var(--gray-400); }

.stat-value {
    font-family: var(--ff-serif);
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    margin: 2px 0;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.stat-value em { color: var(--accent); font-size: 1em; }

.stat-note {
    font-family: var(--ff-sans);
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray-600);
    margin: 0;
}

/* ---------- Insight box ---------- */
.insight-box {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--cream);
    border-left: 3px solid var(--accent);
    max-width: 820px;
}
.section-cream-dark .insight-box { background: var(--cream); }
.section-cream .insight-box { background: var(--cream-dark); }
.insight-box .mono { color: var(--accent); }
.insight-body {
    font-family: var(--ff-serif);
    font-style: italic;
    font-size: 19px;
    line-height: 1.4;
    margin: 8px 0 0;
    color: var(--ink);
}

/* ---------- Implications (section 07 - dark) ---------- */
.implications {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.implications li {
    padding: 22px 24px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.015);
}

.implications .mono { color: var(--accent-light); }

.imp-title {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.2;
    color: var(--cream);
    margin: 2px 0;
}

.imp-title em { color: var(--accent-light); font-weight: 500; }

.implications li p {
    font-family: var(--ff-sans);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--cream);
    margin: 0;
}

.implications li p strong { color: var(--accent-light); font-weight: 600; }

/* ---------- About (section 08) ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-cta {
    padding: 28px 24px;
    background: var(--cream-dark);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-cta-lede {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}

.about-cta .pill-btn--dark { align-self: flex-start; padding: 12px 22px; }

.about-cta-note {
    font-family: var(--ff-sans);
    font-size: 12.5px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Methodology ---------- */
.method-dl { max-width: 860px; }

.method-dl > div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.method-dl dt {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gray-600);
}
.method-dl dd {
    font-family: var(--ff-sans);
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    background: var(--cream);
}
.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}
.footer-left { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.footer-note {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.55;
    font-family: var(--ff-sans);
    font-size: 12px;
}
.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 10.5px;
}
.footer-links a {
    color: var(--gray-600);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: color 160ms ease, border-color 160ms ease;
}
.footer-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .disparity-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
    :root {
        --container-pad: 24px;
        --section-pad-y: 56px;
    }
    .header-meta { display: none; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cover-meta { grid-template-columns: 1fr 1fr; }
    .framing-grid { grid-template-columns: 1fr; }
    .behavior-grid { grid-template-columns: 1fr; }
    .kpi-row-3, .kpi-row-4, .kpi-row-5 { grid-template-columns: 1fr; border-bottom: none; }
    .stat-xxl-grid { grid-template-columns: 1fr 1fr !important; }
    .kpi-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .kpi-cell:last-child { border-bottom: none; }
    .method-dl > div { grid-template-columns: 1fr; gap: 2px; }
    .footer-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 560px) {
    body { font-size: 14px; }
    .cover-title { font-size: 44px; }
    .imp-title { font-size: 22px; }
    .kpi-stat, .stat-value { font-size: 36px; }
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* =========================================================================
 * V4 enrichment - engine palmares, age segmentation, price layer
 * ========================================================================= */

/* ---------- Engine palmares (3-col grid, top-5 per engine) ---------- */
.palmares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
}
.palmares-column {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.palmares-engine-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}
.palmares-rank {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.palmares-rank:last-child { border-bottom: none; }
.palmares-rank-num {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    color: var(--accent);
    min-width: 32px;
}
.palmares-rank-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: var(--ink);
    flex: 1;
    padding: 0 12px;
}
.palmares-rank-sov {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--gray-500);
}
.palmares-keyfact {
    margin-top: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.palmares-keyfact em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

/* ---------- Age evolution chart ---------- */
.age-chart-container {
    margin: 48px 0;
    padding: 32px;
    background: var(--cream-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.age-chart-svg { width: 100%; height: auto; }
.age-chart-line        { fill: none; stroke: var(--gray-400); stroke-width: 1.5; }
.age-chart-line-leader { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.age-chart-dot         { fill: var(--cream); stroke: var(--gray-400); stroke-width: 1.5; }
.age-chart-dot-leader  { fill: var(--accent); stroke: var(--accent); }
.age-chart-axis        { stroke: var(--border); stroke-width: 1; }
.age-chart-tick-label  {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    fill: var(--gray-500);
    letter-spacing: 1px;
}
.age-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-600);
}
.age-chart-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 2px;
    background: var(--gray-400);
    margin-right: 8px;
    vertical-align: middle;
}
.age-chart-legend-swatch.is-leader { background: var(--accent); height: 3px; }
.age-highlights-block {
    margin-top: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
}
.age-highlights-block p { margin: 4px 0; }
.age-highlights-block em { color: var(--accent); font-style: italic; }

/* ---------- Price layer (2-col: bar chart + insight list) ---------- */
.price-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    margin: 48px 0;
    align-items: start;
}
.price-bar-container { margin: 24px 0; }
.price-bar-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
}
.price-bar-engine {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
}
.price-bar-track {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}
.price-bar-fill {
    height: 100%;
    background: var(--gray-400);
    transition: width 0.3s ease;
}
.price-bar-fill.is-leader { background: var(--accent); }
.price-bar-value {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--accent);
    text-align: right;
}
.price-bar-value.is-muted {
    color: var(--gray-500);
    font-style: normal;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}
.price-insights {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.price-insights li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--ink);
}
.price-insights li:last-child { border-bottom: none; }
.price-insights li strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    display: block;
    margin-bottom: 4px;
}
.price-insights li em {
    font-style: italic;
    color: var(--accent);
}

/* ---------- Insufficient data notice (shared) ---------- */
.insufficient-data {
    padding: 24px;
    border: 1px dashed var(--border);
    color: var(--gray-500);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 1080px) {
    .palmares-grid { grid-template-columns: 1fr; gap: 40px; }
    .price-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================================
 * V5 publishable baromètre - production metrics XXL, query-type list,
 * jaccard pairs, unknown leaderboard, misc notes.
 * ========================================================================= */

/* ---------- §01 Production metrics XXL ---------- */
.stat-xxl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    margin: 48px 0 40px;
}
.stat-xxl {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.stat-xxl-num {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1;
    color: var(--ink);
    margin: 0 0 4px;
}
.stat-xxl-num em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.stat-xxl-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin: 12px 0 6px;
}
.stat-xxl-note {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}
.stat-xxl-note .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: var(--ink);
}

.production-secondary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.production-kv {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.production-kv dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin: 0;
}
.production-kv dd {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.production-kv dd em {
    font-style: italic;
    color: var(--accent);
    font-size: 22px;
}
.production-kv-n {
    font-size: 10.5px;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-left: 6px;
}
.production-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--ink);
    margin: 24px 0 0;
    line-height: 1.4;
}
.production-tagline em {
    color: var(--accent);
    font-style: italic;
}

/* ---------- Query type distribution (§05) ---------- */
.query-type-dist {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.query-type-dist-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.query-type-dist-rows {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 24px;
}
.query-type-dist-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}
.query-type-dist-name {
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--gray-500);
}
.query-type-dist-count {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    color: var(--ink);
}
.query-type-dist-count em {
    font-style: italic;
    color: var(--accent);
    font-size: 22px;
}

/* ---------- Jaccard pairs (§06) ---------- */
.jaccard-pairs {
    margin: 32px 0 16px;
    padding: 24px;
    background: var(--cream);
    border: 1px solid var(--border);
}
.jaccard-pairs-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.jaccard-pair-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
}
.jaccard-pair-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.jaccard-pair-name {
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--gray-500);
}
.jaccard-pair-score {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    line-height: 1;
    color: var(--ink);
}
.jaccard-pair-score em {
    font-style: italic;
    color: var(--accent);
}

/* ---------- Unknown leaderboard (§10) ---------- */
.unknown-leaderboard {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.unknown-leaderboard-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.unknown-leaderboard-rows {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.unknown-leaderboard-row {
    display: grid;
    grid-template-columns: 40px 1fr 160px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.unknown-leaderboard-row:last-child { border-bottom: none; }
.unknown-leaderboard-rank {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 1px;
}
.unknown-leaderboard-alias {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--ink);
}
.unknown-leaderboard-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gray-500);
    text-align: right;
    letter-spacing: 1px;
}
.unknown-leaderboard-count em {
    font-style: normal;
    color: var(--accent);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0;
}

/* ---------- Price note subtext (§07) ---------- */
.price-note {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.45;
    margin-top: 4px;
}

/* ---------- Responsive for the new blocks ---------- */
@media (max-width: 1080px) {
    .stat-xxl-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    .production-secondary { grid-template-columns: repeat(2, 1fr); }
    .query-type-dist-rows { grid-template-columns: repeat(2, 1fr); }
    .jaccard-pair-rows { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .stat-xxl-grid { grid-template-columns: 1fr; }
    .stat-xxl-num { font-size: 64px; }
    .production-secondary { grid-template-columns: 1fr; gap: 18px; }
    .query-type-dist-rows { grid-template-columns: 1fr; }
    .unknown-leaderboard-row { grid-template-columns: 24px 1fr; }
    .unknown-leaderboard-count { grid-column: 1 / -1; text-align: left; }
}

/* =========================================================================
 * V5 level-2 enrichment - sticky nav, query-type table, publisher block,
 * sentiment table, subsection titles.
 * ========================================================================= */

/* ---------- Section nav ---------- */
/* Section nav: on narrow viewports it is a sticky horizontal bar that
   sits directly under the sticky header. On ≥1280 px it becomes a fixed
   left rail (see the dedicated media query below). */
.sector-nav-sticky {
    position: sticky;
    top: var(--header-height);
    z-index: 49;
    background: rgba(250, 248, 245, 0.94);
    backdrop-filter: saturate(180%) blur(6px);
    border-bottom: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.sector-nav-inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 10px var(--container-pad);
    min-height: var(--nav-height);
    -webkit-overflow-scrolling: touch;
    /* Hide the scrollbar visually on all browsers - the fade mask below is
       the only cue. Scrolling itself still works via touch / trackpad. */
    scrollbar-width: none;
    /* Fade edges so users see that content scrolls horizontally on mobile. */
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.sector-nav-inner::-webkit-scrollbar { display: none; }
.sector-nav-inner a {
    white-space: nowrap;
    padding: 6px 10px;
    color: var(--gray-600);
    border-bottom: 1px solid transparent;
    transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.sector-nav-inner .nav-num {
    color: var(--gray-400);
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
}
.sector-nav-inner a.is-active .nav-num { color: var(--accent); }
.sector-nav-inner a:hover { color: var(--accent); }
.sector-nav-inner a.is-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 500;
}

/* ---------- Subsection headings (used inside §09 authority) ---------- */
.subsection-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.25;
    color: var(--ink);
    margin: 48px 0 24px;
}
.subsection-title em {
    font-style: italic;
    color: var(--accent);
}

/* ---------- §06 query-type concentration table ---------- */
.qtype-table-wrap {
    margin: 32px 0 20px;
    overflow-x: auto;
}
.qtype-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Cormorant Garamond', serif;
}
.qtype-table th {
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--border);
}
.qtype-table th.num { text-align: right; }
.qtype-table td {
    font-size: 17px;
    color: var(--ink);
    padding: 14px 12px 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.qtype-table td.num { text-align: right; }
.qtype-table td em {
    font-style: italic;
    color: var(--accent);
    font-size: 20px;
}
.qtype-row-pseudo td { color: var(--gray-600); }
.qtype-row-pseudo td:first-child::before { content: ""; }
.qtype-pseudo-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--gray-600);
    background: var(--cream);
    border: 1px solid var(--border-light);
    vertical-align: 2px;
}
.qtype-n-warn {
    color: var(--accent);
    margin-left: 4px;
    font-size: 14px;
}
.qtype-table-note {
    margin-top: 12px;
    font-size: 10.5px;
    color: var(--gray-500);
    letter-spacing: 1px;
}
.qtype-table td .muted { color: var(--gray-500); }

/* ---------- §09 publisher block ---------- */
.publisher-top15 {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.publisher-top15-label,
.publisher-breakdown-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.publisher-top15-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.publisher-row {
    display: grid;
    grid-template-columns: 32px minmax(140px, 1.3fr) 3fr 64px 100px;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}
.publisher-rank {
    color: var(--gray-500);
    font-size: 10.5px;
    letter-spacing: 1px;
    text-align: right;
}
.publisher-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.publisher-bar-track {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}
.publisher-bar-fill {
    height: 100%;
    background: var(--accent);
}
.publisher-pct {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--accent);
    text-align: right;
}
.publisher-type {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    text-align: right;
}

.publisher-breakdowns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 40px;
}
.publisher-breakdown {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.publisher-stacked-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.publisher-stacked-row {
    display: grid;
    grid-template-columns: 120px 1fr 56px;
    align-items: center;
    gap: 12px;
}
.publisher-stacked-name {
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--gray-600);
}
.publisher-stacked-bar-track {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
}
.publisher-stacked-bar-fill {
    height: 100%;
    background: var(--gray-400);
}
.publisher-stacked-bar-fill.is-leader { background: var(--accent); }
.publisher-stacked-pct {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--ink);
    text-align: right;
}
.publisher-stacked-pct em { color: var(--accent); font-style: italic; }
.publisher-source {
    display: block;
    margin-top: 20px;
    font-size: 10.5px;
    color: var(--gray-500);
    letter-spacing: 1px;
    line-height: 1.5;
}

/* ---------- §12 sentiment table ---------- */
.sentiment-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
}
.sentiment-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Cormorant Garamond', serif;
}
.sentiment-table th {
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-500);
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--border);
}
.sentiment-table th.num { text-align: right; }
.sentiment-table td {
    font-size: 17px;
    color: var(--ink);
    padding: 14px 12px 14px 0;
    border-bottom: 1px solid var(--border-light);
}
.sentiment-table td.num { text-align: right; }
.sentiment-table td em {
    font-style: italic;
    color: var(--accent);
    font-size: 20px;
}
.sentiment-source {
    display: block;
    margin-top: 16px;
    font-size: 10.5px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

/* ---------- §10 disparity additional KPIs ---------- */
.disparity-kpi-row { margin-top: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .publisher-row { grid-template-columns: 28px 1fr 2.2fr 54px; }
    .publisher-type { display: none; }
    .publisher-breakdowns { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
    .publisher-row {
        grid-template-columns: 1fr 60px;
        grid-template-rows: auto auto;
        row-gap: 4px;
    }
    .publisher-rank { display: none; }
    .publisher-name { grid-column: 1; grid-row: 1; }
    .publisher-pct { grid-column: 2; grid-row: 1; }
    .publisher-bar-track { grid-column: 1 / -1; grid-row: 2; }
    .publisher-stacked-row { grid-template-columns: 90px 1fr 48px; }
}

/* ---------- Named-variant TOP 15 aggregate ---------- */
.named-top15 {
    margin: 56px 0 16px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.named-top15-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gray-500);
    margin-bottom: 8px;
}
.named-top15-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 24px;
}
.named-top15-title em {
    font-style: italic;
    color: var(--accent);
}
.named-top15-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 48px;
    row-gap: 0;
}
.named-top15-note {
    margin-top: 16px;
    font-size: 10.5px;
    color: var(--gray-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
@media (max-width: 1080px) {
    .named-top15-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .named-top15-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
 * Responsive - shrink the sticky-shell surfaces so the section nav stays
 * visible (and usable) on small screens when the user scrolls.
 * ========================================================================= */
@media (max-width: 640px) {
    :root {
        --header-height: 52px;
        --nav-height: 40px;
    }
    .header-meta { display: none; }
    .sector-nav-inner a { padding: 5px 10px; font-size: 10px; letter-spacing: 1.2px; }
}

/* =========================================================================
 * Desktop wide (≥1280 px) - convert the horizontal nav into a vertical
 * left rail, Notion / Stripe-docs style. Detaches the nav from the sticky
 * shell and anchors it to the viewport as a fixed sidebar. Main content
 * shifts right to make room; the header stays full width at the top.
 * ========================================================================= */
@media (min-width: 1280px) {
    :root {
        --rail-width: 220px;
        /* Rail lives on the left, so only the header counts as top chrome
           for section scroll-margin calculations. */
        --sticky-total: var(--header-height);
    }

    /* Nav becomes a fixed left column anchored below the sticky header. */
    .sector-nav-sticky {
        position: fixed;
        top: var(--header-height);
        left: 0;
        bottom: 0;
        width: var(--rail-width);
        background: var(--cream);
        border-right: 1px solid var(--border);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 28px 0 40px;
        z-index: 50;
        font-size: 11px;
    }
    /* Visual cue so the rail reads as a table of contents. */
    .sector-nav-sticky::before {
        content: "SOMMAIRE";
        display: block;
        padding: 0 20px 12px;
        font-family: var(--ff-mono);
        font-size: 10px;
        letter-spacing: 1.8px;
        text-transform: uppercase;
        color: var(--gray-400);
    }

    .sector-nav-inner {
        flex-direction: column;
        gap: 0;
        padding: 0 12px;
        min-height: 0;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .sector-nav-inner a {
        display: block;
        padding: 8px 10px 8px 12px;
        font-size: 10.5px;
        letter-spacing: 1.5px;
        border-bottom: 0;
        border-left: 2px solid transparent;
        border-radius: 0 2px 2px 0;
    }
    .sector-nav-inner a:hover {
        background: rgba(43, 75, 219, 0.04);
    }
    .sector-nav-inner a.is-active {
        background: var(--accent-wash);
        border-left-color: var(--accent);
        border-bottom-color: transparent;
    }
    .sector-nav-inner .nav-num {
        display: inline-block;
        min-width: 20px;
    }

    /* Shift main + footer right to clear the rail. Header stays full width. */
    main { margin-left: var(--rail-width); }
    .site-footer { margin-left: var(--rail-width); }

    /* Ensure the sticky header stays on top of the rail. */
    .sticky-shell { z-index: 60; }

    /* Lighten the sticky shell shadow now that the nav is detached. */
    .sticky-shell {
        box-shadow: 0 1px 0 var(--border);
    }
}

/* Desktop very wide (≥1680 px) - widen the rail slightly for breathing room. */
@media (min-width: 1680px) {
    :root { --rail-width: 240px; }
}

/* Print - rail never prints (already hidden via .sector-nav-sticky
 * rule in @media print above, but reset the margin shift too). */
@media print {
    main { margin-left: 0 !important; }
    .site-footer { margin-left: 0 !important; }
}

/* =========================================================================
 * Callout quote - the strongest sentence of a section, pulled out so it
 * anchors scannable reading. Uses the existing serif + accent palette,
 * no new fonts or colors.
 * ========================================================================= */
.callout-quote {
    margin: 40px 0;
    padding: 28px 32px 28px 36px;
    border-left: 3px solid var(--accent);
    background: var(--accent-wash);
    font-family: var(--ff-serif);
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.25;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.005em;
}
.callout-quote em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}
.callout-quote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--ff-mono);
    font-style: normal;
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-600);
}
.section-dark .callout-quote {
    background: rgba(107, 138, 255, 0.08);
    border-left-color: var(--accent-light);
    color: var(--cream);
}
.section-dark .callout-quote em { color: var(--accent-light); }
.section-dark .callout-quote cite { color: var(--gray-400); }

/* =========================================================================
 * Actionable takeaway - the "💡 Actionnable :" box at the end of each
 * section. Serif label, sans body, accent-washed background.
 * ========================================================================= */
.actionable {
    margin: 36px 0 0;
    padding: 20px 24px;
    border: 1px solid var(--border);
    background: var(--cream);
    border-radius: 2px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px 18px;
    align-items: start;
}

/* ---------- FAQ objections ---------- */
.faq-list { margin-top: 40px; display: grid; gap: 0; max-width: 800px; }
.faq-item { border-top: 1px solid var(--border); padding: 26px 0; }
.faq-item:last-of-type { border-bottom: 1px solid var(--border); }
.faq-q {
    font-family: var(--ff-serif);
    font-size: clamp(1.3rem, 2.6vw, 1.85rem);
    line-height: 1.22;
    color: var(--ink);
    margin: 0 0 12px;
}
.faq-a {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.72;
    color: var(--gray-600);
    margin: 0;
    max-width: 66ch;
}
.faq-a strong { color: var(--ink); font-weight: 600; }
.faq-cta { margin-top: 44px; }

/* ---------- Protocole de confiance (engagements vérifiables) ---------- */
.pledge-grid { margin-top: 44px; display: grid; gap: 0; max-width: 900px; }
.pledge {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 26px;
    padding: 28px 0;
    border-top: 1px solid var(--border-light);
    align-items: start;
}
.pledge:last-child { border-bottom: 1px solid var(--border-light); }
.pledge-num {
    font-family: var(--ff-mono);
    font-size: 15px;
    color: var(--accent-light);
    padding-top: 6px;
    letter-spacing: 1px;
}
.pledge-t {
    font-family: var(--ff-serif);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--cream);
}
.pledge-d {
    font-family: var(--ff-sans);
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--gray-300);
    margin: 0;
    max-width: 70ch;
}
.pledge-d strong { color: var(--cream); font-weight: 600; }
@media (max-width: 640px) {
    .pledge { grid-template-columns: 1fr; gap: 6px 0; }
    .pledge-num { padding-top: 0; }
}

/* ---------- Interrogez l'étude avec votre IA (deep-links) ---------- */
.ask-ai {
    margin-top: 44px;
    padding: 28px 30px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: rgba(255, 74, 28, 0.06);
    max-width: 840px;
}
.ask-ai-lead {
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.55;
    color: var(--cream);
    margin: 0 0 18px;
}
.ask-ai-lead strong { color: #fff; font-weight: 600; }
.ask-ai-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* contraste explicite sur fond sombre (bat .pill-btn / .pill-btn--ghost définis plus bas) */
.ask-ai-row .pill-btn { color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); background: transparent; }
.ask-ai-row .pill-btn:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.ask-ai-row .ask-ai-cta { background: var(--accent); border-color: var(--accent); color: #fff; }
.ask-ai-row .ask-ai-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; filter: brightness(1.08); }
.ask-ai-note {
    font-family: var(--ff-sans);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--gray-400);
    margin: 16px 0 0;
}
.ask-ai-note a { color: var(--accent-light); text-decoration: underline; }
@media (max-width: 640px) {
    .ask-ai { padding: 22px 20px; }
    .ask-ai-row .pill-btn { width: 100%; justify-content: center; }
}

.section-cream-dark .actionable { background: var(--cream); }
.section-dark .actionable {
    background: rgba(250, 248, 245, 0.04);
    border-color: var(--border-light);
    color: var(--cream);
}
.actionable-label {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}
.section-dark .actionable-label { color: var(--accent-light); }
.actionable-body {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
}
.section-dark .actionable-body { color: var(--cream); }
.actionable-body strong { font-weight: 600; color: var(--ink); }
.section-dark .actionable-body strong { color: var(--cream); }

/* =========================================================================
 * Insight mini-cards - compact paragraph replacement: short title +
 * big number + ≤2 lines of explanation. Used when prose density is too
 * high for the mobile scroll.
 * ========================================================================= */
.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}
.insight-card {
    padding: 22px 22px 20px;
    border: 1px solid var(--border);
    background: var(--cream);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.section-cream-dark .insight-card { background: var(--cream); }
.section-dark .insight-card {
    background: rgba(250, 248, 245, 0.03);
    border-color: var(--border-light);
}
.insight-card-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gray-600);
}
.section-dark .insight-card-label { color: var(--gray-400); }
.insight-card-num {
    font-family: var(--ff-serif);
    font-weight: 500;
    font-style: italic;
    font-size: clamp(34px, 4vw, 44px);
    color: var(--accent);
    line-height: 1;
    margin: 0;
}
.section-dark .insight-card-num { color: var(--accent-light); }
.insight-card-body {
    font-family: var(--ff-sans);
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0;
}
.section-dark .insight-card-body { color: var(--gray-300); }
.insight-card-body strong { color: var(--ink); font-weight: 600; }
.section-dark .insight-card-body strong { color: var(--cream); }

/* =========================================================================
 * Emoji bullet list - scannable bullets guided by contextual emojis.
 * Emojis are inline in the HTML; this class just tightens the layout.
 * ========================================================================= */
.bullet-emoji {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bullet-emoji li {
    font-family: var(--ff-sans);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    padding-left: 0;
}
.section-dark .bullet-emoji li { color: var(--cream); }
.bullet-emoji li strong { font-weight: 600; }

/* =========================================================================
 * Viz suggestion - inline hint indicating an alternate component that
 * would carry the same signal better. Rendered discreetly so it doesn't
 * compete with the real chart above or below.
 * ========================================================================= */
.viz-suggestion {
    margin: 16px 0 24px;
    padding: 10px 14px;
    border: 1px dashed var(--border);
    background: transparent;
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gray-600);
    border-radius: 2px;
}
.section-dark .viz-suggestion { border-color: var(--border-light); color: var(--gray-400); }
.viz-suggestion strong { color: var(--accent); font-weight: 600; letter-spacing: 1.6px; }
.section-dark .viz-suggestion strong { color: var(--accent-light); }

/* Print: suggestions are dev artefacts, drop them from the PDF. */
@media print {
    .viz-suggestion { display: none !important; }
}

/* =========================================================================
 * Skip link - keyboard users jump past the sticky header.
 * ========================================================================= */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--cream);
    padding: 10px 16px;
    font-family: var(--ff-sans);
    font-size: 13px;
    z-index: 200;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* =========================================================================
 * PDF button in the header. Reuses the pill-btn but adds an icon slot.
 * ========================================================================= */
.pill-btn {
    cursor: pointer;
    font-family: var(--ff-sans);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}
.pill-btn--pdf {
    background: var(--cream);
    border: 1px solid var(--ink);
    color: var(--ink);
}
.pill-btn--pdf:hover, .pill-btn--pdf:focus-visible {
    background: var(--ink);
    color: var(--cream);
    outline: none;
}
.pill-btn-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

/* =========================================================================
 * Footer PDF button - inline, matches the existing footer-links look.
 * ========================================================================= */
.footer-link-btn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
}
.footer-link-btn:hover, .footer-link-btn:focus-visible {
    color: var(--accent);
    outline: none;
}

/* =========================================================================
 * Sticky shell polish - tighten the visual separation between header / nav
 * and improve active-state contrast so the current section is obvious.
 * ========================================================================= */
.sector-nav-inner a {
    border-radius: 2px;
}
.sector-nav-inner a.is-active {
    background: rgba(43, 75, 219, 0.08);
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.sticky-shell {
    box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(10, 10, 10, 0.04);
}

/* Responsive tweak - stack header rows when space is tight so the
 * PDF + diagnostic CTAs stay tappable on narrow viewports. */
@media (max-width: 900px) {
    .header-inner { flex-wrap: wrap; row-gap: 8px; }
    .header-right { width: 100%; justify-content: flex-start; }
}
@media (max-width: 520px) {
    .pill-btn { padding: 8px 14px; font-size: 12px; }
    .pill-btn--ghost { display: none; }
}

/* =========================================================================
 * Print styles - "Télécharger le PDF" triggers window.print() and the
 * browser's Save-as-PDF produces a clean, single-document layout.
 * ========================================================================= */
@page {
    size: A4;
    margin: 14mm 12mm;
}

@media print {
    html, body { background: #ffffff !important; color: #000 !important; }
    body { font-size: 10.5pt; line-height: 1.45; }

    /* Hide all interactive / navigation chrome. */
    .sticky-shell,
    .site-header,
    .sector-nav-sticky,
    .skip-link,
    .site-footer .footer-links,
    .pill-btn,
    .footer-link-btn {
        display: none !important;
    }

    main { display: block; }

    /* Ensure sections paginate nicely. */
    .section,
    .sector-cover {
        padding: 18pt 0 !important;
        page-break-inside: avoid;
        break-inside: avoid;
    }
    .section { border-top: 1pt solid #000; }
    .sector-cover { border-bottom: 1pt solid #000; }

    /* Reduce container padding for print. */
    .container { padding-left: 0; padding-right: 0; max-width: none; }

    /* Headings behave well across page breaks. */
    h1, h2, h3, .section-title, .cover-title, .subsection-title {
        page-break-after: avoid;
        break-after: avoid;
        color: #000 !important;
    }
    .cover-title { font-size: 28pt; line-height: 1.05; margin-bottom: 10pt; }
    .cover-lede { font-size: 12pt; margin-bottom: 14pt; }
    .section-title { font-size: 18pt; line-height: 1.2; margin: 0 0 10pt; }
    .subsection-title { font-size: 14pt; margin: 14pt 0 8pt; }

    /* Preserve the italic serif accent but print it in black for fidelity. */
    em, .section-dark em { color: #000 !important; font-style: italic; }

    /* Tables + lists must not split. */
    table, figure, .kpi-row, .stat-xxl-grid, .palmares-grid,
    .queries-grid, .framing-grid, .publisher-top15, .implications li,
    .disparity-grid, .price-grid, .method-dl > div {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Cream backgrounds flatten to white to save ink; keep data bars. */
    .section-cream, .section-cream-dark, .section-dark {
        background: #ffffff !important;
        color: #000 !important;
    }
    .section-dark .section-title--light,
    .section-dark .para,
    .section-dark .mono { color: #000 !important; }

    /* Keep data bars legible with a dark fill on print. */
    .lt-bar, .publisher-bar-fill, .publisher-stacked-bar-fill, .price-bar-fill {
        fill: #000 !important;
        background: #000 !important;
    }
    .lt-bar-top3 { fill: #000 !important; }
    .lt-bar-top10 { fill: #444 !important; }
    .lt-curve { stroke: #000 !important; }
    .sc-dot { fill: #000 !important; }
    .sc-diag { stroke: #888 !important; }
    .chart-axis, .chart-tick, .chart-axis-label,
    .lt-cutoff, .lt-cutoff-label { stroke: #000; fill: #000; }

    /* Inline URLs in print - no clickable anchor indication needed. */
    a { color: #000 !important; text-decoration: none !important; }

    /* Footer - keep the attribution line, drop the nav list. */
    .site-footer { border-top: 1pt solid #000; padding: 10pt 0; }
    .footer-note { font-size: 9pt; }
}

/* =============================================================================
   HOLCO.MEDIA - reskin rapport 2026-06-10 (cohérent avec la landing)
   ============================================================================= */
.section-dark { background: var(--navy); }
.header-meta { color: var(--orange); font-weight: 600; }
.brand-dot { color: var(--orange); }
.pill-btn { border-color: var(--orange); color: var(--orange); }
.pill-btn:hover, .pill-btn:focus-visible { background: var(--orange); color: #fff; border-color: var(--orange); }
.pill-btn--dark { background: var(--orange); color: #fff; border-color: var(--orange); }
.pill-btn--dark:hover { background: #E23E14; border-color: #E23E14; }
.pill-btn--ghost { border-color: var(--navy); color: var(--navy); }
.pill-btn--ghost:hover { background: var(--navy); color: #fff; }
/* nav sommaire : numéros orange */
.sector-nav-sticky .nav-num { color: var(--orange); }

/* logo HOLCO mark (rond orange) dans le wordmark + footer */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 24px; height: 24px; display: block; border-radius: 6px; }
.footer-mark { width: 20px; height: 20px; vertical-align: -5px; margin-right: 7px; border-radius: 5px; }

/* logo HOLCO home (O orange) + alignement header */
.header-left { align-items: center; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 21px; width: auto; display: block; }
.header-meta { align-self: center; }
.footer-logo { height: 16px; width: auto; vertical-align: -3px; margin-right: 8px; }

/* ---------- Footer harmonisé holco.media ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; justify-content: space-between; padding-top: 64px !important; padding-bottom: 64px !important; }
.footer-brand { max-width: 380px; flex: 1 1 320px; }
.footer-logo-lg { height: 24px; width: auto; display: block; margin-bottom: 18px; }
.footer-tagline { font-family: var(--ff-sans); font-size: 14px; line-height: 1.65; color: var(--gray-600); margin: 0; text-transform: none; letter-spacing: 0; }
.footer-tagline a { color: var(--orange); border-bottom: 1px solid currentColor; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-col-label { color: var(--gray-400); margin-bottom: 4px; }
.footer-nav a, .footer-nav button { font-family: var(--ff-sans); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); background: none; border: none; padding: 0; text-align: left; cursor: pointer; transition: color 160ms ease; }
.footer-nav a::before, .footer-nav button::before { content: none !important; margin: 0 !important; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--orange); }
.footer-meta { display: flex; flex-direction: column; gap: 7px; text-align: right; }
.footer-meta .mono { color: var(--gray-400); }
@media (max-width: 760px) { .footer-inner { gap: 36px; } .footer-meta { text-align: left; } }

/* ---------- Footer commun HOLCO (réplique de la home) ---------- */
.site-footer.holco-footer { background: #0C1730; border-top: none; color: #C7D2E8; }
.holco-footer .container { padding-top: 72px; padding-bottom: 40px; }
.hf-top { display: flex; flex-wrap: wrap; gap: 56px; justify-content: space-between; }
.hf-brand { flex: 1 1 300px; max-width: 360px; }
.hf-logo { height: 24px; width: auto; display: block; margin-bottom: 20px; }
.hf-desc { font-family: var(--ff-sans); font-size: 14px; line-height: 1.65; color: #9FB0CE; margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.hf-paris { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #5E7099; margin: 0; }
.hf-cols { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 36px; flex: 2 1 600px; }
.hf-h { display: block; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: #5E7099; margin-bottom: 16px; }
.hf-col a { display: block; font-family: var(--ff-sans); font-size: 13.5px; line-height: 1.5; color: #C7D2E8; text-decoration: none; margin-bottom: 11px; transition: color 140ms ease; }
.hf-col a:hover { color: #FF6A3D; }
.hf-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); }
.hf-legal span { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.5px; color: #5E7099; }
.hf-legal .hf-geo { color: #FF6A3D; }
@media (max-width: 860px) { .hf-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hf-cols { grid-template-columns: 1fr; } }

/* Instrument Serif (comme la home) n'a que le 400 : éviter le faux-gras sur les titres serif */
em,
.hero-split-title, .hero-title, .hero-line, .manifesto-line,
.cover-title, .section-title, .matters-title, .deliverable-title,
.examples-title, .layers-title, .why-title, .cta-title,
.measure-title, .coverage-title, .layer-name, .accroche-band p,
.callout-quote, .callout-quote em, .lede, .cover-lede, .cta-line {
    font-weight: 400 !important;
    font-synthesis-weight: none;
}

/* ============ Polices de la home (titres = Space Grotesk) ============ */
:root{ --ff-display:'Space Grotesk','Inter',system-ui,sans-serif; }
.hero-split-title,.hero-title,.manifesto-line,.cover-title,.section-title,.matters-title,
.deliverable-title,.examples-title,.layers-title,.why-title,.cta-title,.measure-title,
.coverage-title,.layer-name,.accroche-band p,.diag-title,.cta-line{
  font-family:var(--ff-display) !important; font-weight:500 !important; letter-spacing:-0.015em;
}
/* mots-accent en italique Instrument Serif (comme la home) */
.hero-split-title em,.cover-title em,.manifesto-line em,.section-title em,.matters-title em,
.accroche-band p em,.cta-title em,.cta-line em,.why-title em,.deliverable-title em,.diag-title em,
.measure-title em,.examples-title em,.layers-title em,.coverage-title em{
  font-family:'Instrument Serif',Georgia,serif !important; font-style:italic !important; font-weight:400 !important;
}

/* ============ Effets premium / UX ============ */
[data-reveal]{opacity:0;transform:translateY(26px);transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .75s cubic-bezier(.22,1,.36,1)}
[data-reveal].in{opacity:1;transform:none}
[data-reveal].d1{transition-delay:.08s}[data-reveal].d2{transition-delay:.16s}[data-reveal].d3{transition-delay:.24s}
.site-header{transition:box-shadow .3s ease,backdrop-filter .3s}
.site-header.scrolled{box-shadow:0 8px 34px -18px rgba(16,35,73,.4)}
.pill-btn,.pill-btn--dark,.pill-btn--ghost{transition:transform .18s ease,background-color .2s,color .2s,box-shadow .2s,border-color .2s}
.pill-btn:hover,.pill-btn--ghost:hover{transform:translateY(-2px)}
.pill-btn--dark:hover{transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(255,74,28,.55)}
.hero-visual img{transition:transform .7s cubic-bezier(.22,1,.36,1),box-shadow .5s}
.hero-visual img:hover{transform:scale(1.015) rotate(-.3deg)}
.measure-card,.layer-card,.example-card,.coverage-card,.stat-card{transition:transform .38s cubic-bezier(.22,1,.36,1),box-shadow .38s}
.measure-card:hover,.layer-card:hover,.example-card:hover,.coverage-card:hover{transform:translateY(-5px);box-shadow:0 26px 54px -32px rgba(16,35,73,.45)}
.lead-form{transition:box-shadow .4s,transform .4s}
.lead-form:focus-within{box-shadow:0 32px 70px -34px rgba(255,74,28,.4)}
a.hero-secondary-link,.lead-alt a,.footer-tagline a{background-image:linear-gradient(currentColor,currentColor);background-size:0% 1px;background-position:0 100%;background-repeat:no-repeat;transition:background-size .3s}
a.hero-secondary-link:hover,.lead-alt a:hover,.footer-tagline a:hover{background-size:100% 1px}
@media (prefers-reduced-motion: reduce){[data-reveal]{opacity:1!important;transform:none!important;transition:none}}

/* ===== Header GEOBRAND mis en avant + lisibilité (board 2026-06-10) ===== */
body{ font-size:16px; }
.header-left{ align-items:center; }
.brand-geo{ display:inline-flex; flex-direction:column; gap:1px; text-decoration:none; line-height:1.05; }
.geo-wordmark{ font-family:var(--ff-display),'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(1.45rem,2.1vw,1.8rem); letter-spacing:-0.01em; color:var(--navy,#102349); }
.geo-by{ display:inline-flex; align-items:center; gap:5px; font-family:var(--ff-sans); font-size:11.5px; font-weight:500; letter-spacing:.02em; text-transform:none; color:rgba(16,35,73,.72); }
.geo-by img{ height:13px; width:auto; display:inline-block; }
.geo-ctx{ color:var(--accent,#FF4A1C); }

/* ===================== DECK ACCROCHE scroll-snap (board 2026-06-10) ===================== */
html{ scroll-snap-type:y proximity; scroll-padding-top:var(--header-height,60px); }
.geo-deck{ --nv:#0E1A30; --cr:#F4EEE3; --or:#FF4A1C; --gold:#B79257; }
.geo-screen{ min-height:100svh; scroll-snap-align:start; display:flex; flex-direction:column; justify-content:center;
  padding:clamp(70px,10vh,110px) clamp(22px,8vw,150px) clamp(50px,8vh,80px); position:relative; overflow:hidden; }
.geo-screen.nv{ background:var(--nv); color:#fff; }
.geo-screen.cr{ background:var(--cr); color:#16120E; }
.geo-kick{ font-family:'JetBrains Mono',monospace; font-size:12px; letter-spacing:.18em; text-transform:uppercase; opacity:.6; margin-bottom:clamp(14px,3vh,28px); }
.geo-screen.cr .geo-kick{ color:var(--or); opacity:1; }
.geo-h{ font-family:'Space Grotesk',Inter,sans-serif; font-weight:500; font-size:clamp(1.8rem,4.4vw,3.4rem); line-height:1.08; letter-spacing:-.02em; margin:0; max-width:22ch; }
.geo-h em{ font-style:italic; color:var(--or); font-family:'Instrument Serif',Georgia,serif; font-weight:400; }
.geo-sub{ font-size:clamp(1rem,1.45vw,1.18rem); line-height:1.62; max-width:48ch; margin-top:clamp(16px,3vh,26px); opacity:.86; }
.geo-sub strong{ font-weight:600; }
.geo-big{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(3.6rem,13vw,9rem); line-height:.9; letter-spacing:-.04em; margin:clamp(10px,2vh,20px) 0 0; }
.geo-gauges{ display:flex; gap:clamp(28px,6vw,72px); align-items:flex-end; margin:clamp(18px,3.5vh,36px) 0 0; min-height:clamp(160px,30vh,260px); align-items:flex-end; }
.geo-gauge{ display:flex; flex-direction:column; align-items:center; justify-content:flex-end; }
.geo-bar{ width:clamp(60px,13vw,120px); background:var(--or); border-radius:6px 6px 0 0; transition:height 1.1s cubic-bezier(.16,1,.3,1); height:0; }
.geo-bar.ghost{ background:rgba(255,255,255,.16); }
.geo-screen.cr .geo-bar.ghost{ background:rgba(16,35,73,.12); }
.geo-gval{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(1.5rem,3.6vw,2.6rem); margin-bottom:10px; }
.geo-glab{ font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; opacity:.7; margin-top:12px; text-align:center; }
.geo-cue{ position:absolute; bottom:22px; left:50%; transform:translateX(-50%); font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:.15em; text-transform:uppercase; opacity:.45; animation:geocue 1.8s infinite; white-space:nowrap; }
@keyframes geocue{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,5px)}}
.geo-deck [data-rev]{ opacity:0; transform:translateY(22px); transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1); }
.geo-deck [data-rev].in{ opacity:1; transform:none; }
.geo-cta-btn{ display:inline-block; margin-top:clamp(18px,3.5vh,30px); background:var(--or); color:#fff; border-radius:2px;
  padding:16px 30px; font-family:Inter,sans-serif; font-weight:600; font-size:15px; letter-spacing:.01em; text-decoration:none; transition:transform .3s,box-shadow .3s; }
.geo-cta-btn:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -14px rgba(255,74,28,.6); }
.geo-disc{ font-size:12.5px; opacity:.55; margin-top:16px; max-width:46ch; line-height:1.5; }
.geo-more{ text-align:center; padding:26px; background:var(--cr); border-top:1px solid rgba(183,146,87,.3); }
.geo-more a{ font-family:'JetBrains Mono',monospace; font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:#0E1A30; text-decoration:none; opacity:.7; }
.geo-more a:hover{ opacity:1; }
@media (prefers-reduced-motion:reduce){ html{scroll-snap-type:none;} .geo-deck [data-rev]{opacity:1;transform:none;} .geo-bar{transition:none;} .geo-cue{animation:none;} }
@media (max-width:600px){ .geo-gauges{ gap:24px; min-height:clamp(140px,24vh,200px);} .geo-screen{padding-left:22px;padding-right:22px;} }

/* ===== Divergence : table desktop / cartes mobile (page compléments) ===== */
.div-cards { display: none; }
@media (max-width: 640px) {
  .div-table-wrap { display: none; }
  .div-cards { display: grid; gap: 12px; }
  .div-card { border: 1px solid var(--gray-200); border-radius: 12px; padding: 14px 16px; background: #fff; }
  .div-card .dc-need { font-weight: 600; margin: 0 0 8px; display: block; font-size: 14.5px; color: var(--ink); }
  .div-card .dc-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; border-top: 1px solid var(--gray-100, #efece6); }
  .div-card .dc-row span:first-child { color: var(--gray-400); font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .04em; }
  .div-card .dc-row span:last-child { font-weight: 600; color: var(--ink); }
  .div-card .dc-verdict { margin-top: 8px; font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
}

/* ===== Conversion : bloc CTA closer, réassurance, référentiel (template prospection) ===== */
.cta-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; margin: 10px 0 14px; }
.cta-input { flex: 1 1 240px; padding: 14px 18px; border: 1px solid var(--gray-300); border-radius: 999px; font-size: 16px; font-family: 'Inter', sans-serif; }
.cta-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cta-reassure { font-size: 13px; color: var(--gray-600); margin-top: 8px; letter-spacing: .01em; }
.section-dark .cta-reassure { color: var(--gray-300); }
.cta-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 20px 0 0; font-size: 13.5px; color: var(--gray-300); }
.cta-trust li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.geo-cta-wrap { margin-top: 22px; }
.section-cta-final { background: #0E1A30; }
.ref-band { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 16px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin: 0 0 4px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: .02em; color: var(--gray-600); }
.ref-band strong { color: var(--ink); font-weight: 600; }
.ref-band .ref-sep { color: var(--accent); }
@media (max-width: 640px) {
  .cta-form { flex-direction: column; }
  .cta-input { flex: 1 1 auto; }
  body.sector { padding-bottom: 84px; } /* le bouton flottant ne recouvre plus le contenu */
}

/* ===== Bandeau de réassurance en tête du hero (study badge) ===== */
.study-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 0 26px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 7px 8px; background: rgba(255,255,255,0.04); font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .02em; }
.study-badge .sb-item { padding: 3px 12px; color: rgba(255,255,255,0.82); white-space: nowrap; }
.study-badge .sb-item strong { color: #fff; font-weight: 600; }
.study-badge .sb-item.sb-accent strong { color: var(--accent); }
.study-badge .sb-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,0.18); margin: 2px 0; }
/* variante sur fond clair (si un jour le hero est crème) */
.geo-screen.cr .study-badge { border-color: rgba(0,0,0,0.14); background: rgba(0,0,0,0.03); }
.geo-screen.cr .study-badge .sb-item { color: var(--gray-600); }
.geo-screen.cr .study-badge .sb-item strong { color: var(--ink); }
@media (max-width: 640px) {
  .study-badge { border-radius: 14px; padding: 8px 6px; gap: 2px 0; }
  .study-badge .sb-sep { display: none; }
  .study-badge .sb-item { padding: 3px 9px; font-size: 11px; }
}

/* ===== Section Diagnostic complet (livrables du payant) ===== */
.diag-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 26px; }
.diag-card { border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px 18px; background: #fff; }
.diag-card.is-free { border-color: var(--gray-300); }
.diag-card.is-paid { border-color: var(--accent); background: var(--accent-wash); }
.diag-card .dg-tag { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-600); margin-bottom: 6px; }
.diag-card.is-paid .dg-tag { color: var(--accent); }
.diag-card .dg-t { font-family: var(--ff-display); font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.diag-card .dg-d { font-size: 13.5px; color: var(--gray-600); line-height: 1.5; margin: 0; }
.diag-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.diag-list li { display: flex; gap: 13px; align-items: flex-start; }
.diag-list .dl-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.diag-list .dl-t { font-weight: 600; color: var(--ink); }
.diag-list .dl-d { color: var(--gray-600); }
.diag-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 640px) { .diag-split { grid-template-columns: 1fr; } }

/* Le CTA secondaire du bloc Diagnostic doit rester visible en mobile (override du masquage global des ghost). */
@media (max-width: 520px) {
  .diag-cta-row .pill-btn--ghost { display: inline-flex; }
  .diag-cta-row { flex-direction: column; align-items: stretch; }
  .diag-cta-row .pill-btn { text-align: center; justify-content: center; }
}

/* ===== Radar widget interactif (in-page, remplace la redirection) ===== */
.radar-step[hidden] { display: none; }
.radar-amorce { font-size: 18px; color: #fff; line-height: 1.45; margin: 4px 0 14px; max-width: 56ch; }
.radar-amorce strong { color: var(--accent); }
.radar-engines { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.radar-eng { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; border: 1px solid rgba(255,255,255,0.2); }
.radar-eng.is-on { color: #fff; background: rgba(34,197,94,0.14); border-color: rgba(34,197,94,0.5); }
.radar-eng.is-off { color: rgba(255,255,255,0.55); }
.radar-eng .re-dot { width: 8px; height: 8px; border-radius: 50%; }
.radar-eng.is-on .re-dot { background: #22C55E; }
.radar-eng.is-off .re-dot { background: rgba(255,255,255,0.35); }
.radar-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0 16px; max-width: 620px; }
.radar-kpi { border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 13px 15px; }
.radar-kpi .rk-lab { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.radar-kpi .rk-val { font-family: var(--ff-display); font-size: 24px; font-weight: 600; color: #fff; line-height: 1; }
.radar-competitors { margin: 0 0 16px; color: rgba(255,255,255,0.82); font-size: 14.5px; }
.radar-competitors strong { color: #fff; }
.radar-verdict { font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.55; max-width: 58ch; margin: 0 0 18px; padding: 13px 16px; border-left: 3px solid var(--accent); background: rgba(255,255,255,0.04); }
.radar-err { color: #ffb4a0; font-size: 13.5px; margin-top: 8px; }
@media (max-width: 640px) { .radar-result-grid { grid-template-columns: 1fr; } }
