*{
    box-sizing: border-box;
}

:root{
    --primary-color: #636B2F;
    --secondary-color: #CC7722;
    --tertiary-color: #E35336;
    font-family: 'Poppins', sans-serif;
}

li{
    list-style: none; /* Cela permet d'enlever les points sur la navbar*/
}

header{
    display: flex;
    flex-direction: column; /* Premier élément au début, dernier à la fin, l'espace vide est réparti équitablement au milieu */
    background-color: var(--primary-color);
}

nav{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    background-color: var(--primary-color);
    padding: 1rem;
    box-sizing: border-box;
    position: sticky;
    top: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 15px;
    padding: 1rem;
}

nav ul{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.btn {
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    background-color: var(--secondary-color);
    color: bisque;           
    border: none;
    cursor: pointer;
}

.hero button{
    padding: 10px;
    border-radius: 10px;
    width: 150px;
}                           /* photo de couverture du site global finie ici*/

/* Début de la partie de contact */
.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 2rem;
    font-family: sans-serif;
}

/* Colonne de gauche (Formulaire) */
.contact {
    flex: 1;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

/* Style simple pour les champs de formulaire */
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    resize: none;
    height: 120px; /* Hauteur par défaut */
}

/* Style simple pour le bouton */
.contact form button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact form button:hover {
    background-color: #555;
}

/* Ajustement pour aligner la case à cocher et son texte */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Colonne de droite (Infos) */
.informations {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map {
    width: 100%;
    border-radius: 10px; /* Coins arrondis pour la carte */
    overflow: hidden;
}
/* Fin de la partie de contact */

.reseaux-icones{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}

.fa-brands{
    width: 50px;
    height: 50px;
}   

.icone{
    width: 40px;
    height: 40px;
}

footer {
    display: flex;
    flex-direction: row; /* Aligne les éléments verticalement sur mobile */
    gap: 1.5rem;            /* Espace harmonieux entre les éléments du footer */
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;     /* Plus d'espace pour respirer */
    background-color: var(--primary-color);
    margin-top: 60px;       /* Plus de recul par rapport au contenu principal */
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* Ligne de séparation très discrète */
    font-size: 0.9rem;      /* Texte légèrement plus petit pour le style "footer" */
    text-align: center;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.pied {
    display: flex;
    flex-direction: row; /* Aligne les éléments horizontalement */
    justify-content: space-evenly; /* Aligne à gauche, au milieu et à droite */
    align-items: center; /* Centre verticalement */
    max-width: 1200px; /* Évite que les blocs s'écartent trop sur les écrans géants */
    width: 100%;
}

/* ==========================================================================
   RESPONSIVE - PAGE CONTACT (contact.html)
   ========================================================================== */

/* Structure Desktop (2 colonnes) */
.contact-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    flex: 1.5; /* Donne un peu plus d'espace au formulaire */
}

.contact-infos {
    flex: 1;
}

/* Style du bouton submit pour éviter le bleu par défaut (Étape 5) */
.contact-form button[type="submit"] {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%; /* S'adapte sur mobile */
}

/* --- PASSAGE EN 1 COLONNE (Tablettes et Mobiles) --- */
@media screen and (max-width: 992px) {
    nav {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        padding-left: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Le conteneur passe de Row (côte à côte) à Column (empilé) */
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 2rem 1rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }
    .pied {
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 576px) {
    /* Sécurité pour l'éventuelle iframe Google Maps */
    .contact-infos iframe {
        width: 100% !important;
        height: 250px;
    }
}