/* ═══════════════════════════════════════════════════════════════
   MENTORA IT - REFONTE LIGHT : ÉPURÉ & ANIMATIONS PREMIUM
   Style : Lumineux, Aéré, Confiant, Accessible
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   1. VARIABLES AJUSTÉES - Plus de douceur
   ───────────────────────────────────────────────────────────────── */
:root {
    --bg-warm: #fefefe;
/* ═══════════════════════════════════════════════════════════════
   FALLBACK: Éléments visibles par défaut si JS ne charge pas
   ═══════════════════════════════════════════════════════════════ */

/* Par défaut visible, le JS ajoutera .js-loaded pour activer les animations */
.reveal-premium,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 1;
    transform: none;
}

/* Uniquement quand JS est chargé, on cache pour animer */
.js-animations-loaded .reveal-premium,
.js-animations-loaded .reveal-left,
.js-animations-loaded .reveal-right,
.js-animations-loaded .reveal-scale {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-animations-loaded .reveal-left {
    transform: translateX(-40px);
}

.js-animations-loaded .reveal-right {
    transform: translateX(40px);
}

.js-animations-loaded .reveal-scale {
    transform: scale(0.95);
}

/* Quand visible */
.js-animations-loaded .reveal-premium.visible,
.js-animations-loaded .reveal-left.visible,
.js-animations-loaded .reveal-right.visible,
.js-animations-loaded .reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

    --bg-subtle: #f8f9fc;
    --shadow-soft: 0 4px 20px rgba(99, 102, 241, 0.08);
    --shadow-hover: 0 8px 30px rgba(99, 102, 241, 0.12);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────────────────────────────
   2. SMOOTH SCROLL & BASE
   ───────────────────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-warm);
}

/* ─────────────────────────────────────────────────────────────────
   3. ANIMATIONS PREMIUM
   ───────────────────────────────────────────────────────────────── */

/* Fade up élégant */
.reveal-premium {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), 
                transform 0.8s var(--transition-smooth);
}

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

/* Stagger pour les enfants */
.reveal-premium.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-premium.visible > *:nth-child(2) { transition-delay: 100ms; }
.reveal-premium.visible > *:nth-child(3) { transition-delay: 200ms; }
.reveal-premium.visible > *:nth-child(4) { transition-delay: 300ms; }

/* Fade in de côté */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--transition-smooth), 
                transform 0.8s var(--transition-smooth);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--transition-smooth), 
                transform 0.8s var(--transition-smooth);
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale subtle */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s var(--transition-smooth), 
                transform 0.6s var(--transition-smooth);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ─────────────────────────────────────────────────────────────────
   4. HERO ÉPURÉ ET PREMIUM
   ───────────────────────────────────────────────────────────────── */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Formes abstraites en arrière-plan */
.hero-premium::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.hero-premium::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Hero premium shapes responsive */
@media (max-width: 768px) {
    .hero-premium::before {
        width: 300px;
        height: 300px;
        top: -50px;
        right: -50px;
    }

    .hero-premium::after {
        width: 200px;
        height: 200px;
        bottom: -25px;
        left: -25px;
    }
}

@media (max-width: 480px) {
    .hero-premium::before {
        width: 200px;
        height: 200px;
        top: -30px;
        right: -30px;
    }

    .hero-premium::after {
        width: 150px;
        height: 150px;
        bottom: -20px;
        left: -20px;
    }
}

/* Hero content épuré */
.hero-premium-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-12);
    align-items: center;
}

.hero-premium-text {
    max-width: 520px;
}

.hero-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.hero-premium-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-premium-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.hero-premium-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-premium-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.hero-premium-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: var(--text-base);
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-premium-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.btn-premium-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.04);
}

.hero-premium-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    color: var(--gray-500);
    font-size: var(--text-sm);
}

.hero-premium-trust span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.hero-premium-trust .check {
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Hero image */
.hero-premium-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-premium-image {
    width: 100%;
    max-width: 500px;
    min-height: 350px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
    transition: transform 0.5s var(--transition-smooth), 
                box-shadow 0.5s var(--transition-smooth);
}

.hero-premium-visual:hover .hero-premium-image {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Floating stats card */
.hero-floating-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    gap: var(--space-8);
}

.hero-floating-stats .stat {
    text-align: center;
}

.hero-floating-stats .stat-value {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary);
}

.hero-floating-stats .stat-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────────────────
   5. SECTIONS ÉPURÉES
   ───────────────────────────────────────────────────────────────── */
.section-premium {
    padding: var(--space-20) 0;
    position: relative;
}

.section-premium-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-12);
}

.section-premium-label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-premium-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.section-premium-desc {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ─────────────────────────────────────────────────────────────────
   6. CARTES PREMIUM AVEC GLASSMORPHISM LÉGER
   ───────────────────────────────────────────────────────────────── */
.card-premium {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(99, 102, 241, 0.2);
}

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

.card-premium-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    transition: transform 0.3s ease;
}

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

.card-premium-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 1.5;
}

.card-premium-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.card-premium-desc {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: var(--text-base);
}

/* ─────────────────────────────────────────────────────────────────
   7. PROFILS AVEC IMAGES - INTÉGRATION DOUCE
   ───────────────────────────────────────────────────────────────── */
.profile-card-premium {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    /* Fallback pour navigateurs anciens */
    height: 0;
    padding-bottom: 125%; /* 4:5 ratio = 5/4 = 1.25 = 125% */
    /* Navigateurs modernes */
    aspect-ratio: 4/5;
    cursor: pointer;
    transition: all 0.5s var(--transition-smooth);
}

@supports (aspect-ratio: 4/5) {
    .profile-card-premium {
        height: auto;
        padding-bottom: 0;
    }
}

.profile-card-premium:hover {
    transform: translateY(-8px);
}

.profile-card-premium img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

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

.profile-card-premium .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        transparent 40%,
        rgba(15, 23, 42, 0.7) 70%,
        rgba(15, 23, 42, 0.9) 100%
    );
    transition: background 0.3s ease;
}

.profile-card-premium:hover .overlay {
    background: linear-gradient(
        180deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        transparent 30%,
        rgba(15, 23, 42, 0.8) 70%,
        rgba(15, 23, 42, 0.95) 100%
    );
}

.profile-card-premium .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-6);
    color: white;
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-smooth);
}

.profile-card-premium:hover .content {
    transform: translateY(0);
}

.profile-card-premium .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--transition-smooth) 0.1s;
}

.profile-card-premium:hover .tag {
    opacity: 1;
    transform: translateY(0);
}

.profile-card-premium h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.profile-card-premium p {
    font-size: var(--text-sm);
    opacity: 0.85;
    line-height: 1.6;
}

.profile-card-premium .card-cta {
    display: inline-flex;
    align-items: center;
    margin-top: var(--space-3);
    padding: 0;
    background: transparent;
    font-size: var(--text-sm);
    font-weight: 500;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--transition-smooth) 0.15s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.profile-card-premium:hover .card-cta {
    opacity: 0.9;
    transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────────
   8. SECTION MENTORAT PREMIUM
   ───────────────────────────────────────────────────────────────── */
.mentoring-section {
    background: linear-gradient(180deg, var(--bg-subtle) 0%, white 100%);
}

.mentoring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.mentoring-image-wrapper {
    position: relative;
}

.mentoring-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-soft);
}

.mentoring-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: white;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
}

.mentoring-badge .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.mentoring-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.mentoring-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-6);
    font-size: var(--text-lg);
}

.mentoring-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.mentoring-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--gray-700);
}

.mentoring-feature .icon {
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   9. RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 968px) {
    .hero-premium-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-10);
    }
    
    .hero-premium-text {
        max-width: 100%;
        order: 1;
    }
    
    .hero-premium-visual {
        order: 2;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .hero-premium-image {
        min-height: 300px;
    }
    
    .hero-premium-cta {
        justify-content: center;
    }
    
    .hero-premium-trust {
        justify-content: center;
    }
    
    .hero-floating-stats {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        margin-top: var(--space-6);
        justify-content: center;
    }
    
    .mentoring-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .mentoring-content {
        text-align: center;
    }
    
    .mentoring-features {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero-floating-stats {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-floating-stats .stat {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }
}

/* ═══════════════════════════════════════════════════════════════
   AMÉLIORATIONS GLOBALES - TOUTES LES PAGES
   ═══════════════════════════════════════════════════════════════ */

/* Amélioration des boutons existants */
.btn {
    transition: all 0.3s var(--transition-smooth);
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.04);
}

/* Amélioration des cartes existantes */
.card {
    transition: all 0.4s var(--transition-smooth);
}

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

/* Hero sections sur toutes les pages */
.hero, [class*="hero"] {
    position: relative;
}

/* Section headers améliorés */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--transition-smooth);
}

.section-header.visible,
.section-header.reveal-premium.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards avec animation */
.feature-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s var(--transition-smooth);
}

.feature-card.visible,
.feature-card.reveal-scale.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger effect pour les grilles */
.features-grid .feature-card:nth-child(1) { transition-delay: 0ms; }
.features-grid .feature-card:nth-child(2) { transition-delay: 100ms; }
.features-grid .feature-card:nth-child(3) { transition-delay: 200ms; }
.features-grid .feature-card:nth-child(4) { transition-delay: 300ms; }
.features-grid .feature-card:nth-child(5) { transition-delay: 400ms; }
.features-grid .feature-card:nth-child(6) { transition-delay: 500ms; }

/* Pricing cards améliorées */
.pricing-card {
    transition: all 0.4s var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
}

/* FAQ items */
.faq-item {
    transition: all 0.3s var(--transition-smooth);
}

.faq-item:hover {
    background: rgba(99, 102, 241, 0.02);
}

/* Témoignages */
.testimonial-card {
    transition: all 0.4s var(--transition-smooth);
}

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

/* Steps/étapes */
.step-card, .step {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s var(--transition-smooth);
}

.step-card.visible, .step.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Images avec effet parallax léger au hover */
.hero img, .section img {
    transition: transform 0.6s var(--transition-smooth);
}

/* CTA sections */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float-slow 20s ease-in-out infinite;
}

/* Smooth scrolling global */
html {
    scroll-behavior: smooth;
}

/* Focus states améliorés */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   FIX: PADDING-TOP POUR HEADER FIXE SUR TOUS LES HERO
   ═══════════════════════════════════════════════════════════════ */

/* Hero sections - padding pour le header fixe */
.hero,
.mentors-hero,
.faq-hero,
.parcours-hero,
.mental-hero,
.ia-hero,
.podcast-hero,
.cert-hero,
.team-hero,
.compare-hero,
.sim-hero,
.page-hero,
[class*="-hero"] {
    padding-top: calc(80px + var(--space-12)) !important;
}

/* IMPORTANT: Préserver le style du mentors-hero */
.mentors-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%) !important;
    color: white !important;
    text-align: center;
    padding-bottom: var(--space-16) !important;
}

.mentors-hero h1 {
    color: white !important;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.mentors-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Stats en grid horizontal */
.mentors-stats {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--space-4);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .mentors-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Amélioration des hero existants */
.mentors-hero,
.faq-hero,
.parcours-hero,
.mental-hero,
.ia-hero,
.podcast-hero,
.cert-hero,
.team-hero,
.compare-hero,
.sim-hero {
    position: relative;
    overflow: hidden;
}

/* Animation d'entrée pour les contenus hero */
.mentors-hero .container,
.faq-hero .container,
.parcours-hero .container,
.mental-hero .container,
.ia-hero .container,
.podcast-hero .container,
.cert-hero .container,
.team-hero .container,
.compare-hero .container,
.sim-hero .container,
[class*="-hero"] .container {
    position: relative;
    z-index: 1;
}

/* Titres hero sans emoji - style premium */
.mentors-hero h1,
.faq-hero h1,
.parcours-hero h1,
.mental-hero h1,
.ia-hero h1,
.podcast-hero h1,
.cert-hero h1,
.team-hero h1,
.compare-hero h1,
.sim-hero h1,
[class*="-hero"] h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   STYLES PREMIUM GLOBAUX - HARMONISATION TOUTES PAGES
   ═══════════════════════════════════════════════════════════════ */

/* Hero Premium universel */
.hero-premium-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: calc(80px + 4rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-premium-dark::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: hero-pulse 15s ease-in-out infinite;
}

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

.hero-premium-violet {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: white;
    padding: calc(80px + 4rem) 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-premium-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-premium-content h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-premium-content h1 span {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-premium-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Trust Badges Premium */
.trust-badges-premium {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.trust-badge-premium svg {
    width: 18px;
    height: 18px;
    color: #10b981;
}

/* Section Headers Premium */
.section-header-premium {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title-premium {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description-premium {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

/* Cards Premium */
.card-premium {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-premium-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.card-premium-icon svg {
    width: 28px;
    height: 28px;
    color: #6366f1;
}

.card-premium h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.card-premium p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section Premium */
.cta-premium {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-premium-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-premium h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-premium p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #6366f1;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Guarantee Banner */
.guarantee-banner-premium {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.guarantee-banner-premium svg {
    width: 48px;
    height: 48px;
    color: #10b981;
}

.guarantee-banner-premium h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.guarantee-banner-premium p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Section avec fond */
.section-premium {
    padding: 5rem 0;
}

.section-premium.bg-gray {
    background: #f8fafc;
}

.section-premium.bg-dark {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
}

/* Grilles responsives */
.grid-2-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-4-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 640px) {
    .grid-4-premium,
    .grid-3-premium,
    .grid-2-premium {
        grid-template-columns: 1fr;
    }
    
    .trust-badges-premium {
        gap: 0.75rem;
    }
    
    .trust-badge-premium {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .guarantee-banner-premium {
        flex-direction: column;
        text-align: center;
    }
}

/* Badge styles */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
}

.badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.badge-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.badge-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.badge-purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #5b21b6;
}

/* Liste avec checkmarks */
.list-check-premium {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check-premium li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

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

.list-check-premium li svg {
    width: 18px;
    height: 18px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Stats inline */
.stats-inline-premium {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.stat-item-premium {
    text-align: center;
}

.stat-item-premium .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
}

.stat-item-premium .label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* Alert premium */
.alert-premium {
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-premium.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
}

.alert-premium.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
}

.alert-premium.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #10b981;
}

.alert-premium-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-warning .alert-premium-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.alert-info .alert-premium-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.alert-success .alert-premium-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.alert-premium-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.alert-premium h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-warning h3 { color: #92400e; }
.alert-info h3 { color: #1e40af; }
.alert-success h3 { color: #065f46; }

.alert-premium p {
    font-size: 1rem;
    line-height: 1.6;
}

.alert-warning p { color: #78350f; }
.alert-info p { color: #1e3a8a; }
.alert-success p { color: #064e3b; }

/* Table premium */
.table-premium {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table-premium thead {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
}

.table-premium th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.table-premium td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
}

.table-premium tr:last-child td {
    border-bottom: none;
}

.table-premium tbody tr:hover {
    background: #fafafa;
}

/* Partners section dark */
.partners-section-dark {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 5rem 0;
}

.partner-card-premium {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.partner-card-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.partner-card-premium h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.partner-card-premium p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}


/* ═══════════════════════════════════════════════════════════════════════ */
/* MOBILE OPTIMIZATION - GARDER 2 COLONNES MINIMUM                         */
/* ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    /* === GRILLES GÉNÉRIQUES - Forcer 2 colonnes === */
    .grid-2-mobile {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    /* === PROFILE CARDS (Pour qui) === */
    .profile-card-premium {
        min-height: auto;
        height: 0;
        padding-bottom: 130%; /* Ratio fixe pour toutes les cartes */
        aspect-ratio: auto; /* Désactiver aspect-ratio au profit de padding-bottom */
    }
    @supports (aspect-ratio: 3/4) {
        .profile-card-premium {
            height: auto;
            padding-bottom: 0;
            aspect-ratio: 3/4; /* Ratio uniforme */
        }
    }
    .profile-card-premium .content {
        padding: 0.75rem;
        transform: none; /* Pas d'animation sur mobile */
    }
    .profile-card-premium .content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }
    .profile-card-premium .content p {
        font-size: 0.65rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }
    .profile-card-premium .tag {
        font-size: 0.55rem;
        padding: 2px 5px;
        margin-bottom: 0.35rem;
        opacity: 1; /* Toujours visible sur mobile */
        transform: none;
    }
    .profile-card-premium .card-cta {
        display: none; /* Pas de CTA sur mobile - le tap sur la carte suffit */
    }
    .profile-card-premium:hover .content,
    .profile-card-premium:hover .tag {
        transform: none; /* Désactiver animations hover sur mobile */
    }
    
    /* === CARDS MÉTIERS === */
    .card {
        padding: 0.75rem !important;
    }
    .card h3, .card .font-weight-700 {
        font-size: 0.85rem !important;
    }
    .card p {
        font-size: 0.75rem !important;
    }
    
    /* === SECTION HEADERS - Plus compacts === */
    .section-header, .section-premium-header {
        margin-bottom: 1.5rem !important;
    }
    .section-title, .section-premium-title {
        font-size: 1.5rem !important;
    }
    .section-description, .section-premium-desc {
        font-size: 0.875rem !important;
    }
    
    /* === BOUTONS - Taille minimum touch === */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    .btn-lg, .btn-xl {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* === SECTIONS - Moins de padding === */
    .section, .section-premium {
        padding: 2.5rem 0 !important;
    }
    
    /* === CONTAINER - Marges réduites === */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* === GRILLES AUTO-FIT - Forcer 2 colonnes sur petit mobile === */
@media (max-width: 600px) {
    [style*="minmax(280px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    [style*="minmax(300px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

/* === TRÈS PETIT ÉCRAN - Ajustements supplémentaires === */
@media (max-width: 380px) {
    .profile-card-premium .content p {
        display: none;
    }
    .market-stat-label {
        font-size: 0.65rem;
    }
    .step-desc {
        display: none;
    }
}

/* ─────────────────────────────────────────────────────────────────
   ANIMATIONS SUPPLÉMENTAIRES - REVEAL BASIQUE
   ───────────────────────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.js-animations-loaded .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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