/* ===== CSS GLOBAL (gardé tel quel) ===== */
body {
    --heading-font: "Playfair Display", Georgia, serif;
    --heading-font-weight: 700;
    --heading-color: var(--bs-dark);
    --heading-line-height: 1.24;
    /* ... tout ton CSS body existant ... */
}

/* ===== STYLES SPECIFIQUES CONTACT (remplace tout le <style> de ton PHP) ===== */

/* Dégradé derrière le formulaire (inchangé) */
.contact-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 80px 0;
    margin-top: 200px; /* Garde ton positionnement existant */
}

/* Formulaire - Style exact de ton image */
.contact-card {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    font-family: "Mulish", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Forme bleue abstraite décorative (comme ton image) */
.contact-card::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -60px;
    width: 350px;
    height: 350px;
    background: #335CFF;
    border-radius: 50% 20% 30% 70%;
    z-index: -1;
    opacity: 0.9;
}

/* Titre "Nous contacter" */
.contact-card h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-align: left;
    font-family: "Arial", sans-serif; /* Compatible avec ton CSS global */
    line-height: 1.2;
}

/* Sous-titre */
.contact-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    text-align: left;
    font-family: var(--bs-body-font-family);
}

/* Labels des champs */
.contact-card label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Arial", sans-serif;
}

/* Champs de formulaire minimalistes */
.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 15px 0 15px 5px;
    border: none;
    border-bottom: 2px solid #000;
    background: transparent;
    font-size: 1rem;
    color: #1a1a1a;
    outline: none;
    margin-bottom: 30px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
    color: #999;
    font-weight: 300;
}

.contact-card input:focus,
.contact-card textarea:focus {
    border-bottom-color: #335CFF;
    box-shadow: none; /* Override Bootstrap */
}

/* Bouton "SOUMETTRE" noir */
.contact-card button {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 10px !important;
    font-family: "Arial", sans-serif !important;
}

.contact-card button:hover {
    background: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* Message de confirmation */
.alert-info {
    background: #e3f2fd !important;
    border: 1px solid #2196f3 !important;
    color: #1976d2 !important;
    border-radius: 10px !important;
    padding: 15px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Honeypot anti-spam caché */
.contact-card [style*="display:none"],
.contact-card div[style*="display: none"] {
    display: none !important;
}

/* Responsive - Compatible mobile */
@media (max-width: 768px) {
    .contact-card {
        padding: 40px 25px !important;
        margin: 0 20px !important;
    }
    
    .contact-card::before {
        width: 250px !important;
        height: 250px !important;
        left: -40px !important;
        top: -30px !important;
    }
    
    .contact-card h1 {
        font-size: 2rem !important;
    }
    
    .contact-section {
        padding-top: 120px !important;
        margin-top: 100px !important;
    }
}

/* Override Bootstrap spécifique au formulaire */
.contact-card .form-control {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 2px solid #000 !important;
    background: transparent !important;
}

.contact-card .form-floating {
    margin-bottom: 30px !important;
}