/* ==========================================================================
   GaiaFlow Landing Page - Styles
   Design: Modern, épuré, inspiré Linear/Stripe avec tons nature
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Design Tokens from Figma)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --color-primary: #27AE60;
    --color-primary-dark: #1E8449;
    --color-primary-light: #82E0AA;

    /* Secondary Colors (from GaiaFlow categories) */
    --color-naturaliste: #27AE60;
    --color-travaux: #3498DB;
    --color-evenement: #E67E22;
    --color-controle: #E74C3C;

    /* Palette Terrain - tons naturels */
    --color-terre: #8B7355;
    --color-terre-light: #C4A77D;
    --color-terre-dark: #6B5344;
    --color-sable: #D4C4A8;
    --color-foret: #2D5A27;
    --color-foret-light: #4A7C43;

    /* Neutral Colors */
    --color-text: #1A202C;
    --color-text-secondary: #4A5568;
    --color-text-muted: #718096;
    --color-background: #FFFFFF;
    --color-background-alt: #F7FAFC;
    --color-background-subtle: #EDF2F7;
    --color-border: #E2E8F0;

    /* Brand Colors */
    --color-gaia-blue: #1E5A7E;
    --color-gaia-green: #27AE60;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    --spacing-5xl: 80px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-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;
    --font-size-6xl: 3.75rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: #f8fbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* ==========================================================================
   Arrière-plan global - Halos de couleur et réseau neuronal
   ========================================================================== */
.global-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Halos de couleur diffus - 4 couleurs : blanc, bleu responsable, bleu agent, marron lecteur */
.global-halos {
    position: absolute;
    inset: 0;
    background-image:
        /* Halos blancs - zones lumineuses */
        radial-gradient(ellipse 60% 40% at 50% 5%, rgba(255,255,255,0.95) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 20% 25%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(ellipse 45% 35% at 80% 35%, rgba(255,255,255,0.75) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 50% 55%, rgba(255,255,255,0.7) 0%, transparent 50%),
        radial-gradient(ellipse 50% 35% at 30% 75%, rgba(255,255,255,0.8) 0%, transparent 55%),
        radial-gradient(ellipse 45% 30% at 70% 85%, rgba(255,255,255,0.75) 0%, transparent 50%),

        /* Halos bleu responsable #1a4b6e */
        radial-gradient(ellipse 40% 50% at 10% 15%, rgba(26,75,110,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 35% 45% at 85% 45%, rgba(26,75,110,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 25% 65%, rgba(26,75,110,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 90% 80%, rgba(26,75,110,0.2) 0%, transparent 60%),

        /* Halos bleu agent #1565c0 */
        radial-gradient(ellipse 45% 55% at 75% 20%, rgba(21,101,192,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 40% 45% at 15% 45%, rgba(21,101,192,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 60% 70%, rgba(21,101,192,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 35% 50% at 5% 90%, rgba(21,101,192,0.18) 0%, transparent 55%),

        /* Halos marron lecteur #795548 */
        radial-gradient(ellipse 35% 40% at 95% 10%, rgba(121,85,72,0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 40% 40%, rgba(121,85,72,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 80% 60%, rgba(121,85,72,0.18) 0%, transparent 50%),
        radial-gradient(ellipse 35% 40% at 15% 80%, rgba(121,85,72,0.15) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 55% 95%, rgba(121,85,72,0.12) 0%, transparent 50%);
}

/* Particules bokeh animées globales */
.global-particles {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(4px 4px at 5% 10%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(6px 6px at 15% 30%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(4px 4px at 25% 15%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(5px 5px at 35% 45%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(6px 6px at 45% 25%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(4px 4px at 55% 55%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(5px 5px at 65% 35%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(6px 6px at 75% 65%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(4px 4px at 85% 20%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(5px 5px at 95% 50%, rgba(255,255,255,0.7) 0%, transparent 100%);
    animation: globalBokehFloat 15s ease-in-out infinite, globalBokehPulse 8s ease-in-out infinite;
}

.global-particles-layer2 {
    background-image:
        radial-gradient(3px 3px at 10% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 20% 70%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(3px 3px at 30% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 40% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(3px 3px at 50% 40%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(3px 3px at 60% 90%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 70% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(3px 3px at 80% 60%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(3px 3px at 90% 30%, rgba(255,255,255,0.6) 0%, transparent 100%);
    animation: globalBokehFloat2 20s ease-in-out infinite, globalBokehPulse2 6s ease-in-out infinite;
}

@keyframes globalBokehFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, -20px); }
    50% { transform: translate(-10px, 15px); }
    75% { transform: translate(20px, 10px); }
}

@keyframes globalBokehFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-20px, 15px); }
    66% { transform: translate(15px, -15px); }
}

@keyframes globalBokehPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

@keyframes globalBokehPulse2 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* Réseau neuronal global */
.global-neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400vh;
    min-height: 4000px;
}

.global-neural-lines path {
    stroke-linecap: round;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

section {
    padding: var(--spacing-4xl) 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.highlight {
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav-logo .logo-icon {
    height: 40px;
    width: auto;
}

.nav-logo .logo-text {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background-color: var(--color-primary);
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
}

.nav-cta:hover {
    background-color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Container interne du hero - disposition verticale optimisée */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-3xl);
    width: 100%;
    max-width: 1400px;
    padding: 0 var(--spacing-2xl);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero Header - Headline section */
.hero-header {
    text-align: center;
    max-width: 900px;
}

/* --------------------------------------------------------------------------
   BASE NEUTRE - Pas de patterns pour l'instant
   Les sections ont un fond blanc uni
   -------------------------------------------------------------------------- */

/* Footer avec fond sombre */
.footer {
    background-color: var(--color-text);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

/* Animation des particules de données qui "coulent" dans le flux */
@keyframes flowParticle {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(var(--flow-offset, 0px));
        opacity: 0;
    }
}

.flow-particle {
    position: absolute;
    width: var(--particle-size, 6px);
    height: var(--particle-size, 6px);
    background: var(--particle-color, var(--color-primary));
    border-radius: 50%;
    animation: flowParticle var(--particle-duration, 20s) linear infinite;
    animation-delay: var(--particle-delay, 0s);
    opacity: 0;
    filter: blur(0.5px);
}

/* Particules avec différentes tailles et vitesses */
.flow-particle.small {
    --particle-size: 4px;
    --particle-duration: 25s;
}

.flow-particle.medium {
    --particle-size: 6px;
    --particle-duration: 20s;
}

.flow-particle.large {
    --particle-size: 8px;
    --particle-duration: 18s;
}

/* Couleurs des particules */
.flow-particle.green { --particle-color: var(--color-primary); }
.flow-particle.blue { --particle-color: var(--color-travaux); }
.flow-particle.teal { --particle-color: var(--color-gaia-blue); }
.flow-particle.terre { --particle-color: var(--color-terre-light); }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.hero-title .highlight-terrain {
    color: var(--color-primary);
    font-weight: 600;
}

.hero-title-secondary {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-sm);
    font-style: normal;
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--spacing-lg);
}

/* Logo inline dans le titre - aligné sur la baseline du texte */
.hero-logo-inline {
    height: clamp(3rem, 6.5vw, 4.5rem);
    width: auto;
    vertical-align: baseline;
    position: relative;
    top: 0.25em;
}

/* Hero Subtitle - sous-titre descriptif */
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ==========================================================================
   Hero Visual Showcase - Layout moderne SaaS 2026
   ========================================================================== */
.hero-visual-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 1200px;
    position: relative;
}

/* Device containers */
.hero-device {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Device badges - AGENT TERRAIN / RESPONSABLE */
.device-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.device-badge svg {
    width: 16px;
    height: 16px;
}

.device-badge-green {
    background: rgba(39, 174, 96, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

/* Role-colored badges matching app sidebar colors */
.device-badge-agent {
    background: rgba(21, 101, 192, 0.12);
    color: #1565C0;
    border: 1px solid rgba(21, 101, 192, 0.3);
}

.device-badge-responsable {
    background: rgba(26, 75, 110, 0.12);
    color: #1A4B6E;
    border: 1px solid rgba(26, 75, 110, 0.3);
}

/* Mobile device */
.hero-mobile .phone-frame {
    width: 240px;
    transform: none;
    animation: heroMobileFloat 8s ease-in-out infinite;
}

@keyframes heroMobileFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Flow arrow between devices - Flèche large et pleine */
.hero-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    flex-shrink: 0;
    margin: 0 var(--spacing-md);
}

.flow-arrow-svg {
    width: 180px;
    height: 45px;
}

/* Desktop device - Hero specific */
.hero-desktop {
    position: relative;
}

.desktop-frame-hero {
    width: 550px;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 6px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255,255,255,0.1);
    animation: heroDesktopFloat 8s ease-in-out infinite 0.5s;
}

@keyframes heroDesktopFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.desktop-frame-hero .desktop-toolbar {
    padding: 10px 14px;
}

.desktop-frame-hero .desktop-screen {
    border-radius: 0 0 8px 8px;
    position: relative;
    overflow: hidden;
    height: 360px;
    background: #f5f5f5;
}

/* No paperwork badge */
.no-paperwork-badge {
    position: absolute;
    bottom: -30px;
    right: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    animation: badgePulse 3s ease-in-out infinite;
}

.no-paperwork-badge svg {
    width: 100px;
    height: 100px;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Mobile/Desktop text toggle — default: hide mobile variant */
.text-mobile {
    display: none;
}

/* Desktop-only line breaks */
.d-only {
    display: inline;
}

/* Mobile-only flow steps — hidden on desktop, shown in mobile media query */
.hero-flow-steps-mobile {
    display: none;
}

/* Hero mini-steps — dedicated classes to avoid conflict with .flow-step in transformation */
.hero-ministep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-ministep-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.hero-ministep-icon.step-terrain {
    background: rgba(39, 174, 96, 0.12);
}

.hero-ministep-icon.step-flux {
    background: rgba(6, 182, 212, 0.12);
}

.hero-ministep-icon.step-strategie {
    background: rgba(26, 75, 110, 0.12);
}

.hero-ministep-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.hero-ministep-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

/* Social proof badge at bottom */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.hero-social-proof .proof-check {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

/* ==========================================================================
   Legacy hero styles (kept for potential mobile fallback)
   ========================================================================== */
.hero-visual {
    display: none; /* Hidden - replaced by hero-visual-showcase */
}

/* ==========================================================================
   Legacy Flow Showcase - kept for backward compatibility
   ========================================================================== */
.flow-showcase {
    display: none; /* Hidden - replaced by hero-visual-showcase */
}

.flow-device,
.flow-bureau,
.flow-label,
.flow-sync,
.sync-figma,
.desktop-frame-mini {
    display: none; /* Hidden - replaced by new hero layout */
}

/* Slideshow d'images dans le desktop - changement au clic */
.desktop-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.desktop-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none; /* Empêcher les clics sur les slides cachés */
}

.desktop-slideshow .slide.active {
    opacity: 1;
    pointer-events: auto; /* Autoriser les clics sur le slide actif */
}

.desktop-slideshow .device-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    background: #fff;
}

/* Indicateurs de slide */
.slide-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: var(--color-gaia-blue);
    transform: scale(1.2);
}

.slide-indicator:hover {
    background: var(--color-primary);
}

/* Hint pour cliquer */
.click-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 90, 126, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.desktop-slideshow:hover .click-hint {
    opacity: 1;
}

/* Devices Showcase - Mobile + Desktop Mirror Layout */
.devices-showcase {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-lg);
    position: relative;
}

.device-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.device-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -60px;
    z-index: 1;
}

/* Phone Frame */
.phone-frame {
    width: 260px;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 36px;
    padding: 8px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transform: rotate(-3deg);
    animation: mobileFloat 6s ease-in-out infinite;
}

@keyframes mobileFloat {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-10px); }
}

.phone-notch {
    width: 80px;
    height: 20px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.phone-screen {
    background: white;
    border-radius: 26px;
    overflow: hidden;
    margin-top: -10px;
}

.phone-screen .device-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Slideshow */
.mobile-slideshow {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.mobile-slideshow .slide {
    display: none;
}

.mobile-slideshow .slide.active {
    display: block;
}

.mobile-slideshow .slide .device-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-slideshow .slide-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.mobile-slideshow .slide-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.mobile-slideshow .slide-indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Desktop Frame */
.desktop-frame {
    width: 520px;
    background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 14px;
    padding: 5px;
    box-shadow:
        0 35px 70px -15px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transform: rotate(2deg) translateY(30px);
    animation: desktopFloat 6s ease-in-out infinite 0.5s;
}

@keyframes desktopFloat {
    0%, 100% { transform: rotate(2deg) translateY(30px); }
    50% { transform: rotate(2deg) translateY(20px); }
}

.desktop-toolbar {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
}

.toolbar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.toolbar-dot.red { background: #FF5F56; }
.toolbar-dot.yellow { background: #FFBD2E; }
.toolbar-dot.green { background: #27C93F; }

.desktop-screen {
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.desktop-screen .device-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

/* Device Labels */
.device-label {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-secondary);
    background: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.devices-tagline {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    white-space: nowrap;
    font-weight: 500;
}

/* Legacy phone screen styles (kept for compatibility) */
.phone-mockup {
    width: 300px;
}

.app-header {
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-md);
    padding-top: var(--spacing-xl);
}

.app-title {
    font-weight: 600;
}

.app-content {
    padding: var(--spacing-md);
}

.voice-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-background-alt);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.voice-wave {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.voice-indicator span {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.observation-preview {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-naturaliste);
}

.obs-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
}

.obs-text strong {
    display: block;
    font-size: var(--font-size-base);
}

.obs-text span {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Founder Story Section
   -------------------------------------------------------------------------- */
.founder-story {
    /* BASE NEUTRE: fond blanc */
    background: #FFFFFF;
    padding: var(--spacing-3xl) 0;
}

.founder-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.founder-quote {
    flex: 1;
    min-width: 300px;
}

.founder-quote blockquote {
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: var(--spacing-xl);
}

.founder-quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.founder-quote cite {
    display: block;
    padding-left: var(--spacing-xl);
}

.founder-quote cite strong {
    display: block;
    font-size: var(--font-size-lg);
    font-style: normal;
}

.founder-quote cite span {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-style: normal;
}

.founder-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 2.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Transformation Section - Design moderne SaaS
   -------------------------------------------------------------------------- */
.transformation {
    background: transparent;
    padding: var(--spacing-4xl) 0;
}

/* En-tête avec comparatif barres alignées */
.transform-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.transform-context {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.transform-subcontext {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    font-style: italic;
}

/* Bloc comparatif unifié */
.timeline-compare {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl) var(--spacing-3xl);
    margin-bottom: var(--spacing-xl);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(100, 116, 139, 0.15);
}

/* Étapes — flexbox horizontal */
.chain-steps {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 3px;
    margin-bottom: var(--spacing-xs);
}

.chain-steps-before {
    justify-content: flex-start;
}

.chain-steps-gf {
    justify-content: flex-start;
    margin-bottom: 0;
    margin-top: var(--spacing-xs);
}

.chain-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.chain-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.chain-step-label {
    font-size: 0.55rem;
    color: var(--color-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.chain-arrow {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 1px;
    align-self: flex-start;
    margin-top: 2px;
}

.chain-arrow-gf {
    color: #27AE60;
}

/* Barres proportionnelles — collées l'une sous l'autre */
.timeline-bar-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.timeline-bar-row:first-of-type {
    margin-bottom: 6px;
}

/* Label AVANT autonome */
.timeline-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    text-align: left;
    margin-bottom: var(--spacing-xs);
}

/* Logo GaiaFlow texte en bas du comparatif */
.timeline-gf-logo {
    display: block;
    height: 16px;
    margin-top: var(--spacing-xs);
}

.timeline-bar {
    height: 14px;
    border-radius: 7px;
}

.timeline-bar-before {
    flex: 1;
    background: linear-gradient(90deg, #cbd5e1, #94a3b8, #64748b);
}

.timeline-bar-gf {
    width: 8%;
    min-width: 28px;
    background: linear-gradient(90deg, #27AE60, #2ecc71);
}

.timeline-time {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: #64748b;
    white-space: nowrap;
}

.timeline-time-gf {
    color: #27AE60;
}

.transform-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.transform-title .highlight {
    color: #1a4b6e;
}

/* Grille 3 colonnes */
.transform-columns {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-3xl);
    align-items: stretch;
}

.transform-column {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.column-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.column-before .column-title {
    color: #64748b;
}

.column-after .column-title {
    color: #27AE60;
}

.column-title-flow {
    text-align: center;
    color: #1a4b6e;
    border-bottom-color: #1a4b6e;
}

.column-logo {
    display: block;
    max-width: 180px;
    height: auto;
    margin: 0 auto var(--spacing-lg) auto;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #1a4b6e;
}

/* Liste des items */
.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.list-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(100, 116, 139, 0.1);
    flex-shrink: 0;
}

.list-icon svg {
    width: 18px;
    height: 18px;
    color: #64748b;
}

.list-icon-success {
    background: rgba(39, 174, 96, 0.15);
}

.list-icon-success svg {
    color: #27AE60;
}

.list-text {
    font-weight: 500;
}

/* Colonne centrale - Flux */
.column-flow {
    background: linear-gradient(180deg, rgba(26, 75, 110, 0.05) 0%, rgba(39, 174, 96, 0.08) 100%);
    border-color: rgba(26, 75, 110, 0.2);
    position: relative;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.flow-step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.9);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 220px;
}

.flow-step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a4b6e 0%, #1565c0 100%);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.flow-step-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.flow-step-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}

.flow-connector {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-connector svg {
    width: 24px;
    height: 30px;
    color: #1a4b6e;
    opacity: 0.5;
}

.flow-output-arrow {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.flow-output-arrow svg {
    width: 50px;
    height: 20px;
    color: #27AE60;
}

/* KPIs en bas */
.transform-kpis {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.kpi-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.15) 0%, rgba(46, 204, 113, 0.25) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.kpi-icon svg {
    width: 20px;
    height: 20px;
    color: #27AE60;
}

.kpi-content {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: #1a4b6e;
    line-height: 1.2;
}

.kpi-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .transform-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .column-flow {
        order: -1;
    }

    .flow-output-arrow {
        display: none;
    }

    .timeline-compare {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .chain-icon {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .transform-kpis {
        flex-direction: column;
        align-items: center;
    }

    .kpi-badge {
        width: 100%;
        max-width: 300px;
    }

    .transform-title {
        font-size: var(--font-size-2xl);
    }
}

/* --------------------------------------------------------------------------
   Features Section - Blocs horizontaux avec screenshots
   -------------------------------------------------------------------------- */
.features {
    position: relative;
    background: transparent;
    padding: var(--spacing-4xl) 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

/* Feature Row - Bloc horizontal texte + screenshot */
.feature-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-4xl);
}

.feature-row:last-of-type {
    margin-bottom: var(--spacing-3xl);
}

.feature-row-reverse {
    flex-direction: row-reverse;
}

/* Contenu texte */
.feature-content {
    flex: 1;
    max-width: 480px;
}

.feature-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.feature-badge-naturaliste {
    background: var(--color-primary-light);
    color: var(--color-naturaliste);
}

.feature-badge-travaux {
    background: #BFDBFE;
    color: var(--color-travaux);
}

.feature-badge-evenement {
    background: #FED7AA;
    color: var(--color-evenement);
}

.feature-badge-controle {
    background: #FECACA;
    color: var(--color-controle);
}

.feature-content h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.feature-content > p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

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

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

.feature-benefits li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Screenshot */
.feature-screenshot {
    flex: 1.3;
    max-width: 650px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.feature-screenshot:hover {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

/* Cartes compactes en ligne (Offline + SOS) */
.feature-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-card-illustration {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-illustration img {
    width: 100%;
    height: auto;
}

.feature-card-content h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.feature-card-content p {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Carte Offline */
.feature-card-offline {
    background: linear-gradient(135deg, #F0FFF4 0%, #FFFFFF 100%);
    border-color: rgba(39, 174, 96, 0.2);
}

.feature-card-offline:hover {
    border-color: rgba(39, 174, 96, 0.4);
}

/* Carte SOS */
.feature-card-sos {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    border-color: rgba(231, 76, 60, 0.2);
}

.feature-card-sos:hover {
    border-color: rgba(231, 76, 60, 0.4);
}

.feature-card-sos h3 {
    color: var(--color-controle);
}

.sos-animated {
    animation: sosPulse 2s ease-in-out infinite;
}

@keyframes sosPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   LEGACY - Bento styles conservés pour compatibilité
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.bento-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.bento-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.bento-icon svg {
    width: 32px;
    height: 32px;
}

.bento-icon-naturaliste {
    background: var(--color-primary-light);
    color: var(--color-naturaliste);
}

.bento-icon-travaux {
    background: #BFDBFE;
    color: var(--color-travaux);
}

.bento-icon-evenement {
    background: #FED7AA;
    color: var(--color-evenement);
}

.bento-icon-controle {
    background: #FECACA;
    color: var(--color-controle);
}

.bento-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.bento-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

/* --------------------------------------------------------------------------
   Ecosystem Section - Biotope Circular Diagram
   -------------------------------------------------------------------------- */
.ecosystem {
    position: relative;
    background: transparent;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
}

.ecosystem .container {
    position: relative;
    z-index: 2;
}

/* Arrière-plan avec vagues fluides */
.ecosystem-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Vagues ondulantes en dégradé */
.ecosystem-waves {
    position: absolute;
    inset: 0;
    background:
        /* Vague principale - turquoise foncé */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600'%3E%3Cpath fill='none' stroke='%2370c5bb' stroke-width='2' stroke-opacity='0.4' d='M-100,300 C100,200 300,350 500,280 C700,210 900,380 1100,300 C1300,220 1500,350 1700,280'/%3E%3Cpath fill='none' stroke='%2360b8ad' stroke-width='1.5' stroke-opacity='0.35' d='M-100,320 C150,220 350,370 550,300 C750,230 950,400 1150,320 C1350,240 1550,370 1750,300'/%3E%3C/svg%3E") repeat-x,
        /* Vague secondaire - plus claire */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600'%3E%3Cpath fill='none' stroke='%2388d4ca' stroke-width='1.8' stroke-opacity='0.3' d='M-50,350 C200,250 400,400 600,330 C800,260 1000,430 1200,350 C1400,270 1600,400 1800,330'/%3E%3C/svg%3E") repeat-x,
        /* Vague tertiaire - subtile */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600'%3E%3Cpath fill='none' stroke='%239fe0d5' stroke-width='1.2' stroke-opacity='0.25' d='M0,380 C250,280 450,430 650,360 C850,290 1050,460 1250,380 C1450,300 1650,430 1850,360'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 600px;
    background-position: center 40%;
}

/* Particules brillantes style bokeh - animées */
.ecosystem-particles {
    position: absolute;
    inset: 0;
    background-image:
        /* Grosses particules lumineuses */
        radial-gradient(6px 6px at 5% 25%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(8px 8px at 15% 55%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(5px 5px at 25% 35%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(7px 7px at 35% 70%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(6px 6px at 45% 20%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(8px 8px at 55% 60%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(5px 5px at 65% 40%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(7px 7px at 75% 75%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(6px 6px at 85% 30%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(8px 8px at 95% 65%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
    animation: bokehFloat1 8s ease-in-out infinite, bokehPulse1 4s ease-in-out infinite;
}

/* Couche 2 de particules - décalée */
.ecosystem-particles-layer2 {
    background-image:
        radial-gradient(4px 4px at 10% 45%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(4px 4px at 20% 15%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(4px 4px at 30% 80%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(4px 4px at 40% 50%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(4px 4px at 50% 85%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(4px 4px at 60% 25%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(4px 4px at 70% 55%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(4px 4px at 80% 90%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(4px 4px at 90% 10%, rgba(255,255,255,0.8) 0%, transparent 100%);
    animation: bokehFloat2 12s ease-in-out infinite, bokehPulse2 6s ease-in-out infinite;
}

/* Couche 3 de particules - petites scintillantes */
.ecosystem-particles-layer3 {
    background-image:
        radial-gradient(2px 2px at 8% 68%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 18% 38%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(2px 2px at 28% 58%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 38% 28%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 48% 78%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(2px 2px at 58% 48%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 68% 18%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 78% 68%, rgba(255,255,255,0.65) 0%, transparent 100%),
        radial-gradient(2px 2px at 88% 48%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 98% 38%, rgba(255,255,255,0.6) 0%, transparent 100%);
    animation: bokehFloat3 10s ease-in-out infinite, bokehPulse3 3s ease-in-out infinite;
}

/* Animations de flottement pour les particules */
@keyframes bokehFloat1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -15px); }
    50% { transform: translate(-5px, 10px); }
    75% { transform: translate(15px, 5px); }
}

@keyframes bokehFloat2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-15px, 10px); }
    50% { transform: translate(10px, -10px); }
    75% { transform: translate(-5px, -15px); }
}

@keyframes bokehFloat3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(8px, 12px); }
    66% { transform: translate(-12px, -8px); }
}

/* Animations de pulsation (apparition/disparition) */
@keyframes bokehPulse1 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes bokehPulse2 {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}

@keyframes bokehPulse3 {
    0%, 100% { opacity: 0.7; }
    25% { opacity: 1; }
    50% { opacity: 0.2; }
    75% { opacity: 0.9; }
}

/* Réseau neuronal SVG animé */
.ecosystem-neural-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Lignes de connexion - fines et continues */
.neural-line {
    stroke-linecap: round;
}

/* Nœuds avec pulsation subtile */
.neural-nodes .node {
    opacity: 0.7;
}

.neural-nodes .node-pulse-1 {
    animation: nodePulse 4s ease-in-out infinite;
}

.neural-nodes .node-pulse-2 {
    animation: nodePulse 4s ease-in-out infinite 1.3s;
}

.neural-nodes .node-pulse-3 {
    animation: nodePulse 4s ease-in-out infinite 2.6s;
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Container biotope - taille augmentée */
.biotope-diagram {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 850px;
    margin: 0 auto;
}

/* SVG du flux circulaire */
.biotope-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Image SVG externe (Figma) */
.biotope-svg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Centre GaiaFlow - texte agrandi */
.biotope-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.biotope-logo {
    width: 72px;
    height: 72px;
    margin-bottom: var(--spacing-md);
}

.biotope-brand {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-sm);
}

.brand-gaia {
    color: #1E5A7E;
}

.brand-flow {
    color: #3DAB6E;
}

.biotope-tagline {
    font-size: 15px;
    color: #5A7A8A;
    line-height: 1.5;
    max-width: 220px;
    font-weight: 500;
}

/* Acteurs sur le cercle */
.biotope-actor {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 5;
}

.biotope-actor:hover .actor-bubble {
    transform: scale(1.1);
}

/* Bulles des acteurs - plus grandes */
.actor-bubble {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.actor-bubble svg {
    width: 32px;
    height: 32px;
}

.actor-bubble.bubble-dark {
    background: linear-gradient(145deg, #1E5A7E, #2C7DA0);
    color: white;
    box-shadow: 0 6px 24px rgba(30, 90, 126, 0.35);
}

.actor-bubble.bubble-blue {
    background: linear-gradient(145deg, #3498DB, #68B8E8);
    color: white;
    box-shadow: 0 6px 24px rgba(52, 152, 219, 0.35);
}

.actor-bubble.bubble-green {
    background: linear-gradient(145deg, #3DAB6E, #5DC389);
    color: white;
    box-shadow: 0 6px 24px rgba(61, 171, 110, 0.35);
}

.actor-bubble.bubble-gray {
    background: #F5F8FA;
    color: #7A8A9A;
    border: 2px dashed #C5D0DA;
    box-shadow: none;
}

/* Informations des acteurs */
.actor-info {
    text-align: left;
}

.actor-info.info-left {
    text-align: right;
    order: -1;
}

.actor-info.info-right {
    text-align: left;
}

.actor-title {
    font-size: 14px;
    font-weight: 700;
    color: #2C3E50;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.actor-role {
    font-size: 13px;
    font-weight: 500;
    color: #5A7A8A;
    margin-bottom: 3px;
}

.actor-actions {
    font-size: 12px;
    color: #8A9DAA;
    font-style: italic;
}

/* Positionnement des acteurs - ajusté pour le diagramme agrandi */

/* Direction (haut - 12h) */
.actor-direction {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    text-align: center;
}

.actor-direction .actor-info {
    text-align: center;
    margin-top: var(--spacing-sm);
}

/* Responsable (gauche - 9h) */
.actor-responsable {
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    flex-direction: row-reverse;
}

/* Agent terrain (bas - 6h) */
.actor-agent {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column-reverse;
    text-align: center;
}

.actor-agent .actor-info {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

/* Lecteur (droite - 3h, externe) */
.actor-lecteur {
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
}


/* ==========================================================================
   LEGACY - Venn styles conservés pour compatibilité
   ========================================================================== */
.venn-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.venn-diagram {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.venn-circle {
    transition: all var(--transition-base);
}

.venn-flows {
    display: none;
}

/* Legacy personas styles (kept for backward compatibility) */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.persona-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-background-alt);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.persona-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.persona-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.persona-avatar svg {
    width: 48px;
    height: 48px;
}

.persona-agent { background: var(--color-primary-light); color: var(--color-naturaliste); }
.persona-stagiaire { background: #BFDBFE; color: var(--color-travaux); }
.persona-responsable { background: #FED7AA; color: var(--color-evenement); }
.persona-president { background: #E9D5FF; color: #7C3AED; }

.persona-card h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.persona-action {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
}

/* Arrière-plan avec effets de lumière et bokeh */
.pricing-organic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    /* Halos de lumière diffuse */
    background:
        radial-gradient(ellipse 50% 40% at 15% 30%, rgba(176, 224, 216, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 45% 35% at 85% 25%, rgba(200, 232, 225, 0.35) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 75% 75%, rgba(168, 220, 212, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 55% 45% at 25% 80%, rgba(180, 228, 220, 0.4) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
}

/* Particules scintillantes style étoiles */
.pricing-particles {
    position: absolute;
    inset: 0;
    background-image:
        /* Grosses particules brillantes */
        radial-gradient(3px 3px at 8% 15%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(4px 4px at 22% 38%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(3px 3px at 35% 12%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(4px 4px at 48% 65%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(3px 3px at 62% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(4px 4px at 78% 52%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(3px 3px at 88% 18%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%),
        radial-gradient(4px 4px at 95% 72%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%),
        /* Petites particules */
        radial-gradient(2px 2px at 5% 45%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 18% 72%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(2px 2px at 30% 55%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 42% 22%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 55% 85%, rgba(255,255,255,0.75) 0%, transparent 100%),
        radial-gradient(2px 2px at 68% 42%, rgba(255,255,255,0.8) 0%, transparent 100%),
        radial-gradient(2px 2px at 82% 68%, rgba(255,255,255,0.7) 0%, transparent 100%),
        radial-gradient(2px 2px at 92% 35%, rgba(255,255,255,0.75) 0%, transparent 100%),
        /* Micro particules */
        radial-gradient(1px 1px at 12% 58%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 28% 82%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 45% 35%, rgba(255,255,255,0.6) 0%, transparent 100%),
        radial-gradient(1px 1px at 58% 48%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 72% 15%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 88%, rgba(255,255,255,0.6) 0%, transparent 100%);
}

/* Courbes organiques élégantes */
.pricing-curves {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.pricing-curves::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -25%;
    width: 80%;
    height: 120%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 800'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2370c0b8' stop-opacity='0.4'/%3E%3Cstop offset='100%25' stop-color='%2350b0a8' stop-opacity='0.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='url(%23g1)' stroke-width='2.5' d='M-100,200 Q150,100 100,350 Q50,600 250,700 Q450,800 400,550 Q350,300 500,200'/%3E%3Cpath fill='none' stroke='%2365b8b0' stroke-width='1.8' stroke-opacity='0.35' d='M-50,300 Q200,200 150,450 Q100,700 300,750'/%3E%3Cpath fill='none' stroke='%2380c8c0' stroke-width='1.2' stroke-opacity='0.3' d='M0,150 Q250,50 200,300 Q150,550 350,650'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.pricing-curves::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -25%;
    width: 80%;
    height: 120%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 800'%3E%3Cdefs%3E%3ClinearGradient id='g2' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2365b8b0' stop-opacity='0.35'/%3E%3Cstop offset='100%25' stop-color='%2345a8a0' stop-opacity='0.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='url(%23g2)' stroke-width='2.5' d='M600,150 Q350,50 400,300 Q450,550 250,650 Q50,750 100,500 Q150,250 0,150'/%3E%3Cpath fill='none' stroke='%2360b5ad' stroke-width='1.8' stroke-opacity='0.32' d='M550,250 Q300,150 350,400 Q400,650 200,700'/%3E%3Cpath fill='none' stroke='%2375c0b8' stroke-width='1.2' stroke-opacity='0.25' d='M500,100 Q250,0 300,250 Q350,500 150,600'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

/* Carte Prix principale — le héros */
.pricing-price-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(250,255,253,0.92) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-3xl);
    max-width: 480px;
    margin: 0 auto var(--spacing-2xl);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow:
        0 4px 24px rgba(100, 160, 150, 0.1),
        0 1px 3px rgba(255,255,255,0.8) inset;
    backdrop-filter: blur(16px);
    text-align: center;
}

.pricing-price-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.pricing-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-gaia-blue);
    line-height: 1;
}

.pricing-unit {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-primary);
}

.pricing-price-period {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.pricing-price-note {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.note-dot {
    color: #F5A623;
    font-size: 1.4em;
    line-height: 1;
}

/* Section inclus */
.pricing-includes-section {
    max-width: 680px;
    margin: 0 auto var(--spacing-2xl);
    text-align: center;
}

.pricing-includes-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.pricing-features-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
}

.pricing-features-col {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: left;
}

.pricing-features-col li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Bloc ROI — la preuve */
.pricing-roi-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(250,255,253,0.92) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl) var(--spacing-3xl);
    max-width: 680px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow:
        0 4px 24px rgba(100, 160, 150, 0.1),
        0 1px 3px rgba(255,255,255,0.8) inset;
    backdrop-filter: blur(16px);
    text-align: center;
}

.roi-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xl);
}

.roi-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.roi-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.roi-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

.roi-big {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.roi-invest .roi-big {
    color: var(--color-gaia-blue);
}

.roi-gain .roi-big {
    color: var(--color-primary);
}

.roi-suffix {
    font-size: 2rem;
    font-weight: 500;
}

.roi-sub {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
}

.roi-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 24px;
    color: var(--color-primary);
}

.roi-arrow svg {
    width: 100%;
    height: 100%;
}

.roi-punchline {
    font-size: var(--font-size-base);
    color: var(--color-text);
    font-style: italic;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(100, 116, 139, 0.15);
}

/* --------------------------------------------------------------------------
   Security Section
   -------------------------------------------------------------------------- */
.security {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding-bottom: var(--spacing-3xl);
}

/* Arrière-plan vagues aquatiques - version subtile */
.security-waves-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background:
        linear-gradient(180deg,
            rgba(255,255,255,0) 0%,
            rgba(220, 240, 235, 0.15) 30%,
            rgba(200, 230, 225, 0.25) 50%,
            rgba(180, 220, 215, 0.35) 70%,
            rgba(160, 210, 205, 0.45) 100%
        );
    z-index: 0;
}

.security-waves-bg::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    right: -10%;
    height: 100%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23a8d8d0' fill-opacity='0.15' d='M0,160L48,170.7C96,181,192,203,288,186.7C384,171,480,117,576,112C672,107,768,149,864,165.3C960,181,1056,171,1152,149.3C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 150% auto;
    opacity: 0.6;
}

.security-waves-bg::after {
    content: '';
    position: absolute;
    top: 30%;
    left: -5%;
    right: -5%;
    height: 100%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2390c8c0' fill-opacity='0.12' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,181.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 120% auto;
}

.security .container {
    position: relative;
    z-index: 1;
}

/* Carousel indicators — hidden on desktop, shown on mobile */
.carousel-indicators {
    display: none;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

/* Titre section sécurité - 2 lignes avec icônes */
.security-title {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.security-line {
    display: block;
}

.security .section-title {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.security .section-subtitle {
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.security-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(200, 220, 215, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
}

.security-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-gaia-blue);
    opacity: 0.85;
}

.security-card h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.security-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Section Cloud éco-responsable */
.eco-section {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-2xl);
    max-width: 550px;
    margin: 0 auto;
    border: 1px solid rgba(200, 220, 215, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.eco-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.eco-leaf {
    font-size: 1.5rem;
}

.eco-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-gaia-dark);
    margin: 0;
}

.eco-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.eco-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

.eco-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.eco-list li strong {
    color: var(--color-gaia-dark);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   CTA Final Section
   -------------------------------------------------------------------------- */
.cta-final {
    /* BASE NEUTRE: fond bleu GaiaFlow uni (cette section garde sa couleur car c'est le CTA) */
    background: var(--color-gaia-blue);
    color: white;
}

.cta-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    text-align: center;
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.contact-form .btn {
    margin-top: var(--spacing-md);
}

.form-micro {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
}

.footer-column h5 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-column a {
    display: block;
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    font-size: var(--font-size-sm);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-legal a:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    /* Feature rows tablet */
    .feature-row {
        gap: var(--spacing-2xl);
    }

    .feature-content {
        max-width: 400px;
    }

    .feature-screenshot {
        max-width: 500px;
    }

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

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-with-screenshot {
        flex-direction: column;
    }

    .bento-screenshot {
        max-width: 100%;
    }

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

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

    /* Trophic cycle tablet */
    .trophic-labels {
        grid-template-columns: repeat(2, 1fr);
    }

    .trophic-legend {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    /* Devices showcase tablet */
    .phone-frame {
        width: 220px;
    }

    .desktop-frame {
        width: 400px;
    }

    .device-desktop {
        margin-left: -30px;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }

    /* ======================================================================
       MOBILE TYPOGRAPHY — P0
       Typographie mobile-first : lisibilité, prosodie, rythme narratif
       ====================================================================== */

    /* Desktop-only elements hidden on mobile */
    .d-only {
        display: none;
    }

    /* Text variants: show mobile, hide desktop */
    .text-desktop {
        display: none;
    }

    .text-mobile {
        display: inline;
    }

    /* Body: disable automatic hyphenation (causes ugly breaks like "rap-ports") */
    body {
        hyphens: none;
        -webkit-hyphens: none;
    }

    /* Headings: never hyphenate titles */
    h1, h2, h3, h4 {
        hyphens: none;
        -webkit-hyphens: none;
        line-height: 1.3;
    }

    /* Body paragraphs: more breathing room */
    p, .feature-description, .transform-item p, .security-card p {
        line-height: 1.8;
    }

    /* Section spacing: balanced vertical rhythm on mobile */
    section {
        padding: var(--spacing-2xl) 0;
    }

    /* KPI values: the number IS the message on mobile */
    .stat-value {
        font-size: 2.5rem;
        font-weight: 800;
    }

    /* ====================================================================== */

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        gap: var(--spacing-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-container {
        padding: var(--spacing-sm) var(--spacing-lg);
    }

    .nav-logo .logo-icon {
        height: 30px;
    }

    .nav-logo .logo-text {
        height: 22px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding: 60px var(--spacing-md) var(--spacing-2xl);
        min-height: auto;
    }

    .hero-container {
        gap: var(--spacing-xl);
        padding: 0 var(--spacing-md);
    }

    .hero-header {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        font-weight: 500;
        font-style: normal;
        line-height: 1.3;
        -webkit-text-size-adjust: 100%;
    }

    .hero-title .highlight-terrain {
        font-style: normal;
    }

    .hero-logo-inline {
        height: clamp(2.2rem, 7vw, 3rem);
        margin-bottom: 0.15em;
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }

    .hero-title-secondary {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-xs);
        text-align: center;
    }

    /* Mobile layout: phone on top, arrow down, desktop below — vertical stack */
    .hero-visual-showcase {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    /* Show flow arrow in mobile — rotated to point downward */
    .hero-flow-arrow {
        display: flex;
        width: 50px;
        margin: var(--spacing-md) 0;
        transform: rotate(90deg);
    }

    .hero-flow-arrow .flow-arrow-svg {
        width: 50px;
        height: 16px;
    }

    .hero-mobile .phone-frame {
        width: 180px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }

    .hero-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desktop {
        width: 92%;
    }

    .hero-desktop .desktop-frame-hero {
        width: 100%;
    }

    .hero-desktop .desktop-frame-hero .desktop-screen {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .hero-desktop .device-badge {
        font-size: 0.7rem;
    }

    /* Micro-storyboard: terrain → flux → stratégie (uses .hero-ministep classes) */
    .hero-flow-steps-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .no-paperwork-badge {
        display: none;
    }

    .hero-social-proof {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm) var(--spacing-md);
        text-align: center;
    }

    .device-badge {
        font-size: var(--font-size-xs);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    /* Feature rows mobile - stack vertically + step numbers */
    .features .container {
        counter-reset: feature-step;
    }

    .feature-row,
    .feature-row-reverse {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
        counter-increment: feature-step;
        position: relative;
        background: var(--color-background);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-xl);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-sm);
    }

    .feature-content::before {
        content: '0' counter(feature-step);
        display: block;
        font-size: 2.5rem;
        font-weight: 800;
        color: rgba(39, 174, 96, 0.15);
        line-height: 1;
        margin-bottom: var(--spacing-sm);
    }

    .feature-content {
        max-width: 100%;
        text-align: center;
    }

    .feature-benefits {
        text-align: left;
        max-width: 320px;
        margin: 0 auto;
    }

    .feature-screenshot {
        max-width: 100%;
    }

    .feature-screenshot img {
        border-radius: var(--radius-md);
    }

    .feature-cards-row {
        grid-template-columns: 1fr;
        counter-reset: card-step 4; /* Continue numbering from 04 */
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        counter-increment: card-step;
        position: relative;
    }

    .feature-card::before {
        content: '0' counter(card-step);
        display: block;
        font-size: 2.5rem;
        font-weight: 800;
        color: rgba(39, 174, 96, 0.15);
        line-height: 1;
        margin-bottom: var(--spacing-sm);
    }

    .feature-card-illustration {
        width: 80px;
        height: 80px;
    }

    /* C4: Hide slide indicators in mobile — not useful at this scale */
    .slide-indicators {
        display: none;
    }

    /* Circular ecosystem mobile */
    .circular-ecosystem {
        height: 600px;
        max-width: 100%;
    }

    .ecosystem-svg {
        display: none; /* Hide SVG connections on mobile */
    }

    .eco-hub {
        top: 30%;
    }

    .hub-core {
        width: 70px;
        height: 70px;
    }

    .hub-logo {
        width: 42px;
        height: 42px;
    }

    .hub-glow {
        width: 90px;
        height: 90px;
    }

    .eco-node {
        position: relative;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .node-icon {
        width: 44px;
        height: 44px;
    }

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

    .node-badge {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: var(--spacing-xs);
    }

    .node-label {
        font-size: var(--font-size-xs);
    }

    .node-action {
        font-size: 10px;
    }

    /* Stack nodes vertically on mobile */
    .circular-ecosystem {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        height: auto;
        padding: var(--spacing-lg) 0;
    }

    .node-agents {
        order: 1;
        width: 100%;
        max-width: 350px;
    }

    .agents-flow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .agent-step .step-icon {
        width: 36px;
        height: 36px;
    }

    .agent-step .step-icon svg {
        width: 18px;
        height: 18px;
    }

    .agent-step span {
        font-size: 10px;
    }

    .flow-arrow {
        font-size: var(--font-size-base);
    }

    .node-responsable {
        order: 2;
    }

    .node-direction {
        order: 3;
    }

    .node-lecteur {
        order: 4;
        margin-top: var(--spacing-md);
    }

    .eco-hub {
        order: 0;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: var(--spacing-md);
    }

    .ecosystem-legend {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .ecosystem-legend .legend-item {
        font-size: var(--font-size-xs);
    }

    .legend-line {
        width: 18px;
        height: 2px;
    }

    /* Devices showcase mobile - stacked layout */
    .devices-showcase {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .device-mobile {
        order: 1;
    }

    .device-desktop {
        order: 2;
        margin-left: 0;
    }

    .phone-frame {
        width: 200px;
        transform: rotate(0);
        animation: mobileFloatMobile 4s ease-in-out infinite;
    }

    @keyframes mobileFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .desktop-frame {
        width: 320px;
        transform: rotate(0) translateY(0);
        animation: desktopFloatMobile 4s ease-in-out infinite 0.3s;
    }

    @keyframes desktopFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .devices-tagline {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: var(--spacing-lg);
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
        transform: none;
    }

    .founder-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .founder-quote {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .founder-quote blockquote {
        padding-left: 0;
        font-size: var(--font-size-lg);
        text-align: center;
        max-width: 320px;
        hyphens: none;
        -webkit-hyphens: none;
    }

    .founder-quote blockquote::before {
        display: none;
    }

    .founder-quote cite {
        padding-left: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .founder-badge {
        justify-content: center;
        hyphens: none;
        -webkit-hyphens: none;
    }

    .transform-grid {
        flex-direction: column;
    }

    .transform-arrow {
        transform: rotate(90deg);
    }

    /* Transformation: horizontal carousel on mobile */
    .transform-columns {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        gap: var(--spacing-md);
        padding-bottom: var(--spacing-xs);
        margin: 0 calc(-1 * var(--spacing-lg));
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }

    .transform-columns::-webkit-scrollbar {
        display: none;
    }

    /* C7: Show carousel indicators on mobile */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .transform-column {
        min-width: 85vw;
        max-width: 85vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .column-before {
        order: 0;
    }

    .column-flow {
        order: 1;
    }

    .column-after {
        order: 2;
    }

    .stats-row {
        gap: var(--spacing-xl);
    }

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

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }

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

    .pricing-features-grid {
        gap: var(--spacing-2xl);
    }

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

    /* C9: Reduce ecosystem spacing */
    .ecosystem {
        padding: var(--spacing-xl) 0;
    }

    .biotope-diagram {
        margin-top: var(--spacing-md);
    }

    /* C12: Cloud éco-responsable on one line */
    .eco-header {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .eco-header h3 {
        white-space: nowrap;
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    /* C13: Center form fields */
    .contact-form {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .form-group {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }

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

    /* Phase 1: Réseau neuronal — masquer SVG sur mobile, remplacer par micro-particules CSS */
    .global-neural-network {
        display: none;
    }

    /* Micro-particules CSS — ambiance légère sur sections clés */
    .hero::before,
    .features::before,
    .pricing::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            radial-gradient(circle at 20% 30%, rgba(39, 174, 96, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.04) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(230, 126, 34, 0.02) 0%, transparent 40%);
        pointer-events: none;
        z-index: 0;
    }

    /* Phase 3: Biotope diagram responsive — full width, auto height */
    .biotope-diagram {
        height: auto;
        max-height: none;
    }

    .biotope-svg-img {
        height: auto;
        max-height: none;
        width: calc(100vw - 32px);
    }

    /* Phase 4: Pricing mobile */
    .pricing-price-card {
        padding: var(--spacing-lg) var(--spacing-xl);
    }

    .pricing-number {
        font-size: 3.5rem;
    }

    .pricing-unit {
        font-size: 2rem;
    }

    .pricing-features-grid {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .pricing-includes-section {
        padding: 0 var(--spacing-md);
    }

    .pricing-roi-card {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .roi-big {
        font-size: 3rem;
    }

    .roi-suffix {
        font-size: 1.5rem;
    }

    .roi-compare {
        gap: var(--spacing-md);
    }

    .roi-arrow {
        width: 36px;
    }

    /* Phase 5: Transformation mobile — labels au-dessus, pleine largeur */
    .timeline-compare {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .chain-steps {
        gap: 1px;
    }

    .chain-arrow {
        font-size: 0.65rem;
    }

    .chain-icon {
        font-size: 0.95rem;
    }

    .timeline-bar {
        height: 10px;
    }

    .timeline-section-label {
        font-size: 0.65rem;
    }

    .timeline-gf-logo {
        height: 14px;
    }

    /* Phase 6: Eco section mobile */
    .eco-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    /* Phase 7: Touch targets — agrandir zones de tap */
    .slide-indicator {
        padding: 10px;
        margin: -10px;
        box-sizing: content-box;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-slideshow .slide-indicator {
        padding: 10px;
        margin: -10px;
        box-sizing: content-box;
    }

    /* Slide indicators — meilleure visibilité sur mobile */
    .desktop-slideshow .slide-indicator {
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.6);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .desktop-slideshow .slide-indicator.active {
        background: #fff;
    }

    /* CTA title responsive */
    .cta-title {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 640px) {
    /* Phase 5: Transformation — compact header on small mobile */
    .transformation {
        padding: var(--spacing-2xl) 0;
    }

    .transform-header {
        margin-bottom: var(--spacing-lg);
    }

    .transform-context {
        font-size: var(--font-size-lg);
        margin-bottom: 2px;
    }

    .transform-subcontext {
        font-size: var(--font-size-xs);
        margin-bottom: var(--spacing-md);
    }

    .timeline-compare {
        padding: var(--spacing-lg) var(--spacing-lg);
    }

    .chain-steps {
        gap: 0;
        flex-wrap: nowrap !important;
        overflow: hidden;
        margin-bottom: var(--spacing-sm);
    }

    .chain-steps-gf {
        margin-top: var(--spacing-sm);
    }

    .chain-step {
        flex-shrink: 0;
    }

    .chain-icon {
        font-size: 0.9rem;
    }

    .chain-step-label {
        display: none;
    }

    .chain-arrow {
        font-size: 0.5rem;
        margin: 0 1px;
        flex-shrink: 0;
    }

    .timeline-time {
        font-size: var(--font-size-base);
        font-weight: 800;
    }

    .timeline-bar {
        height: 10px;
        border-radius: 5px;
    }

    .timeline-section-label {
        font-size: 0.7rem;
        margin-bottom: var(--spacing-xs);
    }

    .timeline-gf-logo {
        height: 14px;
        margin-top: var(--spacing-xs);
    }

    .transform-title {
        font-size: var(--font-size-xl);
        line-height: 1.25;
    }
}

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

    .hero-cta {
        flex-direction: column;
    }

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

    .hero-social-proof span {
        font-size: var(--font-size-sm);
    }

    .ecosystem .section-title {
        font-size: var(--font-size-2xl);
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion — 3rd tier: zero animation
   -------------------------------------------------------------------------- */
@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;
    }

    .global-neural-network {
        display: none;
    }

    .hero::before,
    .features::before,
    .pricing::before {
        animation: none;
    }
}
