.retard h1 {
    font-size: 25 px;
    color: rgb(255, 0, 0);
}

.retard {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* ==========================
   STYLE GLOBAL
========================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    background-color: #2cbbe6;
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================
   HEADER / NAVIGATION
========================== */
header {
    display: flex;
    align-items: center;
    /* centre verticalement logo et nav */
    justify-content: center;
    /* centre tout l'espace horizontalement */
    padding: 2rem 2rem;
    background-color: #007DA3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    /* nécessaire pour positionner le logo à gauche */
}

/* Logo à gauche */
header .logo {
    position: absolute;
    left: 2rem;
    /* espace par rapport au bord */
    height: 120px;
}

/* Nav centrée */
header nav {
    display: flex;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    transition: color 0.2s ease;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #fcd42d;
    transition: width 0.25s ease;
}

header nav a:hover {
    color: #fcd42d;
}

header nav a:hover::after {
    width: 100%;
}

/* ==========================
   FORMULAIRE DE RECHERCHE
========================== */
#search {
    margin: 2rem auto;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 90%;
    max-width: 500px;
}

#search input[type="text"] {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background: #ffffff;
    color: #333;
    outline: none;
}

#search input::placeholder {
    color: #888;
}

#search button {
    background: #fcd42d;
    border: none;
    color: #000;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#search button:hover {
    background: #ffe25b;
}

/* ==========================
   SECTION VIDÉOS
========================== */
main {
    flex: 1;
    width: 90%;
    max-width: 900px;
    margin: 0 auto 3rem;
}

main h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.video h2 {
    font-size: 1.4rem;
    color: #fcd42d;
    margin-bottom: 0.5rem;
}

.video p {
    margin-bottom: 0.4rem;
    color: #f5f5f5;
}

.page-video p {
    font-size: 23px;
}

.video strong {
    color: #fff;
}

.video video {
    border-radius: 8px;
    margin-top: 1rem;
    max-height: 450px;
    width: 100%;
}

/* ==========================
   MODAL CODE PRIVÉ
========================== */
#modalOverlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

#codeModal {
    background: #ffffff;
    color: #000;
    border-radius: 10px;
    padding: 1.5rem;
    width: 300px;
    max-width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

#codeModal label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#codeInput {
    width: 100%;
    background: #f7f7f7;
    color: #000;
    border: 1px solid #ccc;
    padding: 0.6rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

#codeModal button[type="submit"] {
    width: 100%;
    background: #007DA3;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#codeModal button[type="submit"]:hover {
    background: #009cc7;
}

#modalClose {
    background: none;
    border: none;
    color: #007DA3;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* ==========================
   FOOTER
========================== */
footer {
    text-align: center;
    padding: 1rem 0;
    background: #007DA3;
    font-size: 0.9rem;
    color: #fff;
    border-top: 2px solid #fcd42d;
}

/* ==========================
   LIEN / BOUTON "VOIR LA VIDÉO"
========================== */
.video h2 a {
    display: inline-block;
    background-color: #007DA3;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.video h2 a:hover {
    background-color: #fcd42d;
    color: #007DA3;
    transform: translateY(-2px);
}

/* ==========================
   PAGE INDIVIDUELLE (video.php)
========================== */
.page-video {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 3rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.page-video h1 {
    color: #fcd42d;
    text-align: center;
    margin-bottom: 1rem;
}

.page-video p {
    margin-bottom: 0.5rem;
}

.video-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-download,
.btn-back {
    display: inline-block;
    background-color: #007DA3;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-download:hover,
.btn-back:hover {
    background-color: #009cc7;
    transform: translateY(-2px);
}



/* ==========================
   FOOTER NAV / LIENS
========================== */
footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    padding: 0;
}

footer nav a {
    display: inline-block;
    background-color: #007DA3;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 0.9rem;
}

footer nav a:hover {
    background-color: #fcd42d;
    color: #000;
    transform: translateY(-2px);
}

/* ==========================
   PAGE À PROPOS
========================== */
.page-apropos {
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 3rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: #fff;
    text-align: center;
    background-color: #007DA3;
}

.page-apropos h1 {
    color: #fcd42d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.page-apropos p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.page-apropos section {
    margin-bottom: 2rem;
}

.page-apropos h2 {
    color: #fcd42d;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Lien vers les contacts ou site officiel */
.page-apropos a {
    color: #fcd42d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-apropos a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Animation d’apparition douce */
.page-apropos section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.page-apropos section:nth-child(2) {
    animation-delay: 0.1s;
}

.page-apropos section:nth-child(3) {
    animation-delay: 0.2s;
}


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

/* ==========================
   LISTE ÉQUIPE (À propos)
========================== */
.page-apropos ul {
    list-style: none;
    /* On retire les puces de base */
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.page-apropos li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 1.1rem;
    color: #fff;
}

/* Ajout d'une petite puce jaune personnalisée */
.page-apropos li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fcd42d;
    font-size: 1.3rem;
    line-height: 1;
    top: 0;
}

/* Petit effet au survol */
.page-apropos li:hover {
    color: #fcd42d;
    transform: translateX(3px);
    transition: all 0.2s ease;
}


/* ==========================
   PAGE CONTACT
========================== */
.contact {
    /* Reprendre le style de la section .video ou .page-apropos */
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    color: #fff;
    /* Pour aligner le texte dans le conteneur */
    text-align: left;
}

.contact h1 {
    color: #fcd42d;
    /* Couleur jaune pour le titre */
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #007DA3;
}

/* Style du formulaire en lui-même */
.contact form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Espace entre les champs */
    max-width: 500px;
    /* Limite la largeur du formulaire */
    margin: 0 auto;
    /* Centre le formulaire */
}

/* Style des étiquettes (labels) */
.contact label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

/* Style des champs de saisie (input et textarea) */
.contact input[type="email"],
.contact input[type="text"],
.contact textarea {
    padding: 0.8rem;
    border: 1px solid #007DA3;
    /* Bordure bleue */
    border-radius: 6px;
    font-size: 1rem;
    background-color: #f7f7f7;
    /* Fond clair pour faciliter la saisie */
    color: #333;
    margin-top: 0.4rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Effet au focus */
.contact input:focus,
.contact textarea:focus {
    border-color: #fcd42d;
    /* Bordure jaune au focus */
    box-shadow: 0 0 0 3px rgba(252, 212, 45, 0.5);
    /* Halo léger */
    background-color: #fff;
}

/* Style du bouton d'envoi */
.contact button[type="submit"] {
    background: #fcd42d;
    /* Couleur jaune dominante pour les actions */
    border: none;
    color: #000;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 0.5rem;
}

.contact button[type="submit"]:hover {
    background: #ffe25b;
    /* Jaune plus clair au survol */
    transform: translateY(-2px);
}

/* ==========================
   CHAMP OBLIGATOIRE (Required)
========================== */

/* Cible le label parent du champ required, puis ajoute un pseudo-élément après le texte du label */
.contact label:has(input[required])::after,
.contact label:has(textarea[required])::after {
    content: " * Veuillez remplir ce champ";
    /* Ajoute l'astérisque et un espace */
    color: #007DA3;
    /* Met l'astérisque en jaune (ta couleur d'accent) */
    font-weight: 700;
    margin-left: 0.2rem;
    /* Petit espace après le label */
}