/* Section principale contact */
.contact {
/* Variables CSS avec valeurs par défaut */
    --_fg-contact: var(--fg-contact, #000000);
    --_cl-logo: var(--cl-logo, #00bfa0);
    --_bg-contact: var(--bg-contact, #f1f5f9);

    margin-bottom: 2rem; /* Espace sous la section */
}

/* Conteneur global */
.contacts {
    margin: 0 auto; /* Centrage horizontal */
    
}

/* Titre de la section contact */
.contact-title {
    text-align: center; /* Texte centré */
    font-size: 1.5rem; /* Taille du titre */
}

/* Sous-texte de la section */
.contact-subtext {
    text-align: center;
    font-size: 1rem;
}

/* Ligne contenant logo + texte */
.details {
    display: flex;
    flex-direction: row; /* Alignement horizontal */
    gap: 1rem; /* Espacement */
    margin-left: 2rem;
}

/* Nom du détail*/
.contact-details-name {
    display: flex;
    justify-content: center; /* Centrage horizontal */
    text-align: center;
    font-size: 1.3rem;
}

/* Carte contenant les infos de contact */
.contact-details {
    margin: 1.5rem;
    background-color: var(--_bg-contact); /* Fond gris clair */
    margin-top: 2rem;
}

/* Icône / logo */
.logo {
    display: flex;
    font-size: 2rem; /* Taille de l’icône */
    color: var(--_cl-logo); /* Couleur de l’icône */
    border: solid 1px #00bfa0;
    border-radius: 20%;
}

/* Nom du contact */
.name-details {
    display: flex;
    margin-top: 3rem;
    font-weight: bold;
}

/* Texte descriptif */
.text {
    display: flex;
    margin-top: 3rem;
}

/* Champ nom */
.name-form {
    width: 100%;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    border: solid 1px #E0E0E0;
    border-radius: 5px;
    color: #AAAAAA; /* Couleur du texte */
}

/* Champ email */
.email-form {
    width: 100%;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    border: solid 1px #E0E0E0;
    border-radius: 5px;
    color: #AAAAAA;
}

/* Champ message */
.message-form {
    width: 100%;
   
    padding-top: 0.5rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    border: solid 1px #E0E0E0;
    border-radius: 5px;
    color: #AAAAAA;
}

/* Bouton d’envoi */
.btn-message {
    display: flex;
    margin-top: 1rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    width: 100%;
    border: solid var(--_cl-logo);
    border-radius: 5px;
    margin-bottom: 3rem;
    color: var(--_bg-contact);
    background-color: var(--_cl-logo);
    cursor: pointer;
}
/* Formulaire */
.contact-form {
    padding: 2rem;
}

/* Responsive : écrans larges */
@media (width > 40rem) {
/* Mise en ligne des blocs */
    .contacts {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
       
    }
/* Formulaire à droite */
    .contact-form {
         padding: 2.5rem;
         margin-top: 2rem;
         margin-bottom: 1.5rem;
         width: 50%;
         
    }
/* Détails à gauche */
    .contact-details {
        margin-left: 8rem;
        padding: 2.5rem;
    }
}