/* =========================================
   VARIABLES & GLOBALS (Ajuste si nécessaire)
   ========================================= */
:root {
    --primary-color: #10B981;
    --primary-dark: #059669;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* =========================================
   ALERTS (Messages de succès/erreur)
   ========================================= */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d1fae5;
    border-left-color: var(--primary-color);
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

/* =========================================
   CONTACT CARDS (Les 3 boîtes en haut)
   ========================================= */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.card-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
    color: #fff;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card p, .contact-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--primary-color);
}

/* =========================================
   MAIN GRID (Formulaire à gauche, Infos à droite)
   ========================================= */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Remplace l'ancienne section "FORMULAIRE DE CONTACT" par ceci : */

/* =========================================
   FORMULAIRE DE CONTACT (DESIGN PREMIUM)
   ========================================= */
.form-card-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08); /* Ombre douce et large */
    border: 1px solid rgba(0,0,0,0.05);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Grille pour mettre les champs côte à côte */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600; /* Labels plus marqués */
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Design des champs de saisie */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem; /* Plus espacé à l'intérieur */
    background-color: #f9fafb; /* Fond gris très clair au lieu de blanc */
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem; /* Bords bien arrondis */
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Effet au clic (Focus) */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    background-color: #ffffff; /* Devient blanc pur */
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); /* Effet halo vert */
}

/* Select customisation */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

/* Le bouton de soumission */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); /* Dégradé premium */
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.25rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); /* Ombre colorée */
}

.btn-submit svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px); /* Se soulève légèrement */
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-submit:hover svg {
    transform: translateX(4px); /* La flèche bouge vers la droite */
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr; /* Sur mobile, les champs s'empilent */
        gap: 0;
    }
    .form-card-container {
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   BUSINESS HOURS & WHY CHOOSE US
   ========================================= */
.hours-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-md {
    width: 1.5rem;
    height: 1.5rem;
}

.text-primary {
    color: var(--primary-color);
}

.hours-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.hours-list li strong {
    color: var(--text-dark);
}

.emergency-banner {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.emergency-banner p {
    background-color: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 0;
}

.why-choose-us {
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 0.75rem;
    padding: 2rem;
    color: #fff;
}

.why-choose-us h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #e5e7eb;
}

.benefits-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* =========================================
   RESPONSIVE DESIGN (Tablettes et Mobiles)
   ========================================= */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}