/* --- VARIABLES ET BASES --- */
:root {
    --gold: #c5a059;
    --gold-bright: #e3c48a;
    --bg: #030303;
    --border: rgba(255,255,255,0.08);
    --text-main: #ffffff;
    --text-dim: #999999;
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { 
    background: linear-gradient(0deg, #12121291, #000000); color: var(--text-main); 
    font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; 
    overflow-x: hidden; /* Remplacé overflow:hidden pour permettre le scroll natif + Lenis */
}

html { scroll-behavior: auto; text-rendering: optimizeLegibility;}
.no-select { user-select: none; -webkit-user-select: none; }

/* GRAIN ET LUMIÈRE D'AMBIANCE */
.gold-grain-overlay {
    position: fixed; inset: 0; pointer-events: none; z-index: -1;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15; mix-blend-mode: overlay;
}
.bg-glow {
    position: fixed; top: 20%; right: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(197,160,89,0.05) 0%, transparent 70%);
    z-index: -2; pointer-events: none;
}

/* --- NAVIGATION --- */
.minimal-nav {
    position: fixed; width: 100%; top: 0; padding: 30px 6%;
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    backdrop-filter: blur(5px);
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.6rem; letter-spacing: 5px; color: white; text-decoration: none; font-weight: 500; text-transform: uppercase; z-index: 1002; position: relative; }
.logo .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; }

.back-link {     
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 1px solid var(--gold);
    padding: 20px 30px;
    color: var(--gold);
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
    margin-top: 10px;
    border-radius: 10px 90px 10px 90px;
    text-decoration: none; 
}
.back-link:hover, .back-link:focus-visible { 
    color: var(--bg); 
    background: var(--gold);
    outline: none;
}

/* BOUTON BURGER */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 35px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 1002; position: relative; }
.menu-toggle span { width: 100%; height: 2px; background-color: white; transition: all 0.4s var(--ease); transform-origin: left; }

/* --- MISE EN PAGE --- */
.contact-main { padding: 180px 6% 100px; max-width: 1600px; margin: 0 auto; }
.split-editorial { display: flex; align-items: center; justify-content: space-between; gap: 80px; min-height: 70vh; }

/* TEXTE GAUCHE */
.contact-text-zone { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.gold-subtitle { font-family: 'Oswald', sans-serif; color: var(--gold); font-size: 0.8rem; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 20px; display: block; }
.massive-title { font-family: 'Oswald', sans-serif; font-size: clamp(3.5rem, 6vw, 6.5rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 30px; font-weight: 400; }
.massive-title span { font-family: 'Playfair Display', serif; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--gold); font-weight: 400; }
.desc { color: var(--text-dim); font-size: 1.1rem; line-height: 1.6; font-weight: 300; max-width: 400px; margin-bottom: 60px; }

.contact-info-blocks { display: flex; gap: 60px; }
.info-item { position: relative; padding-left: 20px; }
.info-item::before { content: ""; position: absolute; left: 0; top: 5px; height: 30px; width: 2px; background: var(--gold); }
.gold-label { display: block; font-size: 0.7rem; color: var(--gold); letter-spacing: 3px; margin-bottom: 10px; font-weight: 500; }
.info-item p { font-size: 1rem; font-weight: 300; line-height: 1.5; color: #e0e0e0; }

/* FORMULAIRE DROITE (Verre fumé élégant) */
.contact-form-zone { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.glass-form-panel { 
    background: #7565474f; backdrop-filter: blur(30px);
    border: 1px solid rgba(197, 160, 89, 0.15); border-radius: 12px;
    padding: 60px; width: 100%; max-width: 550px;
    box-shadow: 1px 0px 20px 17px #c5a059, inset 0 1px 10px rgba(255, 255, 255, 0.03);
}

.ultra-premium-form { display: flex; flex-direction: column; gap: 40px; }
.form-group { position: relative; }

/* Champs de saisie standards */
.ultra-premium-form input, .ultra-premium-form textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border);
    padding: 15px 0 10px; color: white; font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 300;
    outline: none; transition: border-color 0.4s var(--ease); resize: none; border-radius: 0;
    -webkit-appearance: none;
}

/* LABELS FLOTTANTS */
.float-label-group label {
    position: absolute; left: 0; top: 15px; color: #c5c5c5; font-size: 1rem;
    pointer-events: none; transition: all 0.3s var(--ease); font-weight: 300;
}
.float-label-group input:focus ~ label, 
.float-label-group input:not(:placeholder-shown) ~ label,
.float-label-group textarea:focus ~ label,
.float-label-group textarea:not(:placeholder-shown) ~ label {
    top: -12px; font-size: 0.75rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase;
}

/* Ligne Or au focus */
.input-highlight { position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.ultra-premium-form input:focus ~ .input-highlight, .form-group.active-select .input-highlight, .ultra-premium-form textarea:focus ~ .input-highlight { width: 100%; box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }

/* ===== SELECT CUSTOM PREMIUM ===== */
.custom-select { position: relative; width: 100%; cursor: pointer; outline: none; }
.custom-select:focus-visible .select-selected { border-bottom-color: var(--gold); }

.select-selected {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0 10px; border-bottom: 1px solid var(--border); color: #c5c5c5; font-weight: 300; font-size: 1.1rem; transition: 0.3s;
}
.select-selected.active-text { color: white; }
.select-selected .chevron { width: 20px; height: 20px; transition: transform 0.4s var(--ease); color: #666; }
.select-selected.open .chevron { transform: rotate(180deg); color: var(--gold); }

.select-options {
    position: absolute; top: 110%; left: 0; width: 100%;
    background: rgba(10,10,10,0.95); border: 1px solid rgba(197,160,89,0.2); border-radius: 8px;
    display: none; flex-direction: column; z-index: 100; overflow: hidden; backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.select-options div { padding: 15px 20px; transition: 0.3s; color: #aaa; font-weight: 300; cursor: pointer; outline:none; }
.select-options div:hover, .select-options div:focus-visible { background: rgba(197,160,89,0.1); color: white; padding-left: 25px; }

/* BOUTON D'ENVOI */
.cta-submit {
    position: relative; overflow: hidden; background: transparent; border: 1px solid var(--gold);
    padding: 20px 30px; color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 0.9rem; 
    letter-spacing: 4px; text-transform: uppercase; cursor: pointer; transition: 0.4s; margin-top: 10px; border-radius: 2px;
}
.cta-submit .btn-text { position: relative; z-index: 2; transition: 0.4s; }
.btn-hover-effect { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); z-index: 1; }
.cta-submit:hover .btn-hover-effect { transform: scaleY(1); }
.cta-submit:hover .btn-text { color: black; font-weight: 500; }

/* --- CARTE FONDU --- */
.map-section { margin-top: 100px; }
.map-cinematic-container { 
    position: relative; width: 100%; height: 500px; 
    /* Masque de fondu vers le noir pour une intégration parfaite */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.map-cinematic-container iframe { /*filter: grayscale(80%)*/ invert(90%) contrast(1.2) hue-rotate(180deg); }
.map-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 2; box-shadow: inset -1px 0px 60px 2px #ffca656e }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1024px) {
    .split-editorial { flex-direction: column; gap: 60px; }
    .contact-text-zone { text-align: center; align-items: center; }
    .contact-info-blocks { justify-content: center; width: 100%; }
    .desc { margin: 0 auto 40px; }
    .glass-form-panel { max-width: 100%; padding: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { 
        position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh; 
        background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; justify-content: center; align-items: center; 
        transition: right 0.6s var(--ease); z-index: 1001;
    }
    .nav-links.active { right: 0; }
    
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, -5px); width: 120%; }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, 5px); width: 120%; }

    .minimal-nav { padding: 20px 6%; }
    .contact-main { padding: 120px 6% 40px; }
    .massive-title { font-size: clamp(3rem, 12vw, 4rem); line-height: 1; }
    .contact-info-blocks { flex-direction: column; gap: 30px; text-align: left; align-items: flex-start; }
    
    .glass-form-panel { padding: 30px 20px; box-shadow: none; border: 1px solid rgba(197,160,89,0.3); background: transparent; backdrop-filter: none; }
    .map-cinematic-container { height: 350px; }
}

.social-sticky { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 25px; z-index: 999; }
.social-sticky a { width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; color: #c5a059; border-radius: 50%; transition: 0.4s var(--ease); }
.social-sticky a svg { width: 22px; height: 22px; }
.social-sticky a:hover { color: var(--gold); transform: translateX(-5px) scale(1.1); border-color: var(--gold); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }

/* Social sticky amélioré mobile */
@media (max-width: 768px) {
    .social-sticky {
        position: fixed;
        bottom: 15px;
        right: 15px;
        top: auto;
        /*flex-direction: row;*/
        gap: 25px;
    }
	
	.map-section {
    margin-top: 100px;
    margin-left: 30px;
    margin-right: 30px;
}
	
}

