/* ==========================================
   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;
}

.clic-icon {
    height: 1em;
    width: auto;
    margin: 0 2px;
    display: inline-block;
}
.hero-content .clic-icon {
    height: 1.2em;
}

/* ==========================================
   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: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-orange);
/*    background-image: url("../medias/logo-click.png");
    background-repeat: repeat;
    background-size: 1917px 940px;
    background-position: 0 0;
    opacity: 0.3;
    animation: patternMove 30s linear infinite; */
}
/* Animation de défilement du pattern */
/* @keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 345px 304px;
    }
} */

.hero-video-bg {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  width: 100%;
  z-index: 2;
  pointer-events: auto;
  cursor: default;
}

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

.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(1.4rem, 3vw, 2rem);
    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: 8rem 2rem 4rem;
    flex-direction: column;
    position: relative;
}
.presentation-section img {
    max-width: 350px;
}
.presentation-text,
.about-content p {
    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;
}

img[data-lang-image] {
    transition: opacity 0.3s ease;
}
   

/* ==========================================
   DOCK RÉSEAUX SOCIAUX
   ========================================== */
.social-dock {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    z-index: 100;
    background: var(--color-white);
    padding: 0.6rem 0.9rem;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    justify-content: space-evenly;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -1px 6px black;
}
.social-dock .social_title {
    display: flex;
    align-items: center;
    font-size: clamp(1.5rem, 3vw, 1rem);
    width: 100%;
    margin: 0 0 0.25rem 0;
    font-size: 0.8rem;
}
@media (min-width: 601px) {

}

.social-dock-btn {
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.social-dock-btn:hover {
  background: var(--color-orange);
  transform: translateY(-2px);
}

.social-dock-btn img {
  width: 32px;
  height: 32px;
/*   filter: invert(0);
  opacity: 1; */
}

.social-dock-btn.active img {
  opacity: 1;
}

/* ===== SOCIAL PANEL (slide up) ===== */
.social-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.social-panel-overlay.open {
  pointer-events: all;
}

.social-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}

.social-panel-overlay.open .social-panel-backdrop {
  background: rgba(0,0,0,0.45);
}

.social-panel {
  position: absolute;
  top: 5rem;
  right: 2rem;
  left: auto;
  width: 90vw;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  pointer-events: none;
}

.social-panel-overlay.open .social-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 601px) {
    .social-panel {
    width: 512.78px;
    left: 50%;
    top: auto;           /* annule le top: 5rem */
    bottom: 0;
    transform: translateX(-50%) translateY(100%);  /* caché en bas */
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease;
    border-radius: 12px 12px 0 0;   /* coins arrondis seulement en haut */
  }

  .social-panel-overlay.open .social-panel {
    transform: translateX(-50%) translateY(0);     /* slide vers le haut */
    opacity: 1;
  }

  .social-panel-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .social_title {
    width: auto;
  }
} 
@media (max-width: 600px) {
  .presentation-section {
     padding: 4rem 1rem; 
  }
  .social-dock {
    gap: 0.4vw;
    width: 94vw;
    height: fit-content;
  }
  .social-panel {
     bottom: 19vh;
     right: 3vw;
     width: 94vw;
     max-height: 62vh;
  }
  .social-dock .social_title {
     font-size: 1.8rem;
     justify-content: center;
  }
  .social-dock-btn {
    width: 80px;
    height 80px;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
}

.social-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-panel-header img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.social-panel-header h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.social-panel-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.social-panel-close:hover {
  color: #fff;
}

.social-panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-panel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s;
  border: 1px solid transparent;
}

.social-panel-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.social-panel-item-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.social-panel-item-logo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.03em;
}

.social-panel-item-info {
  flex: 1;
  min-width: 0;
}

.social-panel-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-panel-item-handle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.1rem;
}

.social-panel-item-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 0.9rem;
}



/* ==========================================
   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;
    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: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    padding: 5rem 2rem;
    overflow-x: hidden;
    width: 100%;
}
.partners-section .container {
    width: 80%;
}

.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: 4rem;
    text-transform: uppercase;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    width: 100%;
    max-width: 1400px;
}

/* CARTE PARTENAIRE - État par défaut */
.partner-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 320px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.9), rgba(139, 0, 139, 0.9));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 128, 0.3);
}

/* IMAGE DE FOND - Logo du partenaire */
.partners-section .gallery-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 200px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 0;
}

.partner-card:hover .gallery-bg {
    opacity: 0;
    transform: scale(0.8);
}

/* ==========================================
   GROUPES DE RÉSEAUX SOCIAUX
   ========================================== */
.social-group {
    display: flex;
    gap: 8px;
    position: relative;
}

/* Badge pour identifier le compte */
.social-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--color-pink);
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
}

/* Ajustement des icônes dans un groupe */
.social-group .partner-social-icon {
    position: relative;
}

/* LOGO PARTENAIRE dans le contenu */
.partner-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

/* CONTENU AU SURVOL */
.partner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

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

/* TITRE DU PARTENAIRE */
.partner-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    text-align: center;
    color: var(--color-white);
    letter-spacing: 1px;
}

/* DESCRIPTION DU PARTENAIRE */
.partner-content p {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.5;
    text-align: center;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 90%;
}

/* ==========================================
   LIENS RÉSEAUX SOCIAUX DES PARTENAIRES
   ========================================== */
.partner-social-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
}

.partner-social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partner-social-icon:hover {
    background-color: var(--color-white);
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.partner-social-icon img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.partner-social-icon:hover img {
    filter: brightness(0) saturate(100%) invert(22%) sepia(95%) saturate(6500%) hue-rotate(320deg) brightness(100%) contrast(110%);
}

/* Animation d'apparition séquentielle des icônes */
.partner-card:hover .partner-social-icon {
    animation: bounceIn 0.5s ease forwards;
}

.partner-card:hover .partner-social-icon:nth-child(1) { animation-delay: 0.1s; }
.partner-card:hover .partner-social-icon:nth-child(2) { animation-delay: 0.15s; }
.partner-card:hover .partner-social-icon:nth-child(3) { animation-delay: 0.2s; }
.partner-card:hover .partner-social-icon:nth-child(4) { animation-delay: 0.25s; }
.partner-card:hover .partner-social-icon:nth-child(5) { animation-delay: 0.3s; }
.partner-card:hover .partner-social-icon:nth-child(6) { animation-delay: 0.35s; }
.partner-card:hover .partner-social-icon:nth-child(7) { animation-delay: 0.4s; }

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   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: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    padding: 4rem 2rem;
}
.footer-section .container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
}
.footer-section .ue-logo {
    width: 15vw;
    max-width: 250px;
    height: auto;
}
.footer-section .ue-logo img {
    width: 100%;
    height: auto;
}

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

.footer-link {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.5vw, 2.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;
    }
    
    .footer-section .container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section .ue-logo {
        width: 60vw;
        max-width: 200px;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .language-selector {
        top: 1rem;
        right: 1rem;
    }
    
    .lang-button {
        width: 50px;
        height: 50px;
    }

  .hero-video-bg {
    /* Sur mobile on couvre tout l'écran */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: none;
    object-fit: cover;          /* Recadre pour remplir sans déformer */
  }

  /* Cache le fond flouté sur mobile (inutile) */
  .hero-video-blur-bg {
    display: none;
  }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .presentation-text,
	.about-content p,
	.about-content ul {
        font-size: clamp(1.2rem, 3vw, 2.5rem);
        text-align: left;
        line-height: 1.5em;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-section,
    .partners-section {
        padding: 3rem 0.5rem;
    }
    .gallery-title,
    .partners-title {
        font-family: var(--font-heading);
        font-size: clamp(1.8rem, 5vw, 4.5rem);
    }
    .partners-section .container {
        width: 100%;
    }
     .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-card {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    
    .partner-content {
        padding: 1.5rem;
    }
    
    .partner-social-links {
        flex-direction: row;
        align-items: center;
    }
        
    .social-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-badge {
        font-size: 9px;
        padding: 1px 3px;
    }
    
    .partner-social-icon {
        width: 40px;
        height: 40px;
        padding: 6px;
    }
    
    .partner-social-icon img {
        width: 24px;
        height: 24px;
    }
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    /*.about-content p, .about-content ul {
        font-size: clamp(0.8rem, 1vw, 1rem);
        line-height: 1.2;
    }*/
    
    .footer-nav {
       gap: 0.5rem;
    } 
    .footer-link {
        font-size: clamp(1rem, 3vw, 1rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-content {
        padding: 1rem;
    }
}
/* RESPONSIVE */
@media (max-width: 1200px) {
    .social-header,
    .partner-row {
        grid-template-columns: 160px repeat(8, 1fr);
        gap: 8px;
    }
    
    .partner-name span {
        font-size: 0.85rem;
    }
    
    .social-icon-header img,
    .social-cell a img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 992px) {
    .social-grid-table {
        overflow-x: auto;
    }
    
    .social-header,
    .partner-row {
        min-width: 850px;
    }
}

@media (max-width: 768px) {
    .social-section .social-title {
        font-size: 1.6rem;
    }
    
    .social-grid-table {
        padding: 15px;
    }
}
