/* Base Styles */
:root {
    --primary: #23a2f7;
    --secondary: #F8B195;
    --accent: #355C7D;
    --dark: #1A1423;
    --light: #F9F7FF;
    --text: #333333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    touch-action: manipulation; /* Optimisation tactile */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* Glass Effect */
.glass {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animations and Effects */
.hover-lift {
    transition: var(--transition);
    opacity: 0.95;
    transform: translateY(5px);
}

.hover-lift:hover, .hover-lift:focus {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.animated-button {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.animated-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}

.animated-button:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.floating {
    animation: floating 5s ease-in-out infinite;
}

.floating-slow {
    animation: floating 8s ease-in-out infinite;
}

.floating-fast {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-text-1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-text-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-text-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.animate-text-4 {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typewriter {
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    overflow: hidden;
    animation: blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Safe area insets for iOS devices */
    @supports (padding: max(0px)) {
        .mobile-tab-bar {
            padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
        }
        
        footer {
            padding-bottom: max(2rem, env(safe-area-inset-bottom) + 4rem);
        }
    }
    
    /* Optimized touch targets */
    button, 
    a, 
    .clickable, 
    [role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on mobile */
    .hover-lift:hover {
        transform: none;
    }
    
    /* Add specific tap highlight styles */
    .tap-highlight {
        position: relative;
        overflow: hidden;
    }
    
    .tap-highlight::after {
        content: '';
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
        background-repeat: no-repeat;
        background-position: 50%;
        transform: scale(10, 10);
        opacity: 0;
        transition: transform .3s, opacity .5s;
    }
    
    .tap-highlight:active::after {
        transform: scale(0, 0);
        opacity: .3;
        transition: 0s;
    }
    
    /* Active state for touch elements */
    .active-state:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
    
    /* Mobile navigation active styles */
    .mobile-tab-item.active {
        color: var(--primary);
    }
    
    .mobile-tab-item.active i {
        color: var(--primary);
    }
    
    /* Fix for iOS overscroll effect */
    html {
        position: relative;
        overflow-x: hidden;
        height: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile bottom spacing for content */
    .has-mobile-nav .content-wrapper {
        padding-bottom: 5rem;
    }
    
    /* Mobile slider styles */
    .testimonial-slider {
        position: relative;
        overflow: hidden;
    }
    
    .testimonial-slide {
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
}

/* Improved accessibility focus states */
a:focus, button:focus, input:focus, select:focus, textarea:focus, [tabindex]:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to content link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Utilities */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

.text-dark {
    color: var(--dark);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-light {
    background-color: var(--light);
}

/* Styles spécifiques pour mobile */
.mobile-tab-bar {
    transition: transform 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.mobile-tab-item {
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    position: relative;
}

.mobile-tab-item.active {
    opacity: 1;
    color: var(--color-primary);
}

.mobile-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

/* Éléments tactiles optimisés */
.tap-highlight {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.active-state:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

/* Améliorer l'aspect des boutons et contrôles tactiles */
button, 
input[type="submit"],
.btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
    min-height: 44px;
}

/* Ajouter une marge en bas pour les pages avec navigation mobile */
body.has-mobile-nav {
    padding-bottom: 70px;
}

/* Plus grand contrôles form pour mobile */
@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px; /* Empêche le zoom iOS sur focus */
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    /* Boutons plus grands et faciles à toucher */
    .btn {
        padding: 12px 24px;
        font-size: 16px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Augmenter la taille des contrôles interactifs */
    a, button, select, summary {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Améliorer l'espacement pour la lisibilité */
    p, li {
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0.8em;
    }
}

/* Transition fluide pour le menu mobile */
#mobileFullMenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#mobileFullMenu.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animation pour le bouton menu */
#menuToggle {
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#menuToggle:active {
    transform: scale(0.92);
}

/* Sélection de texte */
::selection {
    background-color: var(--color-primary);
    color: white;
}

/* Inertie de défilement */
.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Prévenir le rebond élastique iOS */
html {
    overflow: hidden;
    height: 100%;
}

body {
    overflow: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

/* Animation d'apparition quand les éléments deviennent visibles */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
} 

/* -------------------------------------------------------------------------- */
/* Consolidated from former files: kadea-layout.css, blue-gradients.css,      */
/* kadea-premium.css, premium.css, kadea-theme.css                            */
/* -------------------------------------------------------------------------- */

/**
 * Utilitaires layout — remplace Tailwind CDN (sans conflit de design)
 */
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }

.w-full { width: 100%; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.h-64 { height: 16rem; }
.w-72 { width: 18rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.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; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-serif { font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }
.line-clamp-2, .line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.text-white { color: #fff; }
.text-primaryDark { color: #0063C9; }
.text-gray-500 { color: #64748b; }
.text-gray-600 { color: #475569; }
.text-gray-700 { color: #334155; }
.text-gray-800 { color: #1e293b; }
.text-slate-400 { color: #94a3b8; }
.text-amber-500 { color: #f59e0b; }
.text-purple-500 { color: #a855f7; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #f8fafc; }
.bg-gray-800 { background-color: #1e293b; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-200 { background-color: #bfdbfe; }
.bg-transparent { background-color: transparent; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-primary\/10 { background-color: rgba(35, 162, 247, 0.1); }
.bg-secondary\/10 { background-color: rgba(248, 177, 149, 0.1); }
.bg-accent\/10 { background-color: rgba(53, 92, 125, 0.1); }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid #e2e8f0; }
.border-2 { border-width: 2px; border-style: solid; }
.border-white { border-color: #fff; }
.border-gray-100 { border-color: #f1f5f9; }
.border-gray-700 { border-color: #334155; }
.border-blue-100 { border-color: #dbeafe; }
.border-l-4 { border-left: 4px solid; }
.border-primary { border-color: #23a2f7; }
.border-secondary { border-color: #F8B195; }
.border-accent { border-color: #355C7D; }
.border-amber-500 { border-color: #f59e0b; }
.border-purple-500 { border-color: #a855f7; }

.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.opacity-50 { opacity: 0.5; }
.opacity-90 { opacity: 0.9; }
.opacity-95 { opacity: 0.95; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-3 { padding: 0.75rem; }
.h-40 { height: 10rem; }
.w-40 { width: 10rem; }
.w-60 { width: 15rem; }
.h-60 { height: 15rem; }
.-top-16 { top: -4rem; }
.-left-16 { left: -4rem; }
.bg-primary\/20 { background-color: rgba(35, 162, 247, 0.2); }
.bg-primary\/90 { background-color: rgba(35, 162, 247, 0.9); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:text-accent:hover { color: #355C7D; }
.hover\:bg-primary\/90:hover { background-color: rgba(35, 162, 247, 0.9); }
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }
.scroll-smooth { scroll-behavior: smooth; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:block { display: block !important; }
    .md\:hidden { display: none !important; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:w-1\/3 { width: 33.333%; }
    .md\:w-2\/5 { width: 40%; }
    .md\:w-3\/5 { width: 60%; }
    .md\:w-\[380px\] { width: 380px; }
    .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:pb-24 { padding-bottom: 6rem; }
    .md\:text-left { text-align: left; }
    .md\:text-lg { font-size: 1.125rem; }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-3xl { font-size: 1.875rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:mb-6 { margin-bottom: 1.5rem; }
    .md\:mb-8 { margin-bottom: 2rem; }
    .md\:gap-4 { gap: 1rem; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:mt-0 { margin-top: 0; }
    .md\:p-4 { padding: 1rem; }
    .md\:h-56 { height: 14rem; }
    .md\:-top-24 { top: -6rem; }
    .md\:-left-24 { left: -6rem; }
    .md\:w-64 { width: 16rem; }
    .md\:h-64 { height: 16rem; }
    .md\:flex-nowrap { flex-wrap: nowrap; }
    .md\:h-\[50vh\] { height: 50vh; }
    .md\:w-24 { width: 6rem; }
    .md\:h-24 { height: 6rem; }
    .md\:w-32 { width: 8rem; }
    .md\:h-32 { height: 8rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:mb-4 { margin-bottom: 1rem; }
    .md\:mb-5 { margin-bottom: 1.25rem; }
    .md\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none !important; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .mobile-pb-extra { padding-bottom: 80px; }
}

.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.font-sans { font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif; }
.object-cover { object-fit: cover; }
.transform { transform: translateZ(0); }
.cursor-pointer { cursor: pointer; }
.duration-300 { transition-duration: 300ms; }

.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.w-64 { width: 16rem; }
.h-48 { height: 12rem; }
.h-96 { height: 24rem; }
.w-96 { width: 24rem; }
.h-\[50vh\] { height: 50vh; }
.h-\[60vh\] { height: 60vh; }
.min-w-\[250px\] { min-width: 250px; }

.-z-10 { z-index: -10; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-1\/4 { top: 25%; }
.right-1\/4 { right: 25%; }
.bottom-1\/3 { bottom: 33.333%; }
.left-1\/3 { left: 33.333%; }
.left-1\/2 { left: 50%; }
.-top-6 { top: -1.5rem; }
.-right-6 { right: -1.5rem; }
.-top-24 { top: -6rem; }
.-left-24 { left: -6rem; }
.-bottom-3 { bottom: -0.75rem; }
.-right-3 { right: -0.75rem; }
.-left-20 { left: -5rem; }
.-right-20 { right: -5rem; }
.bottom-20 { bottom: 5rem; }

.rounded-lg { border-radius: 0.5rem; }
.bg-black { background-color: #000; }
.bg-slate-800 { background-color: #1e293b; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-600 { background-color: #dc2626; }
.bg-gray-200 { background-color: #e5e7eb; }
.text-red-600 { color: #dc2626; }
.text-green-400 { color: #4ade80; }
.text-red-400 { color: #f87171; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-primaryLight { color: #4BB4FF; }

.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-secondary\/30 { background-color: rgba(248, 177, 149, 0.3); }
.bg-primary\/5 { background-color: rgba(35, 162, 247, 0.05); }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-primary\/90 { --tw-gradient-from: rgba(35, 162, 247, 0.9); }
.to-primary\/70 { --tw-gradient-to: rgba(35, 162, 247, 0.7); }

.blur-md { filter: blur(12px); }
.blur-xl { filter: blur(24px); }
.blur-3xl { filter: blur(64px); }

.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.p-8 { padding: 2rem; }

.flex-nowrap { flex-wrap: nowrap; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-x-1\/2 { transform: translateX(50%); }

.hover\:bg-opacity-90:hover { opacity: 0.9; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-primary\/10:hover { background-color: rgba(35, 162, 247, 0.1); }
.hover\:text-primaryLight:hover { color: #4BB4FF; }
.hover\:text-secondary:hover { color: #F8B195; }
.hover\:text-primary:hover { color: #23a2f7; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:bg-gray-50:hover { background-color: #f8fafc; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }

.focus\:outline-none:focus { outline: none; }
.focus\:border-primary:focus { border-color: #23a2f7; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }

/* Styles de dégradés bleus pour tout le site */
:root {
    --blue-dark: #cad0d6;
    --blue-medium: #23a2f7;
    --blue-light: #4BB4FF;
}

.blue-gradient {
    background-image: linear-gradient(135deg, #0063C9, #bed1dd, #4BB4FF);
}

.hero-gradient {
    background-image: linear-gradient(135deg, #0063C9, #23a2f7, #4BB4FF);
}

.hero-gradient-dark {
    background-image: linear-gradient(135deg, #0b346e, #0063C9, #23a2f7);
}

.gradient-icon {
    background-image: linear-gradient(135deg, #0063C9, #23a2f7, #4BB4FF);
    color: white;
}

.gradient-border {
    border-color: #23a2f7;
}

.gradient-border-left {
    border-left: 3px solid #23a2f7;
}

.section-gradient-light {
    background: linear-gradient(135deg, rgba(0, 99, 201, 0.05), rgba(35, 162, 247, 0.05));
}

.section-gradient-medium {
    background: linear-gradient(135deg, rgba(0, 99, 201, 0.1), rgba(35, 162, 247, 0.1));
}

.section-gradient-dark {
    background: linear-gradient(135deg, rgba(0, 99, 201, 0.9), rgba(35, 162, 247, 0.9));
}

.blue-shadow {
    box-shadow: 0 4px 10px rgba(0, 99, 201, 0.2);
}

.blue-shadow-lg {
    box-shadow: 0 10px 25px rgba(0, 99, 201, 0.25);
}

.blue-glow:focus {
    box-shadow: 0 0 0 3px rgba(35, 162, 247, 0.5);
}

/* Design premium inspiré Kadea Academy */
:root {
    --k-primary: #23a2f7;
    --k-primary-light: #4BB4FF;
    --k-primary-dark: #0063C9;
    --k-secondary: #F8B195;
    --k-accent: #355C7D;
    --k-light: #F9F7FF;
    --k-dark: #1A1423;
    --k-gray-50: #f8fafc;
    --k-gray-100: #f1f5f9;
    --k-gray-200: #e2e8f0;
    --k-gray-500: #64748b;
    --k-gray-700: #334155;
    --k-gray-900: #0f172a;
    --k-container: 1280px;
    --k-section-y: clamp(4rem, 8vw, 6rem);
    --k-radius: 1rem;
    --k-radius-lg: 1.25rem;
    --k-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --k-shadow-hover: 0 12px 40px rgba(35, 162, 247, 0.12);
    --k-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.k-container,
main .container,
.premium-section .container {
    max-width: var(--k-container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(1rem, 4vw, 2rem) !important;
    padding-right: clamp(1rem, 4vw, 2rem) !important;
    width: 100%;
}

.k-section,
.premium-section {
    padding-top: var(--k-section-y);
    padding-bottom: var(--k-section-y);
}

.premium-section--alt,
.k-section--alt {
    background: var(--k-gray-50);
}

.k-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.k-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--k-primary);
    margin-bottom: 0.75rem;
}

.k-section-title {
    font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--k-gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.k-section-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--k-gray-500);
}

.k-divider {
    width: 4rem;
    height: 4px;
    background: linear-gradient(90deg, var(--k-primary-dark), var(--k-primary), var(--k-primary-light));
    border-radius: 2px;
    margin: 1.25rem auto 0;
}

.kadea-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background var(--k-transition), box-shadow var(--k-transition), padding var(--k-transition);
}

.kadea-header__inner {
    max-width: var(--k-container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1.5rem;
}

.kadea-header--scrolled,
.kadea-header:not(.kadea-header--transparent) {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 4px 20px rgba(15, 23, 42, 0.04);
}

.kadea-header--transparent {
    background: transparent;
}

.kadea-header--transparent .kadea-nav__link {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.kadea-header--transparent .kadea-logo {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.kadea-logo {
    font-family: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.kadea-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .kadea-nav { display: flex; }
}

.kadea-nav__link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--k-gray-700);
    border-radius: 9999px;
    transition: color var(--k-transition), background var(--k-transition);
}

.kadea-nav__link:hover,
.kadea-nav__link.is-active {
    color: var(--k-primary-dark);
    background: rgba(35, 162, 247, 0.08);
}

.kadea-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--k-primary-dark), var(--k-primary), var(--k-primary-light));
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(35, 162, 247, 0.35);
    transition: transform var(--k-transition), box-shadow var(--k-transition);
}

.kadea-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(35, 162, 247, 0.4);
}

.kadea-main--inner {
    padding-top: 72px;
}

.kadea-footer {
    display: none;
    background: var(--k-gray-900);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

@media (min-width: 768px) {
    .kadea-footer { display: block; }
}

.kadea-footer--mobile {
    display: block;
    background: #000;
    color: #fff;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .kadea-footer--mobile { display: none; }
}

.kadea-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .kadea-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .kadea-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

.kadea-footer h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
}

.kadea-footer a {
    color: #94a3b8;
    transition: color var(--k-transition);
}

.kadea-footer a:hover {
    color: var(--k-primary-light);
}

.kadea-footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.kadea-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--k-gray-100);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    padding: 1rem;
}

.kadea-mobile-menu.is-open { display: block; }

.kadea-mobile-menu a {
    display: block;
    padding: 0.875rem 1rem;
    font-weight: 500;
    color: var(--k-gray-700);
    border-radius: 0.5rem;
}

.kadea-mobile-menu a:hover {
    background: var(--k-gray-50);
    color: var(--k-primary);
}

/* Design premium */
:root {
    --jb-primary: #23a2f7;
    --jb-primary-light: #4BB4FF;
    --jb-primary-dark: #0063C9;
    --jb-secondary: #F8B195;
    --jb-accent: #355C7D;
    --jb-light: #F9F7FF;
    --jb-dark: #1A1423;
    --jb-white: #ffffff;
    --jb-gray-50: #f8fafc;
    --jb-gray-100: #f1f5f9;
    --jb-gray-200: #e2e8f0;
    --jb-gray-400: #94a3b8;
    --jb-gray-600: #475569;
    --jb-radius-sm: 12px;
    --jb-radius-md: 16px;
    --jb-radius-lg: 24px;
    --jb-radius-full: 9999px;
    --jb-shadow-sm: 0 1px 3px rgba(26, 20, 35, 0.06), 0 1px 2px rgba(26, 20, 35, 0.04);
    --jb-shadow-md: 0 4px 24px rgba(0, 99, 201, 0.08), 0 2px 8px rgba(26, 20, 35, 0.04);
    --jb-shadow-lg: 0 20px 48px rgba(0, 99, 201, 0.12), 0 8px 16px rgba(26, 20, 35, 0.06);
    --jb-shadow-hover: 0 24px 56px rgba(0, 99, 201, 0.16);
    --jb-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --jb-container: 1280px;
    --jb-section-y: clamp(4rem, 8vw, 7rem);
}

.site-premium {
    background-color: var(--jb-light);
    letter-spacing: -0.01em;
}

.site-premium .container {
    max-width: var(--jb-container);
}

.site-premium h1,
.site-premium h2,
.site-premium h3 {
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.site-premium main h2 {
    font-weight: 700;
}

.premium-section-header {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.premium-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--jb-primary);
    background: rgba(35, 162, 247, 0.1);
    padding: 0.375rem 1rem;
    border-radius: var(--jb-radius-full);
    margin-bottom: 1rem;
}

.premium-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--jb-dark);
    margin-bottom: 0.75rem;
}

.premium-section-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--jb-gray-600);
    line-height: 1.7;
}

.premium-card,
.site-premium article.group,
.site-premium .glass.rounded-2xl,
.site-premium .glass.rounded-xl,
.site-premium .hover-lift.rounded-xl,
.site-premium .hover-lift.rounded-2xl {
    border-radius: var(--jb-radius-md) !important;
    border: 1px solid var(--jb-gray-200);
    background: var(--jb-white) !important;
    box-shadow: var(--jb-shadow-sm);
    transition: transform var(--jb-transition), box-shadow var(--jb-transition), border-color var(--jb-transition) !important;
    overflow: hidden;
}

.premium-card:hover,
.site-premium article.group:hover,
.site-premium .hover-lift:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--jb-shadow-hover) !important;
    border-color: rgba(35, 162, 247, 0.2) !important;
}

.premium-hero-inner {
    position: relative;
    min-height: clamp(280px, 45vh, 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.premium-hero-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 99, 201, 0.85) 0%, rgba(35, 162, 247, 0.75) 50%, rgba(53, 92, 125, 0.8) 100%);
    z-index: 1;
}

.premium-hero-inner > .absolute {
    z-index: 2;
}

.premium-stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--jb-white);
    border-radius: var(--jb-radius-md);
    border: 1px solid var(--jb-gray-200);
    box-shadow: var(--jb-shadow-sm);
    transition: transform var(--jb-transition), box-shadow var(--jb-transition);
}

.premium-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--jb-shadow-md);
}

.premium-stat-value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--jb-primary-dark), var(--jb-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.premium-stat-label {
    font-size: 0.875rem;
    color: var(--jb-gray-600);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.premium-grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 768px) {
    .premium-grid--2 { grid-template-columns: repeat(2, 1fr); }
    .premium-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .premium-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================
   Home hero (Kadea Academy)
   ========================= */
.kadea-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(6rem, 10vh, 8rem) 1.25rem clamp(3rem, 8vh, 5rem);
    background: linear-gradient(135deg, #0063C9 0%, #23a2f7 50%, #4BB4FF 100%);
    color: #ffffff;
    overflow: hidden;
}

.kadea-hero::after {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
        radial-gradient(circle at 80% 35%, rgba(255, 255, 255, 0.12), transparent 50%),
        radial-gradient(circle at 40% 85%, rgba(0, 99, 201, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.kadea-hero__content,
.kadea-hero__media {
    position: relative;
    z-index: 1;
}

.kadea-hero__content {
    width: min(720px, 100%);
}

.kadea-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.kadea-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 900;
    margin: 0;
    margin-bottom: 1rem;
}

.kadea-hero__subtitle {
    min-height: 2.5rem;
    margin-bottom: 1.25rem;
}

.kadea-hero__roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    opacity: 0.95;
}

.kadea-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1.7rem;
}

.kadea-hero__media {
    flex: 1;
    min-height: 420px;
    max-width: 520px;
    border-radius: 26px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.kadea-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.kadea-btn:active {
    transform: translateY(1px);
}

.kadea-btn--primary {
    background: linear-gradient(135deg, #0063C9 0%, #23a2f7 50%, #4BB4FF 100%);
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(35, 162, 247, 0.35);
}

.kadea-btn--secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.kadea-btn--outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.kadea-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

.kadea-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Small screens */
@media (max-width: 768px) {
    .kadea-hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 5.5rem;
    }

    .kadea-hero__media {
        width: 100%;
        max-width: none;
        min-height: 260px;
        margin-top: 1.75rem;
    }

    .kadea-hero__actions {
        margin-top: 1.35rem;
    }
}