/* ========================================= */
/* CONTACT PAGE STYLES                       */
/* ========================================= */

/* --- HEADER SECTION --- */
.contact-hero {
    padding: 100px 20px 60px;
    text-align: center;
    background: linear-gradient(to bottom, #f8faff, #ffffff);
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- MAIN LAYOUT --- */
.contact-section {
    padding: 40px 20px 100px;
    background-color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* --- INFO CARD (Gauche) --- */
.contact-info-card {
    background: var(--color-primary);
    color: white;
    padding: 50px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

/* Cercles décoratifs */
.contact-info-card::before,
.contact-info-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.contact-info-card::before {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
}

.contact-info-card::after {
    width: 100px;
    height: 100px;
    top: 30px;
    right: 30px;
}

.info-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.info-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
}

.info-content small {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 4px;
}

.info-content a,
.info-content span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-btn:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* --- FORMULAIRE (Droite) --- */
.contact-form-wrapper {
    background: #fff;
    padding: 0 20px;
}

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

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-text-dark);
    background: #f8fbff;
    transition: all 0.3s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Radio Buttons décoratifs pour le budget/sujet */
.radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.radio-option {
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #f8fbff;
    border: 2px solid #eef2f6;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all 0.2s;
}

.radio-option input:checked+.radio-tile {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--color-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* --- FAQ SECTION --- */
.simple-faq {
    padding: 80px 20px;
    background: #F8F8FF;
    text-align: center;
}

.faq-title {
    margin-bottom: 50px;
    font-size: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.faq-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.faq-box p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        order: 2;
        /* Formulaire d'abord sur mobile, ou après ? Souvent avant pour la conversion, mais l'info est utile. Laissons l'info après le formulaire sur mobile ? Non, l'info de contact est souvent cherchée.
        Mettons l'info en bas sur mobile pour prioriser le formulaire si c'est un entonnoir, mais ici c'est une page contact.
        Laissons l'ordre naturel : Info puis form ou Form puis Info.
        Dans le code HTML : Info, puis Form. 
        Si on veut Form en premier sur mobile : order: -1 sur le form wrapper.
        */
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 2.2rem;
    }
}