/* Contact Page - Layout Split avec Barre Verticale */

/* Polices globales pour la page Contact */
.contact-page * {
    font-family: 'Arcon', sans-serif;
}

.contact-page h1, .contact-page h2, .contact-page h3, .contact-page h4, .contact-page h5, .contact-page h6 {
    font-family: 'Title', sans-serif;
}

/* Section principale */
.contact-hero {
    height: 100vh;
    background: var(--bg-primary);
    padding: 40px 0 40px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    grid-template-rows: auto 1fr;
    gap: 30px;
    align-items: start;
    position: relative;
}

/* ===== SECTION FORMULAIRE (GAUCHE) ===== */
.contact-form-section {
    z-index: 10;
    position: relative;
    padding-right: 20px;
    grid-row: 2;
    grid-column: 1;
}

.contact-title {
    margin-top: 100px;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: var(--shadow-text);
    text-align: center;
    grid-column: 1 / -1;
}

.contact-form-wrapper {
    background: var(--bg-overlay-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-overlay-medium);
    color: var(--text-color);
    font-size: 0.95rem;
    font-family: 'Arcon', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: var(--bg-overlay-strong);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group select:focus {
    outline: none;
    border-color: white;
    background: var(--bg-overlay-strong);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Inverser uniquement l'icône du calendrier pour la rendre blanche */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    -webkit-filter: invert(1);
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 16px;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: 0.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.contact-btn {
    margin-top: 1.5rem;
    width: 100%;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    border-color: var(--border-medium);
    box-shadow: 0 4px 15px rgba(226, 0, 125, 0.2);
}

/* ===== BARRE VERTICALE AVEC "OU" ===== */
.contact-separator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    z-index: 5;
    grid-row: 2;
    grid-column: 2;
}

.separator-line {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
}

.separator-top {
    height: 45%;
    margin-bottom: 0.5rem;
}

.separator-bottom {
    height: 45%;
    margin-top: 0.5rem;
}

.separator-text {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* ===== SECTION INFORMATIONS (DROITE) ===== */
.contact-info-section {
    z-index: 10;
    position: relative;
    padding-left: 20px;
    grid-row: 2;
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.contact-info-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-method:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.contact-icon {
    display: none;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    text-decoration: underline;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.contact-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.contact-address {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== SECTION SOCIALE ===== */
.contact-social {
    text-align: center;
    margin-top: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    width: 400px;
}

.contact-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
    text-decoration: underline;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: row;
}

.social-link-button {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    min-width: 120px;
    justify-content: center;
    border: 1px solid var(--border-light);
    background: var(--bg-overlay-light);
    backdrop-filter: blur(10px);
}

.social-link-button i {
    font-size: 1rem;
}

.social-link-button:hover {
    background: var(--bg-overlay-medium);
}

.social-icon {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact-container {
        gap: 30px;
        grid-template-columns: 1fr 60px 1fr;
    }
    
    .separator-text {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px 0;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 0;
    }
    
    .contact-separator {
        order: 2;
        height: auto;
        flex-direction: row;
        justify-content: center;
        padding: 20px 0;
    }
    
    .separator-top,
    .separator-bottom {
        width: 40%;
        height: 2px;
    }
    
    .separator-top {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }
    
    .separator-bottom {
        margin-top: 0;
        margin-left: 0.5rem;
    }
    
    .contact-form-section {
        order: 1;
    }
    
    .contact-info-section {
        order: 3;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 300px;
    }
    
    .contact-method {
        text-align: center;
    }
    
    .contact-info-section {
        align-items: center;
        padding-left: 0;
    }
    
    .social-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .contact-social {
        padding: 1rem;
    }
}

/* Tablet: improve layout between desktop and mobile */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }

    .contact-separator {
        display: flex;
        flex-direction: row;
        height: auto;
        align-items: center;
        justify-content: center;
        padding: 12px 0;
    }

    .separator-top,
    .separator-bottom {
        width: 30%;
        height: 2px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 0;
        order: initial;
    }

    /* Social buttons adaptatives */
    .contact-social {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .social-links {
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-link-button {
        min-width: 110px;
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }
}

/* Mobile refinements for social buttons and layout */
@media (max-width: 480px) {
    .contact-social {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .social-links {
        gap: 0.5rem;
        flex-direction: column;
    }

    .social-link-button {
        min-width: auto;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        justify-content: flex-start;
    }
}
