/* --- Bloc Suivez-nous en bas à droite --- */
.social-follow-fixed {
    position: fixed;
    right: 2vw;
    bottom: 8vw;
    z-index: 100;
    background: rgba(0,0,0,0.85);
    border-radius: 1vw;
    box-shadow: 0 2px 12px #0008;
    padding: 1vw 1.5vw 1vw 1.5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7vw;
}
.social-follow-fixed .follow-text {
    color: #fff;
    font-size: 1.1vw;
    font-weight: bold;
    margin-bottom: 0.5vw;
    letter-spacing: 0.04em;
}
.social-follow-fixed .social-circles {
    display: flex;
    gap: 1vw;
}
.social-follow-fixed .social-circle img {
    width: 2.5vw;
    height: 2.5vw;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px #0005;
    transition: transform 0.18s;
}
.social-follow-fixed .social-circle img:hover {
    transform: scale(1.13);
    box-shadow: 0 4px 16px #f1090844;
}
@media (max-width: 900px) {
    .social-follow-fixed {
        right: 3vw;
        bottom: 3vw;
        padding: 2vw 3vw;
    }
    .social-follow-fixed .social-circle img {
        width: 6vw;
        height: 6vw;
    }
    .social-follow-fixed .follow-text {
        font-size: 2.5vw;
    }
}
@media (max-width: 600px) {
    .social-follow-fixed {
        right: 2vw;
        bottom: 2vw;
        padding: 3vw 4vw;
    }
    .social-follow-fixed .social-circle img {
        width: 10vw;
        height: 10vw;
    }
    .social-follow-fixed .follow-text {
        font-size: 4vw;
    }
}
/* -------- GLOBAL -------- */
body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0e;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

/* -------- VIDÉO -------- */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: #000;
}

/* -------- NAVIGATION -------- */
nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.2vw;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1vw;
    padding: 1vw;
    z-index: 2;
    max-width: 100%;
    box-sizing: border-box;
}

nav a {
    font-size: 1vw;
    padding: 0.6vw 1vw;
    border-radius: 0.5vw;
    background-color: #f10908;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    white-space: nowrap;
}

nav a:hover {
    background-color: #c83c44;
}

/* -------- HEADER (si utilisé) -------- */
header {
    display: grid;
    place-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 8;
    text-align: center;
    
}

header h1 {
    font-size: 4vw;
    margin: 0;
    font-weight: bold;
}

/* --- Logo EDL dans le header --- */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5vw 2vw 0.5vw 1vw;
    box-sizing: border-box;
}
.edl-logo {
    height: 4vw;
    width: auto;
    margin-right: 1vw;
    background: #fff;
    border-radius: 0.5vw;
    box-shadow: 0 0 8px #f1090844;
}

/* --- Sélecteur de langue --- */
.lang-switcher {
    display: flex;
    gap: 0.5vw;
}
.lang-switcher button {
    background: #222;
    color: #fff;
    border: 1px solid #f10908;
    border-radius: 0.3vw;
    padding: 0.3vw 0.8vw;
    font-size: 1vw;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.lang-switcher button:hover, .lang-switcher button.active {
    background: #f10908;
    color: #fff;
}

/* -------- BANNER -------- */
.site-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.7);
    color: #fff;
    text-align: center;
    padding: 0.8vw 0;
    z-index: 3;
}

.site-banner h1 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

/* --- Bandeau de compte à rebours --- */
#countdown-banner {
    width: 100%;
    background: #f10908;
    color: #fff;
    font-size: 1.3vw;
    font-weight: bold;
    text-align: center;
    padding: 0.4vw 0;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px #0005;
    z-index: 7;
}
.countdown b {
    color: #fff;
    background: #222;
    border-radius: 0.3vw;
    padding: 0 0.4vw;
}

/* -------- BOTTOM TEXT -------- */
.bottom-right {
    position: static;
    font-size: 1vw;
    color: #fff;
    text-align: center;
    margin-top: 2vw;
}

/* --- Bouton d'inscription en avant --- */
.cta-inscription {
    background: linear-gradient(90deg, #f10908 60%, #c83c44 100%);
    color: #fff;
    font-size: 1.1vw;
    border: none;
    border-radius: 0.7vw;
    box-shadow: 0 2px 8px #f1090844;
    padding: 0.7vw 1.5vw;
    font-weight: bold;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.2s;
    margin-left: 1vw;
}
.cta-inscription:hover {
    background: #fff;
    color: #f10908;
    transform: scale(1.07);
}

/* --- Bouton flottant inscription --- */
.floating-inscription {
    position: fixed;
    bottom: 2vw;
    right: 2vw;
    z-index: 100;
    background: linear-gradient(90deg, #f10908 60%, #c83c44 100%);
    color: #fff;
    font-size: 1.2vw;
    border: none;
    border-radius: 2vw;
    box-shadow: 0 4px 16px #f1090844;
    padding: 1vw 2vw;
    font-weight: bold;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 0.7vw;
    opacity: 0.95;
}
.floating-inscription:hover {
    background: #fff;
    color: #f10908;
    transform: scale(1.07);
    opacity: 1;
}
@media (max-width: 900px) {
    .floating-inscription {
        font-size: 2.5vw;
        padding: 2vw 5vw;
        bottom: 4vw;
        right: 4vw;
    }
}

/* --- Section Pourquoi venir ? --- */
.why-come {
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.7);
    margin: 6vw auto 0 auto;
    padding: 2vw 2vw 3vw 2vw;
    border-radius: 1vw;
    max-width: 900px;
    box-shadow: 0 4px 24px #0008;
    text-align: center;
}
.why-come h2 {
    color: #f10908;
    font-size: 2.5vw;
    margin-bottom: 2vw;
    letter-spacing: 0.05em;
}
.why-come-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2vw;
    justify-content: center;
}
.why-card {
    background: #18181a;
    border: 2px solid #f10908;
    border-radius: 1vw;
    padding: 1.5vw 2vw;
    min-width: 180px;
    max-width: 220px;
    flex: 1 1 180px;
    box-shadow: 0 2px 12px #f1090822;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px #f1090844;
}
.why-icon {
    font-size: 2.5vw;
    display: block;
    margin-bottom: 1vw;
}
.why-card h3 {
    color: #f10908;
    font-size: 1.3vw;
    margin: 0.5vw 0 0.7vw 0;
}
.why-card p {
    font-size: 1vw;
    color: #fff;
}
@media (max-width: 900px) {
    .why-come {
        padding: 4vw 2vw 6vw 2vw;
    }
    .why-come h2 {
        font-size: 5vw;
    }
    .why-come-cards {
        flex-direction: column;
        gap: 4vw;
    }
    .why-card {
        font-size: 3vw;
        min-width: 0;
        max-width: 100%;
        padding: 3vw 4vw;
    }
    .why-icon {
        font-size: 5vw;
    }
    .why-card h3 {
        font-size: 3vw;
    }
    .why-card p {
        font-size: 2vw;
    }
}

/* --- Mise en avant sponsors sur accueil --- */
.sponsor-highlight {
    margin: 5vw auto 2vw auto;
    padding: 2vw 1vw 3vw 1vw;
    background: rgba(0,0,0,0.6);
    border-radius: 1vw;
    max-width: 900px;
    box-shadow: 0 4px 24px #0008;
    text-align: center;
}
.sponsor-highlight h2 {
    color: #f10908;
    font-size: 2vw;
    margin-bottom: 2vw;
    letter-spacing: 0.05em;
}
.sponsors {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw;
    box-sizing: border-box;
}
.sponsor-disc {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: 10px;
    transition: transform 0.2s;
    border: 3px solid #b60708;
    cursor: pointer;
    min-width: 70px;
    min-height: 70px;
}
.sponsor-disc:hover {
    transform: scale(1.07);
    border-color: #f10908;
}
.sponsor-disc img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    border-radius: 50%;
    max-width: 80px;
    max-height: 80px;
}
@media (max-width: 700px) {
    .sponsor-highlight h2 {
        font-size: 4vw;
    }
    .sponsor-disc {
        width: 60px;
        height: 60px;
        min-width: 40px;
        min-height: 40px;
    }
    .sponsor-disc img {
        max-width: 40px;
        max-height: 40px;
    }
}

/* --- Bloc Suivez-nous -------- */
.social-follow {
  position: absolute;
  right: 2vw;
  bottom: 2vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  background: rgba(0,0,0,0.25);
  padding: 0.5em 1em;
  border-radius: 1.2em;
}
.social-follow .follow-text {
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-shadow: 0 1px 4px #000;
  letter-spacing: 0.05em;
}
.social-circles {
  display: flex;
  gap: 0.7em;
}
.social-circle {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.social-circle:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(211,47,47,0.25);
}
.social-circle img {
  width: 22px;
  height: 22px;
  display: block;
}
@media (max-width: 700px) {
  .social-follow {
    right: 1vw;
    bottom: 1vw;
  }
  .social-circle {
    width: 32px;
    height: 32px;
  }
  .social-circle img {
    width: 18px;
    height: 18px;
  }
}

/* -------- RESPONSIVE -------- */
@media (max-width: 900px) {
    nav {
        flex-direction: column;
        width: 80%;
        gap: 2vw;
        background: rgba(0, 0, 0, 0);
    }

    nav a {
        font-size: 0.8em;
        width: 20%;
        padding: 1.2vw 0;
        border-radius: 1.5vw;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 2vw 1vw;
    }
    .edl-logo {
        height: 8vw;
        margin-bottom: 1vw;
    }
    .lang-switcher button {
        font-size: 2vw;
        padding: 0.7vw 2vw;
    }
    #countdown-banner {
        font-size: 2.5vw;
    }
    .cta-inscription {
        font-size: 2vw;
        padding: 1vw 3vw;
    }
}

@media screen and (max-width: 1920px) and (max-height: 1080px) {
    .video-background,
    .video-container {
        width: 100%;
        height: auto;
        min-width: 100%;
        min-height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    body {
        overflow: auto;
        padding-top: 8vw;
    }

    main img {
        max-width: 100%;
        height: auto;
    }

    .bottom-right {
        font-size: 2vw;
    }
}
