/* =============================================================================
   plan-maitrise-sanitaire.fr — Design system V2
   Tokens from design-specs/v1-hifi.css
   ============================================================================= */


/* -----------------------------------------------------------------------------
   Variables — design-specs tokens mapped to legacy names
   ----------------------------------------------------------------------------- */
:root {
    /* Ink (text) */
    --color-primary:        #0a0e1a;
    --color-primary-dark:   #0a0e1a;
    --color-primary-light:  #2a3147;

    /* Accent (blue) */
    --color-accent:         #1d4ed8;
    --color-accent-hover:   #2563eb;
    --color-accent-light:   #e6edff;

    /* Danger */
    --color-danger:         #b91c1c;
    --color-danger-dark:    #991B1B;
    --color-danger-light:   #fee2e2;
    --color-danger-border:  #FECACA;

    /* Success */
    --color-success:        #047857;
    --color-success-light:  #d1fae5;

    /* Surfaces & neutrals */
    --color-bg:             #f7f8fa;
    --color-bg-alt:         #ffffff;
    --color-bg-dark:        #0a0e1a;
    --color-text:           #0a0e1a;
    --color-text-light:     #5a6378;
    --color-text-muted:     #8b94aa;
    --color-border:         #e4e7ee;
    --color-border-strong:  #d3d8e2;

    /* New design tokens */
    --ink:          #0a0e1a;
    --ink-2:        #2a3147;
    --ink-3:        #5a6378;
    --ink-4:        #8b94aa;
    --surface:      #ffffff;
    --surface-2:    #f1f3f7;
    --line:         #e4e7ee;
    --line-2:       #d3d8e2;
    --accent:       #1d4ed8;
    --accent-2:     #2563eb;
    --accent-soft:  #e6edff;
    --accent-ink:   #122a6e;
    --accent-glow:  rgba(37, 99, 235, 0.16);

    /* Espacements */
    --space-xs:    0.25rem;
    --space-sm:    0.5rem;
    --space-md:    1rem;
    --space-lg:    1.5rem;
    --space-xl:    2rem;
    --space-2xl:   3rem;
    --space-3xl:   4rem;
    --space-section: 6rem;

    /* Typographie */
    --font-body:        'Geist', system-ui, -apple-system, sans-serif;
    --font-mono:        'Geist Mono', ui-monospace, monospace;
    --font-serif:       'Instrument Serif', serif;
    --font-size-xs:     0.75rem;
    --font-size-sm:     0.875rem;
    --font-size-base:   1rem;
    --font-size-lg:     1.125rem;
    --font-size-xl:     1.25rem;
    --font-size-2xl:    1.5rem;
    --font-size-3xl:    1.875rem;
    --font-size-4xl:    2.25rem;
    --font-size-5xl:    3rem;

    /* Rayons */
    --radius-sm:    8px;
    --radius-md:    10px;
    --radius-lg:    14px;
    --radius-xl:    20px;
    --radius-2xl:   28px;
    --radius-full:  9999px;

    /* Ombres */
    --shadow-sm:    0 1px 2px rgba(10,14,26,0.04), 0 0 0 1px rgba(10,14,26,0.04);
    --shadow-md:    0 4px 16px rgba(10,14,26,0.06), 0 0 0 1px rgba(10,14,26,0.04);
    --shadow-lg:    0 24px 60px -20px rgba(10,14,26,0.18), 0 0 0 1px rgba(10,14,26,0.04);
    --shadow-xl:    0 24px 60px -20px rgba(10,14,26,0.18), 0 0 0 1px rgba(10,14,26,0.04);

    /* Largeurs */
    --container-max:    1200px;
    --content-max:      800px;

    /* Transitions */
    --transition-base:  150ms ease;
    --transition-slow:  300ms ease;
}

/* -----------------------------------------------------------------------------
   Reset & base
   ----------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-base);
}

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

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

input, textarea, select {
    font: inherit;
}

ul, ol {
    padding-left: var(--space-lg);
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------------------------
   Typographie — design-specs tokens
   ----------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 var(--space-md);
}

h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 500;
}

h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-top: var(--space-2xl);
}

h3 {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

h4 {
    font-size: var(--font-size-lg);
    color: var(--ink-2);
}

p {
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-2);
    font-weight: 400;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: 0; }
.italic-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }

/* -----------------------------------------------------------------------------
   Layout — Container, sections
   ----------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.container--narrow {
    max-width: var(--content-max);
}

.section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
    .section {
        padding-top: var(--space-section);
        padding-bottom: var(--space-section);
    }
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-dark {
    background: var(--color-primary);
    color: white;
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: white;
}

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-md);
}

.site-logo {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.site-logo:hover {
    color: var(--color-primary);
}

.site-logo__accent {
    color: var(--color-accent);
}

.site-nav {
    display: none;
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
        flex: 1;
        justify-content: center;
    }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav__list a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: var(--space-sm) 0;
    transition: color var(--transition-base);
}

.site-nav__list a:hover {
    color: var(--color-accent);
}

.site-nav__item {
    position: relative;
}

.site-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin-top: var(--space-sm);
}

.site-nav__item:hover .site-nav__submenu,
.site-nav__item:focus-within .site-nav__submenu {
    display: block;
}

.site-nav__submenu li {
    margin: 0;
}

.site-nav__submenu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.site-nav__submenu a:hover {
    background: var(--color-bg-alt);
}

.btn-cta-header {
    display: none;
}

@media (min-width: 1024px) {
    .btn-cta-header {
        display: inline-flex;
        align-items: center;
        gap: var(--space-xs);
        background: var(--color-accent);
        color: white;
        padding: var(--space-sm) var(--space-lg);
        border-radius: var(--radius-md);
        font-weight: 600;
        font-size: var(--font-size-sm);
        text-decoration: none;
        white-space: nowrap;
        transition: background var(--transition-base), transform var(--transition-base);
    }

    .btn-cta-header:hover {
        background: var(--color-accent-hover);
        color: white;
        transform: translateY(-1px);
    }
}

/* Container des actions header (recherche, CTA, burger) */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Icône loupe — visible sur tous les écrans */
.header-search-toggle,
.header-client-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    color: var(--color-text);
    transition: background var(--transition-base), color var(--transition-base);
    text-decoration: none;
}
.header-search-toggle:hover,
.header-client-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-accent);
}
/* Cacher l'icône client sur mobile (présente dans le menu burger) */
.header-client-link { display: none; }
@media (min-width: 1024px) {
    .header-client-link { display: inline-flex; }
}

/* Drawer recherche dans le header */
.header-search {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    animation: slideDown 150ms ease;
}
@keyframes slideDown {
    from { transform: translateY(-10px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.header-search[hidden] { display: none; }

.header-search__form {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.header-search__form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background: white;
}
.header-search__form input[type="search"]:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.header-search__close {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    color: var(--color-text-light);
    border-radius: var(--radius-md);
}
.header-search__close:hover { color: var(--color-danger); }

.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    gap: 4px;
    transition: background var(--transition-base);
}

.burger:hover {
    background: var(--color-bg-alt);
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (min-width: 1024px) {
    .burger { display: none; }
}

/* Menu mobile ouvert */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 200;
    padding: var(--space-xl);
    overflow-y: auto;
}

.mobile-menu--open {
    display: block;
}

.mobile-menu__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
}

.mobile-menu__list {
    list-style: none;
    padding: var(--space-3xl) 0 var(--space-xl);
    margin: 0;
}

.mobile-menu__list li {
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu__list a {
    display: block;
    padding: var(--space-md) 0;
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.mobile-menu__cta {
    margin-top: var(--space-xl);
}

body.menu-open {
    overflow: hidden;
}

/* -----------------------------------------------------------------------------
   Boutons CTA
   ----------------------------------------------------------------------------- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--color-accent);
    color: white;
    padding: 0.875rem var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    min-height: 48px;
    box-shadow: var(--shadow-md);
    transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-cta:hover {
    background: var(--color-accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cta--lg {
    padding: 1.125rem var(--space-2xl);
    font-size: var(--font-size-lg);
}

.btn-cta--block {
    width: 100%;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: transparent;
    color: var(--color-primary);
    padding: 0.875rem var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    min-height: 48px;
    border: 2px solid var(--color-primary);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-cta-secondary:hover {
    background: var(--color-primary);
    color: white;
}

/* -----------------------------------------------------------------------------
   Cards & badges
   ----------------------------------------------------------------------------- */
.card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card--hover:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-alt);
    color: var(--color-text);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    line-height: 1;
}

.badge--success {
    background: var(--color-success-light);
    color: var(--color-success);
}

.badge--danger {
    background: var(--color-danger-light);
    color: var(--color-danger);
}

.badge--accent {
    background: var(--color-accent-light);
    color: var(--color-accent-hover);
}

.badge--primary {
    background: var(--color-primary);
    color: white;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: var(--space-2xl) 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: var(--space-section) 0;
    }
}

.hero__inner {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero h1 {
    color: white;
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .hero h1 { font-size: var(--font-size-5xl); }
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero__subtitle { font-size: var(--font-size-xl); }
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-sm);
}

.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.hero__visual {
    position: relative;
    text-align: center;
}

.hero__visual img {
    margin: 0 auto;
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Hero variante danger (pages douleur) */
.hero--danger {
    background: linear-gradient(135deg, var(--color-danger-dark) 0%, var(--color-danger) 100%);
}

.hero--danger .badge--urgent {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: white;
    color: var(--color-danger);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

/* Hero léger pour pages pilier / métier / géo */
.hero--light {
    background: var(--color-bg-alt);
    color: var(--color-text);
    padding: var(--space-2xl) 0;
}

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

.hero--light .hero__subtitle {
    color: var(--color-text-light);
}

/* -----------------------------------------------------------------------------
   Breadcrumb
   ----------------------------------------------------------------------------- */
.breadcrumb {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.breadcrumb__list a {
    color: var(--color-text-light);
    text-decoration: none;
}

.breadcrumb__list a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.breadcrumb__sep {
    color: var(--color-text-muted);
    margin: 0 var(--space-xs);
}

.breadcrumb__current {
    color: var(--color-text);
    font-weight: 500;
}

/* -----------------------------------------------------------------------------
   Pain columns (3 colonnes douleur)
   ----------------------------------------------------------------------------- */
.pain-columns {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .pain-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pain-col {
    background: var(--color-danger-light);
    border: 1px solid var(--color-danger-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.pain-col__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.pain-col__number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-danger-dark);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.pain-col__label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.pain-col__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.5;
}

/* -----------------------------------------------------------------------------
   How it works (3 étapes)
   ----------------------------------------------------------------------------- */
.steps {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
    text-align: center;
    position: relative;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
}

.step__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.step__desc {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   Comparison table
   ----------------------------------------------------------------------------- */
.comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.comparison-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
}

.comparison-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-primary);
    position: sticky;
    top: 0;
    text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--color-text);
}

.comparison-table td {
    text-align: center;
}

.comparison-table .col-us {
    background: var(--color-accent-light);
    border-left: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    font-weight: 600;
    color: var(--color-primary);
}

.comparison-table thead .col-us {
    background: var(--color-accent);
    color: white;
}

.comparison-table .check  { color: var(--color-success); font-weight: 700; }
.comparison-table .cross  { color: var(--color-danger);  font-weight: 700; }

/* -----------------------------------------------------------------------------
   FAQ accordion
   ----------------------------------------------------------------------------- */
.faq-list {
    max-width: var(--content-max);
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    background: white;
    overflow: hidden;
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-base);
    transition: background var(--transition-base);
}

.faq-item__question:hover {
    background: var(--color-bg-alt);
}

.faq-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    transition: transform var(--transition-base);
    color: var(--color-accent);
    font-weight: 700;
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-item__answer-inner {
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq-item--open .faq-item__answer {
    max-height: 1000px;
}

/* -----------------------------------------------------------------------------
   Testimonials (témoignages clients)
   ----------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__rating {
    color: #F59E0B;
    font-size: var(--font-size-lg);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.testimonial-card__title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 var(--space-sm);
    line-height: 1.35;
}

.testimonial-card__text {
    color: var(--color-text);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin: 0 0 var(--space-md);
    flex: 1;
    border: none;
    padding: 0;
    background: none;
    font-style: normal;
}

.testimonial-card__footer {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
}

.testimonial-card__meta {
    margin-top: 0.125rem;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

.testimonial-card__date {
    display: block;
    margin-top: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
   Trust badges
   ----------------------------------------------------------------------------- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    font-weight: 500;
}

.trust-badge__icon {
    color: var(--color-success);
    font-weight: 700;
}

/* -----------------------------------------------------------------------------
   CTA section
   ----------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: var(--space-section) 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-section__desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section__guarantee {
    margin-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

/* CTA inline (encart au milieu d'un contenu pillar) */
.cta-inline {
    background: var(--color-accent-light);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
    text-align: center;
}

.cta-inline__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.cta-inline__desc {
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

/* CTA renforcé (pages douleur) */
.cta-section--danger {
    background: linear-gradient(135deg, var(--color-danger-dark) 0%, var(--color-danger) 100%);
}

/* -----------------------------------------------------------------------------
   Encarts info / warning (shortcodes)
   ----------------------------------------------------------------------------- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    border-left: 4px solid;
}

.alert--info {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #1E40AF;
}

.alert--warning {
    background: #FFFBEB;
    border-color: #F59E0B;
    color: #92400E;
}

.alert--success {
    background: var(--color-success-light);
    border-color: var(--color-success);
    color: #14532D;
}

.alert--danger {
    background: var(--color-danger-light);
    border-color: var(--color-danger);
    color: var(--color-danger-dark);
}

/* -----------------------------------------------------------------------------
   Internal links (maillage interne)
   ----------------------------------------------------------------------------- */
.internal-links {
    margin-top: var(--space-2xl);
}

.internal-links__title {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.internal-links__grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .internal-links__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .internal-links__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.internal-link-card {
    display: block;
    padding: var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-base);
}

.internal-link-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
}

.internal-link-card__title {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.internal-link-card__desc {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* -----------------------------------------------------------------------------
   Table des matières (TOC sticky desktop)
   ----------------------------------------------------------------------------- */
.toc {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.toc__title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-base);
}

.toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc__list li {
    margin-bottom: var(--space-xs);
}

.toc__list a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.toc__list a:hover {
    color: var(--color-accent);
}

@media (min-width: 1024px) {
    .layout-with-sidebar {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: var(--space-2xl);
    }

    .toc--sticky {
        position: sticky;
        top: 88px;
        align-self: start;
    }
}

/* -----------------------------------------------------------------------------
   Content body (WYSIWYG output)
   ----------------------------------------------------------------------------- */
.content-body {
    max-width: var(--content-max);
    margin: 0 auto;
    font-size: var(--font-size-base);
    line-height: 1.75;
    color: var(--color-text);
}

.content-body > * + * {
    margin-top: var(--space-md);
}

.content-body h2 {
    margin-top: var(--space-2xl);
    padding-top: var(--space-md);
}

.content-body h3 {
    margin-top: var(--space-xl);
}

.content-body ul,
.content-body ol {
    padding-left: var(--space-xl);
}

.content-body li {
    margin-bottom: var(--space-xs);
}

.content-body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.content-body img {
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.content-body table th,
.content-body table td {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-border);
}

.content-body table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
}

.content-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: var(--space-sm) var(--space-lg);
    margin: var(--space-lg) 0;
    color: var(--color-text-light);
    font-style: italic;
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--space-section) 0 var(--space-xl);
    margin-top: var(--space-section);
}

.site-footer__grid {
    display: grid;
    gap: var(--space-2xl);
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.site-footer__col h3 {
    color: white;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__col li {
    margin-bottom: var(--space-sm);
}

.site-footer__col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.site-footer__col a:hover {
    color: var(--color-accent);
}

.site-footer__bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* -----------------------------------------------------------------------------
   Wizard PMS (générateur en 7 étapes)
   ----------------------------------------------------------------------------- */

/* Progression */
.wizard-progress {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.wizard-progress__steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-sm);
}
.wizard-progress__step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-bg-alt);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin: 0 auto;
    transition: all var(--transition-base);
    flex-shrink: 0;
}
.wizard-progress__step--done {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}
.wizard-progress__step--current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}
.wizard-progress__bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}
.wizard-progress__fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Form */
.wizard-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.wizard-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.wizard-field__label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: var(--font-size-base);
}
.wizard-field__required {
    color: var(--color-danger);
}
.wizard-field__help {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.4;
}

.wizard-field__input,
.wizard-field__textarea,
.wizard-field__select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    background: white;
    color: var(--color-text);
    font-family: inherit;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.wizard-field__input:focus,
.wizard-field__textarea:focus,
.wizard-field__select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(233, 113, 50, 0.15);
}
.wizard-field__textarea {
    resize: vertical;
    min-height: 80px;
}

/* Radio + checkbox personnalisés */
.wizard-field__radio-group,
.wizard-field__checkbox-group {
    display: grid;
    gap: var(--space-sm);
}
@media (min-width: 768px) {
    .wizard-field__checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
}
.wizard-radio,
.wizard-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}
.wizard-radio:hover,
.wizard-checkbox:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}
.wizard-radio input,
.wizard-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wizard-radio__box,
.wizard-checkbox__box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    background: white;
    flex-shrink: 0;
    transition: all var(--transition-base);
    margin-top: 2px;
}
.wizard-radio__box {
    border-radius: 50%;
}
.wizard-checkbox__box {
    border-radius: var(--radius-sm);
}
.wizard-radio input:checked + .wizard-radio__box {
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: inset 0 0 0 4px white;
}
.wizard-checkbox input:checked + .wizard-checkbox__box {
    border-color: var(--color-accent);
    background: var(--color-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 70% 70%;
    background-position: center;
    background-repeat: no-repeat;
}
.wizard-radio:has(input:checked),
.wizard-checkbox:has(input:checked) {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.wizard-radio__label,
.wizard-checkbox__label {
    color: var(--color-text);
    line-height: 1.4;
}

/* Actions */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    gap: var(--space-md);
}

/* Saved status */
.wizard-saved-status [data-saved-status] {
    transition: opacity 0.2s;
}
.wizard-saved-status [data-saved-status].saving {
    opacity: 0.6;
}
.wizard-saved-status [data-saved-status].saved {
    color: var(--color-success);
}

/* Inline validation states */
.wizard-field--valid .wizard-field__input,
.wizard-field--valid .wizard-field__textarea,
.wizard-field--valid .wizard-field__select {
    border-color: var(--color-success);
}
.wizard-field--valid::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    background: var(--color-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}
.wizard-field--valid {
    position: relative;
}
.wizard-field--invalid .wizard-field__input,
.wizard-field--invalid .wizard-field__textarea,
.wizard-field--invalid .wizard-field__select {
    border-color: var(--color-danger);
    background: #fef2f2;
}
.wizard-field--valid .wizard-field__input:focus,
.wizard-field--valid .wizard-field__textarea:focus,
.wizard-field--valid .wizard-field__select:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.wizard-field--invalid .wizard-field__input:focus,
.wizard-field--invalid .wizard-field__textarea:focus,
.wizard-field--invalid .wizard-field__select:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Submit spinner */
.wizard-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: wizard-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes wizard-spin {
    to { transform: rotate(360deg); }
}

/* Google Places autocomplete dropdown */
.pac-container {
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--shadow-lg) !important;
    margin-top: 4px !important;
    font-family: inherit !important;
    z-index: 9999 !important;
}
.pac-item {
    padding: 8px 12px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    border-top: 1px solid var(--color-border) !important;
}
.pac-item:first-child { border-top: none !important; }
.pac-item:hover,
.pac-item-selected {
    background: var(--color-accent-light) !important;
}
.pac-item-query {
    font-weight: 600 !important;
    color: var(--color-text) !important;
}
.pac-icon { display: none !important; }
.pac-matched { font-weight: 700 !important; }

/* -----------------------------------------------------------------------------
   Wizard — Landing page
   ----------------------------------------------------------------------------- */
.wiz-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #1a4a7a 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
    position: relative;
}
.wiz-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.wiz-hero .container {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}
@media (min-width: 768px) {
    .wiz-hero { padding: var(--space-section) 0; }
    .wiz-hero .container {
        grid-template-columns: 1.3fr 0.7fr;
    }
}
.wiz-hero__inner { position: relative; z-index: 1; }
.wiz-hero__inner .badge { margin-bottom: var(--space-lg); }
.wiz-hero h1 {
    color: white;
    font-size: var(--font-size-4xl);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}
@media (min-width: 768px) {
    .wiz-hero h1 { font-size: var(--font-size-5xl); }
}
.wiz-hero__sub {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}
.wiz-hero__btn {
    font-size: var(--font-size-lg);
    padding: 1rem 2.5rem;
}
.wiz-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-lg);
    margin-top: var(--space-xl);
    color: rgba(255,255,255,0.85);
    font-size: var(--font-size-sm);
}
.wiz-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.wiz-hero__trust-item svg { color: #4ade80; flex-shrink: 0; }

/* Faux document visuel */
.wiz-hero__visual {
    display: none;
    justify-content: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .wiz-hero__visual { display: flex; }
}
.wiz-hero__doc {
    width: 240px;
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
    transform: rotate(2deg);
    position: relative;
}
.wiz-hero__doc-bar {
    height: 8px;
    background: var(--color-primary);
    border-radius: 4px;
    margin-bottom: var(--space-lg);
}
.wiz-hero__doc-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wiz-hero__doc-lines span {
    display: block;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
}
.wiz-hero__doc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-success-light);
    color: var(--color-success);
    font-size: var(--font-size-xs);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    margin-top: var(--space-lg);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* Section livrables */
.wiz-cards {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .wiz-cards { grid-template-columns: repeat(3, 1fr); }
}
.wiz-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.wiz-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.wiz-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}
.wiz-card__icon--pdf {
    background: #FEF2F2;
    color: #DC2626;
}
.wiz-card__icon--word {
    background: #EFF6FF;
    color: #2563EB;
}
.wiz-card__icon--excel {
    background: var(--color-success-light);
    color: var(--color-success);
}
.wiz-card h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.wiz-card p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* Section étapes */
.wiz-steps {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .wiz-steps { grid-template-columns: repeat(3, 1fr); }
}
.wiz-step {
    text-align: center;
    position: relative;
}
.wiz-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-accent);
    color: white;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 14px rgba(233,113,50,0.3);
    position: relative;
    z-index: 1;
}
.wiz-step__connector {
    display: none;
}
@media (min-width: 768px) {
    .wiz-step__connector {
        display: block;
        position: absolute;
        top: 26px;
        left: calc(50% + 30px);
        width: calc(100% - 60px);
        height: 2px;
        background: var(--color-border-strong);
    }
    .wiz-step:last-child .wiz-step__connector { display: none; }
}
.wiz-step h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}
.wiz-step p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* Section sécurité */
.wiz-security__grid {
    display: grid;
    gap: var(--space-md);
    max-width: 700px;
    margin: var(--space-xl) auto 0;
}
@media (min-width: 600px) {
    .wiz-security__grid { grid-template-columns: 1fr 1fr; }
}
.wiz-security__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.wiz-security__icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.wiz-security__item strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 2px;
}
.wiz-security__item span {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.5;
}
.wiz-security__item a {
    color: var(--color-accent);
}

/* CTA final */
.wiz-cta-bottom {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    padding: var(--space-3xl) 0;
}
.wiz-cta-bottom h2 {
    color: white;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-sm);
}
.wiz-cta-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
}

/* -----------------------------------------------------------------------------
   Wizard — Form (étapes) amélioré
   ----------------------------------------------------------------------------- */
.wizard-form-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-xl);
}
@media (max-width: 767px) {
    .wizard-form-card { padding: var(--space-lg); }
}

.wizard-progress__steps {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    position: relative;
}
.wizard-progress__step {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}
@media (min-width: 768px) {
    .wizard-progress__step { width: 40px; height: 40px; }
}
.wizard-step-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}
.wizard-step-header h1 {
    font-size: var(--font-size-2xl);
    color: var(--color-primary);
    margin-top: var(--space-sm);
}
@media (min-width: 768px) {
    .wizard-step-header h1 { font-size: var(--font-size-3xl); }
}

/* -----------------------------------------------------------------------------
   Espace client (Phase J4)
   ----------------------------------------------------------------------------- */
.client-cards {
    display: grid;
    gap: var(--space-lg);
    grid-template-columns: 1fr;
    margin-top: var(--space-md);
}

@media (min-width: 768px) {
    .client-cards { grid-template-columns: repeat(2, 1fr); }
}

.client-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.client-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.client-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}
.client-card__header h3 {
    color: var(--color-primary);
    font-size: var(--font-size-xl);
    margin: 0;
    line-height: 1.3;
}

.client-card__meta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-lg);
}

.client-card__progress {
    margin-bottom: var(--space-lg);
}
.client-card__progress-bar {
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}
.client-card__progress-bar > div {
    height: 100%;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.client-card__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}
.client-card__actions .btn-cta,
.client-card__actions .btn-cta-secondary {
    padding: 0.5rem 0.875rem;
    font-size: var(--font-size-sm);
    min-height: 0;
}

/* -----------------------------------------------------------------------------
   404
   ----------------------------------------------------------------------------- */
.error-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-section) var(--space-md);
}

.error-page__code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-md);
    letter-spacing: -0.05em;
}

.error-page__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.error-page__desc {
    color: var(--color-text-light);
    max-width: 520px;
    margin: 0 auto var(--space-xl);
}

/* -----------------------------------------------------------------------------
   Utilitaires
   ----------------------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent  { color: var(--color-accent); }
.text-danger  { color: var(--color-danger); }
.text-success { color: var(--color-success); }
.text-muted   { color: var(--color-text-light); }

.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    color: white;
}

/* -----------------------------------------------------------------------------
   Réduction des animations (accessibilité)
   ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================================================
   Homepage V2 — design-specs components
   ============================================================================= */

/* --- Nav V2 (sticky blur) --- */
.nav-v2 {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--color-bg) 90%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-v2-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-v2-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--ink);
}
.nav-v2-logo-mark {
    width: 42px;
    height: 36px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--color-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.nav-v2-logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
    opacity: 0.9;
    mix-blend-mode: screen;
}
.nav-v2-logo-mark span { position: relative; z-index: 1; }
.nav-v2-logo .logo-domain { color: var(--ink-3); font-weight: 400; }
.nav-v2-links {
    display: none;
    align-items: center;
    gap: 4px;
}
@media (min-width: 1024px) {
    .nav-v2-links { display: flex; }
}
.nav-v2-link {
    font-size: 14px;
    color: var(--ink-2);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
}
.nav-v2-link:hover { background: var(--surface); color: var(--ink); }

/* --- Buttons V2 --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none;
}
.btn-primary {
    background: var(--ink);
    color: var(--color-bg);
    border-color: var(--ink);
}
.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.btn-accent {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-accent:hover {
    box-shadow: 0 0 0 6px var(--accent-glow);
    transform: translateY(-1px);
    color: white;
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}
.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--ink-3);
    color: var(--ink);
}
.btn-lg { padding: 16px 24px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 12px; font-size: 14px; }

/* --- Pills --- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
}
.pill-accent {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent-ink);
}
.pill-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Hero V2 --- */
.hero-v2 {
    padding-top: 72px;
    padding-bottom: 96px;
    position: relative;
    overflow: hidden;
}
.hero-v2-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 0%, var(--accent-glow), transparent 70%),
        radial-gradient(ellipse 40% 30% at 10% 30%, var(--accent-glow), transparent 70%);
    pointer-events: none;
    opacity: 0.7;
}
.hero-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
}
@media (min-width: 1024px) {
    .hero-v2-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 64px;
    }
}
.hero-v2 h1 .accent-word {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}
.hero-v2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.hero-v2-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* --- Hero deliverables (right column) --- */
.hero-deliverables {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 1024px) {
    .hero-deliverables { padding: 32px; }
}
.hero-del-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin-bottom: 4px;
}
.hero-del-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface-2);
    transition: border-color 0.15s;
}
.hero-del-card:hover { border-color: var(--accent); }
.hero-del-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--line);
}
.hero-del-info { flex: 1; min-width: 0; }
.hero-del-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}
.hero-del-desc {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 2px;
    line-height: 1.4;
}
.hero-del-format {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    flex-shrink: 0;
}
.hero-del-card--pdf .hero-del-format { background: #fee2e2; color: #dc2626; }
.hero-del-card--word .hero-del-format { background: var(--accent-soft); color: var(--accent); }
.hero-del-card--excel .hero-del-format { background: #d1fae5; color: #047857; }
.hero-del-footer {
    text-align: center;
    padding-top: 6px;
}

/* --- Deliverable mockup --- */
.deliverable {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 460px;
    margin-left: auto;
    display: none;
}
@media (min-width: 1024px) {
    .deliverable { display: block; }
}
.doc {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.doc-pdf { inset: 0% 12% 8% 0%; transform: rotate(-3deg); z-index: 3; }
.doc-word { inset: 12% 0% 12% 18%; transform: rotate(2deg); z-index: 2; opacity: 0.95; }
.doc-excel { inset: 22% 24% 0% 8%; transform: rotate(-1deg); z-index: 1; opacity: 0.85; }
.doc-header {
    height: 40px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}
.doc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.doc-tag {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.doc-body { padding: 16px; }
.doc-line { height: 6px; background: var(--line); border-radius: 2px; margin-bottom: 8px; }
.doc-line.short { width: 40%; }
.doc-line.tall { height: 10px; width: 60%; background: var(--ink-2); }
.doc-line.accent-line { background: var(--accent); width: 30%; }
.deliverable-tag {
    position: absolute;
    background: var(--ink);
    color: var(--color-bg);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-family: var(--font-mono);
    z-index: 10;
}

/* --- Proof strip (metiers) --- */
.proof-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: 28px;
    background: var(--surface);
}
.proof-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.proof-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.metiers {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}
.metier {
    font-family: var(--font-serif);
    font-size: 20px;
    font-style: italic;
    color: var(--ink-2);
}
@media (min-width: 768px) {
    .metier { font-size: 22px; }
    .metiers { gap: 32px; }
}

/* --- Risk cards --- */
.risk-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .risk-grid { grid-template-columns: repeat(3, 1fr); }
}
.risk-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.risk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-danger);
    opacity: 0.8;
}
.risk-amount {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    margin: 12px 0 6px;
}
.risk-label { font-size: 14px; color: var(--color-danger); font-weight: 500; }
.risk-body { font-size: 14px; color: var(--ink-3); margin-top: 12px; line-height: 1.55; }
.risk-cite {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-4);
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}

/* --- Steps V2 --- */
.steps-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
}
@media (min-width: 768px) {
    .steps-v2 { grid-template-columns: repeat(3, 1fr); }
}
.step-v2 { position: relative; }
.step-v2-num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}
.step-v2-mock {
    margin-top: 24px;
    height: 180px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.mock-form { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mock-form-row { height: 28px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.mock-form-row.active { background: var(--accent-soft); border-color: var(--accent); }
.mock-engine { display: flex; align-items: center; justify-content: center; height: 100%; flex-direction: column; gap: 12px; }
.mock-engine-bar { width: 70%; height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.mock-engine-fill { height: 100%; width: 65%; background: var(--accent); border-radius: 999px; }
.mock-download { display: flex; align-items: center; gap: 8px; padding: 12px; flex-direction: column; height: 100%; justify-content: center; }
.mock-file { display: flex; align-items: center; gap: 10px; width: 70%; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; font-family: var(--font-mono); }
.mock-file-icon { width: 22px; height: 26px; background: var(--accent); border-radius: 3px; flex-shrink: 0; }

/* --- Compare table V2 --- */
.compare-v2 {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--surface);
    margin-top: 32px;
}
.compare-v2 table { width: 100%; border-collapse: collapse; }
.compare-v2 thead th {
    font-weight: 500;
    text-align: left;
    padding: 20px;
    font-size: 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    color: var(--ink-3);
}
.compare-v2 thead th.us {
    background: var(--accent);
    color: white;
}
.compare-v2 tbody td {
    padding: 18px 20px;
    font-size: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink-2);
}
.compare-v2 tbody td:first-child {
    font-weight: 500;
    color: var(--ink);
    width: 26%;
}
.compare-v2 tbody td.us {
    background: color-mix(in srgb, var(--accent-soft) 50%, transparent);
    font-weight: 500;
    color: var(--accent-ink);
}
.compare-v2 .tick { color: var(--color-success); font-weight: 600; }
.compare-v2 .cross { color: var(--ink-4); }

/* --- Testimonials V2 --- */
.test-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
}
.test-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .test-v2-grid { grid-template-columns: repeat(3, 1fr); }
}
.test-v2-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
}
.test-v2-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.test-v2-quote {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.4;
    color: var(--ink);
    margin: 12px 0 20px;
    flex: 1;
}
.test-v2-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.test-v2-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}
.test-v2-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.test-v2-role { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* --- Pricing V2 --- */
.price-v2 {
    background: var(--surface);
    border-block: 1px solid var(--line);
}
.price-v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 1024px) {
    .price-v2-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
}
.price-v2-card {
    background: var(--ink);
    color: white;
    border-radius: var(--radius-2xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .price-v2-card { padding: 44px; }
}
.price-v2-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, var(--accent-glow), transparent 60%);
    opacity: 0.8;
}
.price-v2-card > * { position: relative; }
.price-v2-amount {
    font-size: 80px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}
@media (min-width: 768px) {
    .price-v2-amount { font-size: 96px; }
}
.price-v2-currency { font-size: 32px; font-weight: 400; opacity: 0.6; }
.price-v2-meta {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-top: 10px;
}
.price-v2-features { display: flex; flex-direction: column; gap: 10px; margin: 28px 0; }
.price-v2-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
}
.price-v2-feature svg { flex-shrink: 0; margin-top: 1px; }

/* --- FAQ V2 (details/summary) --- */
.faq-v2 { max-width: 800px; margin-top: 40px; }
.faq-v2 details {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.faq-v2 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
}
.faq-v2 summary::-webkit-details-marker { display: none; }
.faq-v2 summary::after {
    content: '+';
    font-family: var(--font-mono);
    color: var(--ink-3);
    font-size: 18px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}
.faq-v2 details[open] summary::after {
    transform: rotate(45deg);
}
.faq-v2 details p {
    margin-top: 12px;
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.6;
}

/* --- CTA final V2 --- */
.cta-final-v2 {
    text-align: center;
    padding-block: 96px;
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .cta-final-v2 { padding-block: 120px; }
}
.cta-final-v2-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--accent-glow), transparent 70%);
    pointer-events: none;
}
.cta-final-v2 .container { position: relative; }
.cta-trust-v2 {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--ink-3);
    flex-wrap: wrap;
    justify-content: center;
}
@media (min-width: 768px) {
    .cta-trust-v2 { gap: 24px; }
}

/* --- Footer V2 --- */
.footer-v2 {
    border-top: 1px solid var(--line);
    padding-block: 48px;
    background: var(--surface);
}
.footer-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
@media (min-width: 768px) {
    .footer-v2-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-v2-col h4 {
    font-size: 12px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 14px;
}
.footer-v2-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-v2-col a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.footer-v2-col a:hover { color: var(--ink); }
.footer-v2-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-3);
    font-family: var(--font-mono);
}

/* --- Helpers V2 --- */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* --- Mobile burger for nav-v2 --- */
.nav-v2-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}
@media (min-width: 1024px) {
    .nav-v2-burger { display: none; }
}
.nav-v2-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: all 0.2s;
}
.nav-v2-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-v2-actions .btn-ghost,
.nav-v2-actions .btn-accent { display: none; }
@media (min-width: 1024px) {
    .nav-v2-actions .btn-ghost,
    .nav-v2-actions .btn-accent { display: inline-flex; }
}

/* Responsive compare table */
@media (max-width: 767px) {
    .compare-v2 { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .compare-v2 table { min-width: 600px; }
}

/* =============================================================================
   Cookie consent banner
   ============================================================================= */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--ink); color: #fff;
    transform: translateY(100%); opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}
#cookie-banner.cc-visible {
    transform: translateY(0); opacity: 1;
}
.cc-inner {
    max-width: 1100px; margin: 0 auto;
    padding: 20px 24px;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cc-text { flex: 1 1 400px; font-size: 14px; line-height: 1.5; }
.cc-text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.cc-text p { margin: 0; color: rgba(255,255,255,0.7); }
.cc-text a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cc-btn {
    padding: 10px 22px; border: none; border-radius: var(--radius-md, 8px);
    font-size: 14px; font-weight: 600; cursor: pointer;
    white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.cc-btn--accept { background: #fff; color: var(--ink); }
.cc-btn--accept:hover { background: var(--accent-soft, #e6edff); }
.cc-btn--refuse { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.cc-btn--refuse:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 640px) {
    .cc-inner { flex-direction: column; text-align: center; }
    .cc-actions { width: 100%; justify-content: center; }
}
