/* Définitions de base et couleurs (reprises de style.css) */
:root {
    --primary-color:forestgreen; 
    --secondary-color:forestgreen; 
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

.contact-section {
    background-color: var(--light-bg);
}

/* --- GRILLE PRINCIPALE (INFO + FORM) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info à gauche, Formulaire plus large à droite */
    gap: 50px;
    margin-bottom: 50px;
}

.text-left {
    text-align: left;
}

/* --- CONTACT INFO --- */
.contact-info {
    padding: 20px 0;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.location-card {
    background: var(--white);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.location-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.location-card i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.contact-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.contact-details p {
    margin-bottom: 10px;
}
.contact-details i {
    color: var(--secondary-color);
    margin-right: 10px;
}


/* --- FORMULAIRE --- */
.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.captcha-placeholder {
    padding: 15px;
    background-color: var(--light-bg);
    border: 1px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}
.details-btn {
    background-color:forestgreen;
    width: 300px;
    border: 2px solid forestgreen;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
    justify-content: center;
}

/* Messages d'erreur et succès */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    min-height: 1.2em; 
}

.success-message {
    text-align: center;
    padding: 15px;
    border: 2px solid #27ae60;
    background-color: #e8f8f5;
    color: #27ae60;
    border-radius: 4px;
    margin-top: 20px;
}

.success-message i {
    margin-right: 10px;
}

/* --- MAP SIMULATION --- */
.map-container h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.map-placeholder {
    height: 400px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-weight: bold;
    border-radius: 8px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    
    .contact-info {
        order: 2; /* Met les infos après le formulaire sur mobile */
    }
    .contact-form-container {
        order: 1;
    }
    
    .submit-btn {
        float: none;
        width: 100%;
    }
}
