/* ===============================================
    05. SECTION CONTACT - DESIGN MODERNE PREMIUM
================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr; 
    gap: 2.5rem; /* Plus d'espace pour aérer */
    align-items: stretch;
    margin-top: 3rem;
}

/* --- LE FORMULAIRE --- */
.contact-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px; /* Coins très arrondis modernes */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); /* Ombre très légère et diffuse */
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
}

/* Titre du formulaire */
.contact-form h3 {
    text-align: center;
    color: #0f172a; /* Bleu nuit presque noir */
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Description sous le titre */
.contact-form .partnership-description {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Style des groupes de saisie */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

/* --- STYLE UNIFIÉ DES INPUTS ET TEXTAREA --- */
.contact-form input, 
.contact-form textarea,
.phone-wrapper {
    width: 100%;
    padding: 1.1rem 1.2rem;
    border: 2px solid #e2e8f0; /* Bordure grise douce par défaut */
    border-radius: 14px;       /* Coins arrondis élégants */
    background-color: #f8fafc; /* Gris très clair pour le repos visuel */
    font-size: 1rem;
    color: #000000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

/* --- EFFET FOCUS (TURQUOISE) SUR TOUS LES CHAMPS --- */
.contact-form input:focus, 
.contact-form textarea:focus,
.phone-wrapper:focus-within {
    outline: none;
    background-color: #ffffff;
    border-color: #5eead4; /* Votre Turquoise */
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.15); /* Halo turquoise */
    transform: translateY(-2px); /* Soulèvement subtil */
}

/* --- OPTION TÉLÉPHONE (INTÉGRATION) --- */
.phone-wrapper {
    padding: 0 15px; 
    display: flex;
    align-items: center;
}

.country-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    border-right: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    pointer-events: none;
}

#phone {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* --- OPTION TEXTAREA (MESSAGE) --- */
.contact-form textarea {
    min-height: 200px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* --- LE BOUTON D'ENVOI (STYLE PILULE) --- */
.contact-form .btn-submit {
    background: #5eead4; /* Votre Turquoise */
    padding: 1.3rem 3.5rem; 
    color: #000000;
    border-radius: 50px; /* Forme pilule cohérente avec le site */
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    margin: 1.5rem auto 0; 
    width: fit-content;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(94, 234, 212, 0.3);
}

.contact-form .btn-submit:hover {
    background: #000000; /* Devient noir au survol pour un look ultra moderne */
    color: #5eead4;      /* Le texte passe au turquoise */
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* --- BLOC DROITE : COORDONNÉES (Inchangé comme demandé) --- */
.contact-info {
    position: relative;
    padding: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.85)), 
                url("../image/Fonds.png") center/cover no-repeat;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white) !important;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--white) !important;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* Le texte "Adresse :" hérite du blanc du bloc .contact-info p */
.contact-info p {
    color: var(--white) !important;
    font-weight: 700;
}

/* L'adresse spécifique passe en turquoise */
.highlight-turquoise {
    color: var(--primary) !important; /* Couleur turquoise #5eead4 */
    font-weight: 700;
    margin-left: 5px; /* Petit espace après les deux points */
}

/* L'icône devant reste en turquoise aussi */
.contact-info p i {
    color: var(--primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* On empile seulement sur tablette/mobile */
    }
}

/* ===============================================
   06. FOOTER
   Structure et style du pied de page
================================================ */

.footer {
    background: var(--navy-dark);
    margin-top: 6rem;
    padding: 4rem 0;
    color: var(--gray);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow);
    background-image: linear-gradient(
            rgba(10, 25, 47, 0.9),
            rgba(10, 25, 47, 0.95)
        ),
        url("../image/Fonds.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    clip-path: ellipse(100% 100% at 50% 100%);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-grid h4 {
    color: var(--primary-light);
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-grid p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray);
}

.footer-grid a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 2;
    display: block;
    transition: var(--transition);
}

.footer-grid a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.lang-selector-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: var(--navy-soft);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-selector-wrapper i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.lang-select {
    padding: 0.4rem 0.2rem;
    width: 100px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    appearance: none;
    cursor: pointer;
    outline: none;
}

.lang-select option {
    background: var(--navy-soft);
    color: var(--white);
}

.socials {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.socials a {
    color: var(--gray);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.socials a i {
    font-size: 1.3rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9em;
    color: var(--muted);
    font-weight: 600;
    width: 100%;
    display: block;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-light);
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--primary);
    text-decoration: underline;
}