/* ==========================================
   VARIABLES CSS - COULEURS FLASHY
   ========================================== */
:root {
    /* Couleurs flashy principales */
    --color-pink: #FF0080;
    --color-lime: #CCFF00;
    --color-yellow: #FFD700;
    --color-orange: #FF6B35;
    --color-cyan: #00FFFF;
    --color-purple: #9D00FF;
    --color-magenta: #FF1493;
    
    /* Couleurs neutres */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray: #F5F5F5;
    
    /* Typographie */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Libre Franklin', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-black);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   BOUTON SÉLECTEUR DE LANGUE (FIXED)
   ========================================== */
.language-selector {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.lang-button {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lang-button:hover {
    background: var(--color-pink);
    transform: scale(1.05);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-white);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.lang-option:hover {
    background: var(--color-pink);
    color: var(--color-white);
}

.lang-option.active {
    background: var(--color-black);
    color: var(--color-white);
}

/* ==========================================
   SECTION 1: HERO avec VIDEO (85vh)
   ========================================== */
.hero-section {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-orange);
    background-image: url("../medias/C 3D_Violet_Fond Orange.png");
    background-repeat: repeat;
    background-size: 345px 304px; /* Ajustez selon la taille de votre logo */
    background-position: 0 0;
    opacity: 0.3; /* Transparence pour ne pas écraser le texte */
    animation: patternMove 30s linear infinite;
}
/* Animation de défilement du pattern */
@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 345px 304px; /* Même valeur que background-size */
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 5vw;
}

.hero-title-1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}
.hero-title-2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 4px 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 2s ease;
}

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

/* ==========================================
   SECTION 2: PRÉSENTATION (75vh)
   ========================================== */
.presentation-section {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: 4rem 2rem;
}

.presentation-text {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    color: var(--color-black);
    max-width: 1200px;
    margin: 0 auto 50px;
    text-align: center;
}
.presentation-text b {
    font-weight: 900;
    color: var(--color-pink);
    position: relative;
}

/* ==========================================
   SECTION 3: RÉSEAUX SOCIAUX (35vh)
   ========================================== */
.social-section {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-lime);
    padding: 3rem 2rem;
}

.social-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    color: var(--color-black);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-card {
    aspect-ratio: 1;
    background: var(--color-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    background: var(--color-black);
}

.social-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0);
}

.social-card:hover img {
    filter: brightness(0) invert(1);
}

/* ==========================================
   SECTION 4: GALERIE
   ========================================== */
.gallery-section {
    padding: 5rem 2rem;
    background: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    color: var(--color-black);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-magenta);
    aspect-ratio: 3/4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 20, 147, 0.4);
}
.gallery-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-bg {
    opacity: 0.2;
}

/* .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    opacity: 0.3;
} */

.gallery-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(255, 20, 147, 0.55) 0%, rgba(255, 20, 147, 0.98) 100%);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.4s ease;
    overflow-y: auto;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}
.partner-logo {
    width: 120px !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0.5rem 0;
    filter: brightness(0) invert(1);
}
.gallery-content p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    max-width: 90%;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.social-link:hover {
    background: var(--color-black);
    transform: scale(1.1);
}

.social-link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: brightness(0) !important;
}

.social-link:hover img {
    filter: brightness(0) invert(1) !important;
}

.gallery-link {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-white);
    color: var(--color-magenta);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: scale(1.05);
}

/* ==========================================
   SECTION 5: PARTENAIRES (40vh)
   ========================================== */
.partners-section {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    padding: 4rem 2rem;
    overflow-x: hidden;
    width: 100%;
}

.partners-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    color: var(--color-white);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.partner-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 150px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.partner-card img {
    max-width: 100%;
    height: auto;
}
.partner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    background: white;
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-content {
    transform: translateY(0);
    opacity: 1;
}

.partner-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

/* ==========================================
   SECTION 6: À PROPOS
   ========================================== */
.about-section {
    padding: 5rem 2rem;
    background: var(--color-cyan);
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    color: var(--color-black);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.8;
    text-align: left;
    color: var(--color-black);
    max-width: 1100px;
    margin: 0 auto;
    font-weight: 400;
    white-space: pre-line;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.8;
    text-align: left;
    color: var(--color-black);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content ul {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.8;
    text-align: left;
    color: var(--color-black);
    font-weight: 400;
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.about-content ul li {
    margin-bottom: 0.75rem;
}
.about-content ul li a {
    color: white;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}
.about-content ul li a:hover {
    color: var(--color-pink);
}

.about-content ul li:last-child {
    margin-bottom: 0;
}
.about-text b {
    font-weight: 900;
    color: var(--color-pink);
    position: relative;
}

/* ==========================================
   SECTION 7: FOOTER avec LIENS
   ========================================== */
.footer-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    padding: 4rem 2rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-align: center;
    line-height: 0.95em;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: var(--color-pink);
    transition: width 0.4s ease;
}

.footer-link:hover {
    color: var(--color-pink);
}

.footer-link:hover::after {
    width: 100%;
}

/* ==========================================
   MODALS - Pop-ups pour Mentions Légales et Confidentialité
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.modal-close:hover {
    background: var(--color-pink);
    color: var(--color-white);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 2rem;
    text-transform: uppercase;
    padding-right: 4rem;
}

.modal-body {
    color: var(--color-black);
    line-height: 1.8;
}

.modal-body p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    color: var(--color-black);
    line-height: 1.25em;
}

.modal-body b,
.modal-body strong {
    font-weight: 900;
    color: var(--color-pink);
    display: block;
    margin-top: 2rem;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}

.modal-body ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 1rem 0 1.5rem 0;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal.active {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        max-height: 90vh;
        border-radius: 16px;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
    
    .modal-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
        padding-right: 3rem;
    }
    
    .modal-body p {
        font-size: 1rem;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .language-selector {
        top: 1rem;
        right: 1rem;
    }
    
    .lang-button {
        width: 50px;
        height: 50px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .presentation-text {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-section,
    .partners-section {
        padding: 3rem 2rem;
    }
    .gallery-title,
    .partners-title {
        font-family: var(--font-heading);
        font-size: clamp(1.8rem, 5vw, 4.5rem);
    }
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .footer-link {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-content {
        padding: 1rem;
    }
}
