/* ========================================
   MAIN CONTENT STYLES
   ======================================== */

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.title-accent {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.title-main {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 40%, #059669 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: float-particle 15s linear infinite;
    opacity: 0.6;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 1;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--space-6);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: fadeInUp 1s ease var(--transition-slow) forwards;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Animations modernes pour le titre */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes textReveal {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
        transform: translateX(-50px);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        transform: translateX(0);
    }
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes letterFloat {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) scale(1);
    }

    25% {
        transform: translateY(-10px) rotateX(15deg) scale(1.05);
    }

    75% {
        transform: translateY(5px) rotateX(-5deg) scale(0.98);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(255, 255, 255, 0.2);
    }

    50% {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.6),
            0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Styles pour les lettres individuelles */
.hero-title .letter {
    transition-property: transform, opacity, text-shadow;
    will-change: transform;
}

.hero-title .letter:hover {
    animation: letterFloat 1s ease-in-out infinite;
}

/* Animation de révélation par masque */
.title-reveal {
    display: inline-block;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: textReveal 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Animation de brillance continue */
.hero-title.shimmer-effect {
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.9) 25%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.9) 75%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

/* Animation de lueur pulsante */
.hero-title.glow-effect {
    animation: glowPulse 4s ease-in-out infinite;
}

/* Animation de morphing géométrique */
@keyframes morphIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg) skew(45deg);
        filter: blur(20px);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2) rotate(-90deg) skew(20deg);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg) skew(0deg);
        filter: blur(0px);
    }
}

/* Animation des particules du titre */
@keyframes titleParticleFloat {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(90deg);
    }

    100% {
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Effet de glassmorphisme pour le titre */
.hero-title.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Animation de pulsation élégante */
@keyframes elegantPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

/* Animation de floating moderne */
@keyframes modernFloat {

    0%,
    100% {
        transform: translateY(0) rotateZ(0deg);
    }

    33% {
        transform: translateY(-10px) rotateZ(1deg);
    }

    66% {
        transform: translateY(5px) rotateZ(-1deg);
    }
}

/* Classes d'effets combinables */
.hero-title.elegant-pulse {
    animation: elegantPulse 4s ease-in-out infinite;
}

.hero-title.modern-float {
    animation: modernFloat 6s ease-in-out infinite;
}

.hero-title.interactive-hover {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title.interactive-hover:hover {
    transform: translateY(-5px) scale(1.02);
    text-shadow:
        0 10px 20px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.5);
}

/* Responsive pour les animations du titre */
@media (max-width: 768px) {
    .hero-title .letter {
        font-size: 0.8em;
    }

    @keyframes titleParticleFloat {
        0% {
            transform: translate(-50%, -50%) scale(0) rotate(0deg);
            opacity: 0;
        }

        20% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.8) rotate(90deg);
        }

        100% {
            transform: translate(calc(-50% + var(--final-x)), calc(-50% + var(--final-y))) scale(0) rotate(360deg);
            opacity: 0;
        }
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--white);
    color: var(--primary);
    padding: var(--space-4) var(--space-8);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-10);
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.3);
}

.arrow {
    transition: transform var(--transition-base);
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

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

.shape {
    position: absolute;
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* About Section */
.about {
    background: var(--gray-100);
    position: relative;
    z-index: 10;
}

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

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.text-block h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.text-block p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-visual {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: transform var(--transition-base);
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.about-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.music-genres {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-8);
}

.genre-tag {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: default;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Couleurs uniques et distinctes pour chaque tag */
.genre-tag:nth-child(1) {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: var(--white);
}

.genre-tag:nth-child(2) {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: var(--white);
}

.genre-tag:nth-child(3) {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: var(--white);
}

.genre-tag:nth-child(4) {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: var(--white);
}

.genre-tag:nth-child(5) {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: var(--white);
}

/* Effets de survol modernes */
.genre-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.genre-tag:hover::before {
    left: 100%;
}

/* Version alternative avec style glassmorphisme */
.genre-tag.glass-style {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--dark);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Version responsive */
@media (max-width: 768px) {
    .music-genres {
        gap: var(--space-2);
    }

    .genre-tag {
        font-size: 0.85rem;
        padding: var(--space-2) var(--space-4);
    }
}

/* Animation d'apparition séquentielle */
.genre-tag {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpTag 0.6s ease forwards;
}

.genre-tag:nth-child(1) {
    animation-delay: 0.1s;
}

.genre-tag:nth-child(2) {
    animation-delay: 0.2s;
}

.genre-tag:nth-child(3) {
    animation-delay: 0.3s;
}

.genre-tag:nth-child(4) {
    animation-delay: 0.4s;
}

.genre-tag:nth-child(5) {
    animation-delay: 0.5s;
}

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

/* Events Section */
.events {
    background: var(--gray-50);
    position: relative;
    z-index: 5;
}

.events-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: scale(1.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    justify-content: center;
    align-items: stretch;
}

/* Centrer la dernière carte si impaire sur grand écran */
/* @media (min-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid:has(.event-card:nth-child(odd):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .event-card:nth-child(odd):last-child {
        grid-column: 1 / -1;
        max-width: 450px;
        justify-self: center;
    }
} */

.event-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    width: 400px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(0, 0, 0, 0.1);
}

.event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

.event-badge.completed {
    background: var(--gray-800);
    color: var(--white);
}

.event-badge.upcoming {
    background: var(--success);
    color: var(--white);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.event-card:hover .event-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--white);
    color: var(--primary);
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.event-content {
    padding: var(--space-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-2);
}

.event-date {
    background: var(--gradient-secondary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 0.95rem;
}

.event-location {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.event-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    color: var(--dark);
    font-weight: 700;
    transition: color var(--transition-base);
}

.event-card:hover .event-title {
    color: var(--primary);
}

.event-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    flex-grow: 1;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: var(--space-2) var(--space-4);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    align-self: flex-start;
    margin-top: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    cursor: pointer;
}

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

.read-more-btn::after {
    content: '→';
    transition: transform var(--transition-base);
}

.read-more-btn:hover::after {
    transform: translateX(3px);
}

@media (max-width: 599px) {
    .events-grid {
        gap: var(--space-6);
        padding: 0 var(--space-4);
    }

    .event-card {
        width: 100%;
        max-width: 400px;
    }

    .event-content {
        padding: var(--space-4);
    }

    .event-title {
        font-size: 1.3rem;
    }

    /* Corrections spécifiques pour mobile */
    @media screen and (max-width: 599px) {
        .upcoming-content .upcoming-message {
            margin: 0 var(--space-2) !important;
            padding: var(--space-6) var(--space-3) !important;
            width: calc(100% - var(--space-4));
            box-sizing: border-box;
        }

        .upcoming-message .newsletter--signup {
            padding: var(--space-4) !important;
            margin-bottom: var(--space-8) !important;
            width: 100%;
            box-sizing: border-box;
        }

        .newsletter--form {
            width: 100% !important;
            display: flex !important;
            justify-content: stretch !important;
        }

        .newsletter--input--group {
            width: 100% !important;
            max-width: none !important;
            display: flex !important;
            flex: 1 !important;
            margin: 0 !important;
        }

        .newsletter--input--group input {
            flex: 1 !important;
            min-width: 0 !important;
            width: auto !important;
            padding: var(--space-3) var(--space-4) !important;
            border: none !important;
            outline: none !important;
            font-size: 0.95rem !important;
            background: var(--white) !important;
        }

        .newsletter--input--group button {
            flex-shrink: 0 !important;
            padding: var(--space-3) var(--space-4) !important;
            min-width: 50px !important;
            background: var(--gradient-primary) !important;
            color: var(--white) !important;
            border: none !important;
        }

        .follow-us .social-links {
            flex-wrap: wrap !important;
            justify-content: center !important;
            gap: var(--space-3) !important;
        }
    }
}

/* Animation d'entrée pour les cartes */
.event-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpCard 0.6s ease forwards;
}

.event-card:nth-child(1) {
    animation-delay: 0.1s;
}

.event-card:nth-child(2) {
    animation-delay: 0.2s;
}

.event-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* Assure un alignement parfait pour les cartes sur une ligne */
@media (min-width: 1200px) {
    .events-grid:has(.event-card:nth-child(3):not(.event-card:nth-child(4))) {
        /* Si exactement 3 cartes, les centre parfaitement */
        justify-content: center;
    }

    .events-grid:has(.event-card:nth-child(2):not(.event-card:nth-child(3))) {
        /* Si exactement 2 cartes, les centre parfaitement */
        justify-content: center;
    }

    .events-grid:has(.event-card:nth-child(1):not(.event-card:nth-child(2))) {
        /* Si 1 seule carte, la centre parfaitement */
        justify-content: center;
    }
}

/* Gestion spéciale pour 4+ cartes */
@media (min-width: 1400px) {
    .events-grid:has(.event-card:nth-child(4)) {
        /* Si 4+ cartes, utilise toute la largeur disponible */
        justify-content: space-evenly;
    }
}

@media (hover: none) and (pointer: coarse) {
    .read-more-btn:hover {
        background: var(--primary);
        color: var(--white);
        transform: none;
        box-shadow: none;
    }
    
    .read-more-btn:active {
        background: var(--primary);
        color: var(--white);
        transform: scale(0.98);
    }
}

@media (hover: hover) and (pointer: fine) {
    .read-more-btn:hover {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
}

/* Upcoming Events Styles */
.upcoming-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.upcoming-message {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    text-align: center;
    width: 400px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 600px;
}

.upcoming-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.upcoming-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.upcoming-message h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.upcoming-message > p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-6);
    flex-grow: 1;
}

.newsletter--signup {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
    margin-top: auto;
}

.newsletter--signup h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: var(--space-3);
}

.follow-us h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: var(--space-4);
}

.follow-us .social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.follow-us .social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.newsletter--form {
    display: flex;
    justify-content: center;
}

.newsletter--input--group {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 400px;
}

.newsletter--input--group input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter--input--group button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: var(--space-4) var(--space-6);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter--input--group button:hover {
    transform: scale(1.05);
}

.follow-us h4 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: var(--space-6);
}

.follow-us .social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.follow-us .social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.follow-us .social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.social-link.event-facebook {
    background: #1877f2;
    color: var(--white);
}

.social-link.event-instagram {
    background: linear-gradient(45deg, #e1306c, #fd1d1d, #f77737, #fcaf45);
    color: var(--white);
}

.social-link.event-tiktok {
    background: #000000;
    color: var(--white);
}

.social-link.event-youtube {
    background: #ff0000;
    color: var(--white);
}

.social-link.event-linkedin {
    background: #0077b5;
    color: var(--white);
}

/* Contact Section */
.contact {
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-1);
    color: var(--dark);
}

.contact-details p {
    color: var(--gray-600);
}

.contact-details a {
    text-decoration: none;
}

.contact-form {
    background: var(--white);
    padding: var(--space-10);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Styles pour le champ téléphone avec indicateur */
.phone-input-group {
    display: flex;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--white);
}

.phone-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.country-code-select {
    background: var(--white);
    border: none;
    border-right: 1px solid var(--gray-300);
    padding: var(--space-3) var(--space-2);
    font-size: 0.95rem;
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    color: var(--dark);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 6px center;
    background-repeat: no-repeat;
    background-size: 12px;
    padding-right: 22px;
    text-align: center;
}

.country-code-select:focus {
    background-color: var(--gray-50);
}

.phone-input-group input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    margin: 0;
    padding: var(--space-4) var(--space-3) !important;
    background: var(--white);
}

.phone-input-group input:focus {
    box-shadow: none !important;
    outline: none;
}

/* Style pour les champs requis */
.required-field::after {
    content: " *";
    color: #ef4444;
    font-weight: bold;
}

/* Responsive pour le champ téléphone */
@media (max-width: 768px) {
    .country-code-select {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        font-size: 0.85rem;
        padding-right: 20px;
        background-size: 10px;
        background-position: right 4px center;
    }
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0 auto;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--white);
    margin: 5% auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
    position: relative;
}

.video-modal-content {
    max-width: 900px;
    width: 90%;
}

.legal-modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-8);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Animations pour les cartes d'événements */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading spinner for forms */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    max-width: 300px;
    font-weight: 600;
    animation: slideInRight 0.3s ease;
}

.notification-success {
    background: var(--success);
    color: white;
}

.notification-error {
    background: var(--danger);
    color: white;
}

.notification-info {
    background: var(--primary);
    color: white;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-4);
    }

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

    .section-title {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-message {
        padding: var(--space-12);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .events-tabs {
        flex-direction: column;
        align-items: center;
    }

    .upcoming-message {
        padding: var(--space-8);
        margin: var(--space-4);
    }

    .upcoming-message h3 {
        font-size: 1.5rem;
    }

    .newsletter--signup {
        padding: var(--space-6);
    }

    .follow-us .social-links {
        flex-wrap: wrap;
    }

    .newsletter--input--group {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .newsletter--input--group input {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border-bottom: 1px solid var(--gray-300);
    }

    .newsletter--input--group button {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .upcoming-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: var(--space-3) var(--space-6);
        font-size: 1rem;
    }

    .upcoming-message {
        padding: var(--space-6);
    }

    .upcoming-message h3 {
        font-size: 1.25rem;
    }

    .newsletter--signup h4 {
        font-size: 1.1rem;
    }

    .follow-us h4 {
        font-size: 1.1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-600: #333333;
        --gray-500: #555555;
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
        --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    }
}

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

    .particles {
        display: none;
    }

    .hero-shapes {
        display: none;
    }
}

/* Print styles */
@media print {
    .hero {
        height: auto;
        padding: var(--space-8) 0;
    }

    .hero-bg,
    .hero-overlay {
        display: none;
    }

    .hero-content {
        position: static;
        color: var(--dark);
    }

    .hero-title {
        color: var(--dark);
        font-size: 2rem;
    }

    .hero-subtitle {
        color: var(--gray-600);
    }

    .cta-button {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

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

    .particles,
    .hero-shapes,
    .modal {
        display: none !important;
    }
}