/* ------------------- GLOBAL ------------------- */

body {
    background-color: black;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: white;
}

h1, h2, h3, p, label {
    color: white;
}

/* ------------------- HEADER ------------------- */

header {
    background-color: rgb(255, 119, 0);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: wrap;
}

#Logo {
    width: 120px;
    height: auto;
}

header h1 {
    margin: 10px;
    font-size: 50px;
}

header h3 {
    margin: 0;
    font-size: 22px;
    text-align: center;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-bouttons {
    background-color: black;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 16px;
    transition: 0.3s;
}

.header-bouttons:hover {
    background-color: white;
    color: black;
}

/* ------------------- CONTENT ------------------- */

.content {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 25px;
    flex-wrap: wrap;
}

.colone_une,
.colone_deux,
.colone_trois {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

/* ------------------- IMAGES ------------------- */

.collectif,
.stade {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* ------------------- PARAGRAPHES ------------------- */

p {
    color: white;
    width: 90%;
    max-width: 400px;
    margin: 15px auto;
    text-align: center;
    line-height: 1.5;
}

/* ------------------- MAP ------------------- */

.map-container iframe {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    border: none;
}

/* ------------------- SPONSORS ------------------- */

footer {
    background-color: rgb(255, 119, 0);
    padding: 30px 0;
    width: 100%;
}
hr {border-color: #111;}
.contact-info {
    display: flex;
    justify-content: space-between; /* clé du problème */
    align-items: center;
    max-width: 1100px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}
/* ---------- SPONSORS : IMAGES CLIQUABLES SANS CASSER LA DISPOSITION ---------- */

.sponsor-logos a {
    display: inline-flex;          /* évite les déformations */
    align-items: center;
    justify-content: center;
    width: 20%;                    /* même largeur qu'avant */
}

.sponsor-logos a img {
    width: 100%;
    height: auto;
    max-width: 180px;              /* ajuste si besoin */
    transition: transform 0.3s, opacity 0.3s;
}

/* Effet hover propre */
.sponsor-logos a img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* ------------------- CONTACT ------------------- */

.contact-container {
    width: 90%;
    max-width: 450px;
    margin: 20px auto;
    background-color: #111;
    border: 2px solid rgb(255, 119, 0);
    padding: 30px;
    border-radius: 10px;
}

.contact-container h2 {
    color: white;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-top: 10px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    background-color: #222;
    border: 1px solid gray;
    border-radius: 5px;
    color: white;
    margin-top: 5px;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: rgb(255, 119, 0);
    border: none;
    margin-top: 15px;
    border-radius: 5px;
    color: black;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background-color: white;
    color: black;
}

/* ------------------- RESPONSIVE ------------------- */

/* Tablettes et téléphones */
@media (max-width: 900px) {
    header {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    header h1 {
        font-size: 40px;
    }

    .header-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* format Téléphones */
@media (max-width: 600px) {
    header h1 {
        font-size: 32px;
    }

    header h3 {
        font-size: 18px;
    }

    #Logo {
        width: 90px;
    }
}
/* Cadre identique à une image */
.insta-frame {
    width: 100%;
    max-width: 500px;      /* même largeur que tes photos */
    height: 330px;         /* même hauteur que ta photo .stade */
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: black;     /* pour éviter un flash blanc */
}

/* Force Instagram à s'adapter au cadre */
.insta-frame .instagram-media {
    position: absolute ;
    top: 0; 
    left: 0;
    width: 100% ;
    height: 100% ;
    max-height: 100% ;
    margin: 0;
    border-radius: 10px;
}
/* ---------- FIX RESPONSIVE FORMULAIRE ---------- */

* {
    box-sizing: border-box;
}

.contact-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

form input,
form textarea,
form button {
    width: 100%;
}

/* ---------- COLONNES UNIFORMES ---------- */

.colone_une,
.colone_deux,
.colone_trois,
.colone_contact {
    max-width: 500px;
    width: 100%;
    text-align: center;
}
.insta-frame {
    margin-bottom: 15px;
}
/* ------------------- FOOTER (CORRIGÉ) ------------------- */

footer {
    background-color: rgb(255, 119, 0);
    padding: 30px 0;
}

/* Bloc sponsors */

.sponsor {
    width: 100%;
    text-align: center;
}

.sponsor_titre {
    color: black;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Logos sponsors – VERSION STABLE */

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sponsor-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logos img {
    width: 180px;          /* taille IDENTIQUE partout */
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sponsor-logos img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* Ligne séparation */

hr {
    border: none;
    border-top: 2px solid #111;
    max-width: 1100px;
    margin: 25px auto;
}

/* Contact info – CENTRÉ ET STABLE */

.contact-info {
    display: flex;
    justify-content: center;   /* correction clé */
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.contact-info p {
    color: black;
    font-weight: bold;
    margin: 0;
}