/* ============================================================
   AGENTS-CRM.AI — Editorial refinement layer
   Complément à app.css : tokens, typo et classes utilitaires
   pour une esthétique éditoriale professionnelle et rassurante.
   ============================================================ */

:root {
    /* Nouvelles familles : display (Fraunces serif) + pro body (Public Sans) */
    --font-display: 'Fraunces', 'Fraunces Variable', 'Cambria', Georgia, serif;
    --font-body: 'Public Sans', 'Inter', system-ui, -apple-system, sans-serif;

    /* Palette refined navy (profonde, banque/institution) */
    --ink: #0a0a0a;
    --ink-soft: #262626;
    --ink-muted: #5b6268;
    --paper: #fcfbf8;          /* Crème très très léger — évite le blanc pur trop froid */
    --paper-warm: #f5f2ea;     /* Bande alternative */
    --navy: #0a2540;           /* Navy profond, signal de confiance */
    --navy-deep: #041528;
    --navy-soft: #1f3a5f;
    --hairline: #e8e5df;       /* Filet chaud qui s'accorde avec le crème */
    --rule: #d9d4c7;           /* Filet plus marqué pour sections */
}

/* ============================================================
   Typographie éditoriale
   ============================================================ */
.display-serif {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    color: var(--ink);
    line-height: 1.02;
}
.display-serif em,
.display-serif i {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-weight: 400;
}

/* Eyebrow / section label — small-caps, navy, wide tracking */
.eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    display: inline-block;
}

/* Section number : chiffre romain éditorial */
.section-roman {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 14px;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    font-variation-settings: "opsz" 14, "SOFT" 100;
}

/* Texte de corps éditorial — lead paragraph */
.lead {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink-soft);
    font-weight: 400;
    max-width: 58ch;
}

/* Corps standard éditorial */
.prose {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-soft);
}
.prose > p + p { margin-top: 1.1em; }

/* ============================================================
   Rules (séparateurs éditoriaux)
   ============================================================ */
.rule-hairline {
    height: 1px;
    background: var(--hairline);
    border: 0;
    margin: 0;
}
.rule-navy {
    height: 2px;
    background: var(--navy);
    border: 0;
    width: 48px;
    margin: 0;
}
.rule-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    margin: 0 12px;
    vertical-align: middle;
    opacity: 0.5;
}

/* ============================================================
   Metric display (grands chiffres éditoriaux)
   ============================================================ */
.metric-display {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    letter-spacing: -0.02em;
    line-height: 0.95;
    color: var(--ink);
    font-feature-settings: "lnum" 1, "ss01" 1;
}
.metric-display-large { font-size: clamp(64px, 9vw, 120px); }
.metric-display-mid { font-size: clamp(42px, 5vw, 64px); }
.metric-display-sm { font-size: 32px; }

.metric-caption {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-muted);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

/* ============================================================
   Cartes éditoriales — sobres, hairline, sans ombre
   ============================================================ */
.card-editorial {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;            /* Presque carré → pro */
    padding: 28px;
    transition: border-color 180ms ease, transform 220ms ease;
    position: relative;
}
.card-editorial:hover {
    border-color: var(--navy);
}
.card-editorial .eyebrow {
    margin-bottom: 14px;
}
.card-editorial h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 10px;
    font-variation-settings: "opsz" 48, "SOFT" 50;
}
.card-editorial p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-muted);
    margin: 0;
}

/* Version accentuée (fond crème foncé) */
.card-editorial-warm {
    background: var(--paper-warm);
    border-color: var(--rule);
}

/* ============================================================
   Boutons éditoriaux — contraste max, presque carré
   ============================================================ */
.btn-editorial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 180ms cubic-bezier(.2,.8,.2,1), background 180ms ease, color 180ms ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.btn-editorial-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.btn-editorial-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}
.btn-editorial-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-editorial-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}
.btn-editorial-arrow::after {
    content: '→';
    font-family: var(--font-body);
    transition: transform 220ms ease;
}
.btn-editorial-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================================
   Hero éditorial
   ============================================================ */
.editorial-page {
    background: var(--paper);
    color: var(--ink);
}

.editorial-hero {
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
}

.editorial-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 72px;
    align-items: end;
}

@media (max-width: 900px) {
    .editorial-hero { padding: 72px 0 56px; }
    .editorial-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.editorial-hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 32px;
}
.editorial-hero h1 em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.editorial-hero .subtitle {
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 54ch;
    margin: 0 0 40px;
}

.editorial-hero-meta {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.8;
    padding-left: 24px;
    border-left: 1px solid var(--hairline);
}
.editorial-hero-meta .eyebrow { margin-bottom: 16px; }
.editorial-hero-meta dt {
    font-weight: 600;
    color: var(--ink);
    margin-top: 16px;
}
.editorial-hero-meta dd { margin: 4px 0 0; }

/* Page load reveal */
@keyframes editorial-rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.editorial-reveal {
    animation: editorial-rise 900ms cubic-bezier(.2,.8,.2,1) both;
}
.editorial-reveal-1 { animation-delay: 80ms; }
.editorial-reveal-2 { animation-delay: 200ms; }
.editorial-reveal-3 { animation-delay: 320ms; }
.editorial-reveal-4 { animation-delay: 440ms; }

/* ============================================================
   Sections
   ============================================================ */
.editorial-section {
    padding: 96px 0;
    border-top: 1px solid var(--hairline);
}
.editorial-section-alt {
    background: var(--paper-warm);
}

.editorial-section-header {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 64px;
    align-items: baseline;
}
@media (max-width: 900px) {
    .editorial-section { padding: 64px 0; }
    .editorial-section-header { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
}
.editorial-section-header h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 12px;
    font-variation-settings: "opsz" 96, "SOFT" 40;
}
.editorial-section-header h2 em {
    font-style: italic;
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.editorial-section-header .kicker {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 55ch;
    margin: 0;
}

/* ============================================================
   Dashboard espace client — variante refined
   ============================================================ */
.dashboard-editorial {
    /* Les composants dashboard existent déjà (card, stat-card, etc.)
       On refine légèrement les KPI et les greetings */
}
.dashboard-editorial .page-greeting {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 96, "SOFT" 50;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 4px;
}
.dashboard-editorial .page-greeting em {
    font-style: italic;
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.dashboard-editorial .page-subhead {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

/* KPI refined */
.kpi-editorial {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 132px;
    transition: border-color 180ms ease;
}
.kpi-editorial:hover { border-color: var(--navy); }
.kpi-editorial .kpi-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.kpi-editorial .kpi-value {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 40;
    font-size: 52px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-feature-settings: "lnum" 1;
}
.kpi-editorial .kpi-value.accent-hot { color: #a41919; }
.kpi-editorial .kpi-value.accent-navy { color: var(--navy); }
.kpi-editorial .kpi-value.accent-green { color: #1f5132; }
.kpi-editorial .kpi-value.accent-warm { color: #8a5a00; }
.kpi-editorial .kpi-foot {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: auto;
}

/* Briefing card refined */
.briefing-editorial {
    background: #fff;
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--navy);
    border-radius: 2px;
    padding: 32px;
}
.briefing-editorial .briefing-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 72, "SOFT" 50;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 4px 0 0;
}
.briefing-editorial .briefing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    margin: 20px 0 20px;
}
.briefing-editorial .briefing-stat-num {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 96, "SOFT" 40;
    font-size: 36px;
    line-height: 1;
    color: var(--ink);
    font-feature-settings: "lnum" 1;
}
.briefing-editorial .briefing-stat-num.hot { color: #a41919; }
.briefing-editorial .briefing-stat-num.navy { color: var(--navy); }
.briefing-editorial .briefing-stat-num.warm { color: #8a5a00; }
.briefing-editorial .briefing-stat-label {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* Action tiles */
.action-tile {
    display: block;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 180ms ease, background 180ms ease;
    position: relative;
}
.action-tile:hover {
    border-color: var(--ink);
    background: var(--paper-warm);
}
.action-tile::after {
    content: '→';
    position: absolute;
    top: 22px;
    right: 22px;
    font-family: var(--font-body);
    color: var(--ink-muted);
    transition: transform 220ms ease, color 220ms ease;
}
.action-tile:hover::after {
    transform: translateX(4px);
    color: var(--ink);
}
.action-tile .action-tile-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}
.action-tile .action-tile-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 48, "SOFT" 50;
    font-size: 22px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 6px;
}
.action-tile .action-tile-desc {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ============================================================
   Steps (procédure éditoriale numérotée)
   ============================================================ */
.editorial-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
@media (max-width: 900px) {
    .editorial-steps { grid-template-columns: 1fr; }
}
.editorial-step {
    padding: 40px 32px 40px 0;
    border-right: 1px solid var(--hairline);
    position: relative;
}
.editorial-step:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 900px) {
    .editorial-step {
        border-right: 0;
        border-bottom: 1px solid var(--hairline);
        padding-right: 0;
    }
    .editorial-step:last-child { border-bottom: 0; }
}
.editorial-step-number {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 100;
    font-size: 48px;
    line-height: 1;
    color: var(--navy);
    margin-bottom: 20px;
    font-feature-settings: "lnum" 1;
}
.editorial-step h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 48, "SOFT" 50;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 10px;
}
.editorial-step p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-muted);
    margin: 0;
}

/* ============================================================
   CTA final
   ============================================================ */
.editorial-cta {
    background: var(--navy-deep);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.editorial-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03) 0, transparent 45%);
    pointer-events: none;
}
.editorial-cta h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 144, "SOFT" 40;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 24px;
    max-width: 18ch;
}
.editorial-cta h2 em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.editorial-cta p {
    font-family: var(--font-body);
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 48ch;
    margin: 0 0 40px;
}
.editorial-cta .btn-editorial-primary {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}
.editorial-cta .btn-editorial-primary:hover {
    background: transparent;
    color: #fff;
}

/* ============================================================
   Principes (3 partis pris revendiqués)
   ============================================================ */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
@media (max-width: 900px) {
    .principles-grid { grid-template-columns: 1fr; }
}
.principle-card {
    padding: 44px 40px 44px 0;
    border-right: 1px solid var(--hairline);
    position: relative;
}
.principle-card:last-child { border-right: 0; padding-right: 0; }
@media (max-width: 900px) {
    .principle-card {
        border-right: 0;
        border-bottom: 1px solid var(--hairline);
        padding: 32px 0;
    }
    .principle-card:last-child { border-bottom: 0; }
}
.principle-card .eyebrow { color: var(--navy); margin-bottom: 20px; }
.principle-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 96, "SOFT" 50;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 12px;
}
.principle-card h3 em {
    font-style: italic;
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.principle-card p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-muted);
    margin: 0;
}

/* ============================================================
   Comparatif honnête vs concurrents
   ============================================================ */
.competitor-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}
.competitor-table thead th {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    padding: 14px 20px 14px 0;
    border-bottom: 1px solid var(--rule);
    text-align: left;
}
.competitor-table thead th.is-us {
    color: var(--navy);
    position: relative;
}
.competitor-table thead th.is-us::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--navy);
    margin-top: 8px;
}
.competitor-table tbody td {
    padding: 18px 20px 18px 0;
    border-bottom: 1px solid var(--hairline);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
    vertical-align: top;
}
.competitor-table tbody td:first-child {
    color: var(--ink);
    font-weight: 500;
    max-width: 320px;
}
.competitor-table .check-yes {
    color: var(--navy);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    font-variation-settings: "opsz" 48, "SOFT" 100;
}
.competitor-table .check-no {
    color: #c4b8a8;
    font-family: var(--font-body);
    font-size: 16px;
}
.competitor-table .partial {
    color: var(--ink-muted);
    font-size: 13px;
    font-style: italic;
}
.competitor-table-note {
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--paper-warm);
    border-left: 2px solid var(--navy);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.65;
    font-style: italic;
}
.competitor-table-note strong {
    font-style: normal;
    color: var(--ink);
}

/* ============================================================
   Credits transparency table (pricing page)
   ============================================================ */
.credits-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    overflow: hidden;
}
.credits-table tbody tr:nth-child(even) {
    background: var(--paper);
}
.credits-table tbody td {
    padding: 18px 24px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid var(--hairline);
}
.credits-table tbody tr:last-child td { border-bottom: 0; }
.credits-table tbody td:first-child {
    color: var(--ink);
    font-weight: 500;
}
.credits-table tbody td:first-child .credits-desc {
    display: block;
    font-weight: 400;
    color: var(--ink-muted);
    font-size: 13px;
    margin-top: 3px;
}
.credits-table tbody td:last-child {
    text-align: right;
    color: var(--navy);
    font-family: var(--font-display);
    font-variation-settings: "opsz" 48, "SOFT" 50;
    font-size: 20px;
    font-feature-settings: "lnum" 1;
    white-space: nowrap;
    min-width: 200px;
}
.credits-table tbody td:last-child .credits-unit {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ink-muted);
    font-variation-settings: initial;
    margin-left: 6px;
}

.credits-pedagogy {
    margin-top: 32px;
    padding: 28px 32px;
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    border-radius: 2px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 700px) {
    .credits-pedagogy { grid-template-columns: 1fr; gap: 16px; }
}
.credits-pedagogy .pedagogy-eq {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 96, "SOFT" 50;
    font-size: 36px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    font-feature-settings: "lnum" 1;
}
.credits-pedagogy .pedagogy-eq span {
    color: var(--navy);
    font-style: italic;
    font-variation-settings: "opsz" 96, "SOFT" 100;
}
.credits-pedagogy p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
}

/* Exemples pré-calculés par pack */
.pack-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
@media (max-width: 900px) {
    .pack-examples { grid-template-columns: 1fr; }
}
.pack-example {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;
}
.pack-example .pack-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}
.pack-example .pack-price {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 96, "SOFT" 50;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 14px;
    font-feature-settings: "lnum" 1;
}
.pack-example ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.pack-example li {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
    padding: 3px 0 3px 14px;
    position: relative;
}
.pack-example li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--navy);
}

/* ============================================================
   Use cases (cas d'usage pédagogiques)
   ============================================================ */
.usecase-disclaimer {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 13px;
    color: var(--ink-muted);
    max-width: 60ch;
    margin: 0 0 32px;
    padding: 12px 20px;
    border-left: 2px solid var(--rule);
    line-height: 1.6;
}
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .usecase-grid { grid-template-columns: 1fr; }
}
.usecase-card {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 2px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: border-color 180ms ease, transform 220ms ease;
    position: relative;
}
.usecase-card:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
}
.usecase-card .usecase-kicker {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}
.usecase-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-variation-settings: "opsz" 72, "SOFT" 50;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 12px;
}
.usecase-card .usecase-problem {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.65;
    margin: 0 0 24px;
}
.usecase-card .usecase-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--hairline);
    margin-top: auto;
}
.usecase-card .usecase-metric-val {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 72, "SOFT" 40;
    font-size: 22px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    font-feature-settings: "lnum" 1;
}
.usecase-card .usecase-metric-label {
    font-size: 11px;
    color: var(--ink-muted);
    margin-top: 4px;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

/* ============================================================
   Demo showcase — carousel scroll-snap horizontal
   ============================================================ */
.demo-showcase {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 48px;
    margin: 0 -32px;
    padding-left: 32px;
    scroll-padding: 32px;
    scrollbar-width: thin;
    scrollbar-color: var(--rule) transparent;
}
.demo-showcase::-webkit-scrollbar { height: 6px; }
.demo-showcase::-webkit-scrollbar-track { background: transparent; }
.demo-showcase::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 999px; }

.demo-capture {
    scroll-snap-align: start;
    flex: 0 0 min(720px, 85vw);
    margin: 0;
}
.demo-capture-frame {
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 20px 40px -20px rgba(10, 37, 64, 0.15);
}
.demo-capture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}
.demo-capture-caption {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    padding-right: 20px;
}
.demo-capture-caption strong {
    color: var(--ink);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

/* ============================================================
   Logo mark (hero logo qui se démarque sans effet de carte)
   ============================================================ */
.editorial-logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-variation-settings: "opsz" 48, "SOFT" 60;
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.editorial-logo-mark img {
    height: 28px;
    width: auto;
}
