/* =========================================
   STYLE CONTACT - VERSION FINALE (Parallax Fix + Texte)
   ========================================= */

/* --- 1. HERO SECTION (CORRIGÉE) --- */
.contact-hero {
    /* Force la hauteur pour voir l'image et le texte */
    min-height: 75vh; 
    position: relative; 
    overflow: hidden;
    
    /* Centrage */
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    
    /* IMAGE DE FOND PARALLAX */
    background-image: url('../images/parallax-bg.png'); 
    background-size: cover; 
    background-position: center;
    background-attachment: fixed; /* Effet Parallax */
    background-repeat: no-repeat;
    
    /* Fallback couleur (Gris foncé pour test) */
    background-color: #1a1a1a; 
    z-index: 1;
}

/* Voile noir (Overlay) - Semi-transparent pour voir l'image */
.contact-hero::before {
    content: ''; 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(10, 10, 10, 0.9));
    z-index: 2;
}

/* Particules - Au-dessus du voile */
#particles-contact, .particles-absolute {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3; 
    pointer-events: none;
}

/* Contenu Texte - Tout au-dessus */
.hero-content { 
    position: relative; 
    z-index: 4; 
    padding: 0 20px;
    padding-top: 100px; /* Espace avec le header */
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Montserrat', sans-serif; font-size: 3.5rem; font-weight: 900; 
    color: var(--white); text-transform: uppercase; margin-bottom: 10px; 
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-subtitle { 
    color: var(--ttb-gold); font-size: 1.1rem; letter-spacing: 3px; 
    text-transform: uppercase; font-weight: 600; display: block; 
}

/* Styles du nouveau texte narratif */
.hero-description {
    color: #ddd; 
    font-size: 1rem; 
    line-height: 1.8; 
    font-weight: 300;
    margin-top: 25px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.hero-description strong {
    color: var(--ttb-gold);
    font-weight: 700;
    display: block; 
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}


/* --- 2. LAYOUT GRID --- */
.contact-section { padding: 80px 0; position: relative; }

.contact-grid {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px;
    align-items: start;
}


/* --- 3. CARTE INFO (Style Glass) --- */
.contact-info-card {
    background: rgba(20, 20, 20, 0.6); 
    border: 1px solid rgba(255, 204, 0, 0.1);
    padding: 50px 40px; border-radius: 20px;
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transform-style: preserve-3d; perspective: 1000px;
    position: relative; overflow: hidden;
}
.contact-info-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ttb-gold), transparent);
    opacity: 0.5;
}

.info-item { margin-bottom: 40px; display: flex; align-items: flex-start; gap: 25px; transform: translateZ(30px); }

.info-icon {
    min-width: 60px; height: 60px; 
    background: linear-gradient(135deg, #1a1a1a, #000);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ttb-gold); font-size: 1.4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: 0.3s;
}
.contact-info-card:hover .info-icon { border-color: var(--ttb-gold); box-shadow: 0 0 15px rgba(255, 204, 0, 0.2); }

.info-text h4 { color: var(--white); margin: 0 0 8px 0; font-family: 'Montserrat', sans-serif; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; opacity: 0.7; }
.info-text p, .info-text a { color: #fff; margin: 0; font-size: 1.1rem; line-height: 1.6; text-decoration: none; transition: 0.3s; font-weight: 500; }
.info-text a:hover { color: var(--ttb-gold); padding-left: 5px; }


/* --- 4. FORMULAIRE (Style Pro) --- */
.form-wrapper {
    background: rgba(10, 10, 10, 0.8); padding: 50px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}
.form-title { color: var(--white); font-family: 'Montserrat', sans-serif; font-size: 2.2rem; margin-bottom: 40px; border-left: 4px solid var(--ttb-gold); padding-left: 20px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-group { margin-bottom: 30px; position: relative; }

label { display: block; color: var(--ttb-gold); margin-bottom: 10px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

input, select, textarea {
    width: 100%; padding: 15px 0; background: transparent; border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2); border-radius: 0;
    color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1rem;
    outline: none; transition: 0.4s ease; box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
    border-bottom-color: var(--ttb-gold);
    background: linear-gradient(to top, rgba(255, 204, 0, 0.1), transparent);
    padding-left: 15px; /* Décalage plus marqué */
    box-shadow: 0 10px 20px -5px rgba(255, 204, 0, 0.3); /* Lueur portée vers le bas */
}
option { background-color: #111; color: #fff; padding: 10px; }

.btn-submit {
    width: 100%; padding: 18px;
    background: var(--gold-gradient); border: none; border-radius: 5px;
    color: var(--dark-red); font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
    cursor: none; transition: 0.3s; margin-top: 20px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 98% 100%, 0 100%);
}
.btn-submit:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 204, 0, 0.3); background: var(--white); color: #000; }


/* --- 5. MAP SECTION --- */
.map-container {
    width: 100%; height: 450px; margin-top: 80px; border-radius: 0;
    border: 1px solid rgba(255,204,0,0.3); position: relative; overflow: hidden;
    filter: grayscale(100%) invert(92%) contrast(85%);
}
.map-container::before, .map-container::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    border: 3px solid var(--ttb-gold); z-index: 5; pointer-events: none;
}
.map-container::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.map-container::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.map-container iframe { width: 100%; height: 100%; border: 0; }


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; gap: 20px; }
    .hero-title { font-size: 2.5rem; }
    .form-wrapper { padding: 30px; }
    .hero-content { padding-top: 80px; }
    .hero-description { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; line-height: 1.2; }
    .hero-description { font-size: 0.82rem; }
    .hero-content { padding-top: 70px; }
    .form-wrapper { padding: 20px 15px; border-radius: 12px; }
    .form-wrapper h2 { font-size: 1.4rem; }
    .contact-info-card { padding: 20px; }
}

@media (max-width: 375px) {
    .hero-title { font-size: 1.4rem; }
    .form-wrapper h2 { font-size: 1.2rem; }
}
