﻿/* =================================== */
/*    Feuille de style pour contact.html      */
/* =================================== */

/* --- BanniÃ¨re supÃ©rieure --- */
.contact-banner {
    height: 220px;
    background-image: url('image/banner_5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Section principale de contact --- */
.contact-main-section {
    padding: 80px 20px;
    background-color: var(--light-color);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -180px; /* Fait remonter la section pour chevaucher la banniÃ¨re */
    position: relative;
    z-index: 2;
}
.contact-image-circle img {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
}

/* --- Bloc d'informations de contact --- */
.contact-details-box {
    background: var(--background-card);
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-details-box h2 {
    text-align: left;
}
.contact-details-box h2::before {
    left: 0;
    transform: translateY(-50%);
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-info-list a {
    text-decoration: none;
    color: var(--text-color);
}
.contact-details-socials {
    margin-top: 20px;
}
.contact-details-socials a {
    background: var(--text-dark);
    color: #fff;
}

/* --- SystÃ¨me d'onglets (Calendly / Formulaire) --- */
.tabs-section {
    padding: 60px 20px;
}
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-card);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: var(--border-radius-large);
    overflow: hidden;
}
.tabs-nav {
    display: flex;
}
.tabs-nav button {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background-color: var(--background-input);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.tabs-nav button.active {
    background-color: var(--background-card);
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.tabs-content {
    padding: 20px;
}
.tab-content-panel {
    display: none; /* CachÃ© par dÃ©faut */
}
.tab-content-panel.active {
    display: block; /* AffichÃ© si 'active' */
}

/* --- Styles pour le formulaire dans l'onglet --- */
.tab-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espace entre les lignes */
    padding: 30px;
}
.tab-form .form-row { 
    display: flex; 
    gap: 20px; /* Espace entre les champs sur la mÃªme ligne */
}
.tab-form .form-group { 
    flex: 1; /* Permet aux champs sur la mÃªme ligne de prendre une taille Ã©gale */
}
.tab-form label { 
    display: block; 
    margin-bottom: 8px; 
    font-size: 0.9em; 
    color: var(--text-color);
}
.tab-form input, .tab-form textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid var(--border-color); 
    border-radius: var(--border-radius-small); 
    font-size: 1rem;
}
.tab-form textarea { 
    min-height: 150px; 
    resize: vertical; 
}
.tab-form .form-submit-group {
    display: flex;
    justify-content: flex-end; /* Aligne le bouton Ã  droite */
    margin-top: 10px;
}


/* --- Responsive pour Contact --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .contact-image-circle {
        margin-top: -150px; /* Remonte l'image pour l'effet de superposition */
    }
}

