/* InZeWishBox Marketing — design tokens alignés sur specs/tokens.json + help-site */

:root {
    --brand-orange: #ff6b35;
    --brand-yellow: #f4c430;
    --brand-grey: #7a7a7a;
    --brand-black: #1a1a1a;

    --bg: #f7f7f6;
    --bg-elevated: #ffffff;
    --bg-sunken: #eeeeec;
    --border: #e6e6e3;
    --border-strong: #c8c8c4;
    --text-primary: #1a1a1a;
    --text-secondary: #7a7a7a;
    --text-tertiary: #a8a8a4;

    --accent: var(--brand-orange);
    --accent-on: #ffffff;
    --on-yellow: #1a1a1a;

    --success: #0aa37f;
    --warning: #e08e0b;
    --danger: #d9534f;
    --info: #1f6feb;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.08), 0 24px 48px rgba(0, 0, 0, 0.06);

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Consolas", "Liberation Mono", monospace;
}

/* Thème sombre — UNIQUEMENT sur choix explicite via le bouton ([data-theme="dark"]).
   Le thème clair est le défaut : on ne suit pas automatiquement le sombre de l'OS. */
:root[data-theme="dark"] {
    --bg: #141413;
    --bg-elevated: #1d1d1c;
    --bg-sunken: #0e0e0d;
    --border: #2a2a28;
    --border-strong: #3a3a37;
    --text-primary: #f2f2ee;
    --text-secondary: #a0a09a;
    --text-tertiary: #717169;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.35);
    --shadow-elevated: 0 4px 12px rgba(0, 0, 0, 0.4), 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Bouton de bascule de thème (injecté par theme.js dans le header) */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: var(--space-3);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Groupe de contrôles header (lang switcher + theme toggle) — empêche le
   décalage visuel quand la nav change de largeur entre langues. */
.header-controls {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: var(--space-3);
    flex-shrink: 0;
}
.header-controls .theme-toggle { margin-left: 0; }

/* Sélecteur de langue (dropdown injecté par lang-switcher.js) */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-switcher-trigger {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    height: 38px;
    min-width: 76px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lang-switcher-trigger:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.lang-switcher-trigger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lang-switcher .lang-flag {
    display: inline-flex;
    width: 22px;
    height: 15px;
    line-height: 1;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.lang-switcher .lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

.lang-switcher .lang-caret {
    font-size: 10px;
    opacity: 0.65;
    margin-left: 2px;
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    padding: var(--space-1);
    list-style: none;
    margin: 0;
    z-index: 50;
}

.lang-switcher-menu li { margin: 0; }

.lang-switcher-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
}

.lang-switcher-menu a:hover {
    background: var(--bg-sunken);
}

.lang-switcher-menu a.is-current {
    background: var(--bg-sunken);
    color: var(--accent);
    font-weight: 700;
}

.lang-switcher-menu .lang-code {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    min-width: 22px;
}

.lang-switcher-menu a.is-current .lang-code {
    color: var(--accent);
}

.lang-switcher-menu .lang-name {
    flex: 1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 120ms ease;
}

a:hover {
    border-bottom-color: var(--accent);
}

/* Header */

.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: saturate(140%) blur(8px);
}

.site-header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.brand-group {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
}

.brand:hover {
    border-bottom-color: transparent;
}

.brand-publisher {
    margin-left: 48px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.brand-publisher:hover {
    color: var(--accent);
    border-bottom-color: transparent;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: url("assets/icon-master.png") center/cover no-repeat;
    /* Image-replacement : la « W » du HTML sert de fallback texte mais
       doit être invisible quand l'image charge. */
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    line-height: 0;
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
    align-items: center;
}

.site-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
}

.site-nav a:hover {
    color: var(--text-primary);
}

@media (max-width: 720px) {
    .site-nav {
        display: none;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:hover {
    border-bottom-color: transparent;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-on);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
}

.btn-yellow {
    background: var(--brand-yellow);
    color: var(--on-yellow);
}

.btn-yellow:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

/* Layout */

main {
    flex: 1;
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

section {
    padding: var(--space-9) 0;
}

@media (max-width: 720px) {
    section {
        padding: var(--space-7) 0;
    }
}

.section-eyebrow {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: var(--space-3);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.section-lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: var(--space-6);
}

/* Hero */

.hero {
    padding: var(--space-9) 0 var(--space-8);
    text-align: center;
    background:
        radial-gradient(ellipse at top, rgba(255, 107, 53, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(244, 196, 48, 0.08), transparent 50%);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    max-width: 880px;
    margin: 0 auto var(--space-5);
}

.hero h1 .accent {
    color: var(--accent);
}

/* Mot tournant : 4 publics cibles s'enchaînent en fondu. Grille empilée pour que
   la largeur soit celle du mot le plus long, évitant un saut de layout. Total 12s
   (4 mots × 3s : 0.8s fade-in, 2.2s pleinement visible, 0.8s fade-out — le fade-out
   du mot N chevauche le fade-in du mot N+1, donc 3s par "slot"). */
.rotating-word {
    display: inline-grid;
    vertical-align: baseline;
}

.rotating-word .word {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(8px);
    animation: rotatingWord 12s ease-in-out infinite;
    white-space: nowrap;
}

.rotating-word .word:nth-child(1) { animation-delay: 0s; }
.rotating-word .word:nth-child(2) { animation-delay: 3s; }
.rotating-word .word:nth-child(3) { animation-delay: 6s; }
.rotating-word .word:nth-child(4) { animation-delay: 9s; }

@keyframes rotatingWord {
    0%      { opacity: 0; transform: translateY(8px); }
    6.67%   { opacity: 1; transform: translateY(0); }
    25%     { opacity: 1; transform: translateY(0); }
    31.67%  { opacity: 0; transform: translateY(-8px); }
    100%    { opacity: 0; transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .rotating-word .word { animation: none; opacity: 0; }
    .rotating-word .word:nth-child(1) { opacity: 1; transform: none; }
}

.hero p.lead {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto var(--space-6);
}

.hero-free-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 auto var(--space-5);
    padding: 10px 22px;
    background: var(--success);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(110deg, var(--success) 0%, var(--success) 38%, rgba(255, 255, 255, 0.38) 50%, var(--success) 62%, var(--success) 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    animation: heroBadgeShimmer 10s linear infinite;
    will-change: background-position;
}

@keyframes heroBadgeShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-free-badge { animation: none; }
}

.hero-free-badge .free-strong {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-free-badge .free-mid {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 800;
}

.hero-free-badge .free-card {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hero-free-badge .free-sep {
    opacity: 0.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
}

.hero-trust {
    margin-top: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* For-who grid */

.for-who {
    background: var(--bg-elevated);
}

.for-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.for-who-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.for-who-icon {
    font-size: 32px;
    margin-bottom: var(--space-3);
    line-height: 1;
}

.for-who-title {
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.for-who-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

/* Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
    counter-reset: stepc;
}

.step {
    counter-increment: stepc;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    position: relative;
}

.step::before {
    content: counter(stepc);
    position: absolute;
    top: var(--space-5);
    right: var(--space-5);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: var(--brand-yellow);
    color: var(--on-yellow);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 0 4px var(--bg);
}

.step-title {
    font-weight: 700;
    margin-bottom: var(--space-2);
    padding-right: 50px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

/* Features grid */

.features {
    background: var(--bg-elevated);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.feature {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.feature-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: var(--space-3);
}

.feature-title {
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

/* Pricing */

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.price-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
}

.price-card.highlighted {
    border-color: var(--accent);
    box-shadow: var(--shadow-elevated);
    position: relative;
    overflow: hidden;
}

.price-card.highlighted::before {
    content: "Recommandé";
    position: absolute;
    top: 14px;
    right: -32px;
    background: var(--accent);
    color: var(--accent-on);
    padding: 4px 36px;
    transform: rotate(35deg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.price-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.price-amount {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-1);
}

.price-cycle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: var(--space-5);
}

.price-features {
    list-style: none;
    padding: 0;
    flex: 1;
    margin-bottom: var(--space-5);
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 800;
}

/* Tier comparison table (Groupe paliers) */

.tier-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
}

.tier-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.tier-table th,
.tier-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.tier-table th {
    background: var(--bg-sunken);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.tier-table tbody tr:last-child td {
    border-bottom: none;
}

.tier-table tbody tr:hover {
    background: var(--bg-sunken);
}

.tier-table td:first-child {
    font-weight: 700;
}

.tier-table td:last-child {
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
    text-align: right;
}

/* Suppléments cards */

.supp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
}

.supp-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}

.supp-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: var(--space-1);
    line-height: 1.1;
}

.supp-name {
    font-weight: 700;
    margin-bottom: var(--space-2);
    font-size: 15px;
}

.supp-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* FAQ */

details.faq {
    border-bottom: 1px solid var(--border);
    padding: var(--space-4) 0;
}

details.faq summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

details.faq summary::-webkit-details-marker {
    display: none;
}

details.faq summary::after {
    content: "+";
    font-size: 22px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 200ms ease;
}

details.faq[open] summary::after {
    content: "−";
}

details.faq[open] summary {
    margin-bottom: var(--space-3);
}

details.faq p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA band */

.cta-band {
    background: var(--brand-yellow);
    color: var(--on-yellow);
    text-align: center;
    padding: var(--space-8) 0;
}

.cta-band h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
}

.cta-band p {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: var(--space-5);
    font-size: 17px;
}

/* Charte d'utilisation bienveillante — 2 colonnes : (1) principes pleine hauteur, (2) paire empilée */
.charter-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: stretch;
}

.charter-col-stack {
    display: grid;
    gap: var(--space-5);
    align-content: start;
}

.charter-col {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand-orange);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
}

.charter-col-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}

.charter-item {
    margin-bottom: var(--space-4);
}

.charter-item:last-child {
    margin-bottom: 0;
}

.charter-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.charter-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.charter-guarantees {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--space-3);
}

.charter-guarantees li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

/* Emojis Option A — petite pastille ronde crème/orange devant titres, principes,
   conseils et garanties. Cohérent avec les emojis du hero et de la section features. */
.charter-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    margin-right: 0.4em;
    border-radius: 50%;
    background: #fff1e4;
    font-size: 0.95em;
    line-height: 1;
    vertical-align: -0.35em;
}

[data-theme="dark"] .charter-emoji {
    background: rgba(255, 107, 53, 0.16);
}

.charter-col-title .charter-emoji {
    font-size: 1.05em;
    vertical-align: -0.4em;
}

/* Variante « œil barré » — l'emoji 👁️ seul dit « visible », l'inverse du sens
   (chaque bénéficiaire ne voit QUE ses propres données). On superpose une croix
   rouge (deux diagonales) pour signifier la restriction, rendu fiable cross-plateforme. */
.charter-emoji--barred {
    position: relative;
}

.charter-emoji--barred::before,
.charter-emoji--barred::after {
    content: "";
    position: absolute;
    left: 12%;
    top: 42%;
    width: 76%;
    height: 2.5px;
    background: var(--danger);
    border-radius: 2px;
    transform-origin: center;
}

.charter-emoji--barred::before {
    transform: rotate(-45deg);
}

.charter-emoji--barred::after {
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .charter-cols {
        grid-template-columns: 1fr;
    }
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    padding: var(--space-7) 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-5);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-5);
    align-items: center;
}

.site-footer a {
    color: var(--text-secondary);
    border-bottom: none;
    margin: 0 var(--space-3);
}

.site-footer a:hover {
    color: var(--text-primary);
}

@media (max-width: 720px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .site-footer a {
        display: inline-block;
        margin: 0 var(--space-2);
    }
}

/* Utilities */

.muted {
    color: var(--text-secondary);
}

.center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2);
}

.section-header .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Fallback banner — shown when user hits a non-translated language URL */
.fallback-banner {
    background: #fef3c7;
    border-bottom: 1px solid #f59e0b;
    color: #78350f;
    padding: 10px 16px;
    font-size: 0.92rem;
    text-align: center;
}
.fallback-banner strong { font-weight: 600; }

/* Photo en haut des cartes "Pour qui" — uniformise les 4 cartes via aspect-ratio
   et object-fit:cover quelle que soit l'orientation source (carré ou paysage). */
.for-who-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
}

/* Liste numérotée à l'intérieur d'une carte feature (ex. les 4 niveaux de confiance) */
.feature-list {
    margin: var(--space-3) 0;
    padding-left: var(--space-5);
    line-height: 1.5;
}

.feature-list li {
    margin-bottom: var(--space-2);
}

.feature-list li:last-child {
    margin-bottom: 0;
}
