/* ═══════════════════════════════════════════════════════════════
   MCC CHURCH - CHARTE GRAPHIQUE PREMIUM 2024
   "L'église des jeunes au service de Dieu"
   ═══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎨 VARIABLES - IDENTITÉ VISUELLE MCC
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* Couleurs Principales MCC */
    --mcc-night-blue: #0F172A;           /* Bleu nuit moderne (fond principal) */
    --mcc-dark-blue: #1E293B;            /* Bleu nuit secondaire */
    --mcc-royal-blue: #3B82F6;           /* Bleu royal (éléments, titres) */
    --mcc-royal-blue-hover: #2563EB;     /* Bleu royal hover */
    
    --mcc-gold: #F59E0B;                 /* Or/Jaune (accents, CTA) */
    --mcc-gold-light: #FCD34D;           /* Or clair (surbrillance) */
    --mcc-gold-dark: #D97706;            /* Or foncé (hover) */
    
    --mcc-coral: #EF4444;                /* Rouge/Corail (accents dynamiques) */
    --mcc-coral-light: #F87171;          /* Corail clair */
    
    /* Couleurs Neutres */
    --mcc-white: #FFFFFF;
    --mcc-text-light: #E5E7EB;           /* Gris clair pour texte sur fond sombre */
    --mcc-text-medium: #9CA3AF;          /* Gris moyen */
    --mcc-text-dark: #1F2937;            /* Gris foncé pour texte sur fond clair */
    
    --mcc-card-bg: #1E293BB3;            /* Fond cards (bleu avec opacité) */
    --mcc-card-bg-light: #334155;        /* Fond cards hover */
    
    /* Typography Premium */
    --font-display: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Nunito', 'Inter', sans-serif;
    
    /* Spacing Premium */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Border Radius Premium */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows Premium */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.3);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎭 RESET & BASE STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--mcc-night-blue);
    color: var(--mcc-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🌌 ANIMATED BACKGROUND (Ambiance spirituelle moderne)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, 
        var(--mcc-night-blue) 0%, 
        #020617 50%, 
        var(--mcc-dark-blue) 100%
    );
    overflow: hidden;
}

.mcc-animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(239, 68, 68, 0.08) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, -5%); }
}

/* Particules lumineuses subtiles */
.mcc-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.mcc-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--mcc-gold-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s linear infinite;
}

.mcc-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.mcc-particle:nth-child(2) { left: 25%; animation-delay: 3s; }
.mcc-particle:nth-child(3) { left: 40%; animation-delay: 6s; }
.mcc-particle:nth-child(4) { left: 60%; animation-delay: 9s; }
.mcc-particle:nth-child(5) { left: 75%; animation-delay: 12s; }
.mcc-particle:nth-child(6) { left: 90%; animation-delay: 15s; }

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% { 
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📐 LAYOUT SYSTEM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.mcc-section {
    padding: var(--space-xl) 0;
    position: relative;
}

.mcc-section--large {
    padding: var(--space-2xl) 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎬 VIDEO HERO (Bloc média vidéo en haut de chaque page)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-video-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mcc-video-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mcc-video-hero__bg video,
.mcc-video-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style spécifique pour l'image hero - OPTIMISÉ PREMIUM */
.mcc-video-hero__image {
    object-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.mcc-video-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* STATIC IMAGE MODE: Very light vignette only - preserves image clarity */
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(15, 23, 42, 0.08) 100%
    );
    z-index: 2;
}

/* VIDEO MODE (future): Add class .mcc-video-hero--video when using actual video */
.mcc-video-hero--video .mcc-video-hero__overlay {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.85) 0%, 
        rgba(30, 41, 59, 0.75) 50%,
        rgba(59, 130, 246, 0.4) 100%
    );
}

.mcc-video-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--space-lg);
    max-width: 900px;
}

.mcc-video-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--mcc-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
    /* Soft text shadow for readability - NOT dark overlay on image */
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(15, 23, 42, 0.5);
}

/* VIDEO MODE: Stronger shadow for moving video */
.mcc-video-hero--video .mcc-video-hero__title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.mcc-video-hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--mcc-text-light);
    margin-bottom: var(--space-lg);
    font-weight: 500;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

/* VIDEO MODE: Stronger shadow for subtitle */
.mcc-video-hero--video .mcc-video-hero__subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.mcc-video-hero__ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🃏 PREMIUM CARDS (Cards harmonisées)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-card {
    background: var(--mcc-card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.mcc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
    background: var(--mcc-card-bg-light);
}

.mcc-card--gold-border {
    border-top: 4px solid var(--mcc-gold);
}

.mcc-card--blue-border {
    border-top: 4px solid var(--mcc-royal-blue);
}

.mcc-card--coral-border {
    border-top: 4px solid var(--mcc-coral);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🔘 BOUTONS CTA PREMIUM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bouton Or (Actions principales) */
.mcc-btn--gold {
    background: linear-gradient(135deg, var(--mcc-gold) 0%, var(--mcc-gold-dark) 100%);
    color: var(--mcc-white);
    box-shadow: var(--shadow-md), var(--shadow-glow-gold);
}

.mcc-btn--gold:hover {
    background: linear-gradient(135deg, var(--mcc-gold-light) 0%, var(--mcc-gold) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.5);
}

/* Bouton Bleu (Actions secondaires) */
.mcc-btn--blue {
    background: transparent;
    color: var(--mcc-white);
    border: 2px solid var(--mcc-royal-blue);
}

.mcc-btn--blue:hover {
    background: var(--mcc-royal-blue);
    border-color: var(--mcc-royal-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

/* Bouton Corail (Actions urgentes) */
.mcc-btn--coral {
    background: linear-gradient(135deg, var(--mcc-coral) 0%, #DC2626 100%);
    color: var(--mcc-white);
    box-shadow: var(--shadow-md);
}

.mcc-btn--coral:hover {
    background: linear-gradient(135deg, var(--mcc-coral-light) 0%, var(--mcc-coral) 100%);
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
}

/* Bouton avec Icône Play */
.mcc-btn--play {
    position: relative;
    padding-left: 3.5rem;
}

.mcc-btn--play::before {
    content: '▶';
    position: absolute;
    left: 1.5rem;
    font-size: 1.2rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📊 STATS PREMIUM (Section chiffres)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.mcc-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--mcc-card-bg);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--mcc-gold);
    transition: all var(--transition-base);
}

.mcc-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-gold);
}

.mcc-stat__number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--mcc-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.mcc-stat__label {
    font-size: 1.1rem;
    color: var(--mcc-text-light);
    font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📝 TYPOGRAPHY PREMIUM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.mcc-section-title__heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--mcc-white);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.mcc-section-title__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mcc-gold) 0%, var(--mcc-royal-blue) 100%);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.mcc-section-title__subtitle {
    font-size: 1.2rem;
    color: var(--mcc-text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎯 GRID SYSTEM
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-grid {
    display: grid;
    gap: var(--space-lg);
}

.mcc-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mcc-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.mcc-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎨 ANIMATIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mcc-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.mcc-fade-in:nth-child(1) { animation-delay: 0.1s; }
.mcc-fade-in:nth-child(2) { animation-delay: 0.2s; }
.mcc-fade-in:nth-child(3) { animation-delay: 0.3s; }
.mcc-fade-in:nth-child(4) { animation-delay: 0.4s; }
.mcc-fade-in:nth-child(5) { animation-delay: 0.5s; }
.mcc-fade-in:nth-child(6) { animation-delay: 0.6s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📱 RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .mcc-video-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .mcc-video-hero__title {
        font-size: 2rem;
    }
    
    .mcc-video-hero__subtitle {
        font-size: 1rem;
    }
    
    .mcc-video-hero__ctas {
        flex-direction: column;
    }
    
    .mcc-btn {
        width: 100%;
    }
    
    .mcc-grid--2,
    .mcc-grid--3,
    .mcc-grid--4 {
        grid-template-columns: 1fr;
    }
    
    .mcc-section {
        padding: var(--space-lg) 0;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎯 UTILITY CLASSES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.text-center { text-align: center; }
.text-gold { color: var(--mcc-gold); }
.text-blue { color: var(--mcc-royal-blue); }
.text-coral { color: var(--mcc-coral); }

.bg-dark { background: var(--mcc-night-blue); }
.bg-card { background: var(--mcc-card-bg); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }