/**
 * ==================================================================================
 * STYLES PAGE CONTACT - VERSION OPTIMISÉE
 * ==================================================================================
 * 
 * Design moderne et professionnel cohérent avec le reste du site
 * 
 * SECTIONS :
 * 1. Section Principale (Formulaire + Infos)
 * 2. Formulaire de Contact
 * 3. Informations de Contact
 * 4. Section Carte
 * 5. CTA Final
 * 6. Responsive
 * 
 * Date création : Janvier 2025
 * ==================================================================================
 */

/* ==================================================================================
   1. SECTION PRINCIPALE - LAYOUT GRID
   ================================================================================== */

.section-contact-main {
    padding: 80px 20px;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 60px;
    }
}

/* ==================================================================================
   2. FORMULAIRE DE CONTACT
   ================================================================================== */

.contact-form-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Card Formulaire */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.form-card-header {
    margin-bottom: 35px;
}

.form-card-header h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: #2c3e50;
    margin-bottom: 12px;
}

.form-subtitle {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
}

/* Alertes */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 15px;
}

.alert i {
    font-size: 20px;
}

.alert-success {
    background: #d1f2eb;
    border: 2px solid #4caf50;
    color: #0f5132;
}

.alert-success i {
    color: #4caf50;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #842029;
}

.alert-error i {
    color: #dc3545;
}

/* Structure du Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row-modern {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
}

.form-group-modern label i {
    color: #667eea;
    font-size: 16px;
}

.required {
    color: #dc3545;
    font-weight: 700;
}

/* Inputs */
.form-input-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #2c3e50;
    background: white;
    transition: all 0.3s ease;
}

.form-input-modern:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.form-input-modern:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-input-modern::placeholder {
    color: #adb5bd;
}

textarea.form-input-modern {
    resize: vertical;
    min-height: 150px;
    font-family: 'Open Sans', sans-serif;
}

select.form-input-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

/* Bouton Submit */
.btn-submit-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-submit-modern:hover::before {
    transform: translateX(100%);
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-submit-modern:active {
    transform: translateY(-1px);
}

.btn-submit-modern i {
    font-size: 18px;
}

/* Card Aide Rapide */
.quick-help-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.quick-help-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-help-icon i {
    font-size: 32px;
    color: white;
}

.quick-help-content h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.quick-help-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    color: #667eea;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #764ba2;
}

.btn-call i {
    font-size: 16px;
}

/* ==================================================================================
   3. INFORMATIONS DE CONTACT
   ================================================================================== */

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.info-card-header i {
    font-size: 24px;
    color: #667eea;
}

.info-card-header h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item-modern {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon-modern {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-modern i {
    font-size: 22px;
    color: white;
}

.info-content-modern h4 {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.info-content-modern p,
.info-content-modern a {
    font-size: 16px;
    color: #2c3e50;
    line-height: 1.6;
    margin: 0;
}

.info-content-modern a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-content-modern a:hover {
    color: #667eea;
}

/* Horaires */
.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.hours-day {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.hours-time {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.hours-time.closed {
    color: #dc3545;
    font-weight: 600;
}

/* Réseaux Sociaux Card */
.social-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.social-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.social-links-modern {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link-modern {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link-modern:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* FAQ Quick Card */
.faq-quick-card {
    background: linear-gradient(135deg, #02c870 0%, #4992bb 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
}

.faq-quick-card h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-quick-card h3 i {
    font-size: 22px;
}

.faq-quick-card p {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-faq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    color: #e65100;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-faq:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==================================================================================
   4. SECTION CARTE
   ================================================================================== */

.section-map-modern {
    padding: 80px 20px;
    background: white;
}

.map-header-modern {
    text-align: center;
    margin-bottom: 50px;
}

.map-header-modern h2 {
    font-size: clamp(32px, 5vw, 42px);
    color: #2c3e50;
    margin-bottom: 12px;
}

.map-header-modern p {
    font-size: 18px;
    color: #6c757d;
}

/* Badge section */
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.map-container-modern {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.map-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

/* Image carte responsive */
.map-image-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Overlay Info Carte */
.map-info-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
}

.map-info-content {
    background: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

.map-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.map-info-icon i {
    font-size: 28px;
    color: white;
}

.map-info-content h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.map-info-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0;
}

/* ==================================================================================
   5. CTA FINAL
   ================================================================================== */

.section-cta-contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.section-cta-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.cta-contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-contact-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.cta-contact-icon i {
    font-size: 48px;
    color: white;
}

.cta-contact-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    color: white;
    margin-bottom: 20px;
}

.cta-contact-content p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white,
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-white {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.btn-cta-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta-outline:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==================================================================================
   6. RESPONSIVE
   ================================================================================== */

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-help-card {
        flex-direction: column;
        text-align: center;
    }
    
    .map-info-overlay {
        position: static;
        margin-top: 20px;
        left: auto;
        bottom: auto;
    }
    
    .map-info-content {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-contact-main,
    .section-map-modern,
    .section-cta-contact {
        padding: 60px 15px;
    }
    
    .form-card {
        padding: 30px 25px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
    
    .map-wrapper {
        height: auto;
    }
    
    .cta-contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-white,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .quick-help-icon {
        width: 60px;
        height: 60px;
    }
    
    .quick-help-icon i {
        font-size: 28px;
    }
    
    .social-links-modern {
        justify-content: center;
    }
    
    .map-wrapper {
        height: auto;
    }
    
    .map-info-overlay {
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .map-info-content {
        padding: 20px;
        border-radius: 15px 15px 0 0;
    }
}
