/* ==========================================================================
   CSS Variables & Settings (Hublo-inspired overhaul)
   ========================================================================== */
:root {
    /* Colors */
    --color-bg-white: #FEFCF3; /* Replaced white with #FEFCF3 as requested */
    --color-bg-light: #FDF6D6; /* Pale orange matching shade */
    --color-bg-dark: #1E293B;
    --color-bg-gray: #FDF6D6; /* Same pale orange for alternating sections */
    
    /* Fonts */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --color-text: #1E293B;
    --color-text-main: #111827; /* Very dark gray, no pure black */
    --color-text-muted: #64748B;
    
    /* Primary Colors (MyBilan warm coral/peach logo colors) */
    --color-primary: #F06A59;
    --color-primary-hover: #E05442;
    --color-primary-dark: #D95646;
    
    --color-border: #E2E8F0;
    --color-age-18: #F59E0B;
    --color-age-45: #10B981;
    --color-age-60: #E11D48;
    --color-age-70: #F97316;
    
    /* UI properties */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.08);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles (Mobile-First)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-secondary);
    color: var(--color-text-main);
    background-color: #FEF9DF; /* Pale orange background as requested */
    line-height: 1.6;
    overflow-x: hidden;
    font-size: clamp(1rem, 1.1vw, 1.125rem);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
h4 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections - Tightened whitespace to reduce empty spaces */
.section {
    padding: clamp(3rem, 5vw, 4.5rem) 0; /* Significantly reduced vertical padding */
    position: relative;
    z-index: 10;
    background-color: transparent; /* Hérite du blanc cassé du body */
}

.bg-light {
    background-color: var(--color-bg-light);
    position: relative;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Vague supérieure */
.bg-light::before {
    content: '';
    position: absolute;
    top: -49px; /* Remonte sur la section blanche précédente */
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23FDF6D6'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* Vague inférieure */
.bg-light::after {
    content: '';
    position: absolute;
    bottom: -49px; /* Descend sur la section blanche suivante */
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23FDF6D6'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
    transform: rotateX(180deg); /* Inverse verticalement la vague */
}

.dark-section {
    background-color: var(--color-text-main);
    color: var(--color-bg-white);
}

.dark-section p {
    color: #9CA3AF;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem; /* Reduced from 2.5rem */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.25rem; /* Slightly tighter headers */
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.dark-section .section-title {
    color: var(--color-bg-white);
}

.section-subtitle {
    font-size: 1.25rem;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px; /* SaaS soft rectangle */
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(180deg, var(--color-primary) 0%, #E05847 100%);
    color: white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid #D65141;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #F57467 0%, #D65141 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 106, 89, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

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

.btn-text {
    background: transparent;
    color: var(--color-text-muted);
}
.btn-text:hover {
    color: var(--color-text-main);
    text-decoration: underline;
}

/* Cards */
.card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(240, 106, 89, 0.1);
    color: var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Icons */
.lucide {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(254, 252, 243, 0.9); /* #FEFCF3 with opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all var(--transition-normal);
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
}

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.main-nav {
    display: none; /* Hidden on mobile */
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

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

.header-cta .btn {
    display: none; /* Hidden on mobile, show toggle */
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
}

/* Mobile Nav Overlay */
.main-nav.active {
    display: block;
    position: absolute;
    top: 86px;
    left: 0;
    width: 100%;
    background: var(--color-bg-white);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-border);
}

.main-nav.active ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* ==========================================================================
   Hero Section (Aesthetic Frame)
   ========================================================================== */
.hero {
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding-top: 120px; /* Restauration de l'espace pour le header */
    padding-bottom: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden; /* Pour contenir l'aura */
}

/* Aura / Glowing Mesh Gradient Background */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(240, 106, 89, 0.15) 0%, rgba(245, 158, 11, 0.1) 40%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: auraPulse 8s ease-in-out infinite alternate;
}

@keyframes auraPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Ensure subsequent sections slide cleanly over the sticky hero */
.constat {
    position: relative;
    z-index: 2;
    background-color: var(--color-bg-light); /* Fond très légèrement plus sombre, comme le parcours */
    padding: 2rem 0; /* Keep it compact */
}
.constat .section-title {
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}



.hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem); /* Retour à une belle police lisible */
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-main); /* Le début du titre en noir/sombre */
    font-weight: 700;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0px 2px 8px rgba(240, 106, 89, 0.3)); /* Glowing text effect */
}

.hero-composition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Espace original élégant */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-center-frame {
    /* Effet Glassmorphism */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8); /* Bordure cristalline */
    
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem; /* Espace interne élégant d'origine */
    box-shadow: 0 10px 40px rgba(0,0,0,0.03), inset 0 0 0 1px rgba(255,255,255,0.4);
    z-index: 10;
    max-width: 580px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.hero-center-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(240, 106, 89, 0.12);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-main);
    margin-bottom: 1rem; /* Réduit (était 1.5rem) */
    line-height: 1.3;
}

.hero-subtitle strong {
    font-weight: 800; /* Extra bold for keywords */
    color: var(--color-primary);
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Réduit (était 0.75rem) */
    width: fit-content;
    margin: 0 auto;
    background: rgba(240, 106, 89, 0.03);
    border: 1px solid rgba(240, 106, 89, 0.15);
    border-radius: 12px;
    padding: 1rem 2rem; /* Réduit (était 1.25rem 2.5rem) */
}

.hero-benefits li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 1rem; /* Taille de police originale */
    font-weight: 600;
    color: var(--color-text-main);
    width: 100%;
}
.hero-benefits li strong {
    font-weight: 900;
    letter-spacing: -0.01em;
}
.hero-benefits li i, .hero-benefits li svg {
    color: var(--color-primary);
    width: 24px; /* Icones originales */
    height: 24px;
    flex-shrink: 0;
}

.hero-deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Réduit (était 2rem) */
}

.deco-icon {
    width: 150px; /* Réduit (était 200px) */
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.deco-icon svg, .deco-icon i {
    width: 100%;
    height: 100%;
}
.hero-deco-right .deco-icon {
    color: var(--color-age-45);
}

.hand-arrow {
    width: 85px; /* Réduit (était 112px) */
    height: 85px;
}
.hero-deco-left .hand-arrow { margin-bottom: 0.5rem; }
.hero-deco-right .hand-arrow { margin-top: 0.5rem; }

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem; /* Espace original */
    z-index: 10;
}

/* Social Proof Mini Section */
.social-proof-mini {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
    justify-content: center;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    box-shadow: var(--shadow-sm);
}

.avatar:first-child { margin-left: 0; }
.avatar i, .avatar svg { width: 14px; height: 14px; color: var(--color-primary); }

.social-proof-mini p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

/* Animations "Pro" / Vivantes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.floating-icon {
    animation: float 5s ease-in-out infinite;
}

.floating-icon.delay-1 {
    animation-delay: 1.5s;
}

/* Ajout d'un effet lumineux sur le bouton */
.pulse-btn {
    position: relative;
    overflow: hidden;
}
.pulse-btn::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 20px;
    height: 200%;
    background: rgba(255,255,255,0.3);
    transform: rotate(35deg);
    animation: shine 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes shine {
    0% { left: -50%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.hand-arrow-down {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .desktop-only { display: none !important; }
}

/* ==========================================================================
   Info Banner (Qu'est-ce que le Bilan)
   ========================================================================== */
.info-banner {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.info-banner-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .info-banner-content {
        flex-direction: row;
        align-items: center;
    }
    .info-text { flex: 3; padding-right: 2rem; border-right: 1px solid var(--color-border); }
    .info-stats { flex: 2; }
}

.info-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}
.info-text p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; }
.info-text .highlight-text {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
}

.info-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    text-align: center;
}
.info-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.stat-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-text-main);
    line-height: 1;
}
.stat-val small { font-size: 1rem; margin-left: 2px; }
.stat i { width: 36px; height: 36px; color: var(--color-text-main); margin-bottom: 4px; }
.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Le Constat
   ========================================================================== */
.vs-panel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.vs-panel {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

@media (min-width: 768px) {
    .vs-panel {
        flex-direction: row;
    }
}

.vs-side {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border-radius: inherit; /* Pour que le background respecte les bords arrondis au hover */
}

.vs-side:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    z-index: 10;
}

.vs-side:hover .card-icon {
    transform: scale(1.15);
}

.vs-bad {
    background-color: #FAFAFA;
}

.vs-good {
    background-color: rgba(240, 106, 89, 0.04); /* Un fond très légèrement teinté/plus sombre pour le côté MyBilan */
    position: relative;
}

/* Glowing primary border effect for the good side */
.vs-good::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 4px solid var(--color-primary);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.15;
}

.vs-icon-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--color-text-main);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.15rem;
    border: 4px solid var(--color-bg-white);
    z-index: 15;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-icon {
    height: 80px;
    padding: 0 2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon img {
    height: 42px;
    width: auto;
}

.bad-icon {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.good-icon {
    background-color: rgba(240, 106, 89, 0.1);
    color: var(--color-primary);
}

.vs-side h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.vs-side .compact-list {
    text-align: left; /* Keep bullets aligned to each other */
    width: fit-content;
    margin: 0 auto; /* Center the entire list block */
}

.vs-side .compact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.vs-bad .compact-list i { color: #EF4444; }
.vs-good .compact-list i { color: var(--color-primary); }

/* ==========================================================================
   Workflow / Comment ça marche
   ========================================================================== */
.workflow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .workflow-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .workflow-grid::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: var(--color-border);
        z-index: 1;
    }
}
.workflow-step {
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px var(--color-bg-white);
}
.bg-light .step-number { box-shadow: 0 0 0 8px var(--color-bg-light); }
.workflow-step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.workflow-step p { font-size: 0.95rem; color: var(--color-text-muted); }

/* ==========================================================================
   Avantages (La solution)
   ========================================================================== */
.avantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .avantages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .avantages-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.avantage-card {
    background-color: var(--color-bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}
.avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.avantage-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(240, 106, 89, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.avantage-icon i { width: 24px; height: 24px; }
.avantage-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.avantage-card p { color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* ==========================================================================
   Mission Stylized
   ========================================================================== */
.mission-stylized {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.quote-mark {
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 8rem;
    color: var(--color-primary);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}

.mission-text-content {
    position: relative;
    z-index: 1;
}

.mission-text-content h3 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.mission-text-content p {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mission-text-content strong {
    color: var(--color-primary);
}

/* ==========================================================================
   Audiences Stylized
   ========================================================================== */
.audience-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.audience-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.audience-card:hover::before {
    opacity: 1;
}

.aud-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(240, 106, 89, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 800;
}
.audience-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.audience-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.structures-banner {
    margin-top: 3rem;
    background: var(--color-text-main);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}
.structures-banner h4 {
    margin: 0;
    font-size: 1.25rem;
}
.structures-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.struct-tag {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ==========================================================================
   Inclus Stylized
   ========================================================================== */
.inclus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (min-width: 768px) {
    .inclus-grid { grid-template-columns: repeat(2, 1fr); }
}

.inclus-simple-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}
.inclus-simple-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.inclus-simple-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(240, 106, 89, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.inclus-simple-icon i {
    width: 24px;
    height: 24px;
}
.inclus-simple-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.inclus-simple-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Témoignages
   ========================================================================== */
.audiences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .audiences-grid { grid-template-columns: repeat(4, 1fr); }
}
.audience-card {
    background: var(--color-bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}
.aud-badge {
    width: 60px; height: 60px;
    background: var(--color-text-main);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.audience-card h3 { margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

.structures-banner {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.structures-banner h3 { color: white; margin-bottom: 1.5rem; font-size: 1.5rem; }
.structures-list {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
}
.structures-list span {
    display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 1.1rem;
}

/* ==========================================================================
   Tranches d'âge
   ========================================================================== */
.tranches-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .tranches-grid {
        flex-direction: row;
    }
}

.tranche-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: var(--radius-lg);
    height: 380px; /* Hauteur fixe pour l'effet de glissement */
    display: block; /* Pas besoin de flex si tout est absolu */
    transition: flex-grow 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Transition super douce pour l'élargissement */
}

@media (min-width: 768px) {
    .tranche-card:hover {
        flex-grow: 1.8; /* S'élargit doucement au survol */
    }
}

.tranche-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Recentre l'image sur les visages en haut */
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tranche-orange .tranche-img {
    object-position: center center;
}

/* Overlay d'assombrissement au lieu d'un filtre sur l'image (meilleure performance) */
.tranche-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 2;
    transition: background 0.6s ease;
    pointer-events: none;
}

.tranche-card:hover::before {
    background: rgba(0, 0, 0, 0.55); /* Assombrit fortement la photo pour lire le texte blanc */
}

.tranche-card:hover .tranche-img {
    transform: scale(1.1); /* Zoom de la photo */
}

.tranche-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 1.5rem;
    text-align: center;
    background: var(--color-bg-white);
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tranche-card:hover .tranche-content {
    transform: translateY(100%); /* Le titre blanc défile vers le bas et disparait */
}

.tranche-hover-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%); /* Décalé légèrement vers le bas au départ */
    width: 90%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
    pointer-events: none;
}

.tranche-card:hover .tranche-hover-info {
    opacity: 1;
    transform: translate(-50%, -50%); /* Remonte en douceur "pop" sur la photo sombre */
}

.tranche-hover-info i, .tranche-hover-info svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: block;
    color: #ffffff; /* Blanc pur */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tranche-card:hover .tranche-hover-info i,
.tranche-card:hover .tranche-hover-info svg {
    transform: scale(1.3); /* L'icône s'agrandit au survol */
}

.tranche-hover-info p {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
    color: #ffffff; /* Blanc pur */
    font-weight: 500;
}

.tranche-card:hover .tranche-hover-info {
    opacity: 1;
}

.age-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.tranche-jaune .age-badge { background-color: var(--color-age-18); }
.tranche-vert .age-badge { background-color: var(--color-age-45); }
.tranche-framboise .age-badge { background-color: var(--color-age-60); }
.tranche-orange .age-badge { background-color: var(--color-age-70); }

.tranche-content h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* ==========================================================================
   Parcours (Bulles Vivantes)
   ========================================================================== */
.bubbles-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: nowrap; /* Force single line on desktop */
}

@media (max-width: 768px) {
    .bubbles-container {
        flex-direction: column;
    }
}

.bubble-node {
    background: var(--color-bg-white);
    padding: 1rem 0.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    text-align: center;
    flex: 1;
    max-width: 150px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    animation: float 6s ease-in-out infinite; /* L'animation des bulles vivantes est de retour */
}
.bubble-node:nth-child(even) {
    animation: float-slow 7s ease-in-out infinite reverse;
}

.bubble-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    background-color: rgba(240, 106, 89, 0.08);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bubble-node h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.bubble-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    font-size: 0.85rem; /* Slightly smaller to save space */
    color: var(--color-text-muted);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bubble-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    z-index: 10;
}
.bubble-node:hover .bubble-icon {
    transform: scale(1.1);
    background-color: var(--color-primary);
    color: white;
}
.bubble-node:hover h4 {
    margin-bottom: 0.25rem;
}
.bubble-node:hover .bubble-details {
    max-height: 100px; /* Reveal text */
    opacity: 1;
    margin-top: 0.5rem;
}

.bubble-connector {
    flex: 1;
    height: 2px;
    background-color: var(--color-primary);
    opacity: 0.2;
    min-width: 15px; /* S'étire pour lier les bulles */
}
@media (max-width: 768px) {
    .bubble-connector {
        width: 2px;
        height: 20px;
        min-width: auto;
    }
}

/* ==========================================================================
   Tarification
   ========================================================================== */
.pricing-card-wrapper {
    max-width: 800px; /* Plus compact */
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem; /* Compacté */
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.visual-math {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .visual-math {
        flex-direction: row;
        align-items: flex-end;
        justify-content: center;
        gap: 2rem;
    }
}

.math-group {
    text-align: center;
    flex: 1;
}

.money-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    margin-bottom: 1rem;
}

.animate-float {
    animation: floatMoney 3s ease-in-out infinite;
}
@keyframes floatMoney {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* CSS Bills */
.bill {
    width: 65px;
    height: 38px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    margin: 0 -8px; /* Overlap */
    transition: transform 0.3s;
}
.bill::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border: 1px dashed rgba(255,255,255,0.6);
    border-radius: 2px;
}
.bill-20 { 
    background: linear-gradient(135deg, #3B82F6, #1D4ED8); 
    transform: rotate(-8deg); 
    z-index: 2;
}
.bill-10 { 
    background: linear-gradient(135deg, #EF4444, #B91C1C); 
    transform: rotate(6deg) translateY(5px); 
    z-index: 1;
}
.bill-8 {
    background: linear-gradient(135deg, #64748B, #334155); 
    transform: rotate(3deg); 
}
.bill:hover {
    transform: scale(1.1) translateY(-5px) !important;
    z-index: 10;
}

/* CSS Coins */
.coin {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #713F12;
    background: radial-gradient(circle at 30% 30%, #FEF08A, #EAB308);
    border: 5px solid #E5E7EB; /* Silver outer ring */
    box-shadow: inset 0 0 3px rgba(0,0,0,0.4), 0 4px 6px rgba(0,0,0,0.15);
    margin: 0 -4px;
    transition: transform 0.3s;
}
.coin:nth-child(even) { transform: translateY(4px); }
.coin:hover {
    transform: scale(1.2) translateY(-5px);
    z-index: 10;
}

/* Text & Math */
.math-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.plus .math-sign { color: var(--color-age-45); }
.minus .math-sign { color: var(--color-age-60); }
.result .math-text { color: var(--color-primary); font-size: 2.25rem; }

.math-group p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin: 0;
}

.math-divider {
    display: none;
}
@media (min-width: 768px) {
    .math-divider {
        display: block;
        width: 2px;
        height: 120px;
        background-color: var(--color-border);
        align-self: center;
    }
}

.pricing-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.pricing-features i {
    color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.pricing-action {
    text-align: center;
}
.pricing-action .btn {
    padding: 0.75rem 2rem;
}

/* ==========================================================================
   Ressources
   ========================================================================== */
.ressources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .ressources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .ressources-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Inclus
   ========================================================================== */
.inclus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .inclus-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Sécurité
   ========================================================================== */
.securite-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .securite-grid { grid-template-columns: repeat(3, 1fr); }
}

.sec-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.sec-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.sec-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}
.sec-icon i { width: 28px; height: 28px; }

.sec-item h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.sec-item p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

.securite-legal {
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--color-bg-white);
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(0,0,0,0.02);
}
.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-main);
}
.faq-question i {
    transition: transform 0.3s;
    color: var(--color-text-muted);
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--color-primary);
}
.faq-item.active .faq-answer {
    padding: 1rem 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
    border-top: 1px solid var(--color-border);
}
.faq-answer p { margin: 0; line-height: 1.6; color: var(--color-text-muted); }

/* ==========================================================================
   Social Proof
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

.testimonial-card {
    position: relative;
    padding: 1.5rem;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
}

.quote-icon {
    color: rgba(240, 106, 89, 0.1);
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.quote-icon i { width: 32px; height: 32px; }

.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.testimonial-author strong { display: block; font-size: 1rem; }
.testimonial-author span { font-size: 0.9rem; color: var(--color-text-muted); }

/* ==========================================================================
   Dashboard Mockup & New Grids
   ========================================================================== */
.dashboard-mockup {
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.mockup-header {
    background: #f1f5f9;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mockup-header .dots {
    display: flex;
    gap: 0.4rem;
}
.mockup-header .dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: #cbd5e1;
}
.mockup-header .dots span:nth-child(1) { background: #ff5f56; }
.mockup-header .dots span:nth-child(2) { background: #ffbd2e; }
.mockup-header .dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.mockup-body {
    height: 400px;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-overlay {
    text-align: center;
    padding: 2rem;
}
.coming-soon-overlay h3 {
    font-size: 1.5rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.coming-soon-overlay p {
    color: var(--color-text-muted);
}

.dashboard-features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.dash-feature {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    flex: 1 1 300px;
    max-width: 350px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.dash-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dash-icon {
    width: 48px;
    height: 48px;
    background: rgba(240, 106, 89, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ressource-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 1.5rem;
}
.ressource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-bg-white);
    padding: 2rem 0 1rem;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

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

.footer-logo { margin-bottom: 1rem; }
.footer h4 { margin-bottom: 1rem; font-size: 1rem; }

.footer-contact ul li, .footer-links ul li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-contact a { display: flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.03);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Cookie Banner & Modal
   ========================================================================== */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cookie-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 2.5rem;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-icon { color: var(--color-primary); }
.cookie-header h3 { margin: 0; font-size: 1.5rem; }

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--color-bg-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.settings-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.settings-header h3 { margin: 0; font-size: 1.5rem; }
.close-btn { background: none; border: none; cursor: pointer; color: var(--color-text-muted); }

.settings-body { padding: 2.5rem; }
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.setting-item:last-child { margin-bottom: 0; }
.setting-info h4 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.setting-info p { margin: 0; font-size: 1rem; }

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #E5E7EB;
    transition: .4s;
    border-radius: 34px;
    text-indent: -9999px;
}
.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: #FEFCF3;
    transition: .4s;
    border-radius: 50%;
}
.toggle-switch input:checked + label { background-color: var(--color-primary); }
.toggle-switch input:checked + label:before { transform: translateX(24px); }
.toggle-switch.disabled label { background-color: var(--color-primary); opacity: 0.4; cursor: not-allowed; }

.settings-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* ==========================================================================
   Animations (Disabled based on user preference)
   ========================================================================== */
.fade-in-up, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible {
    opacity: 1;
    transform: none;
}

.delay-1, .delay-2, .delay-3, .delay-4 { 
    transition-delay: 0ms; 
}

/* ==========================================================================
   Continuous Animations
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}
@keyframes float-slow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(240, 106, 89, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(240, 106, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(240, 106, 89, 0); }
}

/* Applications des animations continues */
.hero-image img {
    animation: float 6s ease-in-out infinite;
}
.tranche-img {
    animation: float-slow 8s ease-in-out infinite;
}
.pricing-card {
    position: relative;
}
.pricing-card::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-age-18), var(--color-primary));
    z-index: -1;
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.pricing-card:hover::after {
    opacity: 0.5;
    animation: pulse-glow 2s infinite;
}

/* ==========================================================================
   Media Queries (Desktop / Tablet)
   ========================================================================== */
@media (min-width: 768px) {
    .section-title { font-size: 3rem; }
    
    .hero h1 { font-size: 4.5rem; }
    .hero h2 { font-size: 1.75rem; }
    
    .constat-grid { grid-template-columns: 1fr 1fr; }
    .tranches-grid { grid-template-columns: repeat(2, 1fr); }
    .securite-grid { grid-template-columns: repeat(2, 1fr); }
    
    .steps-horizontal { flex-direction: row; justify-content: center; align-items: flex-start; }
    .step-line { width: 80px; height: 2px; margin-top: 40px; }
    
    .cookie-banner {
        max-width: 700px;
        left: 50%;
        transform: translate(-50%, 150%);
    }
    .cookie-banner.show { transform: translate(-50%, 0); }
    .cookie-actions { justify-content: flex-end; }
}

@media (min-width: 1024px) {
    .main-nav { display: block; }
    .header-cta .btn { display: inline-flex; }
    .mobile-menu-toggle { display: none; }
    
    .tranches-grid { grid-template-columns: repeat(4, 1fr); }
    .securite-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    
    .parcours-wrapper { flex-direction: row; gap: 4rem; }
    .parcours-patient, .parcours-pro { flex: 1; }
    
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

/* ==========================================================================
   Demo Form Stylized
   ========================================================================== */
.demo-form input, .demo-form select, .demo-form textarea {
    background-color: #f8fafc;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(240, 106, 89, 0.1);
}
.demo-form label {
    color: var(--color-text-main);
    font-size: 0.95rem;
}
.demo-card {
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
