/* CONTACT - Styles spécifiques */

/* Section principale */
.contact-section {
    min-height: calc(100vh - var(--header-height) - 60px);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.contact-header .subtitle {
    font-size: 1.2rem;
    color: var(--gray-dark);
    font-weight: 300;
}

/* Grille de contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 968px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Formulaire */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
}

.contact-form .form-group {
    margin-bottom: var(--space-lg);
}

.contact-form label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--black);
}

.contact-form .form-control {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: all var(--transition-base);
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-subtle);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form select.form-control {
    cursor: pointer;
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 0.95rem;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-dark);
    margin-top: var(--space-md);
}

/* Informations de contact - STYLES CORRIGÉS */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: var(--space-md);
    align-items: center; /* Changé de flex-start à center pour un meilleur alignement */
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gold-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
}

.info-content {
    flex: 1; /* Prend tout l'espace disponible */
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    color: var(--black);
}

.info-content p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-base);
}

.info-content a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Note sur la confidentialité - STYLES AMÉLIORÉS */
.contact-note {
    background: linear-gradient(135deg, var(--gold-subtle) 0%, rgba(170, 136, 0, 0.05) 100%);
    border-left: 4px solid var(--gold);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    margin-top: var(--space-sm); /* Petit espace avec la carte au-dessus */
}

.contact-note p {
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Message de succès */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius);
    padding: var(--space-md);
    color: #155724;
    text-align: center;
    margin-bottom: var(--space-lg);
    display: none;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-section {
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .contact-grid {
        gap: var(--space-2xl);
    }
    
    .contact-form-wrapper {
        padding: var(--space-xl);
    }
    
    .info-card {
        padding: var(--space-md);
        align-items: flex-start; /* Sur mobile, on préfère aligner en haut */
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Amélioration pour les petits écrans */
@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .info-card {
        gap: var(--space-sm);
    }
    
    .info-content h3 {
        font-size: 1rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
}