/* 🌍 Section globale */
.contact-section {
    background: #f8f9fc;  /* 🌟 Fond demandé */
    padding: 30px 4%;
    display: flex;
    justify-content: center;
}

/* 🌍 Conteneur principal */
.contact-container {
    width: 100%;
    max-width: 95%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: stretch; /* 📌 Garde la même hauteur pour les deux boîtes */
}

/* 📍 Infos de contact + Carte */
.contact-details {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 📞 Informations de contact */
.contact-info {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-title {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    color: #840032;
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-address,
.contact-links {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    color: #555;
    line-height: 1.5;
}

.contact-links a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

/* 🌍 Carte Google Maps */
.map-container {
    width: 100%;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 📩 Formulaire de contact */
.contact-form {
    flex: 1;
    min-width: 320px;
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-title {
    font-size: clamp(1.3rem, 1.6vw, 1.5rem);
    color: #074d74;
    font-weight: bold;
    margin-bottom: 12px;
}

/* 📌 Champs de formulaire */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border 0.3s ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

/* 📌 Bouton d'envoi */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #09689C;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease;
}

.submit-btn:hover {
    background: #074d74;
    transform: scale(1.03);
}

.form-description {
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: #555;
    margin-bottom: 12px;
    text-align: center;
}


/* 📱 Responsive Adaptatif */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .map-container {
        width: 100%;
    }

    .contact-info {
        text-align: center;
    }
}
