/* ===============================================
   ATYPIKIA — CSS PAGE CONTACT v6
   Migré depuis bloc <style> inline contact.php
   =============================================== */

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #2D3436;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content-centered {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.contact-info-cards-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card-modern {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon-modern {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,115,119,0.1);
    color: #0D7377;
    border-radius: 8px;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.contact-details-modern h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 0.75rem;
}

.contact-details-modern p {
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Carte réseaux sociaux — pleine largeur */
.contact-card-social { grid-column: 1 / -1; text-align: center; }
.contact-card-social .contact-details-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-card-social .social-links-contact { justify-content: center; }

.social-links-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.15s ease;
    color: white;
}

.social-linkedin { background: #0A66C2; }
.social-linkedin:hover { opacity: 0.88; color: white; }

.social-instagram {
    background: #dc2743;
}
.social-instagram:hover { opacity: 0.88; color: white; }

.email-reveal-container { margin-top: 1.5rem; }

.email-protected-modern {
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    background: #f1f5f9;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-block;
    color: #0D7377;
    font-weight: 600;
}

.email-protected-modern:hover {
    background: #0D7377;
    color: white;
    border-color: #0D7377;
}

.email-revealed-modern {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
    cursor: default !important;
}

.contact-faq-modern {
    background: #f8fafc;
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-faq-modern h2 {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2D3436;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item-modern h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item-modern h4 i { color: #0D7377; font-size: 1rem; }
.faq-item-modern p { color: #64748b; line-height: 1.6; font-size: 1rem; }

@media (max-width: 768px) {
    .contact-container { padding: 3rem 1.5rem; }
    .contact-faq-modern { padding: 2rem 1.25rem; }
    .faq-grid { grid-template-columns: 1fr; }
}
