/* 
   ╔═══════════════════════════════════════════════════════════════════╗
   ║  E.F.C AUTO-ÉCOLE - PREMIUM DESIGN SYSTEM V3                       ║
   ║  Mantes-la-Jolie | Ultra-Modern Creative Edition                   ║
   ╚═══════════════════════════════════════════════════════════════════╝
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  /* ═══════════ PALETTE PREMIUM 2026 ═══════════ */
  --color-primary: #0ea5e9;       /* Sky Blue - Fresh & Modern */
  --color-primary-dark: #0284c7;
  --color-primary-light: #38bdf8;
  --color-primary-glow: rgba(14, 165, 233, 0.25);
  --color-accent: #f97316;        /* Orange Vibrant */
  --color-accent-dark: #ea580c;
  --color-accent-light: #fb923c;
  --color-accent-glow: rgba(249, 115, 22, 0.25);
  --color-success: #10b981;       /* Emerald */
  --color-success-light: #34d399;
  --color-error: #ef4444;
  --color-warning: #f59e0b;
  --color-purple: #8b5cf6;
  
  /* ═══════════ DÉGRADÉS SPECTACULAIRES ═══════════ */
  --grad-hero: linear-gradient(135deg, #0c1222 0%, #1a2744 50%, #0c1222 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(12, 18, 34, 0.7) 0%, rgba(12, 18, 34, 0.4) 40%, rgba(12, 18, 34, 0.9) 100%);
  --grad-logo: linear-gradient(135deg, #f97316 0%, #0ea5e9 50%, #10b981 100%);
  --grad-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --grad-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --grad-premium: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #f97316 100%);
  --grad-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --grad-mesh: radial-gradient(ellipse at 20% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
               radial-gradient(ellipse at 80% 0%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
               radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.08) 0px, transparent 50%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  --grad-card: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
  
  /* ═══════════ NEUTRES RAFFINÉS ═══════════ */
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  --color-gray-950: #020617;
  --color-white: #ffffff;
  
  /* ═══════════ TYPOGRAPHIE PREMIUM ═══════════ */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Sora', sans-serif;
  --font-size-xs: clamp(0.75rem, 1.5vw, 0.85rem);
  --font-size-sm: clamp(0.85rem, 1.8vw, 0.95rem);
  --font-size-base: clamp(0.95rem, 2vw, 1.05rem);
  --font-size-lg: clamp(1.1rem, 2.5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 3vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 4vw, 2.25rem);
  --font-size-3xl: clamp(1.875rem, 5vw, 2.75rem);
  --font-size-4xl: clamp(2.25rem, 6vw, 3.5rem);
  --font-size-5xl: clamp(2.75rem, 8vw, 4.5rem);
  --font-size-hero: clamp(2.5rem, 7vw, 5rem);
  
  /* ═══════════ ESPACEMENTS HARMONIEUX ═══════════ */
  --spacing-xs: clamp(0.5rem, 1.5vw, 0.75rem);
  --spacing-sm: clamp(0.75rem, 2vw, 1.25rem);
  --spacing-md: clamp(1.25rem, 3vw, 2rem);
  --spacing-lg: clamp(2rem, 5vw, 3.5rem);
  --spacing-xl: clamp(3rem, 8vw, 5rem);
  --spacing-2xl: clamp(4rem, 10vw, 7rem);
  
  /* ═══════════ BORDER RADIUS MODERNES ═══════════ */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;
  
  /* ═══════════ OMBRES DYNAMIQUES ═══════════ */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 56px -12px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 32px 72px -16px rgba(0, 0, 0, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-glow-primary: 0 0 20px var(--color-primary-glow), 0 0 60px var(--color-primary-glow);
  --shadow-glow-accent: 0 0 20px var(--color-accent-glow), 0 0 60px var(--color-accent-glow);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px -4px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px -8px rgba(0,0,0,0.12), 0 16px 48px -16px rgba(0,0,0,0.08);
  
  /* ═══════════ TRANSITIONS FLUIDES ═══════════ */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ═══════════ SMOOTH SCROLL ═══════════ */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* --- Preloader bloquant (évite d'afficher les assets au premier chargement) --- */
html.is-loading body {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
}

html.is-loading #preloader {
    opacity: 1;
    visibility: visible;
}

/* ═══════════ BASE STYLES PREMIUM ═══════════ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--font-size-base);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-x: hidden;
}

/* ═══════════ SELECTION ═══════════ */
::selection {
    background: var(--color-primary);
    color: white;
}

::-moz-selection {
    background: var(--color-primary);
    color: white;
}

/* ═══════════ FOCUS STATES ═══════════ */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ═══════════ TYPOGRAPHIE EXPRESSIVE ═══════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-gray-900);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

/* Text Gradient Helper */
.text-gradient {
    background: var(--grad-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 { font-weight: 900; letter-spacing: -0.04em; }
h2 { font-weight: 800; letter-spacing: -0.03em; }

p {
    font-family: var(--font-body);
    color: var(--color-gray-600);
    line-height: 1.75;
}

/* Sélection de texte stylisée */
::selection {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Icônes Lucide - Taille Senior & Mature */
.icon-lg {
    width: 64px;
    height: 64px;
    stroke-width: 2px;
    color: var(--color-primary);
}

.icon-xl {
    width: 80px;
    height: 80px;
    stroke-width: 2px;
    color: var(--color-primary);
}

.nav-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

.container {
    width: 100%;
    max-width: 1280px;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

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

/* ═══════════ ANIMATIONS PREMIUM ═══════════ */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 145, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 145, 255, 0.5), 0 0 60px rgba(0, 145, 255, 0.2); }
}

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

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slide-up-fade {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Classe d'animation réutilisable */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-gradient { 
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

/* Hover & Effects */
.btn-animate {
    transition: transform var(--transition-spring), box-shadow var(--transition-base), filter var(--transition-fast);
    will-change: transform;
}

.btn-animate:hover {
    transform: translateY(-4px) scale(1.02);
}

.btn-animate:active {
    transform: translateY(-1px) scale(0.98);
}

/* Effet de brillance au survol */
.shine-effect {
    position: relative;
    overflow: hidden;
}

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

.shine-effect:hover::after {
    left: 100%;
}

/* Header Scrolled State */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.4s ease;
}

.main-header.scrolled::after {
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.05), transparent);
}

/* Top Bar */
.top-bar {
    background: rgba(15, 23, 42, 0.95);
    color: var(--color-white);
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

.top-bar.top-bar-bottom {
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-gray-900);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.top-bar.top-bar-bottom .top-info-item {
    color: rgba(15, 23, 42, 0.8);
}

.top-bar.top-bar-bottom .top-info-item:hover {
    color: var(--color-primary);
}

.top-bar.top-bar-bottom .top-socials a {
    color: rgba(15, 23, 42, 0.6);
}

.top-bar.top-bar-bottom .top-socials a:hover {
    color: var(--color-gray-900);
}

.main-header.scrolled .top-bar {
    transform: translateY(-100%);
    height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

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

.top-info {
    display: flex;
    gap: 35px;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.top-info-item:hover {
    color: var(--color-primary);
}

.top-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
    color: var(--color-primary);
}

.top-socials {
    display: flex;
    gap: 20px;
}

.top-socials a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.top-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid rgba(14, 165, 233, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.top-pill-link i {
    width: 16px;
    height: 16px;
}

.top-pill-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.top-bar.top-bar-bottom .top-pill-link {
    background: rgba(14, 165, 233, 0.08);
    color: rgba(15, 23, 42, 0.85);
    border-color: rgba(14, 165, 233, 0.22);
}

.top-bar.top-bar-bottom .top-pill-link:hover {
    background: rgba(14, 165, 233, 0.12);
    color: var(--color-gray-900);
}

.top-socials a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.top-socials a i {
    width: 16px;
    height: 16px;
}

/* Main Nav Bar */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

@media (min-width: 768px) {
    .header-container {
        height: 90px;
    }
}

.main-header.scrolled .header-container {
    height: 60px;
}

@media (min-width: 768px) {
    .main-header.scrolled .header-container {
        height: 70px;
    }
}

.logo-color {
    display: none;
}

.main-header.scrolled .logo-white {
    display: none;
}

.main-header.scrolled .logo-color {
    display: block;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

@media (min-width: 768px) {
    .logo-img {
        height: 60px;
    }
}

.main-header.scrolled .logo-img {
    height: 42px;
}

@media (min-width: 768px) {
    .main-header.scrolled .logo-img {
        height: 48px;
    }
}

/* Navigation Links */
.desktop-nav {
    display: none;
    overflow: visible !important;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
        overflow: visible !important;
    }
}

.desktop-nav > ul {
    display: flex;
    gap: 8px;
    list-style: none;
    overflow: visible !important;
}

.desktop-nav ul.dropdown-menu {
    display: block !important;
}

.desktop-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
}

.desktop-nav > ul > li > a {
    height: 40px;
}

.main-header.scrolled .desktop-nav a {
    color: var(--color-gray-900);
}

.desktop-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.desktop-nav a:hover {
    color: var(--color-white) !important;
}

.desktop-nav a:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.main-header.scrolled .desktop-nav a:hover {
    color: var(--color-white) !important;
}

/* Dropdown Menu Formations */
.desktop-nav > ul > li {
    position: relative;
}

.desktop-nav .has-dropdown {
    position: relative;
}

.desktop-nav .has-dropdown > a {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.desktop-nav .has-dropdown > a i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.desktop-nav .has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff !important;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 12px 0;
    z-index: 999999 !important;
    list-style: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

/* Zone tampon invisible pour garder le menu ouvert */
.desktop-nav .has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.desktop-nav .has-dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dropdown-menu li {
    width: 100%;
    list-style: none !important;
    display: block;
}

.dropdown-menu li a,
.desktop-nav .dropdown-menu a {
    display: block !important;
    padding: 14px 22px !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap;
    text-decoration: none !important;
    background: transparent !important;
    position: relative;
}

.dropdown-menu li a::before,
.desktop-nav .dropdown-menu a::before {
    display: none !important;
    content: none !important;
}

.dropdown-menu li a:hover,
.desktop-nav .dropdown-menu a:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    padding-left: 28px !important;
}

/* Fix pour header scrolled */
.main-header.scrolled .dropdown-menu {
    background: #ffffff !important;
}

.main-header.scrolled .dropdown-menu li a {
    color: #334155 !important;
}

.main-header.scrolled .dropdown-menu li a:hover {
    background: #0ea5e9 !important;
    color: #ffffff !important;
}

/* Mobile Dropdown Menu */
.mobile-has-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-dropdown-toggle .dropdown-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.mobile-has-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}

.mobile-has-dropdown.open .mobile-dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.mobile-dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-menu li:last-child {
    border-bottom: none;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 12px 20px 12px 45px !important;
    font-size: 0.9rem !important;
    color: var(--color-gray-700) !important;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.mobile-dropdown-menu a:hover {
    background: var(--color-primary);
    color: white !important;
}

.mobile-dropdown-menu a:hover::before {
    background: white;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .header-actions {
        gap: 20px;
    }
}

/* Utilities */
.hide-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-mobile {
        display: flex;
    }
}

@media (max-width: 1023px) {
    .hide-tablet {
        display: none;
    }
}

/* Mobile Menu Toggle (Burger) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.main-header.scrolled .burger-bar {
    background-color: var(--color-gray-900);
}

/* Burger Animation when menu is open */
.menu-toggle.active .burger-bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .burger-bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Adjust Hero for header height */
.hero {
    margin-top: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, #1e293b 100%);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    padding: var(--spacing-xl) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-footer .btn {
    width: 100%;
}

.mobile-menu-overlay.active {
    right: 0;
}

/* Backdrop when mobile menu is open */
.mobile-menu-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.mobile-menu-overlay.active::before {
    left: -100%;
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header .logo {
    font-size: 2rem;
    font-weight: 900;
}

.logo-img-mobile {
    height: 54px;
    width: auto;
}

.close-menu {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background: var(--color-accent);
    transform: rotate(90deg);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav li:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav a {
    text-decoration: none;
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    transform: translateX(10px);
}

.mobile-nav .nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: var(--color-accent);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer .btn {
    width: 100%;
    justify-content: center;
}

/* Hide mobile menu on desktop screens */
@media (min-width: 1024px) {
    .mobile-menu-overlay,
    .menu-toggle {
        display: none !important;
    }
}

/* ═══════════ HERO SECTION - IMMERSIVE ═══════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 145, 255, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    animation: rotate-slow 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(255, 107, 53, 0.06) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85) saturate(1.1);
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

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

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(15, 23, 42, 0.75) 40%, 
        rgba(15, 23, 42, 0.5) 70%,
        rgba(15, 23, 42, 0.4) 100%
    );
}

/* Overlay avec effet de bruit subtil */
.hero-overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    mix-blend-mode: overlay;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 30px;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    max-width: 700px;
}

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 165, 233, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 165, 233, 0.3);
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.hero-badge-top i {
    width: 18px;
    height: 18px;
}

.hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-white {
    color: var(--color-white);
    display: block;
}

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.6s;
}

.hero .subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.8s;
}

.hero-stats.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-item strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
}

.hero-stat-item span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Floating Promo Card */
.hero-floating-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-card {
    background: var(--color-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--color-gray-900);
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
}

.promo-icon {
    width: 50px;
    height: 50px;
    background: rgba(242, 76, 34, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.promo-icon i {
    width: 30px;
    height: 30px;
}

.promo-text strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.promo-text p {
    font-size: 0.95rem;
    color: var(--color-gray-700);
    line-height: 1.4;
}

.promo-text span {
    color: var(--color-accent);
    font-weight: 800;
}

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

@media (max-width: 768px) {
    .hero-stats {
        gap: 20px;
    }
    .hero-stat-item strong {
        font-size: 1.5rem;
    }
}

/* ═══════════ BOUTONS ULTRA-MODERNES ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-full);
    min-height: 54px;
    padding: 0 2.25rem;
    transition: all var(--transition-spring);
    cursor: pointer;
    border: none;
    font-size: var(--font-size-sm);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    color: var(--color-white);
    box-shadow: 
        0 4px 16px -4px var(--color-accent-glow),
        inset 0 1px 0 rgba(255,255,255,0.2);
    font-weight: 700;
    border: none;
}

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

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px -4px var(--color-accent-glow),
        0 16px 48px -8px var(--color-accent-glow),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

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

.btn-primary-cta:active {
    transform: translateY(0);
}

.btn-small {
    min-height: 44px;
    padding: 0 1.5rem;
    font-size: var(--font-size-xs);
    border-radius: var(--radius-full);
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    backdrop-filter: blur(8px);
}

.btn-secondary-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow-primary);
}

.hero .btn-secondary-outline,
.learning-visual-section .btn-secondary-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero .btn-secondary-outline:hover,
.learning-visual-section .btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

/* Feature Cards */
.features-visual {
    background: linear-gradient(180deg, var(--color-gray-50), rgba(248, 250, 252, 0.6));
    padding: var(--spacing-lg) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(14px, 2.4vw, 22px);
    align-items: stretch;
}

.features-grid > .feature-card {
    grid-column: span 12;
}

@media (min-width: 640px) {
    .features-grid > .feature-card { grid-column: span 6; }
}

@media (min-width: 1024px) {
    .features-grid > .feature-card { grid-column: span 3; }
}

.experience-cartouche {
    margin-top: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-left: 6px solid var(--color-accent);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.experience-cartouche-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(250, 146, 35, 0.12);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.experience-cartouche-icon i {
    width: 22px;
    height: 22px;
}

.experience-cartouche-text {
    margin: 0;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.6;
}

.feature-card {
    background: var(--color-white);
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 230px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-premium);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.12);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-color: transparent;
}

.feature-card:hover .feature-icon-box .icon-xl {
    color: white;
}

.features-visual .icon-xl {
    width: 28px;
    height: 28px;
    stroke-width: 2.3px;
}

.feature-icon-box-gold {
    background: rgba(250, 146, 35, 0.10);
    border: 1px solid rgba(250, 146, 35, 0.20);
}

.icon-gold {
    color: #d4af37; /* Doré */
    filter: drop-shadow(0 6px 14px rgba(212, 175, 55, 0.25));
}

.feature-media {
    width: 100%;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 4px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.feature-stat {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--color-primary);
    margin-top: 6px;
}

.feature-stat-inline {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-stat-inline .counter {
    font-weight: 900;
}

.feature-label {
    font-size: clamp(0.92rem, 2vw, 1rem);
    color: rgba(51, 65, 85, 0.85);
    line-height: 1.55;
    margin-top: auto;
}

/* ═══════════ FORMATIONS SECTION ═══════════ */
.formations {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
    position: relative;
}

.formations h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-gray-900);
    margin-bottom: var(--spacing-sm);
}

/* ═══════════ TRAINING CARDS - Design Premium ═══════════ */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.training-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid transparent;
}

/* Bordure dégradée au survol */
.training-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--grad-logo);
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.training-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.2),
        0 15px 30px -10px rgba(0, 145, 255, 0.1);
    border-color: transparent;
}

.training-card:hover::before {
    opacity: 1;
}

.training-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.training-partner-banner {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(250, 146, 35, 0.12));
    border-bottom: 1px solid var(--color-gray-100);
    text-align: center;
    padding: 20px;
}

.training-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 8px 14px;
    border-radius: 9999px;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.training-partner-badge i {
    width: 18px;
    height: 18px;
}

.training-partner-name {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--color-gray-900);
}

.training-partner-logo {
    max-width: min(260px, 75%);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.training-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.training-icon-box {
    width: 50px;
    height: 50px;
    background: var(--color-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.training-icon-accent {
    background: linear-gradient(135deg, rgba(250, 146, 35, 0.15), rgba(250, 146, 35, 0.25));
    color: var(--color-accent);
}

.training-icon-pro {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(34, 197, 94, 0.15));
    color: var(--color-primary);
}

/* Training Badges */
.training-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), #0284c7);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-badge-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
}

.training-badge-pro {
    background: linear-gradient(135deg, var(--color-accent), #ea580c);
}

/* Section Header */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(250, 146, 35, 0.1));
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.section-badge i {
    width: 18px;
    height: 18px;
}

/* Formations CTA */
.formations-cta {
    margin-top: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-gray-900), #1e293b);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.formations-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-logo);
}

.formations-cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.formations-cta-text h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.formations-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.formations-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .formations-cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .formations-cta-actions {
        width: 100%;
        justify-content: center;
    }
}

.training-price {
    margin: var(--spacing-sm) 0;
    font-size: var(--font-size-lg);
    color: var(--color-gray-900);
}

.btn-text {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* Pricing Section */
.pricing-section {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--spacing-lg) 0; /* Réduit de xl à lg */
}

.pricing-section h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

/* Pricing Grid - 3 colonnes horizontales */
.pricing-grid-3 {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid-3 {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
    }
    
    .pricing-grid-3 .pricing-card {
        flex: 1;
        max-width: 360px;
    }
}

@media (min-width: 1024px) {
    .pricing-grid-3 {
        gap: 30px;
    }
    
    .pricing-grid-3 .pricing-card {
        max-width: 380px;
    }
}

/* CPF CTA Link */
.cpf-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.cpf-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: white;
    border: none;
    border-radius: 60px;
    color: var(--color-gray-800);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cpf-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cpf-link i {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.cpf-link i:last-child {
    transition: transform 0.3s ease;
}

.cpf-link:hover i:last-child {
    transform: translateX(4px);
}

.cpf-link strong {
    color: var(--color-primary);
}

/* Legacy Pricing Slider */
.pricing-slider {
    position: relative;
    padding: var(--spacing-md) 0;
}

.pricing-track {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.pricing-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.pricing-card {
    background: var(--color-white);
    color: var(--color-gray-700);
    padding: var(--spacing-lg);
    padding-top: calc(var(--spacing-lg) + 15px);
    border-radius: var(--radius-xl);
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
}

/* Effet de brillance sur les pricing cards */
.pricing-card::after {
    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.6s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.pricing-card:hover::after {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.2),
        0 15px 30px -10px rgba(0, 145, 255, 0.15);
}

@media (min-width: 480px) {
    .pricing-card {
        width: 320px;
    }
}

@media (min-width: 1024px) {
    .pricing-track {
        overflow: visible;
        justify-content: center;
        scroll-snap-type: none;
    }
    
    .pricing-card {
        width: 350px;
    }
}

@media (min-width: 1024px) {
    .pricing-slider {
        overflow: visible; /* Show all on desktop if possible, or keep slider? User asked for slider. */
    }
    
    .pricing-track {
        justify-content: center;
        transform: none !important;
        gap: var(--spacing-md); /* Réduit de lg à md */
    }

    .pricing-card {
        width: 320px; /* Réduit de 380px */
        margin: 0;
    }

    .pricing-dots {
        display: none;
    }
}

.pricing-card.popular {
    transform: scale(1.08);
    border: 3px solid transparent;
    background: 
        linear-gradient(var(--color-white), var(--color-white)) padding-box,
        var(--grad-accent) border-box;
    z-index: 1;
    box-shadow: 
        0 30px 60px -15px rgba(255, 107, 53, 0.3),
        0 15px 30px -10px rgba(255, 107, 53, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 
        0 40px 80px -20px rgba(255, 107, 53, 0.35),
        0 20px 40px -15px rgba(255, 107, 53, 0.25);
}

.pricing-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-lg);
}

.pricing-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-base);
}

.pricing-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
    border-color: var(--color-white);
}

@media (max-width: 1023px) {
    .pricing-track {
        padding: 0 var(--spacing-sm);
    }
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 10;
    white-space: nowrap;
}

.pricing-header .icon-xl {
    width: 60px; /* Réduit de 80px */
    height: 60px;
    margin-bottom: 10px;
}

.pricing-header h3 {
    font-size: var(--font-size-lg); /* Réduit de xl à lg */
    margin: var(--spacing-xs) 0; /* Réduit de sm à xs */
}

.pack-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-top: -5px;
}

.pricing-section .section-subtitle {
    color: #00ade9; /* Un vert émeraude vif pour le contraste sur fond sombre */
    font-weight: 700;
}

.price-original {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--color-gray-700);
    opacity: 0.6;
    margin-bottom: -5px;
}

.price {
    font-size: var(--font-size-4xl); /* Réduit de 6xl à 4xl */
    font-weight: 900;
    color: var(--color-primary);
}

.price span {
    font-size: var(--font-size-xl);
}

.cpf-desc {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin: -8px 0 16px;
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
    font-size: var(--font-size-sm); /* Ajout d'une taille de police plus petite */
}

.pricing-features li {
    padding: 8px 0; /* Réduit de var(--spacing-xs) (16px) à 8px */
    display: flex;
    align-items: center;
    gap: 10px; /* Réduit de 12px à 10px */
}

.check {
    color: var(--color-success);
}

/* Section Referral Box (Trigger) */
.referral-box {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) auto;
    max-width: 1000px;
    box-shadow: var(--shadow-lg);
}

.referral-content h3 {
    color: var(--color-white);
    margin-bottom: 8px;
    font-size: var(--font-size-2xl);
}

.referral-content span {
    color: var(--color-accent);
}

.referral-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .referral-box {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
}

/* Modal Referral Design */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: var(--color-white);
    width: 90%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray-900);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--color-error);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent);
    color: var(--color-gray-900);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transform: rotate(-5deg);
}

.modal-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xs);
}

.modal-highlight {
    color: var(--color-primary);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    display: block;
    margin: 10px 0;
}

.modal-description {
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-lg);
}

.referral-steps {
    text-align: left;
    background: var(--color-gray-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.step-item {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    background: var(--color-primary);
    color: var(--color-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 640px) {
    .modal-actions {
        flex-direction: row;
    }
    .modal-actions .btn {
        flex: 1;
    }
}

/* Testimonials */
.testimonials-section {
    background: linear-gradient(180deg, var(--color-gray-50) 0%, white 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(250, 146, 35, 0.03));
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.google-badge-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--color-white);
    padding: 32px 48px;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.google-badge-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
}

.google-logo-img {
    height: 30px;
    width: auto;
}

.google-score-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.google-score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-gray-900);
    line-height: 1;
}

.google-stars {
    display: flex;
    gap: 4px;
}

.star-fill {
    fill: #fabb05; /* Google Yellow */
    color: #fabb05;
    width: 24px;
    height: 24px;
}

.google-verified {
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

.testimonial-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: center;
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: 
        0 4px 20px -5px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    border: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Accent coloré en haut de la card */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-logo);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Quote decorative */
.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(14, 165, 233, 0.08);
    pointer-events: none;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 380px;
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 420px;
    }
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 
        0 30px 60px -20px rgba(0, 0, 0, 0.15),
        0 15px 30px -15px rgba(14, 165, 233, 0.1),
        0 0 0 1px rgba(14, 165, 233, 0.1);
}

/* Premium Testimonial Card - New Design */
.testimonial-card-premium {
    display: flex;
    flex-direction: column;
    padding: 28px 28px 20px;
}

.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(250, 146, 35, 0.08));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.6;
}

.testimonial-quote-icon i {
    width: 24px;
    height: 24px;
}

.testimonial-card-premium .quote {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-gray-700);
    margin-bottom: 20px;
    padding-right: 40px;
    flex-grow: 1;
}

.testimonial-bottom {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    border: 2px solid white;
}

.testimonial-bottom .client-info {
    flex: 1;
}

.testimonial-bottom .client-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 2px;
}

.client-formation {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

.testimonial-bottom .card-stars {
    display: flex;
    gap: 1px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
}

.testimonial-meta .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-success);
    background: rgba(34, 197, 94, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.testimonial-meta .verified-badge i {
    width: 14px;
    height: 14px;
}

.testimonial-meta .date {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    font-weight: 500;
}

/* Google reviews count */
.google-reviews-count {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    font-weight: 600;
    margin-top: 8px;
}

/* Testimonials CTA */
.testimonials-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.testimonials-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION AVIS - DESIGN PREMIUM V3
   ═══════════════════════════════════════════════════════════════════ */

.avis-section {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 50%, #f8fafc 100%);
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.avis-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 145, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.avis-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.avis-header-content {
    flex: 1;
    min-width: 280px;
}

.avis-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 145, 255, 0.1), rgba(0, 145, 255, 0.05));
    color: var(--color-primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.avis-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}

.avis-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    max-width: 400px;
}

/* Google Widget */
.avis-google-widget {
    flex-shrink: 0;
}

.google-widget-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.google-g {
    flex-shrink: 0;
}

.google-widget-score {
    text-align: left;
}

.google-widget-score .score-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1;
}

.google-widget-score .score-stars {
    color: #fabb05;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin: 4px 0;
}

.google-widget-score .score-count {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* Carousel */
.avis-carousel {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}

.avis-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 30px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.avis-track:active {
    cursor: grabbing;
}

.avis-track::-webkit-scrollbar {
    display: none;
}

/* Fade edges */
.avis-carousel::before,
.avis-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.avis-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fafbfc, transparent);
}

.avis-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fafbfc, transparent);
}

/* Card Design */
.avis-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: white;
    border-radius: 24px;
    padding: 32px 28px 28px;
    position: relative;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.avis-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.04);
}

/* Photo Header */
.avis-card-header {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.avis-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.avis-card-badge {
    position: absolute;
    bottom: 0;
    right: -4px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--color-success), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Stars */
.avis-stars {
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #fabb05;
    margin-bottom: 16px;
}

/* Quote Text */
.avis-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-gray-600);
    text-align: center;
    flex-grow: 1;
    margin-bottom: 20px;
}

.avis-text strong {
    color: var(--color-gray-800);
    font-weight: 600;
}

/* Author */
.avis-author {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.avis-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.avis-detail {
    font-size: 0.8rem;
    color: var(--color-gray-400);
    font-weight: 500;
}

/* Navigation */
.avis-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.avis-nav-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray-600);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.avis-nav-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 145, 255, 0.3);
}

.avis-dots {
    display: flex;
    gap: 8px;
}

/* CTA */
.avis-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.avis-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--color-gray-800);
    padding: 16px 32px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.avis-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    color: var(--color-gray-900);
}

.avis-cta-btn svg:last-child {
    transition: transform 0.3s ease;
}

.avis-cta-btn:hover svg:last-child {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .avis-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .avis-subtitle {
        margin: 0 auto;
    }
    
    .avis-google-widget {
        width: 100%;
    }
    
    .google-widget-inner {
        justify-content: center;
    }
    
    .avis-card {
        flex: 0 0 300px;
    }
    
    .avis-nav-btn {
        width: 44px;
        height: 44px;
    }
}

/* Legacy styles for backwards compatibility */
.testimonial-top {
    display: grid;
    grid-template-areas: 
        "avatar name stars"
        "avatar badge badge";
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0 16px;
    margin-bottom: 24px;
}

.avatar {
    grid-area: avatar;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 
        inset 0 0 0 2px rgba(255,255,255,0.3),
        0 4px 12px -2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.client-info h4 {
    grid-area: name;
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.verified-badge {
    grid-area: badge;
    font-size: 0.85rem;
    color: var(--color-success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-stars {
    grid-area: stars;
    display: flex;
    gap: 2px;
}

.star-xs {
    fill: #fabb05;
    color: #fabb05;
    width: 14px;
    height: 14px;
}

.quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 24px;
    font-style: normal;
    position: relative;
    flex-grow: 1;
    z-index: 1;
}

.testimonial-card .date {
    font-size: 0.9rem;
    color: var(--color-gray-700);
    opacity: 0.6;
    font-weight: 500;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}

.prev-testimonial, .next-testimonial {
    background: var(--color-white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    color: var(--color-gray-900);
    transition: all 0.3s ease;
}

.prev-testimonial:hover, .next-testimonial:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-200);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

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

/* ═══════════ FINAL CTA SECTION - Impact maximal ═══════════ */
.final-cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--grad-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Effet de mesh gradient en arrière-plan */
.final-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-mesh);
    opacity: 0.8;
}

/* Ligne décorative en haut */
.final-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-logo);
}

.final-cta-section > .container {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    color: white;
    font-size: var(--font-size-3xl);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.final-cta-section p {
    color: var(--color-gray-300);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.mt-lg { margin-top: 2.5rem; }

/* Contact Section Redesign */
.contact-section {
    background: var(--color-gray-50);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--color-gray-900);
    z-index: 0;
}

@media (max-width: 1023px) {
    .contact-section::before {
        display: none;
    }
}

.contact-grid-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-grid-wrapper {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(250, 146, 35, 0.1);
    color: var(--color-accent);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-lead {
    font-size: 1.2rem;
    color: var(--color-gray-700);
    margin-bottom: 40px;
    max-width: 500px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.c-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.c-icon-box {
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.c-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.c-text a, .c-text span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-gray-900);
    text-decoration: none;
}

.contact-trust-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 40px;
    border-top: 1px solid var(--color-gray-200);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.trust-item i {
    color: var(--color-success);
    width: 18px;
    height: 18px;
}

/* Form Styles */
.contact-form-panel .contact-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--color-gray-700);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-700);
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.input-with-icon input, 
.input-with-icon select,
textarea {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid var(--color-gray-100);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--color-gray-50);
    transition: all 0.3s ease;
}

textarea {
    padding-left: 16px; /* Pas d'icône pour le textarea */
}

.input-with-icon input:focus, 
.input-with-icon select:focus,
textarea:focus {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    outline: none;
}

.w-full {
    width: 100%;
}

.success-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.mt-md { margin-top: 20px; }

.contact-section {
    background: var(--color-gray-50);
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

/* Steps Section */
.steps-section {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.steps-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step-card {
    background: var(--color-gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--color-gray-200);
}

.step-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-accent);
}

.step-number-large {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 10px;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-card p {
    font-size: 1rem;
    position: relative;
    z-index: 2;
    color: var(--color-gray-700);
}

.step-icon-bg {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    opacity: 0.05;
    color: var(--color-primary);
    transform: rotate(-15deg);
}

/* Learning Visual Section */
.learning-visual-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-md) 0;
}

.learning-grid-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.learning-content h2 {
    color: var(--color-white);
    font-size: var(--font-size-4xl);
}

.learning-list {
    list-style: none;
    margin-top: var(--spacing-md);
}

.learning-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.learning-list i {
    color: var(--color-accent);
}

.sos-parents-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.sos-parents-box h3 {
    color: var(--color-white);
    margin: 15px 0;
}

.sos-parents-box p {
    margin-bottom: 20px;
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .learning-grid-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .learning-list li {
        justify-content: center;
    }
}

/* ═══════════ FOOTER SECTION - Design Premium ═══════════ */
.main-footer {
    background: var(--color-gray-900);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Bande dégradée animée en haut du footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-primary), 
        var(--color-accent), 
        var(--color-success),
        var(--color-primary)
    );
    animation: footer-gradient 8s linear infinite;
}

@keyframes footer-gradient {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Effet de mesh subtil en arrière-plan */
.main-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(0, 145, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Footer Modern Style */
.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    .footer-top-grid {
        grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    }
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
}

.footer-mission {
    color: var(--color-gray-200);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.qualiopi-badge {
    height: 90px;
    width: auto;
}

.label-qualite-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--color-success);
    font-weight: 700;
    font-size: 0.85rem;
}

.footer-links-column h4, 
.footer-contact-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.footer-links-column h4::after, 
.footer-contact-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-accent);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column li {
    margin-bottom: 12px;
}

.footer-links-column a {
    color: var(--color-gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: block;
}

.footer-links-column a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--color-accent);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    color: var(--color-gray-200);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--color-accent);
    flex-shrink: 0;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(250, 146, 35, 0.3);
}

/* Widget Formation Pro Footer */
.footer-pro-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(0, 145, 255, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 30px;
    max-width: 420px;
    transition: var(--transition-base);
}

.footer-pro-widget:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
}

.footer-pro-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--grad-accent);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.footer-pro-icon i {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.footer-pro-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.footer-pro-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-weight: 700;
}

.footer-pro-content strong {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-pro-partner {
    font-size: 0.75rem;
    color: var(--color-gray-300);
}

.footer-pro-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.footer-pro-link i {
    width: 18px;
    height: 18px;
    color: var(--color-white);
}

.footer-pro-link:hover {
    background: var(--color-accent);
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .footer-pro-widget {
        max-width: 100%;
        padding: 12px 14px;
    }
    
    .footer-pro-icon {
        width: 38px;
        height: 38px;
    }
    
    .footer-pro-icon i {
        width: 18px;
        height: 18px;
    }
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 40px;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright p {
    color: var(--color-gray-200);
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--color-gray-200);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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

.legal-highlight {
    color: var(--color-success) !important;
    opacity: 0.8 !important;
    font-weight: 700;
}

.legal-highlight:hover {
    opacity: 1 !important;
}

/* --- Professional Preloader --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-gray-900);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: pulse-logo 2s ease-in-out infinite;
}

.preloader-mark {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    color: var(--color-gray-900);
    font-weight: 900;
    letter-spacing: 0.14em;
    background: var(--grad-logo);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.preloader-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-accent);
    transition: width 0.4s ease;
}

.preloader-text {
    color: var(--color-gray-400);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 95%;
    max-width: 800px;
    background: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-gray-100);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
}

.cookie-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 !important;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-gray-700);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.text-dark { color: var(--color-gray-900) !important; }

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        flex-direction: column;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        flex: 1;
    }
}

/* Qualiopi Financing Badge */
.qualiopi-financing-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--color-gray-50);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    margin-top: 10px;
}

.qualiopi-img-small {
    height: 70px;
    width: auto;
}

.qualiopi-financing-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.footer-grid {
    display: none;
}

.footer-brand {
    display: none;
}

.footer-nav {
    display: none;
}

.footer-contact {
    display: none;
}

.footer-bottom {
    display: none;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-gray-200);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-bottom-links a {
    color: var(--color-gray-200);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
}

/* ═══════════ EXPERTISE SECTION - Design Immersif ═══════════ */
.expertise-unique {
    padding: var(--spacing-md) 0;
    position: relative;
}

.expertise-card {
    background: var(--grad-primary);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: 
        0 40px 80px -20px rgba(0, 145, 255, 0.35),
        0 20px 40px -15px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Effet de glow autour de la card */
.expertise-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3), 
        transparent 50%, 
        rgba(255, 255, 255, 0.1)
    );
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
}

/* Cercles décoratifs */
.expertise-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .expertise-card {
        grid-template-columns: 1fr;
    }
    
    .expertise-image {
        order: -1; /* Place l'image au-dessus du contenu sur mobile */
        height: 300px;
    }
}

@media (max-width: 640px) {
    .expertise-content {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .expertise-card h2 {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }

    .expertise-subtitle {
        font-size: var(--font-size-base);
    }
    
    .expertise-image {
        height: 250px;
    }

    .expertise-actions .btn {
        width: 100%; /* Bouton pleine largeur sur petit mobile pour l'accessibilité */
    }
}

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

.expertise-badge {
    background: var(--color-accent);
    color: var(--color-gray-900);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: var(--font-size-sm);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.expertise-card h2 {
    color: var(--color-white);
    font-size: var(--font-size-4xl);
}

.expertise-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.expertise-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: var(--font-size-base);
}

.expertise-list i {
    color: var(--color-accent);
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-message {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    border: 2px solid var(--color-success);
}

.success-message h3 {
    color: var(--color-success);
    margin-bottom: 0.5rem;
}

/* Guide & FAQ Section */
.guide-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-gray-50);
}

.guide-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
}

.guide-article h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-md);
}

.article-list {
    margin: var(--spacing-sm) 0;
    padding-left: 20px;
}

.article-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.article-tip {
    background: var(--color-accent);
    color: var(--color-gray-900);
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 600;
}

.guide-faq h3 {
    margin-bottom: var(--spacing-md);
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item details {
    padding: 20px;
}

.faq-item summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-item details[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-700);
}

@media (max-width: 1024px) {
    .guide-content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Location Section - Premium Design */
.location-section {
    background: var(--color-gray-100);
    padding: var(--spacing-xl) 0;
}

.location-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
}

.location-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
}

@media (min-width: 1024px) {
    .location-grid-premium {
        grid-template-columns: 1.2fr 1fr;
        min-height: 600px;
    }
}

.location-info-panel {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .location-info-panel {
        padding: var(--spacing-xl);
    }
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}

.location-lead {
    font-size: var(--font-size-lg);
    color: var(--color-gray-700);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

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

.info-card-premium {
    display: flex;
    gap: 15px;
}

.info-icon-box {
    width: 48px;
    height: 48px;
    background: var(--color-gray-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    border: 1px solid var(--color-gray-200);
    transition: all 0.3s ease;
}

.info-card-premium:hover .info-icon-box {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.info-details h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-gray-900);
}

.info-details p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.4;
}

.phone-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
}

.location-cta-box {
    margin-top: auto;
}

.w-full {
    width: 100%;
}

.location-map-panel {
    position: relative;
    background: var(--color-gray-200);
}

.map-wrapper-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-overlay-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-success);
    backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {
    .location-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .location-map-panel {
        height: 400px;
    }
    
    .map-wrapper-premium {
        position: relative;
    }
}

@media (max-width: 640px) {
    .practical-info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Bouton WhatsApp Flottant --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Animation Pulse */
.pulse-whatsapp {
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* État caché (Intersection Observer) */
.whatsapp-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px; /* Évite les conflits avec la navigation mobile */
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- Badge Google Avis --- */
.google-badge-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--color-white);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-badge-fixed:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.google-badge-fixed.hidden {
    opacity: 0;
    transform: translateX(-50px);
    pointer-events: none;
}

.google-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-50);
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.google-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.google-badge-stars {
    display: flex;
    gap: 2px;
}

.star-badge {
    width: 12px;
    height: 12px;
    fill: #fabb05;
    color: #fabb05;
}

.rating-value {
    color: var(--color-gray-900);
    font-weight: 800;
    font-size: 0.85rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .google-badge-fixed {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
    }
}

.section-subtitle {
    font-size: var(--font-size-base);
    color: var(--color-gray-500);
    max-width: 550px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    line-height: 1.7;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-badge i,
.section-badge svg {
    width: 16px;
    height: 16px;
}

/* Enhanced Section Titles */
.text-center h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 12px;
}

.text-center h2 + .section-subtitle {
    margin-top: 0;
}

.financing-steps-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.financing-step {
    background: var(--color-white);
    width: 100%;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 6px solid var(--color-primary);
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
}

.financing-step h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.financing-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.financing-card-mini {
    padding: var(--spacing-sm);
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.financing-card-mini:hover {
    transform: translateY(-5px);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.mini-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.financing-card-mini h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.financing-card-mini p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.btn-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.step-arrow {
    margin: 20px 0;
    color: var(--color-gray-200);
}

.step-arrow i {
    width: 40px;
    height: 40px;
}

.step-content-box {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.step-content-box.reversed {
    grid-template-columns: 1fr 1.5fr;
}

.step-text p {
    margin-bottom: var(--spacing-sm);
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
}

.step-list i {
    color: var(--color-success);
    width: 20px;
}

.step-visual {
    display: flex;
    justify-content: center;
    opacity: 0.1;
}

@media (max-width: 768px) {
    .step-content-box, .step-content-box.reversed {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-list li {
        justify-content: center;
    }
    
    .step-visual {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO DECORATIVE ELEMENTS - Éléments visuels créatifs
   ═══════════════════════════════════════════════════════════════════ */

.hero-decorative-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Lueurs diffuses en arrière-plan */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: glow-float 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    bottom: -100px;
    left: 10%;
    animation: glow-float 10s ease-in-out infinite reverse;
}

@keyframes glow-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.6;
    }
}

/* Grille en arrière-plan style high-tech */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Formes flottantes géométriques */
.hero-floating-shapes {
    position: absolute;
    inset: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--grad-glass);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation: float-rotate 12s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 8%;
    animation: float-rotate 15s ease-in-out infinite reverse;
    animation-delay: -3s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 25%;
    animation: float-rotate 10s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes float-rotate {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1);
        opacity: 0.5;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   GLASSMORPHISM CARDS - Effet verre premium
   ═══════════════════════════════════════════════════════════════════ */

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════
   TEXT EFFECTS - Effets de texte créatifs
   ═══════════════════════════════════════════════════════════════════ */

.text-glow {
    text-shadow: 0 0 40px rgba(0, 145, 255, 0.5), 0 0 80px rgba(0, 145, 255, 0.3);
}

.text-gradient-animated {
    background: linear-gradient(
        90deg, 
        var(--color-primary), 
        var(--color-accent), 
        var(--color-success),
        var(--color-primary)
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   ENHANCED CARDS - Cartes améliorées avec hover spectaculaire
   ═══════════════════════════════════════════════════════════════════ */

.card-3d {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 
        0 30px 60px -20px rgba(0, 0, 0, 0.25),
        0 20px 40px -15px rgba(0, 145, 255, 0.15);
}

/* Bordure dégradée animée */
.gradient-border {
    position: relative;
    background: var(--color-white);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--grad-logo);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   SECTION DIVIDERS - Séparateurs créatifs
   ═══════════════════════════════════════════════════════════════════ */

.section-divider-wave {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.section-divider-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS - Animations d'apparition
   ═══════════════════════════════════════════════════════════════════ */

.reveal-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.reveal-fade.visible {
    opacity: 1;
}

/* Stagger delays pour animations en cascade */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ═══════════════════════════════════════════════════════════════════
   ENHANCED SCROLLBAR - Scrollbar stylisée
   ═══════════════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary-dark), var(--color-accent-dark));
}

/* ═══════════════════════════════════════════════════════════════════
   FOCUS STATES - États de focus accessibles et stylés
   ═══════════════════════════════════════════════════════════════════ */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════════
   LOADING STATES - États de chargement
   ═══════════════════════════════════════════════════════════════════ */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-gray-200) 0%,
        var(--color-gray-100) 50%,
        var(--color-gray-200) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-glow-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -50px;
    }
    
    .hero-glow-2 {
        width: 200px;
        height: 200px;
    }
    
    .floating-shape {
        display: none;
    }
    
    .hero-grid-pattern {
        background-size: 40px 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


