/* ==========================================================================
   NEXOTIA — DESIGN SYSTEM & ARCHITECTURE CSS V2.0
   PREMIUM LIGHT / VISUAL-FIRST / CONVERSION-DRIVEN
   Palette : Fond #F7F7F4, Cartes #FFFFFF, Texte #111111/#606060, Accent #3157FF
   ========================================================================== */

/* --- 1. Variables & Tokens de Design --- */
:root {
    /* Palette Principale Thème Clair Premium */
    --bg-primary: #F7F7F4;
    --bg-secondary: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FAFAF7;
    --bg-surface-hover: #F2F2ED;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFAF7;
    --bg-input: #FFFFFF;

    /* Bordures subtiles */
    --border: #E4E4DF;
    --border-hover: #D0D0CA;
    --border-focus: #3157FF;
    --border-light: rgba(0, 0, 0, 0.05);

    /* Textes */
    --text-primary: #111111;
    --text-secondary: #606060;
    --text-muted: #888884;
    --text-on-accent: #FFFFFF;

    /* Couleur Principale NEXOTIA (Bleu Électrique Premium) */
    --accent: #3157FF;
    --accent-hover: #2345E6;
    --accent-active: #1A38C2;
    --accent-subtle: #EAF0FF;
    --accent-border: rgba(49, 87, 255, 0.22);
    --accent-glow: rgba(49, 87, 255, 0.12);

    /* Accent micro-détails champagne / beige */
    --accent-warm: #F4F0E8;
    --accent-warm-border: #E8E2D5;

    /* États & Statuts */
    --success: #16A34A;
    --success-subtle: #DCFCE7;
    --danger: #DC2626;
    --danger-subtle: #FEE2E2;
    --warning: #D97706;
    --warning-subtle: #FEF3C7;

    /* Alias sémantiques */
    --bg-base: var(--bg-primary);

    /* Typographie */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Rayons de bordure */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Ombres discrètes, nettes & modernes */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 32px rgba(49, 87, 255, 0.08), 0 4px 10px rgba(0, 0, 0, 0.03);

    /* Dimensions */
    --container-max: 1200px;
    --header-height: 76px;
}

/* --- 2. Reset & Règles de Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    line-height: 1.55;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease;
}

ul, ol {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

/* --- 3. Typographie & Hiérarchie --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-primary);
    letter-spacing: -0.028em;
}

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

.text-lead {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

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

.text-accent {
    color: var(--accent);
}

/* --- 4. Layout & Conteneurs --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.section {
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid var(--border);
}

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

.section-header {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
}

/* Grilles */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* --- 5. Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.45rem;
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    min-height: 46px;
    text-align: center;
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 87, 255, 0.35);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-on-accent);
    border-color: var(--accent);
    box-shadow: 0 2px 6px rgba(49, 87, 255, 0.24);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 87, 255, 0.32);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border);
    box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.86rem;
    min-height: 38px;
}

.btn-lg {
    padding: 0.9rem 1.85rem;
    font-size: 1rem;
    min-height: 50px;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* --- 6. Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(247, 247, 244, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 28px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

.logo-text {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    position: relative;
    padding: 0.25rem 0;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.5rem;
    cursor: pointer;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-toggle:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-hover);
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle.is-active .icon-burger {
    display: none;
}

.menu-toggle.is-active .icon-close {
    display: block;
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 247, 244, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    z-index: 999;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    display: none;
}

.mobile-nav.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-nav .nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.85rem 0.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.15s ease, padding-left 0.15s ease;
    min-height: 48px;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:active {
    color: var(--accent);
    padding-left: 0.75rem;
}

.mobile-nav-footer {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

/* --- 7. Hero Section --- */
.hero {
    padding-top: calc(var(--header-height) + 3.75rem);
    padding-bottom: 5.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    background: radial-gradient(circle at 85% 20%, rgba(49, 87, 255, 0.04) 0%, transparent 50%),
                var(--bg-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3.35rem;
    line-height: 1.1;
    letter-spacing: -0.038em;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.25rem;
}

.hero-reassurance {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.hero-reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-reassurance-item svg {
    color: var(--accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* --- 8. HERO VISUEL : INTERFACE DU NEXOTIA SYSTEM --- */
.hero-visual-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.hero-visual-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.75; }
}

.hero-visual-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-visual-badge {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
}

/* Grille de flux du système Hero */
.system-flow-chain {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
}

.system-flow-node {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: default;
}

.system-flow-node.active {
    background: var(--bg-secondary);
    border-color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
    transform: translateX(4px);
}

.node-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.node-icon-box {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.system-flow-node.active .node-icon-box {
    background: var(--accent-subtle);
    border-color: var(--accent-border);
    color: var(--accent);
}

.node-icon-box svg {
    width: 16px;
    height: 16px;
}

.node-info-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.system-flow-node.active .node-info-tag {
    color: var(--accent);
}

.node-info-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.node-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node-metric {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}

.system-flow-node.active .node-metric {
    background: var(--success-subtle);
    border-color: rgba(22, 163, 74, 0.25);
    color: var(--success);
}

.node-connector-line {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10px;
    color: var(--border-hover);
}

.node-connector-line svg {
    width: 12px;
    height: 12px;
}

.hero-visual-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hero-footer-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-footer-stat strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* --- 9. Barre de Preuve Immédiate --- */
.proof-strip {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.proof-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.proof-headline {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.proof-headline::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
}

.proof-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.proof-pill {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* --- 10. Section Problème : Visuelle ("Quelque part, votre croissance fuit") --- */
.problem-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-subtle);
}

.problem-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.problem-top {
    margin-bottom: 1.5rem;
}

.problem-num-tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.4rem;
}

.problem-title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.problem-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Mini Visual Mockup dans chaque carte problème */
.problem-mini-ui {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 01 ATTIRER mini UI : Drop-off funnel */
.funnel-leak-bar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.funnel-leak-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.funnel-track {
    height: 8px;
    background: var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.funnel-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    background: var(--accent);
}

.funnel-fill.leak {
    background: var(--danger);
    width: 25% !important;
}

.leak-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--danger);
    background: var(--danger-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* 02 CONVERTIR mini UI : Bottleneck pipeline */
.pipeline-leak-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    font-size: 0.74rem;
}

.pipe-step-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.45rem 0.55rem;
    border-radius: var(--radius-sm);
    text-align: center;
    flex: 1;
    font-weight: 600;
    color: var(--text-secondary);
}

.pipe-step-box.blocked {
    border-color: var(--danger);
    background: var(--danger-subtle);
    color: var(--danger);
}

/* 03 OPÉRER mini UI : Multi-tools manual chaos */
.chaos-tools-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.35rem;
}

.tool-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
}

.tool-cross {
    color: var(--danger);
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- 11. Section "Une entreprise. Un système." (4 Offres Visuelles) --- */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.system-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.system-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.system-tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-transform: uppercase;
}

.system-card-title {
    font-size: 1.45rem;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.system-card-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* --- MINI INTERFACES VISUELLES DÉDIÉES --- */
.mini-preview-container {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 1. Preview WEB : Fausse homepage premium */
.preview-web-browser {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.browser-bar {
    background: var(--bg-surface-elevated);
    padding: 0.4rem 0.65rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.browser-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-hover);
}

.browser-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.browser-mock-title {
    height: 10px;
    width: 60%;
    background: var(--text-primary);
    border-radius: var(--radius-pill);
}

.browser-mock-sub {
    height: 6px;
    width: 85%;
    background: var(--border-hover);
    border-radius: var(--radius-pill);
}

.browser-mock-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.browser-mock-btn {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
}

.browser-mock-conv-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success);
    background: var(--success-subtle);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
}

/* 2. Preview GROWTH : Mini funnel conversion */
.preview-growth-funnel {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.funnel-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
}

.stage-label {
    font-weight: 700;
    color: var(--text-primary);
}

.stage-metric {
    font-weight: 600;
    color: var(--accent);
}

/* 3. Preview AUTOMATION : Workflow en direct */
.preview-auto-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.auto-node {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.4rem;
    text-align: center;
    flex: 1;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
}

.auto-node.active-pulse {
    border-color: var(--accent);
    background: var(--accent-subtle);
    color: var(--accent);
}

.auto-arrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

/* 4. Preview LAB : Dashboard custom */
.preview-lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.lab-kpi-chip {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.65rem;
}

.lab-chip-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.lab-chip-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* --- 12. Section Diagnostic Business Interactive --- */
.diagnostic-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.diagnostic-intro-banner {
    padding: 1.75rem 2rem;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.intro-banner-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.intro-banner-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    flex-wrap: wrap;
}

.intro-banner-flow span {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
}

.intro-flow-sep {
    color: var(--text-muted);
}

.diagnostic-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.step-indicator {
    padding: 1.15rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
    min-height: 52px;
}

.step-indicator:hover {
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
}

.step-indicator:last-child {
    border-right: none;
}

.step-indicator.active {
    color: var(--accent);
    background: var(--bg-surface-elevated);
}

.step-indicator.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-pill);
}

.step-indicator.completed {
    color: var(--text-primary);
}

.diagnostic-content {
    padding: 3rem 2.5rem;
}

.diagnostic-question-wrap {
    display: none;
}

.diagnostic-question-wrap.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.question-title {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
}

.question-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.option-btn * {
    pointer-events: none;
}

.option-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-surface-elevated);
}

.option-btn:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.option-btn.selected {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.option-label {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.option-subtext {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.diag-step-error {
    padding: 0.75rem 1rem;
    background: var(--danger-subtle);
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
    display: none;
}

/* Range input pour le diagnostic */
.range-wrap {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.range-display {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: var(--radius-pill);
    outline: none;
    cursor: pointer;
    margin: 12px 0;
    touch-action: pan-y;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-moz-range-thumb:hover,
input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}

.diagnostic-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1.75rem;
}

/* --- 13. RESTITUTION DU DIAGNOSTIC & KPI DASHBOARD --- */
.diagnostic-result {
    display: none;
    padding: 3rem 2.5rem;
}

.diagnostic-result.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.result-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-kpi-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.result-kpi-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.result-kpi-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.result-kpi-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.result-kpi-precision {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.result-findings {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.result-findings h4 {
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}

.result-findings ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-findings li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.94rem;
    color: var(--text-secondary);
}

.result-findings li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Accordéon / Détails du Calcul (Règle Show, Don't Tell) */
.calculation-explanation-wrap {
    margin: 1.5rem 0;
    text-align: center;
}

.calc-details-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.calc-details-btn:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.indicative-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.85rem;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: left;
}

/* --- 14. Capture de Lead après Diagnostic --- */
.lead-capture-form {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-top: 2rem;
}

.lead-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-success-message {
    display: none;
    background: var(--success-subtle);
    border: 1px solid var(--success);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    margin-top: 1.5rem;
}

.form-success-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-error-message {
    display: none;
    background: var(--danger-subtle);
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 0.92rem;
    color: var(--danger);
    margin-top: 1.25rem;
    line-height: 1.5;
}

.form-error-message.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Checkbox RGPD Premium */
.custom-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    margin: 0.75rem 0 1.25rem;
    position: relative;
}

.custom-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    margin: 0;
}

.custom-checkbox-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--border-hover);
    border-radius: 4px;
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3px;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    flex-shrink: 0;
}

.custom-checkbox-icon {
    width: 11px;
    height: 11px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 180ms ease, transform 180ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-checkbox-container:hover .custom-checkbox-box {
    border-color: var(--accent);
}

.custom-checkbox-input:checked + .custom-checkbox-box {
    background: var(--accent);
    border-color: var(--accent);
}

.custom-checkbox-input:checked + .custom-checkbox-box .custom-checkbox-icon {
    opacity: 1;
    transform: scale(1);
}

.custom-checkbox-label {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.honeypot-wrap {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* --- 15. Section Offres & Prix --- */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.offer-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-width: 0;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Offre GROWTH : Stratégique */
.offer-card.featured {
    border-color: var(--accent);
    background: #FFFFFF;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.offer-featured-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-on-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.offer-header {
    margin-bottom: 1.25rem;
}

.offer-name {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.offer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 48px;
}

.offer-price-wrap {
    margin: 1.25rem 0;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.offer-price-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.25rem;
}

.offer-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.offer-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.offer-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.offer-feature svg {
    color: var(--accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* --- 16. Section Méthode (Timeline Visuelle en 5 Étapes) --- */
.method-timeline-wrap {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
}

.method-timeline-line {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 31px;
    width: 2px;
    background: var(--border);
    z-index: 1;
}

.method-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.method-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.method-step:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.method-num-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
}

.method-body h3 {
    font-size: 1.18rem;
    margin-bottom: 0.25rem;
}

.method-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- 17. Section Cas d'Usage (Flux Métiers par Secteur) --- */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
}

.usecase-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-subtle);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.usecase-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.usecase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.usecase-sector {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.usecase-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.usecase-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    flex-grow: 1;
}

.usecase-pipeline {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
}

.pipeline-node {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.pipeline-arrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- 18. Section "Pourquoi NEXOTIA" (4 Piliers Solides) --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.why-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.why-card-tag {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.65rem;
    display: block;
}

.why-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
}

.why-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* --- 19. Section Finale & Appel à l'Action --- */
.cta-final-section {
    padding: 6.5rem 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
}

.cta-final-box {
    max-width: 680px;
    margin: 0 auto;
}

.cta-final-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.035em;
}

.cta-final-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.55;
}

.cta-final-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Petit schéma circulaire du flux vertueux sous les CTAs */
.cta-loop-schema {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-loop-node {
    color: var(--text-primary);
}

.cta-loop-arrow {
    color: var(--accent);
    font-weight: 800;
}

/* --- 20. Section Contact & Calendly Intégré --- */
.calendly-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 700px;
    box-shadow: var(--shadow-md);
}

.calendly-wrapper iframe {
    width: 100%;
    height: 700px;
    border: none;
}

/* --- 21. Footer Minimaliste & Professionnel --- */
.footer {
    padding: 5rem 0 3rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 1rem 0 1.5rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 0.65rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.footer-social-link svg {
    width: 17px;
    height: 17px;
}

.footer-col h3,
.footer-col h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.15s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 22. Animations Minimalistes & Utiles --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibilité : Respect strict de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- 23. Responsive Breakpoints & Adaptations Fines --- */

/* Basculement Navbar Adaptative à 1080px */
@media (max-width: 1080px) {
    .nav {
        display: none !important;
    }

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

    .menu-toggle {
        display: flex !important;
    }
}

/* Tablette large & petits laptops (1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual-card {
        max-width: 620px;
        margin: 0 auto;
        width: 100%;
    }

    .systems-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .offer-card.featured {
        margin-top: 1rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Tablettes moyennes (860px) */
@media (max-width: 860px) {
    .result-kpi-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-kpi-card {
        padding: 1.35rem 1rem;
    }

    .result-kpi-value {
        font-size: clamp(1.45rem, 5vw, 1.95rem);
        word-break: break-word;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Tablettes & Mobiles larges (768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .section {
        padding: 4.25rem 0;
    }

    .hero {
        padding-top: calc(var(--header-height) + 2.25rem);
        padding-bottom: 3.75rem;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .section-title {
        font-size: 1.95rem;
    }

    .usecases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .usecase-card {
        padding: 1.75rem 1.35rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .diagnostic-stepper {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-indicator {
        font-size: 0.82rem;
        min-height: 48px;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid var(--border);
    }

    .step-indicator:nth-child(2) {
        border-right: none;
    }

    .diagnostic-content {
        padding: 2rem 1.25rem;
    }

    .diagnostic-result {
        padding: 2rem 1.25rem;
    }

    .lead-capture-form {
        padding: 1.5rem 1.25rem;
    }

    .lead-form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-input {
        font-size: 16px; /* Prévention du zoom iOS */
        min-height: 48px;
    }

    .btn {
        min-height: 48px;
    }

    .calendly-wrapper {
        min-height: 650px;
    }

    .calendly-wrapper iframe {
        min-height: 650px;
        height: 650px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Petites tablettes / grands smartphones (640px) */
@media (max-width: 640px) {
    .offers-grid, .why-grid, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proof-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .system-card {
        padding: 1.5rem 1.15rem;
    }

    .mini-preview-container {
        padding: 1rem 0.75rem;
        min-height: auto;
    }

    .cta-loop-schema {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smartphones standards (540px) */
@media (max-width: 540px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-reassurance {
        flex-direction: column;
        gap: 0.6rem;
        align-items: flex-start;
    }

    .hero-visual-card {
        padding: 1.25rem 1rem;
    }

    .system-card {
        padding: 1.25rem 0.85rem;
    }

    .mini-preview-container {
        padding: 0.75rem 0.5rem;
    }

    .preview-auto-flow {
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: center;
    }

    .auto-node {
        flex: 1 1 35%;
        min-width: 65px;
        font-size: 0.68rem;
        padding: 0.4rem 0.25rem;
    }

    .auto-arrow {
        display: none;
    }

    .funnel-stage {
        padding: 0.35rem 0.5rem;
        gap: 0.25rem;
    }

    .stage-label, .stage-metric {
        font-size: 0.7rem;
    }

    .pipeline-leak-row {
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: center;
    }

    .pipe-step-box {
        flex: 1 1 28%;
        min-width: 65px;
        font-size: 0.68rem;
        padding: 0.35rem 0.25rem;
    }

    .chaos-tools-row {
        flex-wrap: wrap;
        gap: 0.25rem;
        justify-content: center;
    }

    .diagnostic-intro-banner {
        padding: 1.25rem 1rem;
        text-align: center;
        justify-content: center;
    }

    .intro-banner-flow {
        justify-content: center;
        width: 100%;
    }

    .method-step {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .method-timeline-line {
        display: none;
    }

    .method-num-box {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .diagnostic-nav-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
        width: 100%;
    }

    .diagnostic-nav-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .range-wrap {
        padding: 1.25rem 1rem;
    }

    .cta-final-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .cta-final-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-final-title {
        font-size: 2.15rem;
    }
}

/* Petits écrans (380px et moins : iPhone SE, Galaxy Fold 320px) */
@media (max-width: 380px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .diagnostic-content {
        padding: 1.5rem 0.85rem;
    }

    .diagnostic-result {
        padding: 1.5rem 0.85rem;
    }

    .step-indicator {
        font-size: 0.74rem;
        min-height: 48px;
        padding: 0.6rem 0.35rem;
    }

    .problem-card {
        padding: 1.15rem 0.75rem;
    }

    .system-card {
        padding: 1.15rem 0.75rem;
    }

    .mini-preview-container {
        padding: 0.65rem 0.45rem;
    }

    .diagnostic-intro-banner {
        padding: 1rem 0.65rem;
    }

    .intro-banner-flow span {
        padding: 0.2rem 0.45rem;
        font-size: 0.72rem;
    }

    .why-card {
        padding: 1.15rem 0.75rem;
    }

    .offer-card {
        padding: 1.35rem 0.85rem;
    }

    .result-kpi-card {
        padding: 1.15rem 0.75rem;
    }

    .result-kpi-value {
        font-size: 1.55rem;
        word-break: break-word;
    }

    .cta-loop-schema {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.72rem;
        border-radius: var(--radius-md);
    }
}

/* ==============================================================================
   COMPOSANTS PAGES DE SERVICES (GROWTH & AUTOMATION)
   ============================================================================== */

/* Breadcrumb / Navigation fil d'Ariane */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.15s;
}
.breadcrumb a:hover {
    color: var(--accent);
}
.breadcrumb-separator {
    color: var(--border);
}

/* Accordéon FAQ Natif (<details> / <summary>) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}
.faq-item:hover {
    border-color: rgba(49, 87, 255, 0.3);
}
.faq-item[open] {
    border-color: var(--border-focus);
    box-shadow: 0 4px 16px rgba(49, 87, 255, 0.06);
}
.faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: transform 0.25s ease, color 0.2s;
}
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    padding: 0 1.5rem 1.35rem;
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--text-secondary);
    border-top: 1px solid transparent;
}
.faq-item[open] .faq-answer {
    border-top-color: var(--border);
    padding-top: 1rem;
}

/* Schéma Avant / Après (Automation & Growth) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}
.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.comparison-card.before {
    border-color: rgba(220, 38, 38, 0.25);
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.35) 0%, var(--bg-card) 60%);
}
.comparison-card.after {
    border-color: rgba(22, 163, 74, 0.3);
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.4) 0%, var(--bg-card) 60%);
}
.comparison-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
    align-self: flex-start;
}
.comparison-card.before .comparison-badge {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}
.comparison-card.after .comparison-badge {
    background: rgba(220, 38, 38, 0.08);
    color: var(--success);
    border: 1px solid rgba(220, 38, 38, 0.2);
}
.comparison-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex-grow: 1;
}
.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.comparison-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Grille de Livrables */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}
.deliverable-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.deliverable-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
}
.deliverable-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.deliverable-icon-box svg {
    width: 22px;
    height: 22px;
}
.deliverable-title {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}
.deliverable-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Cartes d'Étapes Méthode / Processus (Services) */
.process-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-step-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
}
.process-step-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    background: var(--accent-subtle);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    margin-bottom: 1rem;
}
.process-step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.process-step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Nuage d'intégrations & Outils */
.integrations-wrap {
    max-width: 1000px;
    margin: 2rem auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}
.integration-category h3,
.integration-category h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}
.integration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.integration-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
}

/* Carte de Tarification Détaillée */
.pricing-detail-card {
    max-width: 720px;
    margin: 2rem auto 0;
    background: var(--bg-card);
    border: 2px solid var(--accent-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: 0 10px 30px rgba(49, 87, 255, 0.08);
    position: relative;
}
.pricing-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.pricing-detail-amount {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
}
.pricing-detail-scope-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.pricing-detail-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.75rem;
    margin-bottom: 2.25rem;
}

@media (max-width: 900px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
    .pricing-detail-features {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .comparison-card {
        padding: 1.5rem 1.25rem;
    }
    .deliverable-card {
        padding: 1.5rem 1.25rem;
    }
    .process-step-card {
        padding: 1.25rem 1rem;
    }
    .pricing-detail-card {
        padding: 1.75rem 1.25rem;
    }
    .pricing-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .pricing-detail-amount {
        font-size: 2.35rem;
    }
    .integrations-wrap {
        padding: 1.75rem 1.25rem;
    }
}
