/* ===================================================================
   🔧 CORRECTIONS CONTACT PAGE - CENTRAGE TEXTE
   ================================================================
   Date : 20 Mars 2026
   Version : 9.1 - Corrections Footer + Contact
=================================================================== */

/* Forcer le centrage du hero contact */
.contact-hero .contact-hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-hero .hero-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-hero .hero-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 700px !important;
}

/* Supprimer tout style de badge qui pourrait rester */
.contact-hero .hero-badge {
    display: none !important;
}

/* ===================================================================
   📝 CORRECTION FORMULAIRE CONTACT - MARGES INTÉRIEURES
   ================================================================
   Aérer les encadrés du formulaire (Email, Téléphone, Entreprise, etc.)
   Version 12.3 : Alignement et resserrement des encadrés
=================================================================== */

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    padding: 15px 20px !important; /* Padding réduit et uniforme */
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-form .form-group {
    margin-bottom: 20px !important; /* Espacement réduit entre champs */
}

/* Form rows - aligner côte à côte */
.contact-form .form-row {
    display: flex !important;
    gap: 20px !important; /* Espace entre les deux colonnes */
    margin-bottom: 20px !important;
}

.contact-form .form-row .form-group {
    flex: 1 !important; /* Largeur égale */
    margin-bottom: 0 !important;
}

/* Textarea - espacement cohérent */
.contact-form .form-group textarea {
    min-height: 150px !important;
    resize: vertical !important;
}

/* Select - même style que les inputs */
.contact-form .form-group select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235D4E37' d='M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    padding-right: 40px !important;
}

/* Labels - espacement cohérent */
.contact-form .form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #5D4E37 !important;
}

/* Responsive - empiler sur mobile */
@media (max-width: 768px) {
    .contact-form .form-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .contact-form .form-row .form-group {
        margin-bottom: 20px !important;
    }
}

/* Aérer la carte blanche crème du formulaire */
.contact-form-card,
.contact-form-container {
    padding: 48px 40px !important; /* Plus d'espace autour du formulaire */
}

@media (max-width: 768px) {
    .contact-form-card,
    .contact-form-container {
        padding: 32px 24px !important;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        padding: 14px 18px !important;
    }
}

/* ===================================================================
   📍 CORRECTION COORDONNÉES ENTREPRISE - ALIGNEMENT & ESPACEMENT
   ================================================================
   Version 12.6 : Améliorer l'alignement des cartes Email, Téléphone, Localisation
   Date : 17 Avril 2026
=================================================================== */

/* Grid des coordonnées - meilleur alignement */
.contact-info {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Cartes de coordonnées - padding cohérent */
.contact-info-card {
    background: #FFFEF9 !important; /* Blanc crème */
    border: 2px solid #F5F0E8 !important; /* Bordure beige élégante */
    border-radius: 16px !important;
    padding: 32px 28px !important; /* Padding confortable et équilibré */
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(93, 78, 55, 0.08) !important; /* Ombre marron douce */
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 220px !important; /* Hauteur minimale pour uniformité */
}

.contact-info-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(93, 78, 55, 0.12) !important;
    border-color: #C9A961 !important; /* Bordure dorée au survol */
}

/* Icônes SVG - taille uniforme */
.contact-info-card svg {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 20px !important;
}

/* Titres des coordonnées */
.contact-info-card h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #5D4E37 !important; /* Marron chocolat */
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

/* Liens et texte principal des coordonnées */
.contact-info-card a,
.contact-info-card p:not(.info-note) {
    font-size: 18px !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.contact-info-card a:hover {
    color: #C9A961 !important; /* Doré caramel au survol */
}

/* Notes info - plus petites */
.contact-info-card .info-note,
.contact-info-card p.info-note {
    font-size: 14px !important;
    color: #8B7D6B !important; /* Taupe */
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Bloc réseaux sociaux */
.social-links {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 12px !important;
}

.social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #F5F0E8 !important;
    transition: all 0.3s ease !important;
}

.social-links a:hover {
    background: #C9A961 !important;
    transform: scale(1.1) !important;
}

.social-links svg {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
}

/* Responsive - mobile */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .contact-info-card {
        padding: 28px 24px !important;
        min-height: 200px !important;
    }
    
    .contact-info-card h3 {
        font-size: 18px !important;
    }
    
    .contact-info-card a,
    .contact-info-card p:not(.info-note) {
        font-size: 16px !important;
    }
}
