/* --- Bandeau de Lancement --- */
/* Note: Les fonts Google sont chargées dans includes/head.php pour éviter le double chargement */
.launch-banner {
    background: linear-gradient(90deg, var(--accent-color), #e6b04a, var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer-bg 3s ease-in-out infinite;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

@keyframes shimmer-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.launch-banner p {
    color: var(--primary-color) !important;
    margin: 0;
    font-size: 0.95rem;
}

.launch-banner strong {
    color: var(--primary-color);
}

.launch-cta {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.launch-cta:hover {
    background: var(--dark-bg);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .launch-banner {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .launch-banner p {
        font-size: 0.8rem;
    }
    
    /* Masquer la partie "pour les premiers inscrits" sur mobile */
    .launch-banner .mobile-hide {
        display: none;
    }
    
    .launch-badge {
        font-size: 0.75rem;
    }
}

/* --- 0. Variables et Reset de base --- */
:root {
    /* Palette sophistiquée - Bleu profond / Or / Blanc cassé */
    --primary-color: #1a365d; /* Bleu marine profond */
    --primary-light: #2c5282;
    --accent-color: #d69e2e; /* Or chaud */
    --accent-light: #f6e05e;
    --text-color: #1a202c;
    --text-light: #374151;
    --text-muted: #4b5563;
    --background-light: #f7fafc;
    --background-cream: #fffaf0;
    --white: #ffffff;
    --dark-bg: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-accent: 'Crimson Pro', serif;
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition-speed: 0.3s;
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --shadow-sm: 0 2px 8px rgba(26, 54, 93, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 54, 93, 0.12);
    --shadow-lg: 0 16px 48px rgba(26, 54, 93, 0.16);
    --shadow-glow: 0 0 40px rgba(214, 158, 46, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    font-weight: 400;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    color: var(--text-light);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateZ(0);
    }
    50% { 
        transform: translateY(-15px) translateZ(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(214, 158, 46, 0.4); }
    50% { box-shadow: 0 0 40px rgba(214, 158, 46, 0.7); }
}

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

/* --- Réduction des animations pour accessibilité --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
    
    .hero-image img,
    .hero-slider .slide,
    .hero-video-element {
        animation: none !important;
    }
    
    .cta-button {
        animation: none !important;
    }
    
    .launch-banner {
        animation: none !important;
    }
    
    .launch-offer-badge {
        animation: none !important;
    }
    
    .chat-badge {
        animation: none !important;
    }
    
    #confiance .security-icon {
        animation: none !important;
    }
}

/* --- 1. Boutons (CTA) --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    will-change: transform;
    animation: pulse-subtle 3s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: var(--shadow-md), 0 0 0 0 rgba(214, 158, 46, 0.4);
    }
    50% {
        box-shadow: var(--shadow-md), 0 0 0 8px rgba(214, 158, 46, 0);
    }
}

.cta-button:hover::before {
    left: 100%;
}

.cta-outline {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    box-shadow: none;
    animation: none; /* Pas d'animation pulse sur les boutons outline */
}

.cta-outline:hover {
    background: var(--primary-color);
    color: var(--white) !important;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* --- 2. Header Fixe avec Glassmorphism --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 48px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(26, 54, 93, 0.08);
    position: fixed;
    top: 52px; /* Espace pour le bandeau */
    border-bottom: 1px solid rgba(26, 54, 93, 0.06);
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 54, 93, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 54px;
    width: auto;
    display: block;
    transition: transform var(--transition-speed) ease;
}

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

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-menu a {
    padding: 12px 24px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #e6b04a);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--accent-color);
    background: rgba(214, 158, 46, 0.08);
}

.nav-menu a:hover::after {
    width: 70%;
}

.header-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header-buttons .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Menu Hamburger Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1003;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Dropdown Menu Navigation --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.nav-dropdown-trigger:hover {
    color: var(--primary-color);
}

.dropdown-chevron {
    transition: transform var(--transition-speed) ease;
}

.nav-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(26, 54, 93, 0.08);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1000;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--white);
    border-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
}

.nav-dropdown-menu a:hover {
    background: var(--background-light);
}

.nav-dropdown-menu a::after {
    display: none; /* Pas de soulignement dans le dropdown */
}

.dropdown-icon {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 8px;
    flex-shrink: 0;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.dropdown-text small {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- 3. Sections Générales --- */
section {
    padding: 60px 0; /* Réduit de 100px pour compacter la page */
    text-align: center;
    position: relative;
}

section .subtitle {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 400;
}

.section-gray { 
    background: linear-gradient(180deg, var(--background-light) 0%, var(--white) 100%);
}

.section-dark { 
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
    color: var(--white); 
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.section-dark h2 { color: var(--accent-color); }
.section-dark p { color: rgba(255, 255, 255, 0.9); }

/* --- 3.5 Profile Tabs (Cas d'usage) --- */
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0 32px;
    flex-wrap: wrap;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--white);
    border: 2px solid rgba(26, 54, 93, 0.1);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
}

.profile-tab svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-muted);
    transition: all var(--transition-speed) ease;
}

.profile-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-tab:hover svg {
    stroke: var(--primary-color);
}

.profile-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.profile-tab.active svg {
    stroke: var(--white);
}

.profile-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.profile-content.active {
    display: block;
}

.profile-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.profile-pain,
.profile-solution {
    padding: 28px;
    border-radius: var(--border-radius);
    position: relative;
}

.profile-pain {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-left: 4px solid #e53e3e;
}

.profile-solution {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border-left: 4px solid #38a169;
}

.pain-label,
.solution-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.pain-label {
    color: #c53030;
}

.solution-label {
    color: #276749;
}

.profile-pain p,
.profile-solution p {
    color: var(--text-color);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.profile-pain strong,
.profile-solution strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .profile-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-tab {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .profile-tab span {
        display: block;
    }
    
    .profile-intro {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-pain,
    .profile-solution {
        padding: 20px;
    }
}

/* --- 4. Hero Section --- */
#hero {
    padding-top: 120px; /* Réduit pour diminuer l'espace blanc sous le menu */
    padding-bottom: 60px; /* Réduit pour compacter la page */
    text-align: left;
    background: linear-gradient(135deg, var(--white) 0%, var(--background-cream) 50%, var(--background-light) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--background-light), transparent);
    pointer-events: none;
}

#hero h1 {
    max-width: 600px;
    margin-bottom: 24px;
    color: var(--primary-color);
    animation: fadeInUp 0.8s ease-out;
}

#hero h1 span {
    color: var(--accent-color);
    position: relative;
}

#hero .subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-style: normal;
    color: var(--text-light);
    max-width: 550px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-text { 
    flex: 1;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.social-proof-hero {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(26, 54, 93, 0.1);
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-proof-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.social-proof-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.social-proof-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.trust-badges-hero {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.trust-badges-hero span {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-image { 
    flex: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    border: 4px solid var(--white);
    will-change: transform;
}

/* Carrousel Hero avec fondu */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: none;
    border: none;
    animation: float 6s ease-in-out infinite;
}

.hero-slider .slide:first-child {
    position: relative; /* Maintient la hauteur du conteneur */
    opacity: 1; /* Visible par défaut au chargement */
}

.hero-slider .slide.active {
    opacity: 1 !important;
}

.hero-slider .slide:not(.active) {
    opacity: 0 !important;
}

/* Vidéo Hero */
.hero-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    align-self: center;
    margin-top: -40px;
}

.hero-video-element {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

.trust-text {
    margin-top: 48px;
    font-size: 0.95rem;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-text::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

/* --- 5. Grilles de Cards --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.card {
    padding: 36px 32px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.08), 0 2px 4px rgba(26, 54, 93, 0.04);
    text-align: left;
    border: 2px solid rgba(26, 54, 93, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 40%;
    background: linear-gradient(180deg, var(--accent-color), rgba(214, 158, 46, 0.6));
    transition: height 0.4s ease;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.15), 0 4px 12px rgba(26, 54, 93, 0.1), 0 0 0 1px rgba(214, 158, 46, 0.2);
    border-color: rgba(214, 158, 46, 0.3);
}

.card:hover::before {
    height: 100%;
}

.card h3 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
}

.card .icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.15), rgba(214, 158, 46, 0.08));
    border-radius: 16px;
    color: var(--accent-color);
    border: 2px solid rgba(214, 158, 46, 0.2);
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.1);
    transition: all 0.3s ease;
}

.card:hover .icon {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.25), rgba(214, 158, 46, 0.15));
    border-color: rgba(214, 158, 46, 0.4);
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.2);
    transform: scale(1.1);
}

.card .icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent-color);
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 2px rgba(214, 158, 46, 0.2));
}

/* --- 6. Section Pour Qui --- */
#pour-qui {
    background: var(--background-light);
    position: relative;
}

#pour-qui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* --- 7. Niveaux (Pricing) --- */
#levels {
    background: linear-gradient(180deg, var(--white) 0%, var(--background-cream) 100%);
}

#levels .grid-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#levels .card {
    text-align: center;
    padding: 48px 32px;
    border: 2px solid transparent;
    position: relative;
}

#levels .card::before {
    display: none;
}

#levels .card:nth-child(2) {
    border-color: var(--accent-color);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#levels .card:nth-child(2)::after {
    content: '★ Recommandé';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

#levels .card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

#levels .card:nth-child(2) h3 {
    margin-top: 32px;
}

#levels ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 32px 0;
}

#levels ul li { 
    margin-bottom: 14px; 
    display: flex; 
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

#levels ul li::before { 
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') center/contain no-repeat;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') center/contain no-repeat;
}

#levels .cta-button {
    margin-top: 16px;
    width: 100%;
}

/* --- 8. Installation --- */
#installation {
    background: var(--white);
}

#installation .card {
    text-align: center;
}

#installation .card .icon {
    margin: 0 auto 16px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

/* Processus de mise en place - Timeline horizontale */
.process-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(214, 158, 46, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.process-section h3 {
    color: var(--accent-color);
    margin-bottom: 50px;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

/* Timeline Container */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ligne de connexion continue */
.timeline-track {
    position: absolute;
    top: 24px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    z-index: 0;
}

.timeline-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent-color), #e6b04a);
    border-radius: 2px;
    animation: trackProgress 2s ease-out 0.5s forwards;
}

@keyframes trackProgress {
    to { width: 100%; }
}

/* Étape de la timeline */
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.4s; }
.timeline-step:nth-child(4) { animation-delay: 0.6s; }
.timeline-step:nth-child(5) { animation-delay: 0.8s; }

/* Numéro de l'étape */
.timeline-number {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.5);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-number {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.7);
}

/* Carte de contenu */
.timeline-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 24px 16px;
    text-align: center;
    width: 100%;
    max-width: 200px;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-card {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    background: rgba(214, 158, 46, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-icon {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(10deg);
}

.timeline-icon svg {
    width: 24px;
    height: 24px;
}

.timeline-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { left: -100%; }
    to { left: 100%; }
}

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

/* --- 9. Confidentialité (Section Dark) --- */
#confiance {
    position: relative;
    z-index: 1;
}

#confiance .security-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: rgba(214, 158, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 3s ease-in-out infinite;
}

#confiance .security-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--accent-color);
}

#confiance .grid-cards {
    gap: 24px;
}

#confiance .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
}

#confiance .card::before {
    background: var(--accent-color);
}

#confiance .card h3 { 
    color: var(--white);
    margin-top: 0;
}

#confiance .card p { 
    color: rgba(255, 255, 255, 0.75); 
}

.quote {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 50px;
    color: var(--accent-color) !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
}

.quote::before {
    top: -20px;
    left: -30px;
}

.quote::after {
    bottom: -40px;
    right: -30px;
}

/* --- 10. CTA Final --- */
#final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: var(--white);
    padding: 60px 0; /* Réduit pour compacter */
    position: relative;
    overflow: hidden;
}

#final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(214, 158, 46, 0.15), transparent 60%);
}

#final-cta h2 { 
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    position: relative;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-form {
    max-width: 560px;
    margin: 48px auto 0;
    background: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-color);
    text-align: left;
    position: relative;
}

.cta-form input, 
.cta-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-speed) ease;
    background: var(--background-light);
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(214, 158, 46, 0.1);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
    color: var(--text-muted);
}

.cta-form button {
    width: 100%;
    margin-top: 8px;
    font-size: 1.1rem;
    padding: 18px 32px;
    border: none;
}

.offer-highlight {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.15), rgba(214, 158, 46, 0.05));
    border: 1px dashed var(--accent-color);
    border-radius: var(--border-radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 500;
}

.offer-icon {
    font-size: 1.2rem;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-top: 16px;
    margin-bottom: 0;
}

.launch-offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    color: var(--primary-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    animation: pulse-glow 2s ease-in-out infinite;
}

#final-cta .cta-subtitle strong {
    color: var(--accent-color);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.benefit-check {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.cta-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- 11. Footer --- */
.footer {
    padding: 60px 0 40px;
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    text-align: left;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    margin: 0;
}

.footer-social a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin: 0;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.newsletter-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--accent-color);
    border: none;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 6px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0;
}

.footer a { 
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 12px;
    transition: color var(--transition-speed) ease;
}

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

.footer-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* --- 12. Pages Légales --- */
/* --- Breadcrumbs (Fil d'Ariane) --- */
.breadcrumb {
    padding: 150px 24px 0;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding-top: 130px;
    }
}

/* Breadcrumb dans les héros (pages avec fond sombre) */
.breadcrumb-hero {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.breadcrumb-hero .breadcrumb-list {
    justify-content: center;
}

.breadcrumb-hero .breadcrumb-list a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-hero .breadcrumb-list a:hover {
    color: var(--accent-color);
}

.breadcrumb-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-hero .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
}

.legal-content {
    padding: 40px 24px 80px; /* Réduit car breadcrumb gère le padding-top */
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.9;
}

/* Fallback si pas de breadcrumb */
.legal-content.no-breadcrumb {
    padding-top: 190px;
}

.legal-content h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-content .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-style: normal;
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.legal-content p, 
.legal-content li {
    font-size: 1rem;
    color: var(--text-light);
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    background: var(--background-light);
    padding: 24px 32px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.legal-content ul li {
    margin-bottom: 12px;
    padding-left: 0;
}

.legal-content ul li strong {
    color: var(--primary-color);
}

/* --- 13. Responsive Design --- */
@media (max-width: 1024px) {
    .header { 
        padding: 16px 24px;
        top: 48px;
    }
    
    #hero {
        padding-top: 100px; /* Réduit pour mobile */
    }
    
    .nav-menu { 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height pour mobile */
        background: #ffffff;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        z-index: 1002;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
        padding: 20px;
    }
    
    /* Dropdown mobile - affichage linéaire */
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav-dropdown-trigger {
        font-size: 1.5rem;
        padding: 20px;
        justify-content: center;
        width: 100%;
    }
    
    .dropdown-chevron {
        display: none;
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--background-light);
        border-radius: 12px;
        margin: 0 20px 10px;
        padding: 8px;
        min-width: auto;
    }
    
    .nav-dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown-menu a {
        font-size: 1rem;
        padding: 12px 16px;
        justify-content: flex-start;
    }
    
    .dropdown-icon {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    
    .dropdown-text strong {
        font-size: 0.9rem;
    }
    
    .dropdown-text small {
        font-size: 0.75rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    
    .hero-content { 
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text { 
        margin-bottom: 48px;
    }
    
    #hero h1,
    #hero .subtitle {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-text {
        justify-content: center;
    }
    
    .grid-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    #levels .card:nth-child(2) {
        transform: scale(1);
    }
    
    section { 
        padding: 50px 0; /* Réduit pour mobile */
    }
    
    .quote::before,
    .quote::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .grid-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        padding: 32px 24px;
    }
    
    .process-section {
        padding: 40px 24px;
    }
    
    /* Timeline verticale sur mobile */
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        gap: 0;
    }
    
    .timeline-track {
        top: 24px;
        left: 24px;
        right: auto;
        bottom: 24px;
        width: 4px;
        height: auto;
    }
    
    .timeline-track::after {
        width: 100%;
        height: 0;
        animation: trackProgressVertical 2s ease-out 0.5s forwards;
    }
    
    @keyframes trackProgressVertical {
        to { height: 100%; }
    }
    
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .timeline-step:last-child {
        margin-bottom: 0;
    }
    
    .timeline-number {
        position: absolute;
        left: -40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .timeline-card {
        max-width: 100%;
        text-align: left;
        padding: 20px;
    }
    
    .timeline-icon {
        margin: 0 0 12px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
    }
}

/* --- 14. Animations au scroll (IntersectionObserver) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1 !important;
    transform: translateY(0);
    will-change: auto;
}

/* Fallback : rendre visible après un court délai si JavaScript ne fonctionne pas */
@supports (animation: fadeInFallback) {
    .animate-on-scroll:not(.visible) {
        animation: fadeInFallback 0.6s ease 1s forwards;
    }
}

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

/* Délais pour les cartes */
.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }
.card:nth-child(5) { transition-delay: 0.4s; }
.card:nth-child(6) { transition-delay: 0.5s; }

/* --- 15. Bande de Témoignages --- */
/* --- Section Pricing / Tarifs --- */
.pricing-section {
    padding: 60px 0; /* Réduit pour compacter */
    background: var(--white);
}

.pricing-section h2 {
    text-align: center;
    margin-bottom: 16px;
}

.pricing-section .subtitle {
    text-align: center;
}

.pricing-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    will-change: transform;
}

.pricing-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, rgba(214, 158, 46, 0.05), var(--white));
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.pricing-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-promo {
    display: inline-block;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Tarifs dans les cartes Niveaux */
.card-pricing {
    text-align: center;
    margin: 16px 0 8px;
}

.card-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 6px;
}

.card-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.card-price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-promo {
    display: inline-block;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--background-light);
    color: var(--text-color);
    font-size: 0.95rem;
    padding-left: 28px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

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

.pricing-card .cta-button {
    width: 100%;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 40px;
}

/* Accordion Comparatif dans Tarifs */
.pricing-accordion {
    margin-top: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--white);
    overflow: hidden;
}

.pricing-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.08), rgba(214, 158, 46, 0.12));
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
    list-style: none;
}

.pricing-accordion-trigger::-webkit-details-marker {
    display: none;
}

.pricing-accordion-trigger:hover {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.12), rgba(214, 158, 46, 0.18));
}

.pricing-accordion-trigger svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.pricing-accordion-trigger .accordion-chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.pricing-accordion[open] .accordion-chevron {
    transform: rotate(180deg);
}

.pricing-accordion-content {
    padding: 0 24px 24px;
    animation: accordionSlideDown 0.3s ease;
}

@keyframes accordionSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-accordion .comparator-table-wrapper {
    margin-top: 0;
}

@media (max-width: 768px) {
    .pricing-accordion-trigger {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .pricing-accordion-trigger span {
        text-align: left;
    }
    
    .pricing-accordion-content {
        padding: 0 12px 16px;
    }
}

/* Garantie visible */
.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-guarantee svg {
    flex-shrink: 0;
    color: #22c55e;
}

.guarantee-content {
    text-align: left;
}

.guarantee-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.guarantee-content span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 600px) {
    .pricing-guarantee {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .guarantee-content {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* --- Section Social Proof / Stats --- */
.social-proof-section {
    padding: 40px 0; /* Réduit pour compacter */
    background: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 16px;
    }
}

/* --- Section Trust Badges --- */
.trust-badges-section {
    padding: 60px 0;
    background: var(--white);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-badge-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--background-light);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.trust-badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.trust-badge-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-color);
}

.trust-badge-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.trust-badge-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
}

@media (max-width: 600px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .trust-badge-item {
        padding: 24px 16px;
    }
}

/* --- Section Testimonials --- */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    padding: 40px 0; /* Réduit pour compacter */
    position: relative;
    overflow: visible;
}

.testimonials-section .container {
    overflow: visible;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonials-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonials-band {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 20px 24px;
    margin: 0 -24px;
    position: relative;
    z-index: 1;
    scroll-behavior: smooth;
    flex: 1;
}

.testimonials-band::after {
    content: '';
    flex-shrink: 0;
    width: 24px;
}

.testimonials-band::-webkit-scrollbar {
    display: none;
}

.testimonial {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    backdrop-filter: blur(15px);
    transition: transform var(--transition-speed) ease, background var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    will-change: transform;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.testimonial-stars {
    font-size: 1.3rem;
    color: #fbbf24;
    letter-spacing: 3px;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centre les étoiles horizontalement */
    gap: 2px;
}

.testimonial-stars .star-empty {
    color: rgba(255, 255, 255, 0.4);
}

.testimonial-content {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.98) !important;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    position: relative;
    font-weight: 400;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.6;
    position: absolute;
    top: -20px;
    left: -8px;
    font-family: var(--font-accent);
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-info strong {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.4;
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.testimonials-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 0;
    border: none;
}

.testimonial-dot.active {
    background: var(--accent-color);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.testimonial-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    font-weight: 600;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.testimonial-nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-nav:active {
    transform: scale(0.95);
}

/* --- CTA Intermédiaire après Témoignages --- */
.mid-cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e6b04a 50%, var(--accent-color) 100%);
    background-size: 200% 100%;
    animation: shimmer-bg 4s ease-in-out infinite;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.mid-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10zM40 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.mid-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.mid-cta-text {
    flex: 1;
}

.mid-cta-text h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.mid-cta-text p {
    color: var(--primary-color);
    opacity: 0.85;
    margin: 0;
    font-size: 1.05rem;
}

.mid-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mid-cta-buttons .cta-button {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 16px 32px;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.3);
}

.mid-cta-buttons .cta-button:hover {
    background: var(--dark-bg);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 54, 93, 0.4);
}

.mid-cta-guarantee {
    font-size: 0.85rem;
    color: var(--primary-color);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .mid-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mid-cta-text h3 {
        font-size: 1.3rem;
    }
    
    .mid-cta-buttons .cta-button {
        width: 100%;
        padding: 14px 24px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial {
        flex: 0 0 300px;
        padding: 28px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .testimonials-wrapper {
        gap: 8px;
    }
    
    .testimonials-controls {
        margin-top: 24px;
    }
}

/* --- Section FAQ --- */
#faq {
    padding: 60px 0; /* Réduit pour compacter */
}

#faq h2 {
    text-align: center;
    margin-bottom: 50px;
}

#faq .subtitle {
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 54, 93, 0.06);
    transition: box-shadow var(--transition-speed) ease;
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 32px;
    list-style: none;
    user-select: none;
}

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

.faq-question::marker {
    display: none;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    stroke: var(--accent-color);
    flex-shrink: 0;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding: 0 32px 32px 32px;
}

@media (max-width: 1100px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #faq {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .faq-item {
        padding: 24px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}

/* FAQ More Link */
.faq-more {
    margin-top: 40px;
    text-align: center;
}

.faq-more p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 16px;
}

.faq-more .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- Widget Chat --- */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    font-family: var(--font-body);
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(214, 158, 46, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    will-change: transform;
}

.chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(214, 158, 46, 0.5);
}

.chat-bubble svg {
    stroke: var(--primary-color);
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-height: 500px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-header strong {
    display: block;
    font-size: 1rem;
}

.chat-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--background-light);
    max-height: 300px;
}

.chat-message {
    margin-bottom: 16px;
}

.chat-message p {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: inline-block;
    max-width: 85%;
}

.chat-message.user p {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 16px 16px 4px 16px;
    margin-left: auto;
}

.chat-message.user {
    text-align: right;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.chat-quick-replies button {
    background: var(--white);
    border: 1px solid var(--accent-color);
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-quick-replies button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.chat-message ul {
    margin: 8px 0;
    padding-left: 20px;
}

.chat-message li {
    margin: 4px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    padding: 16px;
    background: var(--white);
    border-top: 1px solid var(--background-light);
    gap: 12px;
}

.chat-input input {
    flex: 1;
    border: 2px solid var(--background-light);
    border-radius: 24px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.chat-input button {
    width: 44px;
    height: 44px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.chat-input button:hover {
    transform: scale(1.1);
}

.chat-input button svg {
    stroke: var(--primary-color);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 48px);
        right: -12px;
    }
    
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
}

/* --- Barre de progression de scroll --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #e6b04a);
    z-index: 1002;
    transform-origin: left;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.3);
}

/* --- Bouton Retour en haut --- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Optimisation mobile : réduire les éléments fixed */
@media (max-width: 768px) {
    /* Masquer le chat widget sur mobile (trop d'éléments fixed) */
    .chat-widget {
        display: none;
    }
    
    /* Masquer le back-to-top sur mobile (sticky CTA déjà présent) */
    .back-to-top {
        display: none;
    }
    
    /* Réduire la hauteur de la scroll progress sur mobile */
    .scroll-progress {
        height: 2px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        display: none;
    }
}

/* --- Section Comparaison Concurrents --- */
#comparaison {
    padding: 60px 0; /* Réduit pour compacter */
    background: var(--white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 50px 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-bg));
    color: var(--white);
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.comparison-table th:first-child {
    width: 25%;
}

.comparison-table th:not(:first-child) {
    text-align: center;
    width: 18.75%;
}

.comparison-featured {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.2), rgba(214, 158, 46, 0.1)) !important;
    position: relative;
}

.comparison-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.comparison-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--background-light);
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: var(--background-light);
}

.comparison-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-check {
    color: #48bb78;
    font-weight: 600;
}

.comparison-check::before {
    content: '✓ ';
    font-size: 1.2rem;
    margin-right: 4px;
}

.comparison-cross {
    color: #e53e3e;
    font-weight: 600;
}

.comparison-cross::before {
    content: '✗ ';
    font-size: 1.2rem;
    margin-right: 4px;
}

.comparison-warning {
    color: #ed8936;
    font-weight: 600;
}

.comparison-warning::before {
    content: '⚠ ';
    font-size: 1.2rem;
    margin-right: 4px;
}

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

.comparison-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--background-cream), var(--background-light));
    border-radius: var(--border-radius-lg);
}

.comparison-cta p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-color);
}

@media (max-width: 900px) {
    .comparison-table-wrapper {
        margin: 30px -24px;
        border-radius: 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .comparison-cta {
        padding: 32px 24px;
    }
}

/* --- Section Calculatrice ROI --- */
.roi-calculator-section {
    padding: 60px 0;
}

.roi-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
}

.roi-calculator {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

/* Formulaire compact horizontal */
.roi-form-compact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--background-light);
}

.roi-sliders-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.roi-slider-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.roi-slider-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
}

.roi-label-text {
    flex: 1;
}

.roi-value-display {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    min-width: 80px;
    text-align: right;
}

/* Slider stylisé */
.roi-slider-group {
    position: relative;
}

.roi-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--background-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.6);
}

.roi-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #e6b04a);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.roi-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.6);
}

.roi-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--background-light);
}

.roi-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.roi-formula-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.roi-formula-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    height: 24px;
    display: flex;
    align-items: center;
}

.roi-formula-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roi-formula-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius);
    background: var(--background-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    text-align: left;
    width: 100%;
}

.roi-formula-btn:hover {
    border-color: var(--accent-color);
    background: rgba(214, 158, 46, 0.05);
    transform: translateX(4px);
}

.roi-formula-btn.active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.15), rgba(214, 158, 46, 0.05));
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.2);
}

.roi-formula-btn:disabled,
.roi-formula-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--background-light);
    border-color: var(--text-muted);
    pointer-events: none;
}

.roi-formula-btn:disabled:hover,
.roi-formula-btn[disabled]:hover {
    transform: none;
    border-color: var(--text-muted);
    background: var(--background-light);
}

.formula-btn-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.formula-btn-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-heading);
}

.formula-btn-price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Résultats compacts horizontaux */
.roi-results-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.roi-result-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-height: 100px;
}

.roi-result-compact.highlight {
    background: linear-gradient(135deg, rgba(214, 158, 46, 0.1), rgba(214, 158, 46, 0.05));
    border-color: var(--accent-color);
}

.roi-result-compact .roi-result-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.roi-result-compact .roi-result-content {
    flex: 1;
}

.roi-result-compact .roi-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-heading);
    margin-bottom: 6px;
    line-height: 1.2;
}

.roi-result-compact .roi-result-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.roi-cta-compact {
    text-align: center;
    margin-top: 8px;
}

.roi-cta-compact .cta-button {
    min-width: 280px;
    padding: 16px 32px;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .roi-calculator {
        padding: 32px 24px;
    }
    
    .roi-form-compact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .roi-formula-group {
        width: 100%;
    }
    
    .roi-sliders-wrapper {
        gap: 24px;
    }
    
    .roi-results-compact {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .roi-result-compact {
        padding: 20px;
        min-height: auto;
    }
    
    .roi-cta-compact .cta-button {
        min-width: 100%;
        width: 100%;
    }
}
