/* ========================================
   CONTACT.CSS
   Auteur                : Renaud
   Création              : 20 novembre 2025
   Description           : Styles spécifiques au formulaire et à la map
   ======================================== */

/* --- CONTENEUR DU FORMULAIRE --- */
.contact-form {
    max-width: 100%;
    margin-bottom: 2rem;
}

/* --- CHAMPS (INPUTS & LABELS) --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-headings);
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-headings);
}

.form-input, 
.form-select, 
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-sidebar-border);
    border-radius: 4px; /* Légèrement arrondi */
    font-family: var(--font-text);
    font-size: 1rem;
    background-color: #FFF;
    color: var(--color-text-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* État Focus (quand on clique dedans) */
.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    outline: none;
    border-color: var(--color-link-default); /* Bleu du site */
    box-shadow: 0 0 5px var(--color-nav-box-hover-shadow);
}

/* --- CARTE GOOGLE MAPS (RESPONSIVE) --- */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* Ratio 16:9 pour une belle fenêtre vidéo/map */
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: var(--color-sidebar-shadow);
    border: 1px solid var(--color-sidebar-border);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}