/* ===================================================================
   DESIGN SYSTEM FIDELIS (Refonte 2025)
   
   - Typographie: 'Manrope'
   - Palette: Moderne (Bleu, Violet, Nuit)
   - Layout: Grid, Flexbox
   - Style: Épuré, SaaS moderne, micro-interactions
   =================================================================== */

/* 1. Imports & Variables Fondamentales
   =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    /* Typographie */
    --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

    /* Palette de Couleurs (Moderne & Contraste élevé) */
    --color-primary: #3b82f6;
    /* Bleu vif */
    --color-primary-light: #60a5fa;
    --color-primary-dark: #2563eb;
    --color-primary-rgb: 59, 130, 246;

    --color-accent-purple: #8b5cf6;
    --color-accent-pink: #ec4899;
    --color-accent-teal: #14b8a6;
    --color-success: #10b981;
    --color-warning: #f59e0b;

    /* Neutres (Fond de nuit) */
    --color-bg-dark: #0d1117;
    --color-bg-dark-medium: #161b22;
    --color-bg-dark-light: #21262d;
    --color-border-dark: #30363d;

    /* Neutres (Fond clair) */
    --color-bg-light: #ffffff;
    --color-bg-off-white: #f6f8fa;
    --color-border-light: #d0d7de;

    /* Texte */
    --color-text-dark-primary: #1f2328;
    --color-text-dark-secondary: #57606a;
    --color-text-dark-muted: #8b949e;

    --color-text-light-primary: #e6edf3;
    --color-text-light-secondary: #c9d1d9;
    --color-text-light-muted: #8b949e;

    /* Dégradés */
    --gradient-primary: linear-gradient(135deg,
            var(--color-primary) 0%,
            var(--color-accent-purple) 100%);
    --gradient-hero: linear-gradient(135deg,
            var(--color-primary) 0%,
            var(--color-accent-purple) 50%,
            var(--color-accent-pink) 100%);

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

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    --shadow-primary: 0 4px 14px 0 rgba(var(--color-primary-rgb), 0.3);
    --shadow-primary-lg: 0 8px 30px 0 rgba(var(--color-primary-rgb), 0.35);

    --transition-fast: all 0.2s ease-out;
    --transition-base: all 0.3s ease-out;

    /* Layout */
    --header-height: 80px;
    --container-width: 1240px;
    --container-padding: 24px;
}

/* 2. Reset & Styles de Base
   =================================================================== */

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

html {
    font-size: 100%;
    /* 16px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--color-text-dark-secondary);
    background: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-text-dark-primary);
}

/* Typographie de base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--color-text-dark-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    /* 60px */
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    /* 44px */
}

h3 {
    font-size: 1.5rem;
    /* 24px */
}

h4 {
    font-size: 1.25rem;
    /* 20px */
}

p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

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

/* 3. Classes Utilitaires (Container, Boutons, etc.)
   =================================================================== */

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Structure de section */
section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-head {
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.section-head h2 {
    margin-bottom: 20px;
}

.section-head p {
    font-size: 1.125rem;
    /* 18px */
    color: var(--color-text-dark-secondary);
    line-height: 1.7;
}

/* Système de boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-base);
    user-select: none;
    line-height: 1.5;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus-visible {
    outline: 4px solid rgba(var(--color-primary-rgb), 0.3);
    outline-offset: 2px;
}

/* Bouton Primaire (Plein) */
.btn-primary {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-primary);
}

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

.btn-primary:active {
    transform: translateY(0);
    background: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: var(--shadow-sm);
}

/* Bouton Secondaire (Contour) */
.btn-outline {
    background: var(--color-bg-light);
    color: var(--color-text-dark-primary);
    border-color: var(--color-border-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--color-bg-off-white);
    border-color: var(--color-text-dark-muted);
    color: var(--color-text-dark-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline:active {
    transform: translateY(0);
    background: #eef0f2;
    box-shadow: none;
}

/* Bouton Verre (pour Hero) */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    /* 16px */
    border-radius: var(--radius-lg);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.8125rem;
    /* 13px */
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-glow {
    background: rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-primary-light);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* 4. Header & Navigation
   =================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

/* Header par défaut (en haut) - Texte BLANC */
header .logo,
header .nav-links a {
    color: white;
    transition: color 0.3s ease;
}

header .nav-links a::after {
    background: white;
}

header .hamburger span {
    background: white;
}

/* Header scrollé - Texte NOIR */
header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--color-border-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    color: var(--color-text-dark-primary);
}

header.scrolled .nav-links a::after {
    background: var(--color-primary);
}

header.scrolled .hamburger span {
    background: var(--color-text-dark-primary);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.375rem;
}

.logo:hover {
    text-decoration: none;
    opacity: 0.8;
}

.logo img {
    width: 36px;
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform var(--transition-fast);
}

header .nav-links a:hover,
header .nav-links a.active {
    text-decoration: none !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Menu mobile */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

#nav-toggle {
    display: none;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-light);
    z-index: 1001;
    padding-top: calc(var(--header-height) + 40px);
    overflow-y: auto;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark-secondary);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    width: 100%;
    text-align: center;
    transition: var(--transition-fast);
}

.mobile-menu a.active,
.mobile-menu a:hover {
    background: var(--color-bg-off-white);
    color: var(--color-primary);
    text-decoration: none;
}

.mobile-menu .btn {
    width: 100%;
    margin-top: 16px;
}

/* État ouvert du menu mobile */
#nav-toggle {
    display: none;
}

#nav-toggle:checked+header .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#nav-toggle:checked+header .hamburger span:nth-child(2) {
    opacity: 0;
}

#nav-toggle:checked+header .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#nav-toggle:checked~.mobile-menu {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Section Hero
   =================================================================== */

.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-dark);
}

/* Fond "Aurora" animé */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
}

.hero::before {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            var(--color-primary),
            transparent 60%);
    top: -20%;
    left: -20%;
    animation: auroraFloat 15s ease-in-out infinite;
}

.hero::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            var(--color-accent-purple),
            transparent 60%);
    bottom: -30%;
    right: -10%;
    animation: auroraFloat 20s ease-in-out infinite reverse;
}

/* Hero - Grille de stats large */
.hero-stats-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.stat-card {
    background: rgba(33, 38, 45, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-xl);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--color-primary-rgb), 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.stat-card .stat-icon img {
    width: 5rem;
    height: 3em;
    margin: 0 auto;
}

.stat-card .stat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-light-primary);
    margin-bottom: 4px;
}

.stat-card .stat-desc {
    font-size: 0.875rem;
    color: var(--color-text-light-muted);
}

@keyframes auroraFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(100px, 50px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero .badge {
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--color-text-light-primary);
    margin-bottom: 24px;
}

.hero p {
    color: var(--color-text-light-secondary);
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text-light-muted);
    font-weight: 500;
}

/* Visuel Hero */
.hero-visual {
    position: relative;
    animation: floatSlow 6s ease-in-out infinite;
}

.hero-mockup {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-mockup img {
    border-radius: var(--radius-xl);
}

.floating-card {
    position: absolute;
    background: rgba(33, 38, 45, 0.6);
    /* --color-bg-dark-light + alpha */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    top: 10%;
    right: -10%;
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    bottom: 15%;
    left: -8%;
    animation-delay: 1s;
}

.floating-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light-primary);
}

.floating-card-icon {
    font-size: 1.5rem;
    /* 24px */
}

.floating-card-text strong {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
    /* 18px */
}

.floating-card-text span {
    font-size: 0.8125rem;
    /* 13px */
    color: var(--color-text-light-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1.5deg);
    }
}

/* 6. Section Features (Modern Alternating)
   =================================================================== */

.features-modern {
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.feature-block {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.feature-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(var(--color-primary-rgb), 0.02) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.feature-block:hover::before {
    opacity: 1;
}

/* Alternance des backgrounds */
.feature-block:nth-child(even) {
    background: var(--color-bg-off-white);
}

.feature-block:nth-child(odd)::before {
    background: linear-gradient(-135deg,
            rgba(139, 92, 246, 0.02) 0%,
            transparent 50%);
}

.feature-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.feature-reverse .feature-container {
    grid-template-columns: 1.2fr 1fr;
}

.feature-reverse .feature-content {
    order: 2;
}

.feature-reverse .feature-visual {
    order: 1;
}

/* Content */
.feature-content {
    animation: fadeInUp 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

.feature-badge {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    background: var(--color-bg-dark);
    /* La couleur du Hero */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Ombre noire/grise */
    transition: var(--transition-base);
}

.feature-block:hover .feature-badge {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 48px rgba(var(--color-primary-rgb), 0.35);
}

.feature-icon {
    font-size: 3rem;
    /* 48px */
}

.feature-icon img {
    width: 4rem;
    height: 3rem;
}

.feature-content h3 {
    font-size: 2.5rem;
    /* 40px */
    font-weight: 800;
    color: var(--color-text-dark-primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.feature-lead {
    font-size: 1.25rem;
    /* 20px */
    line-height: 1.7;
    color: var(--color-text-dark-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-dark-secondary);
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
    padding: 12px 0;
    transition: var(--transition-fast);
}

.feature-list li:hover {
    color: var(--color-text-dark-primary);
    transform: translateX(8px);
}

.feature-list li::before {
    content: '✓';
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    /* La couleur du Hero */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    /* 14px */
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Ombre neutre */
}


/* Visual */
.feature-visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

.feature-reverse .feature-visual {
    animation-name: fadeInLeft;
}

.feature-mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    pointer-events: none;
}

.feature-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 1;
    mix-blend-mode: overlay;
}

.feature-mockup img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-base);
}

.feature-block:hover .feature-badge {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 48px rgba(var(--color-primary-rgb), 0.35);
}

/* Neutraliser les effets hover du feature-block sur le carousel */
.feature-block:hover .feature-carousel .feature-mockup {
    transform: translate(-50%, -50%) scale(0.95) !important;
    box-shadow: none !important;
}

.feature-block:hover .feature-carousel .feature-mockup.active {
    transform: translate(-50%, -50%) scale(1) !important;
}

.feature-block:hover .feature-carousel .feature-mockup img {
    transform: none !important;
}

/* ===================================================================
   CAROUSEL POUR FEATURES (PC ET MOBILE MIXÉS)
   =================================================================== */
/* Container du carousel avec transition fluide */
.feature-carousel {
    position: relative;
    width: 100%;
    transition: all 0.6s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

/* Mockups à l'intérieur du carousel */
.feature-carousel .feature-mockup {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    /* ← Ajouter scale(0.95) */
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    /* ← Changer la transition */
    pointer-events: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.feature-carousel .feature-mockup::before {
    display: none !important;
}

.feature-mockup.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    /* ← Combiner centrage + scale */
    pointer-events: auto;
    z-index: 1;
}

/* Effet hover sans les anciens styles */
.feature-carousel .feature-mockup:hover img {
    transform: scale(1.02);
    opacity: 0.9;
}

/* ===================================================================
   DESKTOP MOCKUP - Format paysage (sans cadre)
   =================================================================== */
.feature-carousel .feature-mockup[data-type="desktop"] {
    width: 100%;
    max-width: 100%;
}

.feature-carousel .feature-mockup[data-type="desktop"] img {
    width: 100%;
    /* Augmenté de 95% à 100% */
    max-width: 1200px;
    /* Augmenté de 1000px à 1200px */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Container s'adapte quand desktop est actif */
.feature-carousel:has(.feature-mockup[data-type="desktop"].active) {
    min-height: 550px;
    /* Augmenté de 500px à 550px */
}

/* ===================================================================
   MOBILE MOCKUP - Format portrait (sans cadre)
   =================================================================== */
.feature-carousel .feature-mockup[data-type="mobile"] {
    width: 100%;
    max-width: 350px;
    /* Réduit de 450px à 350px */
    margin: 0 auto;
}

.feature-carousel .feature-mockup[data-type="mobile"] img {
    width: 100%;
    max-width: 320px;
    /* Réduit de 400px à 320px */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Container s'adapte quand mobile est actif */
.feature-carousel:has(.feature-mockup[data-type="mobile"].active) {
    min-height: 650px;
    /* ← Augmenter beaucoup (au lieu de 480px) */
    aspect-ratio: auto;
}

/* Effet hover discret */
.feature-carousel .feature-mockup:hover img {
    transform: scale(1.02);
    opacity: 0.9;
}

/* ===================================================================
   INDICATEURS DU CAROUSEL
   =================================================================== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 10;
}

/* Les indicateurs apparaissent seulement s'il y a plus d'une image */
.feature-visual:has(.feature-carousel .feature-mockup:nth-child(2)) .carousel-indicators {
    opacity: 1;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-border-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicators .indicator:hover {
    border-color: var(--color-primary);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

/* ===================================================================
   LIGHTBOX POUR FEATURES
   =================================================================== */
.features-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-lightbox-overlay.active {
    display: flex;
    animation: fadeInLightbox 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInLightbox {
    to {
        opacity: 1;
    }
}

.features-lightbox-content {
    position: relative;
    max-width: 1400px;
    max-height: 90vh;
    /* Garde 90vh */
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-lightbox-overlay.active .features-lightbox-content {
    transform: scale(1);
    opacity: 1;
}

.features-lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    min-height: 300px;
    flex: 1;
}

.features-lightbox-image {
    max-width: 100%;
    max-height: 55vh;
    /* RÉDUIRE de 75vh à 55vh */
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

/* BOUTON DE FERMETURE - Design noir épuré */
.features-lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    padding: 0;
}

.features-lightbox-close::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
}

.features-lightbox-close:hover {
    background: #000000;
    border-color: #000000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.features-lightbox-close:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* BOUTONS DE NAVIGATION - Flèches noires */
.features-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.features-lightbox-nav::before {
    content: "";
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
}

.features-lightbox-nav.prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.features-lightbox-nav.next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.features-lightbox-nav:hover {
    background: #000000;
    border-color: #000000;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.features-lightbox-nav.prev:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.features-lightbox-nav.next:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

.features-lightbox-nav.prev {
    left: -60px;
}

.features-lightbox-nav.next {
    right: -60px;
}

.features-lightbox-info {
    text-align: center;
    padding-top: 24px;
    border-top: 2px solid var(--color-border-light);
    flex-shrink: 0;
}

.features-lightbox-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-dark-primary);
    margin: 0 0 8px;
}

.features-lightbox-description {
    font-size: 16px;
    color: var(--color-text-dark-secondary);
    margin: 0 0 12px;
}

.features-lightbox-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(var(--color-primary-rgb), 0.2);
}

/* ===================================================================
   RESPONSIVE - Masquer les images sur mobile
   =================================================================== */
@media (max-width: 992px) {
    .feature-visual {
        display: none;
    }

    .carousel-indicators {
        display: none;
    }

    .features-lightbox-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .features-lightbox-content {
        padding: 24px;
        max-height: 85vh;
    }

    .features-lightbox-nav.prev {
        left: -10px;
    }

    .features-lightbox-nav.next {
        right: -10px;
    }

    .features-lightbox-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .features-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .features-lightbox-title {
        font-size: 20px;
    }

    .features-lightbox-description {
        font-size: 14px;
    }
}

/* Style pour les badges de téléchargement dans la timeline */
.timeline-step .step-visual .download-badges {
    display: flex;
    flex-direction: column;
    /* Aligne les badges verticalement */
    gap: 1rem;
    /* Espace entre les badges */
    justify-content: center;
    /* Centre verticalement */
    align-items: center;
    /* Centre horizontalement */
    height: 100%;
    /* Utilise toute la hauteur du conteneur */
    padding: 1rem;
}

.timeline-step .step-visual .store-badge {
    width: 275px;
    /* Ajustez la largeur selon vos besoins */
    height: auto;
    transition: transform 0.2s ease;
}

.timeline-step .step-visual .store-badge:hover {
    transform: scale(1.05);
    /* Léger zoom au survol */
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .feature-block {
        padding: 80px 0;
    }

    .feature-container,
    .feature-reverse .feature-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-reverse .feature-content {
        order: 1;
    }

    .feature-reverse .feature-visual {
        order: 2;
    }

    .feature-content h3 {
        font-size: 2rem;
        /* 32px */
    }

    .feature-lead {
        font-size: 1.125rem;
        /* 18px */
    }

    .feature-visual {
        animation: fadeInUp 0.8s ease-out both;
        animation-timeline: view();
        animation-range: entry 0% entry 30%;
    }

    .feature-reverse .feature-visual {
        animation-name: fadeInUp;
    }

    /* Cacher les images des features sur mobile */
    .feature-visual {
        display: none;
    }

    /* Centrer les stat-number sur mobile */
    .hero-stats .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats .stat-number,
    .hero-stats .stat-label {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .feature-block {
        padding: 60px 0;
    }

    .feature-badge {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .feature-icon {
        font-size: 2.25rem;
        /* 36px */
    }

    .feature-content h3 {
        font-size: 1.75rem;
        /* 28px */
    }

    .feature-list li {
        font-size: 0.9375rem;
        /* 15px */
    }
}

/* 7. Section "How It Works" (Timeline)
   =================================================================== */
.how-it-works {
    background: var(--color-bg-light);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 700px;
    /* Réduit pour centrer la colonne unique */
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    /* Aligné à gauche */
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            var(--color-primary-light),
            var(--color-accent-purple));
    transform: translateX(0);
    border-radius: 2px;
    opacity: 0.3;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Un peu moins d'espace */
}

.timeline-step {
    display: grid;
    grid-template-columns: 40px 1fr;
    /* Grille simple : [Marqueur] [Texte] */
    gap: 24px;
    align-items: center;
    /* Aligne en haut */
    position: relative;
}

.step-marker {
    grid-column: 1 / 2;
    grid-row: 1;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--color-bg-light),
        0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.step-number {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 800;
    color: white;
}

.step-content {
    grid-column: 2 / 3;
    grid-row: 1;
    padding: 32px;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.step-content:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    font-size: 1.75rem;
    /* 28px */
    font-weight: 700;
    color: var(--color-text-dark-primary);
    margin-bottom: 16px;
}

.step-content p {
    color: var(--color-text-dark-secondary);
    font-size: 1rem;
    /* 16px */
    line-height: 1.7;
    margin: 0;
}

/* Style pour les badges de téléchargement déplacés */
.step-visual .store-badge,
.step-content .store-badge {
    width: 140px;
    /* Taille contrôlée */
    height: auto;
    transition: transform 0.2s ease;
}

.step-content .store-badge:hover {
    transform: scale(1.05);
}



/* 8. Section Pricing
   =================================================================== */

.pricing-section {
    background: var(--color-bg-off-white);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle,
            rgba(var(--color-primary-rgb), 0.06),
            transparent 70%);
    pointer-events: none;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 32px 28px;
    border: 2px solid var(--color-border-light);
    position: relative;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.pricing-card.featured {
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(var(--color-primary-rgb), 0.03) 100%);
    border-color: var(--color-primary);
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.15);
    z-index: 5;
}

.pricing-included {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--color-border-light);
}

/* Pour la carte "Featured" (Illimité), on adapte légèrement la couleur */
.pricing-card.featured .pricing-included {
    color: var(--primary);
    border-bottom-color: rgba(25, 118, 210, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-12px);
    box-shadow: 0 24px 60px rgba(var(--color-primary-rgb), 0.25);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    /* 12px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.35);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}

.pricing-header h3 {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    color: var(--color-text-dark-primary);
    margin-bottom: 6px;
}

.pricing-description {
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text-dark-secondary);
    margin: 0;
}

.pricing-price {
    text-align: center;
    margin-bottom: 28px;
}

.price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3rem;
    /* 48px */
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1rem;
    /* 16px */
    font-weight: 600;
    color: var(--color-text-dark-secondary);
}

.price-note {
    font-size: 0.8125rem;
    /* 13px */
    color: var(--color-text-dark-secondary);
    background: rgba(var(--color-primary-rgb), 0.06);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex: 1;
    display: grid;
    gap: 12px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-dark-secondary);
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    /* 12px */
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 28px;
}

/* 9. Section "Trust"
   =================================================================== */
.trust-section {
    background: var(--color-bg-dark);
    color: var(--color-text-light-secondary);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Fond "Aurora" plus subtil */
.trust-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(var(--color-primary-rgb), 0.1),
            transparent 70%);
    border-radius: 50%;
    animation: auroraFloat 25s ease-in-out infinite;
}

.trust-section .section-head h2 {
    color: var(--color-text-light-primary);
}

.trust-section .section-head p {
    color: var(--color-text-light-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.trust-item {
    text-align: center;
    background: var(--color-bg-dark-medium);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-2xl);
    padding: 48px 32px;
    transition: var(--transition-base);
}

.trust-item:hover {
    background: var(--color-bg-dark-light);
    border-color: #484f58;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trust-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.trust-item h4 {
    font-size: 1.375rem;
    /* 22px */
    font-weight: 700;
    color: var(--color-text-light-primary);
    margin-bottom: 12px;
}

.trust-item p {
    color: var(--color-text-light-secondary);
    font-size: 0.9375rem;
    /* 15px */
    line-height: 1.7;
    margin: 0;
}

.trust-item p strong {
    color: var(--color-text-light-primary);
    font-weight: 600;
}

/* 10. Section FAQ
   =================================================================== */
.faq-section {
    background: var(--color-bg-light);
    position: relative;
    padding-bottom: 120px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-off-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    transition: var(--transition-base);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-light);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-dark-primary);
    font-size: 1.125rem;
    /* 18px */
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    transition: var(--transition-fast);
    gap: 20px;
}

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

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-item[open] summary {
    color: var(--color-primary);
}

/* Icône +/- */
.faq-item summary::after {
    content: '+';
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(var(--color-primary-rgb), 0.1) 0%,
            rgba(139, 92, 246, 0.1) 100%);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    line-height: 1;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.25);
}

.faq-item p {
    color: var(--color-text-dark-secondary);
    margin: 0 28px 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--color-border-light);
    line-height: 1.7;
    font-size: 0.9375rem;
    /* 15px */
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 11. Section CTA Final
   =================================================================== */
.cta-final {
    background: var(--color-bg-dark);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Fond Aurora intense */
.cta-final::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle,
            rgba(var(--color-primary-rgb), 0.2),
            transparent 70%);
    border-radius: 50%;
    animation: auroraFloat 20s ease-in-out infinite 5s;
}

.cta-final .section-head {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.cta-final .section-head h2 {
    color: var(--color-text-light-primary);
}

.cta-final .section-head p {
    color: var(--color-text-light-secondary);
    font-size: 1.25rem;
    /* 20px */
}

.cta-final .btn {
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    /* 18px */
    padding: 18px 48px;
    background: var(--gradient-hero);
    color: white;
    border: none;
    box-shadow: 0 8px 32px rgba(var(--color-primary-rgb), 0.4),
        0 4px 15px rgba(236, 72, 153, 0.3);
}

.cta-final .btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.5),
        0 8px 25px rgba(236, 72, 153, 0.4);
    color: white;
}

/* 12. Footer
   =================================================================== */
footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light-muted);
    padding-top: 80px;
    font-size: 0.9375rem;
    /* 15px */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-col.brand-col {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-title {
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    color: var(--color-text-light-primary);
}

.brand-col p {
    font-size: 0.9375rem;
    /* 15px */
    line-height: 1.6;
    margin: 0;
    max-width: 350px;
}

.footer-email {
    margin-top: 20px;
}

.footer-email a {
    color: var(--color-text-light-secondary);
    font-weight: 500;
}

.footer-email a:hover {
    color: var(--color-primary-light);
}

.footer-col h4 {
    font-size: 1rem;
    /* 16px */
    font-weight: 700;
    color: var(--color-text-light-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--color-text-light-muted);
    margin-bottom: 12px;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--color-text-light-primary);
    text-decoration: none;
    transform: translateX(3px);
}

.copyright {
    border-top: 1px solid var(--color-border-dark);
    padding: 32px 0;
    text-align: center;
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text-light-muted);
}

/* 13. Media Queries (Responsive Design)
   =================================================================== */

/* Tablette large (approx. 1200px) */
@media (max-width: 1200px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }
}

/* Tablette (approx. 992px) */
@media (max-width: 992px) {

    /* Header */
    .nav-links {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    header.scrolled {
        background: rgba(255, 255, 255, 0.95);
    }

    .logo .brand-name {
        display: inline;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 80px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-content {
        animation: none;
        /* Désactive anim sur mobile pour perf */
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        align-items: center;
    }

    .floating-card {
        display: none;
        /* Cache les cartes flottantes pour épurer */
    }

    /* Features centrées sur mobile */
    .feature-content {
        text-align: center;
    }

    .feature-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-content h3,
    .feature-lead {
        text-align: center;
    }

    /* Les listes restent alignées à gauche */
    .feature-list {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Bento */
    .bento-large,
    .bento-small,
    .bento-medium {
        grid-column: span 6;
    }



    /* Pricing */
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .footer-col.brand-col {
        grid-column: span 2;
        padding-right: 0;
    }
}

/* Mobile (approx. 768px) */
@media (max-width: 768px) {
    section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-head {
        margin-bottom: 48px;
    }

    h1 {
        font-size: 2.25rem;
        /* 36px */
    }

    h2 {
        font-size: 1.875rem;
        /* 30px */
    }

    .hero p {
        font-size: 1.125rem;
        /* 18px */
    }

    /* Hero */
    .hero-stats {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    /* Pricing */
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: scale(1);
        /* Reset scale */
    }

    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col.brand-col {
        grid-column: span 1;
    }
}

/* Petit mobile (approx. 576px) */
@media (max-width: 576px) {
    :root {
        --container-padding: 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
        /* 14px */
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
        /* 16px */
    }

    /* Hero */
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

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

    /* Bento */
    .bento-item {
        padding: 32px 24px;
    }

    /* Timeline */
    .timeline-line {
        display: none;
        /* Cache la ligne sur petit mobile */
    }

    .timeline-step {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-marker {
        display: none;
        /* Cache le marqueur */
    }

    .step-content,
    .step-visual,
    .timeline-step:nth-child(even) .step-content,
    .timeline-step:nth-child(even) .step-visual {
        grid-column: 1 / 2;
    }

    .timeline-step:nth-child(odd) .step-visual,
    .timeline-step:nth-child(even) .step-content {
        grid-row: auto;
        /* Reset grid rows */
    }

    /* FAQ */
    .faq-item summary {
        font-size: 1rem;
        /* 16px */
        padding: 20px 24px;
    }

    .faq-item p {
        margin: 0 24px 20px;
        font-size: 0.875rem;
        /* 14px */
    }

    /* CTA Final */
    .cta-final .section-head p {
        font-size: 1.125rem;
        /* 18px */
    }
}