/* ============================================
   KSH Formation - Design System
   ============================================ */

/* Import fonts - Satoshi pour titres, Inter pour body */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Colors - KSH Brand: Black, Red, White */
    --primary: #0a0a0a;
    --primary-hover: #1a1a1a;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --accent-light: rgba(220, 38, 38, 0.08);
    
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --bg-dark: #0a0a0a;
    
    --text: #0a0a0a;
    --text-secondary: #525252;
    --text-muted: #737373;
    --text-light: #a3a3a3;
    
    --border: #e5e5e5;
    --border-light: #f5f5f5;
    
    --white: #ffffff;
    --success: #16a34a;
    --warning: #ca8a04;
    --info: #2563eb;

    /* Typography */
    --font-display: 'Satoshi', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --container: 1200px;
    --section-spacing: 100px;
    
    /* Border radius - 6px comme préféré */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    
    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;
}

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

html { 
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

p { 
    color: var(--text-secondary);
    line-height: 1.7;
}

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

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

strong { font-weight: 600; }

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

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

.section-sm {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

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

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: var(--text-light);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   Utility Classes
   ============================================ */

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Flex utilities */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.flex-grow { flex-grow: 1; }

/* Gap */
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }

/* Margin */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

/* Padding */
.p-0 { padding: 0; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-6 { padding-left: 24px; padding-right: 24px; }

/* Width/Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 0.05em; }

/* Colors */
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-light { color: var(--text-light); }

.bg-white { background: var(--white); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--bg-dark); }
.bg-accent { background: var(--accent); }

/* Border */
.border { border: 1px solid var(--border); }
.border-light { border: 1px solid var(--border-light); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* ============================================
   Grid System
   ============================================ */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-1 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .md\:grid-cols-1 { grid-template-columns: 1fr; }
    .md\:flex-col { flex-direction: column; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
}

@media (max-width: 640px) {
    .sm\:grid-cols-1 { grid-template-columns: 1fr; }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--text);
    background: var(--bg-alt);
}

.btn-white {
    background: var(--white);
    color: var(--text);
}
.btn-white:hover {
    background: var(--bg-alt);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    padding: 10px 16px;
}
.btn-ghost:hover {
    background: var(--bg-alt);
}

.btn-outline-light {
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Button sizes */
.btn-sm { 
    padding: 10px 20px; 
    font-size: 0.875rem; 
}
.btn-lg { 
    padding: 18px 36px; 
    font-size: 1rem; 
}
.btn-full { 
    width: 100%; 
}

/* Button icon */
.btn i {
    font-size: 0.9em;
}

/* ============================================
   Badge
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.badge-accent {
    background: var(--accent-light);
    border-color: transparent;
    color: var(--accent);
}

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

.badge-red {
    background: rgba(220, 38, 38, 0.1);
    border-color: transparent;
    color: var(--accent);
}

.badge-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: transparent;
    color: var(--success);
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-slow);
}

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

.card-sm {
    padding: 24px;
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: var(--text-muted);
}

.card-accent:hover {
    border-color: var(--accent);
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

.header.scrolled {
    padding: 6px 0;
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo img { 
    height: 120px;
    width: auto;
    margin: -20px 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--accent);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   Mega Menu
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    background: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.nav-dropdown-toggle:hover {
    color: var(--accent);
    background: var(--bg-alt);
}

.nav-dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

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

.mega-menu {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100vw;
    transform: translateY(10px);
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: none;
    border-top: 1px solid var(--border-light);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

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

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu-col {
    padding: 24px;
    border-right: 1px solid var(--border-light);
}

.mega-menu-col:last-child {
    border-right: none;
}

.mega-menu-col h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-col h4 i {
    color: var(--accent);
    font-size: 0.875rem;
}

.mega-menu-col h4.mt-4 {
    margin-top: 20px;
}

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

.mega-menu-col ul li {
    margin-bottom: 8px;
}

.mega-menu-col ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: all 0.15s ease;
}

.mega-menu-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.mega-menu-col ul li a .tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.mega-menu-col ul li a.see-all {
    color: var(--accent);
    font-weight: 600;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.mega-menu-col ul li a.see-all i {
    font-size: 0.75rem;
}

/* Mega Menu CTA Column */
.mega-menu-cta {
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-menu-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.mega-menu-card .badge {
    margin-bottom: 12px;
}

.mega-menu-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.mega-menu-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.mega-menu-all {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.mega-menu-all:hover {
    background: var(--accent);
}

.mega-menu-all i {
    font-size: 1rem;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-alt);
}

.nav-link.active {
    color: var(--text);
    background: var(--bg-alt);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 900px) {
    .nav { display: none; }
    .nav-cta { display: none; }
    .mobile-menu { display: block; }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav.active .nav-link {
        width: 100%;
        padding: 14px 16px;
    }
    
    /* Mobile Mega Menu */
    .nav.active .nav-dropdown {
        width: 100%;
    }
    
    .nav.active .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
    }
    
    .nav.active .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav.active .nav-dropdown.open .mega-menu {
        max-height: 2000px;
    }
    
    .nav.active .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .nav.active .mega-menu-col {
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav.active .mega-menu-col:last-child {
        border-bottom: none;
    }
    
    .nav.active .mega-menu-cta {
        display: none;
    }
}

@media (max-width: 1100px) {
    .mega-menu-inner {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
    
    .mega-menu-cta {
        display: none;
    }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--accent);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hero { 
        min-height: auto; 
        padding: 120px 0 80px; 
    }
    .hero-stats { 
        flex-wrap: wrap; 
        gap: 32px; 
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   Logos Section
   ============================================ */
.logos-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border-light);
}

.logos-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
    opacity: 0.35;
}

.logos-grid span {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text);
}

/* ============================================
   Bento Grid
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-slow);
}

.bento-card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.bento-icon {
    width: 52px;
    height: 52px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.bento-card h3 { 
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.bento-card p { 
    font-size: 0.9375rem; 
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
}

/* ============================================
   Process Section
   ============================================ */
.process-section {
    background: var(--bg-dark);
    color: var(--white);
}

.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p { color: var(--text-light); }
.process-section .badge-accent {
    background: rgba(220, 38, 38, 0.15);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-card {
    padding: 32px 28px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition-slow);
}

.process-card:last-child {
    border-right: none;
}

.process-card:hover {
    background: rgba(255,255,255,0.03);
}

.process-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.9;
}

.process-card h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-style: italic;
}

.process-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .process-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .process-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .process-card:nth-child(2n) {
        border-left: 1px solid rgba(255,255,255,0.08);
    }
    .process-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}
@media (max-width: 600px) {
    .process-grid { 
        grid-template-columns: 1fr; 
    }
    .process-card {
        border-left: none !important;
        text-align: center;
    }
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 18px;
}

.service-card h3 { 
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.service-card p { 
    font-size: 0.9375rem; 
    margin-bottom: 18px;
    color: var(--text-muted);
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}

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

.service-link i {
    transition: transform var(--transition);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

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

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.testimonial-info strong { 
    display: block; 
    font-size: 0.9375rem;
}

.testimonial-info span { 
    font-size: 0.8125rem; 
    color: var(--text-muted);
}

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

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--bg-alt);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 { margin-bottom: 16px; }
.cta-content p { 
    font-size: 1.125rem; 
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-item strong { 
    display: block; 
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-item span { 
    color: var(--text-muted); 
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { 
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: var(--white);
    transition: all var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23525252' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

@media (max-width: 900px) {
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 48px;
    }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 0 0 32px;
}

/* Footer Newsletter */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
    transform: translateY(-40px);
}

.footer-newsletter-content h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-newsletter-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

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

.footer-newsletter-form input {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.9375rem;
    width: 280px;
    backdrop-filter: blur(4px);
}

.footer-newsletter-form input::placeholder {
    color: var(--text-light);
}

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

/* Footer Main */
.footer-main {
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

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

.footer-brand > img {
    height: 160px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}


.footer-brand p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-certifs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.certif-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.certif-badge i {
    color: var(--accent);
}

/* Footer Certification Qualiopi */
.footer-certification {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.footer-certification .certification-logo {
    height: 80px;
    width: 80px;
    object-fit: contain;
    filter: none !important;
    background: var(--white);
    padding: 8px;
    border-radius: var(--radius);
}

.footer-certification .certification-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.2s ease;
}

.footer-certification .certification-link:hover {
    color: var(--white);
    gap: 10px;
}

.footer-certification .certification-link i {
    font-size: 0.75rem;
}

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

.social-link-footer {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-link-footer:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

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

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

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.875rem;
    transition: all 0.15s ease;
    display: inline-block;
}

.footer-col ul li a:hover { 
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-list li i {
    color: var(--accent);
    margin-top: 3px;
    width: 16px;
}

.footer-contact-list li span {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-contact-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-list li a:hover span {
    color: var(--white);
}

.footer-cta-btn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    border-color: rgba(255,255,255,0.2);
    color: var(--white);
}

.footer-cta-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-light);
}

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

.footer-links a { 
    color: var(--text-light);
    font-size: 0.8125rem;
    transition: color var(--transition);
}

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

@media (max-width: 1100px) {
    .footer-grid-new { 
        grid-template-columns: 1fr 1fr 1fr; 
        gap: 32px;
    }
    .footer-brand {
        grid-column: span 3;
        text-align: center;
    }
    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-certifs,
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        transform: translateY(-24px);
        padding: 28px 20px;
        margin-left: -16px;
        margin-right: -16px;
        border-radius: var(--radius);
    }
    .footer-newsletter-content h3 {
        font-size: 1.125rem;
    }
    .footer-newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    .footer-newsletter-form input {
        width: 100%;
    }
    .footer-grid-new { 
        grid-template-columns: 1fr 1fr; 
        gap: 28px;
    }
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    .footer-brand > img {
        height: 120px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-certification {
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-col h4 {
        font-size: 0.8125rem;
        margin-bottom: 16px;
    }
    .footer-col ul li {
        margin-bottom: 8px;
    }
    .footer-col ul li a {
        font-size: 0.8125rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding-bottom: 24px;
    }
    .footer-newsletter {
        transform: translateY(-20px);
        padding: 24px 16px;
    }
    .footer-newsletter-content h3 {
        font-size: 1rem;
    }
    .footer-newsletter-content p {
        font-size: 0.8125rem;
    }
    .footer-grid-new { 
        grid-template-columns: 1fr; 
        gap: 32px;
    }
    .footer-brand {
        grid-column: span 1;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .footer-brand > img {
        height: 100px;
    }
    .footer-brand p {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col ul li a {
        display: inline-block;
    }
    .footer-col ul li a:hover {
        padding-left: 0;
    }
    .footer-contact-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-contact-list li {
        justify-content: center;
    }
    .footer-cta-btn {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-bottom { 
        flex-direction: column; 
        gap: 16px; 
        text-align: center;
        padding-top: 24px;
    }
    .footer-bottom span {
        font-size: 0.75rem;
        line-height: 1.5;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .footer-links a {
        font-size: 0.75rem;
    }
}

/* ============================================
   Page Header (subpages)
   ============================================ */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-alt);
}

.page-header h1 {
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

.breadcrumb span {
    color: var(--text-muted);
}

/* ============================================
   Catalogue Page
   ============================================ */
.catalogue-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

/* Search bar */
.search-bar {
    position: relative;
    margin-bottom: 24px;
}

.search-bar .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-bar .form-input {
    padding-left: 48px;
}

/* Session highlight */
.session-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.session-highlight h4 {
    color: var(--white);
}

/* Formation cards grid */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.formation-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-slow);
}

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

.formation-card h4 {
    margin: 12px 0 8px;
}

.formation-card .meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.formation-card .meta i {
    color: var(--accent);
    width: 18px;
}

/* VGP Card */
.vgp-card {
    grid-column: span 2;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
}

.vgp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.vgp-grid ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.vgp-grid ul li i {
    color: var(--accent);
}

@media (max-width: 900px) {
    .catalogue-layout { 
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
    }
    .formations-grid { 
        grid-template-columns: 1fr;
    }
    .vgp-card {
        grid-column: span 1;
    }
    .vgp-grid {
        grid-template-columns: 1fr;
    }
    .session-highlight {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ============================================
   Formation Detail Page
   ============================================ */
.formation-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.formation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.formation-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.formation-meta-item i {
    color: var(--accent);
}

/* Content */
.formation-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.formation-content h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.formation-content p {
    margin-bottom: 20px;
}

.formation-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.formation-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
}

.formation-content ul li i {
    color: var(--success);
    margin-top: 4px;
}

/* Program */
.program-list {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

.program-list li:last-child {
    border-bottom: none;
}

.program-list li i {
    color: var(--accent);
    width: 20px;
}

/* Quality stats */
.quality-stats {
    display: flex;
    gap: 40px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}

.quality-stat {
    text-align: center;
}

.quality-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.quality-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Sidebar */
.formation-sidebar .card {
    position: sticky;
    top: 100px;
}

.formation-sidebar .price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.formation-sidebar .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item i {
    color: var(--accent);
    font-size: 1.125rem;
    width: 20px;
}

.sidebar-item-content strong {
    display: block;
    font-size: 0.9375rem;
}

.sidebar-item-content span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Public & Prereq cards */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.info-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.info-card h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 12px;
}

.info-card ul li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

@media (max-width: 900px) {
    .formation-layout {
        grid-template-columns: 1fr;
    }
    .formation-sidebar .card {
        position: static;
    }
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Responsive utilities
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   NEW: Hero Split (2 columns)
   ============================================ */
.hero-split {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: 
        /* Gradient overlay: blanc solide gauche -> transparent droite */
        linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff 35%,
            rgba(255, 255, 255, 0.95) 40%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.4) 60%,
            rgba(255, 255, 255, 0.35) 70%,
            rgba(255, 255, 255, 0.35) 100%
        ),
        /* Image de fond */
        url('../img/BACKGROUND.jpeg');
    background-size: 100%, cover;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
}

.hero-shapes {
    display: none; /* Masque car on utilise l'image de fond */
}

.shape {
    display: none;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(10, 10, 10, 0.03) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

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

.hero-split .hero-content {
    max-width: 100%;
}

.hero-split .hero-badge {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-split h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-split .hero-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.75rem;
}

.hero-feature span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Hero Trust */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-trust-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: -10px;
    border: 2px solid var(--bg);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:nth-child(1) { background: #3b82f6; }
.avatar:nth-child(2) { background: #10b981; }
.avatar:nth-child(3) { background: #f59e0b; }
.avatar:nth-child(4) { background: #8b5cf6; }
.avatar-more { background: var(--accent) !important; }

.hero-trust-text strong {
    display: block;
    font-size: 0.9375rem;
}

.hero-trust-text span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Hero Form Card */
.hero-form-wrapper {
    position: relative;
    z-index: 10;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-light);
    max-width: 380px;
}

.hero-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.hero-form-header h3 {
    font-size: 1.375rem;
    margin-bottom: 4px;
}

.hero-form-header p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.hero-form .form-group {
    margin-bottom: 14px;
}

.hero-form .form-group label {
    font-size: 0.8125rem;
    margin-bottom: 6px;
}

.hero-form .form-input,
.hero-form .form-select {
    padding: 12px 14px;
    font-size: 0.9375rem;
}

.hero-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-form-footer i {
    color: var(--success);
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-form-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-split {
        padding: 100px 0 60px;
        min-height: auto;
        background: 
            linear-gradient(
                to bottom,
                #ffffff 0%,
                rgba(255, 255, 255, 0.95) 70%,
                rgba(255, 255, 255, 0.85) 100%
            ),
            url('../img/BACKGROUND.jpeg');
        background-size: 100%, cover;
        background-position: center, center;
    }
    
    .hero-split h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        display: none;
    }
}

/* ============================================
   NEW: Stats Bar
   ============================================ */
.stats-bar {
    background: var(--primary);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.stat-content .stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-content .stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 4px;
}

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

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        justify-content: center;
    }
}

/* ============================================
   Stats Section - Dark Background
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    padding: 60px 0;
}

/* Stats Bar - Horizontal Layout */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 32px;
}

.stat-bar-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-bar-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-bar-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.stat-bar-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1100px) {
    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px 32px;
    }
    
    .stat-bar-item {
        padding: 0 20px;
    }
    
    .stat-bar-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .stat-bar-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 16px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius);
    }
    
    .stat-bar-item i {
        font-size: 1.25rem;
    }
    
    .stat-bar-value {
        font-size: 1.5rem;
    }
    
    .stat-bar-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .stat-bar-item {
        padding: 12px;
    }
    
    .stat-bar-value {
        font-size: 1.25rem;
    }
}

/* ============================================
   NEW: About Section
   ============================================ */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    margin: 16px 0;
}

.about-content .text-lg {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 32px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

.about-image-1 {
    grid-row: span 2;
    aspect-ratio: auto;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
}

.about-image-placeholder i {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.5;
}

.about-image-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
}

.float-badge {
    background: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: bounce 3s ease-in-out infinite;
}

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

.float-badge i {
    font-size: 2rem;
    color: var(--accent);
}

.float-badge strong {
    display: block;
    font-size: 1rem;
}

.float-badge span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-badge-float {
        bottom: -10px;
        left: 10px;
    }
}

/* ============================================
   NEW: Enhanced Bento Cards
   ============================================ */
.bento-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.bento-tag {
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.bento-map {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.bento-map i {
    color: var(--accent);
    font-size: 1.25rem;
}

/* ============================================
   NEW: Enhanced Process Timeline
   ============================================ */
.process-timeline {
    position: relative;
}

.process-line {
    position: absolute;
    top: 8px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.15) 10%, 
        rgba(255,255,255,0.15) 90%, 
        transparent 100%
    );
    z-index: 0;
}

.process-dot {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.process-card {
    position: relative;
    padding-top: 24px;
}

@media (max-width: 900px) {
    .process-line,
    .process-dot {
        display: none;
    }
    
    .process-card {
        padding-top: 28px;
    }
}

/* ============================================
   NEW: Enhanced Service Cards
   ============================================ */
.service-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.service-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-meta i {
    color: var(--accent);
}

/* Service Card - Popular Badge */
.service-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-popular i {
    font-size: 0.65rem;
}

/* Service Card - Availability Indicator */
.service-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--success);
    margin-bottom: 16px;
    padding: 8px 12px;
    background: rgba(22, 163, 74, 0.08);
    border-radius: var(--radius);
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.service-card {
    position: relative;
}

/* ============================================
   Catalogue Section
   ============================================ */
.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.catalogue-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.catalogue-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.catalogue-img {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.catalogue-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    opacity: 0.3;
}

.catalogue-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}

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

.catalogue-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalogue-badge.popular {
    background: var(--accent);
    color: var(--white);
}

.catalogue-badge.new {
    background: var(--success);
    color: var(--white);
}

.catalogue-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.catalogue-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 8px;
}

.catalogue-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.catalogue-content > p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.catalogue-details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.catalogue-details li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalogue-details li i {
    color: var(--accent);
    font-size: 0.75rem;
    width: 14px;
}

.catalogue-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.catalogue-price {
    display: flex;
    flex-direction: column;
}

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

.price-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.catalogue-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.catalogue-card:hover .catalogue-cta {
    gap: 12px;
}

.catalogue-more {
    text-align: center;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}

.catalogue-more p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.catalogue-more-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

@media (max-width: 640px) {
    .catalogue-grid {
        grid-template-columns: 1fr;
    }
    
    .catalogue-details {
        grid-template-columns: 1fr;
    }
    
    .catalogue-more-actions {
        flex-direction: column;
    }
    
    .catalogue-more-actions .btn {
        width: 100%;
    }
}

/* ============================================
   NEW: Enhanced Testimonials
   ============================================ */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #fbbf24;
}

.testimonial-featured {
    background: var(--primary);
    color: var(--white);
}

.testimonial-featured .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-featured .testimonial-avatar {
    background: var(--accent);
}

.testimonial-featured .testimonial-info span {
    color: var(--text-light);
}

/* ============================================
   NEW: Enhanced CTA Section
   ============================================ */
.cta-section-enhanced {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 60px 0;
    border-radius: 20px;
    margin: 0 20px;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.cta-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
}

.cta-section-enhanced .cta-content {
    position: relative;
    z-index: 1;
}

.cta-section-enhanced h2 {
    color: var(--white);
    margin: 16px 0;
}

.cta-section-enhanced p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.cta-guarantee i {
    color: var(--success);
}

/* ============================================
   NEW: Enhanced Contact Section
   ============================================ */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateX(8px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card-content strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.contact-card-content a {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.contact-card-content a:hover {
    color: var(--accent);
}

.contact-card-content span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-social span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.125rem;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--white);
}

/* ============================================
   NEW: Enhanced Footer
   ============================================ */
.footer-certifs {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.certif-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--white);
}

.certif-badge i {
    color: var(--accent);
}

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

.social-link-footer {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition);
}

.social-link-footer:hover {
    background: var(--accent);
    color: var(--white);
}

/* ============================================
   DECORATIONS SOBRES
   ============================================ */

/* Scroll Progress Bar (subtil) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
}

/* Pattern de points subtil */
.pattern-dots {
    background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Floating Elements (plus lent et subtil) */
.floating {
    animation: floating 8s ease-in-out infinite;
}

.floating-delayed {
    animation: floating 8s ease-in-out infinite;
    animation-delay: 3s;
}

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

.float-element {
    position: absolute;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.float-element i {
    color: var(--accent);
}

.float-element-1 {
    top: 35%;
    right: 3%;
}

.float-element-2 {
    bottom: 30%;
    left: 2%;
}

@media (max-width: 1200px) {
    .float-element {
        display: none;
    }
}

/* Blobs en arriere-plan (tres subtils) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(220, 38, 38, 0.08);
    top: -100px;
    right: -50px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(220, 38, 38, 0.05);
    bottom: -100px;
    left: -50px;
}

/* Glassmorphism subtil pour le formulaire */
.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover simple sur les cartes */
.service-card {
    transition: all 0.3s ease;
}

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

.bento-card {
    transition: all 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-2px);
}

/* Icon animation douce */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Quote styling sobre */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.08;
    line-height: 1;
}

/* Fleche animee (subtil) */
.arrow-animated i {
    transition: transform 0.2s ease;
}

.arrow-animated:hover i {
    transform: translateX(4px);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question i {
    color: var(--accent);
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   Back to Top Button - MASQUÉ (chevauchement chatbot)
   ============================================ */
.back-to-top {
    display: none !important;
    /* Bouton masqué car le menu sticky permet déjà de naviguer facilement */
}

/* ============================================
   Floating WhatsApp CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-cta-btn {
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.floating-cta-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-cta-label {
    background: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-cta:hover .floating-cta-label {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .floating-cta {
        left: 16px;
        bottom: 16px;
    }
    
    .floating-cta-btn {
        width: 52px;
        height: 52px;
        font-size: 1.375rem;
    }
    
    .floating-cta-label {
        display: none;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    background: var(--bg-alt);
}

.team-featured {
    max-width: 800px;
    margin: 0 auto;
}

.team-featured-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.team-featured-photo {
    position: relative;
}

.team-featured-photo .team-photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    opacity: 0.5;
}

.team-featured-info h3 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-featured-info > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.team-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.team-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

a.team-contact-item:hover {
    color: var(--accent);
}

.team-contact-item i {
    width: 20px;
    color: var(--accent);
}

.team-featured-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .team-featured-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
        text-align: center;
    }
    
    .team-featured-photo {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .team-contact-info {
        align-items: center;
    }
    
    .team-featured-cta {
        justify-content: center;
    }
}

/* ============================================
   Section Dividers
   ============================================ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ============================================
   Enhanced Typography
   ============================================ */
.text-balance {
    text-wrap: balance;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   Trust Indicators
   ============================================ */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.trust-badge i {
    color: var(--success);
}

/* ============================================
   Improved Focus States (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   Skip to Content (Accessibility)
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   Loading State for Buttons
   ============================================ */
.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

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

/* ============================================
   Better Card Shadows on Hover
   ============================================ */
.card:hover,
.testimonial-card:hover,
.bento-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Responsive Improvements
   ============================================ */
@media (max-width: 480px) {
    .hero-split h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 0.9375rem;
    }
    
    .hero-form-card {
        padding: 24px 20px;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 0.9375rem;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 0.875rem;
    }
}

/* ============================================
   FORMATION PAGES STYLES - PROFESSIONAL
   ============================================ */

/* Formation Hero Section */
.formation-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.formation-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.formation-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.formation-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 21, 41, 0.3) 0%,
        rgba(0, 21, 41, 0.6) 50%,
        rgba(0, 21, 41, 0.95) 100%
    );
}

.formation-hero .container {
    position: relative;
    z-index: 1;
    padding: 60px 0 50px;
}

.formation-hero-content {
    max-width: 800px;
}

.formation-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.formation-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.formation-breadcrumb a:hover {
    color: var(--white);
}

.formation-breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.625rem;
}

.formation-breadcrumb span {
    color: var(--accent);
    font-weight: 500;
}

.formation-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.formation-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.formation-hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 28px;
}

.formation-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9375rem;
}

.hero-meta-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--accent);
    font-size: 1rem;
}

.hero-meta-item span strong {
    display: block;
    font-weight: 600;
}

.hero-meta-item span small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Old page-header kept for compatibility */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.page-header-formation {
    display: none;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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

.breadcrumb i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--white);
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.page-header p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 700px;
}

.page-header-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

.formation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.formation-badge i {
    font-size: 0.875rem;
}

.formation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.meta-item i {
    color: var(--accent);
    font-size: 1rem;
}

/* Formation Quick Actions Bar - MASQUÉE (doublon navigation) */
.formation-actions-bar {
    display: none; /* Masquée pour éviter doublon navigation */
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 70px;
    z-index: 90;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.formation-actions-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.actions-bar-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.actions-bar-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}

.actions-bar-tags {
    display: flex;
    gap: 8px;
}

.actions-bar-tags .tag {
    background: var(--bg-alt);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.actions-bar-btns {
    display: flex;
    gap: 12px;
}

/* CTA Card */
.cta-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cta-price .price-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cta-price .price-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.cta-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.cta-card .btn:last-of-type {
    margin-bottom: 16px;
}

.cta-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--success);
    margin: 0;
}

.cta-info i {
    font-size: 0.875rem;
}

/* Formation Page Layout */
.formation-page-content {
    padding: 50px 0 80px;
    background: var(--bg-alt);
}

.formation-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Formation Main Content */
.formation-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Formation Cards */
.formation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.formation-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    background: var(--primary);
    color: var(--white);
}

.formation-card-header i {
    font-size: 1.25rem;
    color: var(--accent) !important;
}

.formation-card-header h2 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.formation-card-body {
    padding: 28px;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    gap: 16px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.objective-item i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.objective-item p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.profile-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.profile-section h4 i {
    color: var(--accent);
}

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

.profile-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.5;
}

.profile-list li:last-child {
    border-bottom: none;
}

.profile-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Program Steps */
.program-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-step {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.program-step[open] {
    border-color: var(--primary);
}

.program-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--white);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

.program-step-header::-webkit-details-marker {
    display: none;
}

.program-step-header:hover {
    background: var(--bg-alt);
}

.step-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.program-step[open] .step-number {
    background: var(--primary);
    color: var(--white);
}

.step-title span {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9375rem;
}

.program-step-header i {
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.program-step[open] .program-step-header i {
    transform: rotate(180deg);
}

.program-step-body {
    padding: 0 20px 20px;
    background: var(--white);
}

.program-step-body ul {
    list-style: none;
    padding: 16px;
    margin: 0;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.program-step-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.5;
}

.program-step-body ul li::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 0.625rem;
    margin-top: 5px;
}

/* Team & Evaluation */
.team-content,
.evaluation-content {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.7;
}

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

.evaluation-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.5;
}

.evaluation-list li:last-child {
    border-bottom: none;
}

.evaluation-list li i {
    color: var(--success);
    font-size: 0.875rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text);
}

.resource-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Formation Details Section */
.formation-details {
    padding: 60px 0 80px;
}

.formation-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

/* Formation Blocks */
.formation-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.formation-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid var(--border);
    overflow: hidden;
}

.block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--border);
}

.block-header i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1rem;
}

.block-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.block-content {
    padding: 24px;
}

/* Objectives List */
.objectives-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.objectives-list i {
    color: var(--success);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.objectives-list span {
    color: var(--text);
    line-height: 1.6;
}

/* Two Columns */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.column h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.column h4 i {
    color: var(--accent);
}

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

.column ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.column ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Program Accordion */
.program-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.accordion-item[open] {
    border-color: var(--primary);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-alt);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}

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

.accordion-header:hover {
    background: var(--bg);
}

.accordion-header span {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.9375rem;
}

.accordion-header i {
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.accordion-item[open] .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 16px 20px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.6;
}

.accordion-body ul li:last-child {
    margin-bottom: 0;
}

.accordion-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--success);
    font-size: 0.75rem;
}

/* Evaluation & Resources Lists */
.evaluation-list,
.resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.evaluation-list li,
.resources-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.evaluation-list li i,
.resources-list li i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

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

/* Formation Sidebar - Normal scroll (pas sticky) */
.formation-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* position: sticky; - Désactivé pour scroll normal */
    /* top: 130px; */
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.sidebar-card-header {
    padding: 16px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.sidebar-card-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.sidebar-card-header h3 i {
    color: var(--accent);
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.sidebar-card h3 i {
    color: var(--accent);
}

.sidebar-card-body {
    padding: 20px;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list li:first-child {
    padding-top: 0;
}

.info-list .label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-list .label i {
    color: var(--accent);
    width: 18px;
}

.info-list .value {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Sidebar Price Card */
.sidebar-price-card {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    border: none;
}

.sidebar-price-card .sidebar-card-body {
    padding: 24px;
}

.price-display {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.sidebar-price-card .btn-accent {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
}

.sidebar-price-card .btn-outline {
    width: 100%;
    justify-content: center;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.sidebar-price-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.sidebar-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--success);
    margin-top: 16px;
}

.sidebar-note i {
    font-size: 0.875rem;
}

/* Sidebar Stats */
.sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-box {
    text-align: center;
    padding: 16px 12px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-box .stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-box .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Highlight Card */
.sidebar-card-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    border: none;
}

.sidebar-card-highlight h3 {
    color: var(--white);
}

.sidebar-card-highlight h3 i {
    color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Sidebar CTA Card */
.sidebar-card-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    border: none;
}

.sidebar-card-cta h3 {
    color: var(--white);
}

.sidebar-card-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.sidebar-card-cta .btn-accent {
    background: var(--white);
    color: var(--accent);
}

.sidebar-card-cta .btn-accent:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.contact-options a:hover {
    color: var(--white);
}

.contact-options a i {
    width: 20px;
}

.sidebar-card p {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.link-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: 12px;
    transition: color 0.2s ease;
}

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

/* Accessibility Card */
.accessibility-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.accessibility-info i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 2px;
}

.accessibility-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

/* Other Formations Grid */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.formation-card-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.formation-card-mini:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.formation-card-mini .card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.formation-card-mini .card-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.formation-card-mini h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.formation-card-mini .tag {
    background: var(--bg-alt);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Section Light Background */
.section-light {
    background: var(--bg-alt);
}

/* ============================================
   FORMATION PAGES - RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .formation-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .formation-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sidebar-price-card {
        grid-column: span 2;
    }
    
    .formation-actions-bar {
        display: none;
    }
}

@media (max-width: 900px) {
    .formation-hero h1 {
        font-size: 2rem;
    }
    
    .formation-hero-meta {
        gap: 16px;
    }
    
    .formations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .formation-hero {
        min-height: 450px;
    }
    
    .formation-hero h1 {
        font-size: 1.75rem;
    }
    
    .formation-hero-description {
        font-size: 1rem;
    }
    
    .hero-meta-item {
        font-size: 0.875rem;
    }
    
    .hero-meta-item i {
        width: 32px;
        height: 32px;
    }
    
    .formation-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-price-card {
        grid-column: span 1;
    }
    
    .formations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .formation-card-header {
        padding: 16px 20px;
    }
    
    .formation-card-header h2 {
        font-size: 1rem;
    }
    
    .formation-card-body {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .formation-hero {
        min-height: 400px;
    }
    
    .formation-hero .container {
        padding: 40px 0 40px;
    }
    
    .formation-hero h1 {
        font-size: 1.5rem;
    }
    
    .formation-category {
        font-size: 0.6875rem;
        padding: 5px 10px;
    }
    
    .formation-hero-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-meta-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .formation-page-content {
        padding: 30px 0 60px;
    }
    
    .formation-content {
        gap: 20px;
    }
    
    .formation-card-header {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .formation-card-header i {
        font-size: 1rem;
    }
    
    .formation-card-header h2 {
        font-size: 0.9375rem;
    }
    
    .formation-card-body {
        padding: 16px;
    }
    
    .program-step-header {
        padding: 14px 16px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .step-title span {
        font-size: 0.875rem;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .formation-card-mini {
        flex-direction: row;
        text-align: left;
        padding: 16px;
        gap: 16px;
    }
    
    .formation-card-mini .card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .formation-card-mini h4 {
        margin-bottom: 4px;
    }
}

/* ============================================
   CHATBOT STYLES - MODERN UI
   ============================================ */
.chatbot-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* Chat Toggle Button - Modern Floating Style */
.chatbot-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 14px rgba(230, 126, 34, 0.4),
        0 0 0 0 rgba(230, 126, 34, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: chatbot-pulse 3s ease-in-out infinite;
}

@keyframes chatbot-pulse {
    0%, 100% { 
        box-shadow: 
            0 4px 14px rgba(230, 126, 34, 0.4),
            0 0 0 0 rgba(230, 126, 34, 0.3);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(230, 126, 34, 0.5),
            0 0 0 12px rgba(230, 126, 34, 0);
    }
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
    animation: none;
}

.chatbot-toggle.active {
    animation: none;
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    box-shadow: 0 4px 14px rgba(0, 52, 89, 0.4);
}

.chatbot-toggle i {
    font-size: 1.625rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.chatbot-toggle.active i {
    transform: rotate(90deg);
}

/* Notification Badge */
.chatbot-toggle .chat-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--white);
    border: 2px solid var(--white);
    animation: bounce-notification 2s ease-in-out infinite;
}

@keyframes bounce-notification {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.2); }
    20% { transform: scale(0.95); }
}

/* Tooltip on hover */
.chatbot-toggle::before {
    content: 'Besoin d\'aide ?';
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chatbot-toggle::after {
    content: '';
    position: absolute;
    right: calc(100% + 4px);
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-toggle:not(.active):hover::before,
.chatbot-toggle:not(.active):hover::after {
    opacity: 1;
    visibility: visible;
}

.chatbot-toggle.active::before,
.chatbot-toggle.active::after {
    display: none;
}

/* Chat Window */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    max-height: 580px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chatbot-header {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.chatbot-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.chatbot-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.chatbot-avatar i {
    font-size: 1.375rem;
    color: var(--white);
}

.chatbot-avatar::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.chatbot-header-text h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.chatbot-header-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-header-text span i {
    font-size: 0.5rem;
    color: #22c55e;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.chatbot-close i {
    color: var(--white);
    font-size: 1rem;
}

/* Chat Messages */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    max-height: 340px;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.chat-message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 52, 89, 0.2);
}

.message-avatar i {
    font-size: 0.875rem;
    color: var(--white);
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.2);
}

.message-content {
    max-width: 270px;
}

.message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.chat-message.bot .message-bubble {
    background: var(--white);
    color: var(--text);
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, #0a1628 100%);
    color: var(--white);
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 52, 89, 0.2);
}

.message-time {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 6px;
    padding-left: 4px;
    opacity: 0.7;
}

.chat-message.user .message-time {
    text-align: right;
    padding-right: 4px;
}

/* Quick Replies */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-left: 48px;
}

.quick-reply {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-reply:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 52, 89, 0.2);
}

.quick-reply:active {
    transform: translateY(0);
}

/* Formation Cards in Chat */
.chat-formation-card {
    background: var(--white);
    border-radius: 14px;
    padding: 16px;
    margin-top: 12px;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.chat-formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.chat-formation-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.chat-formation-card:hover::before {
    transform: scaleY(1);
}

.chat-formation-card h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-formation-card h5 .tag {
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.chat-formation-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.chat-formation-card p i {
    color: var(--accent) !important;
    margin-right: 4px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    width: fit-content;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { 
        transform: translateY(0) scale(0.8); 
        opacity: 0.4; 
    }
    50% { 
        transform: translateY(-6px) scale(1); 
        opacity: 1;
        background: var(--accent);
    }
}

/* Chat Input */
.chatbot-input {
    padding: 18px 20px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 28px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    background: var(--bg-alt);
}

.chatbot-input input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 52, 89, 0.1);
}

.chatbot-input input::placeholder {
    color: var(--text-muted);
}

.chatbot-send {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #d65400 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    flex-shrink: 0;
}

.chatbot-send:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(230, 126, 34, 0.4);
}

.chatbot-send:active {
    transform: scale(0.95);
}

.chatbot-send i {
    color: var(--white);
    font-size: 1.125rem;
    margin-left: 2px;
}

/* Chat Footer */
.chatbot-footer {
    padding: 12px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.chatbot-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.chatbot-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 16px;
        right: 16px;
    }
    
    .chatbot-window {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        transform-origin: bottom center;
    }
    
    .chatbot-toggle {
        width: 56px;
        height: 56px;
    }
    
    .chatbot-toggle i {
        font-size: 1.375rem;
    }
    
    .chatbot-toggle::before,
    .chatbot-toggle::after {
        display: none;
    }
    
    .chatbot-header {
        padding: 18px 20px;
    }
    
    .chatbot-avatar {
        width: 42px;
        height: 42px;
    }
    
    .chatbot-messages {
        max-height: 50vh;
        padding: 20px 16px;
    }
    
    .message-content {
        max-width: 240px;
    }
    
    .quick-replies {
        padding-left: 0;
    }
    
    .chatbot-input {
        padding: 16px;
    }
    
    .chatbot-input input {
        padding: 12px 18px;
    }
    
    .chatbot-send {
        width: 44px;
        height: 44px;
    }
}
