body {
    background-image: url("/img/logos/background.png");
    background-repeat: repeat;
    margin: 0;
    margin-bottom: 50px;
    padding: 0;
    font-family: 'Trebuchet MS';
}

.introvideo {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    /* important pour que l'absolu fonctionne */
}

.introvideo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

header {
    display: flex;
    justify-content: gap;
    align-items: center;
    /* centré verticalement */
    padding: 10px;
    background-color: black;
    height: 80px;
    gap: 20px;
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    font-size: 15pt;

}

nav ul li a {
    text-decoration: none;
    color: white;
    /* adapte selon ton design */
}

nav ul li {
    color: white;
}

.logo img {
    height: 80px;

}

.introtext {
    position: absolute;
    top: 50%;
    /* milieu vertical */
    left: 40px;
    /* décalé à gauche */
    transform: translateY(-50%);
    /* centre exactement */
    color: white;
    font-size: 30pt;
    text-shadow: 5px 5px 5px black;
}

.socials {
    width: 85%;
    margin: auto;
    margin-top: 50px;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
}

.socials nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 35pt;
}

.socials nav ul {
    display: flex;
    list-style: none;
    gap: 60px;
    color: black;
    justify-content: center;
}

.socials p {
    margin-top: 0px;
    /*font-size: 16pt;*/
    text-align: center;
}

.socials h3 {
    text-align: center;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: black;
    margin-top: 15px;
}

/*footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #333);
    pointer-events: none;
}*/

footer nav ul {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr 3fr;
    /* 3 colonnes égales */
    list-style: none;
    margin: 3px;
    padding: 0;
}

footer nav ul li:first-child {
    justify-self: start;
}

/* gauche */
footer nav ul li:last-child {
    justify-self: end;
}

/* droite */
footer nav ul li {
    justify-self: center;
}

/* milieu */

.join {
    width: 90%;
    margin: 0 auto;
    /* centre le div */
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: black;
    color: white;
    margin-top: 50px;
    padding: 10px;
    border-radius: 5px;
    height: fit-content;
    max-height: 500px;
}

.join img {
    width: 100%;
    object-fit: contain;
    max-height: 480px;
}

.join-image {
        width: 50%;
    object-fit: contain;
    max-height: 480px;
}

.join .join-texte {
    width: 48%;
    margin-left: 2%;
}

.join-mobile {
    width: 90%;
    margin: 0 auto;
    /* centre le div */
    display: none;
    align-items: center;
    gap: 40px;
    background-color: black;
    color: white;
    margin-top: 50px;
    padding: 10px;
    border-radius: 5px;
    height: fit-content;
}

.join-mobile img {
    width: 100%;
    object-fit: contain;
    max-height: 480px;
}



.join-mobile .join-texte {
    width: 48%;
    margin-left: 2%;
}



.synopsis {
    width: 90%;
    margin: 0 auto;
    /* centre le div */
    background-color: black;
    color: white;
    margin-top: 50px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.synopsis .synopsis-texte {
    width: 90%;
    font-size: large;
    margin: auto;
}



.bouton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #501c1d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.section-photos-wrapper {
    position: relative;
}

.section-photos {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;

}

.album .section-photos {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 colonnes égales */
    gap: 5px;
}



.album {
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
    padding: 5px;
    background-color: white;
}

.section-photos a {
    aspect-ratio: 1 / 1;
    /* carré */
    overflow: hidden;
}

.section-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* remplit le carré sans déformer */
    display: block;
}

.content {
    width: 90%;
    margin: auto;
    margin-bottom: 50px;
    background-color: rgba(250, 250, 250, 0.5);
    height: fit-content;
    padding-bottom: 3%;
    padding-top: 1%;
}

.cadre {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.cadre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cadre :hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.galerie {
    width: fit-content;
    display: inline-block;
    margin: auto;
}

.titreGalerie {
    text-align: center;
}

h2 {
    font-size: 30pt;
}

.join p {
    font-size: 16pt;
}


.contact {
    width: 70%;
    margin: 15px auto;
    margin-bottom: 15px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Chaque Card = une ligne pleine largeur, découpée en 2 colonnes */
.Card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.Card:last-child {
    border-bottom: none;
}

.titreCard {
    font-weight: bold;
    color: #333;
    padding-right: 12px;
    height: 100%;
    text-align: top;
}

.radioGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
}

.radioOption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checkboxGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 6px;
}

.checkboxOption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fieldCard {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    

}

textarea.fieldCard {
    resize: vertical;
}

.fieldCard:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.15);
}

/* Ligne du bouton : pas de titre, on occupe toute la largeur */
.Card.submitRow {
    grid-template-columns: 1fr;
}

.checkboxOption {
    width: 100%;
}

input[type="submit"] {
    background: black;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    justify-self: start;
}

input[type="submit"]:hover {
    background: #555;
}

/* Responsive : sous 600px, on repasse en 1 colonne (titre au-dessus du champ) */
@media (max-width: 600px) {
    .Card {
        grid-template-columns: 1fr;
    }

    .titreCard {
        padding-right: 0;
        padding-bottom: 4px;
    }
}

.article {
    width: 85%;
    margin: auto;
    margin-top: 25px;
    background-color: #ddd;
    padding: 15px;
    border-radius: 10px;
}

.article nav ul li a {
    text-decoration: none;
    color: white;
}

.article nav ul {
    display: flex;
    list-style: none;
    color: black;
    justify-content: center;
}

.article p {
    margin-top: 0px;
    /*font-size: 16pt;*/
    text-align: center;
}

.article h3 {
    text-align: center;
}

.event {
    width: 90%;
    margin: 0 auto;
    /* centre le div */
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: black;
    color: white;
    margin-top: 50px;
    padding: 10px;
    border-radius: 5px;
    max-height: 500px;
}

.event img {
    width: 50%;
    max-height: 480px;
    object-fit: contain;
}

.event .event-texte {
    width: 48%;
    margin-left: 2%;
}

.bvr {
    width: 100%;
    display: block;
}

.bvr img {
    object-fit: contain;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger img {
    width: 60px;
    height: auto;
    display: block;
}

@media (max-width: 1081px) {
    .burger {
        display: flex;
        margin-left: auto;
    }

    nav#main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: max-height 0.35s ease;
        z-index: 1000;
        font-size: 20pt;

    }

    nav#main-nav.open {
        max-height: 400px;
    }

    nav#main-nav ul {
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav#main-nav ul li {
        text-align: center;
    }

    .album .section-photos {
        grid-template-columns: repeat(3, 1fr);

    }
    .join {
        display: none;
    }
    .join-mobile{
        display:flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .join-mobile img {
        width: 100%;
    }
    .join-mobile .join-texte {
        width: 100%;
    }
    .join-image {
        width: 100%;
    }

    .join-mobile p{
        font-size: 25pt;
    }

    .join-mobile .bouton{
        font-size: 25pt;
    }

    .Card {
        grid-template-columns: 1fr;
    }

    .titreCard {
        padding-right: 0;
        padding-bottom: 4px;
    }

    .contact{
        width: 90%;
    }

}

.radioOptionCH input[type="radio"] {
  display: none;
}

.radioOptionCH label {
  display: inline-block;
  background-color: forestgreen;
  color: white;
  padding: 4px 11px;
  margin: 5px;
  font-family: Arial;
  font-size: 16px;
  cursor: pointer;
  width: 40%;
}

.radioOptionCH input[type="radio"]:checked+label {
  background-color: darkgreen;
  border: 2px solid black;
  margin: 3px;
}

.radioOptionCH input[type="radio"]:disabled+label  {
  background-color: darkorange;
}