:root {
    --gold: #c5a059;
    --gold-bright: #e3c48a;
    --bg: #030303;
    --border: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #888888;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { 
    background-color: var(--bg);
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden;
}

html { scroll-behavior: auto; text-rendering: optimizeLegibility;}
.no-select { user-select: none; -webkit-user-select: none; }


.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.08; mix-blend-mode: screen;
}
.bg-glow {
    position: fixed; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    z-index: -1; pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}


.minimal-nav {
    position: fixed; width: 100%; top: 0; padding: 40px 6%;
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
}
.logo { font-family: 'Oswald', sans-serif; font-size: 1.4rem; letter-spacing: 6px; color: white; text-decoration: none; font-weight: 500; text-transform: uppercase; }
.logo .dot { color: var(--gold); }

.back-link {     
    position: relative; background: transparent; border: 1px solid rgba(197,160,89,0.3);
    padding: 12px 28px; color: #fff; font-family: 'Oswald', sans-serif;
    font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; text-decoration: none;
    border-radius: 4px; transition: all 0.4s var(--ease);
}
.back-link:hover { 
    color: var(--bg); background: var(--gold); border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197,160,89,0.3);
}

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 16px; background: transparent; border: none; cursor: pointer; }
.menu-toggle span { width: 100%; height: 1px; background-color: white; transition: all 0.3s ease; }


.contact-main { padding: 160px 6% 60px; max-width: 1500px; margin: 0 auto; }
.split-editorial { display: flex; align-items: stretch; justify-content: space-between; gap: 100px; }

.contact-text-zone { flex: 1.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: 6px; text-transform: uppercase; margin-bottom: 25px; display: block; }
.massive-title { font-family: 'Oswald', sans-serif; font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: 1; text-transform: uppercase; margin-bottom: 35px; font-weight: 400; letter-spacing: -1px; }
.massive-title span { font-family: 'Playfair Display', serif; font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.desc { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; font-weight: 300; max-width: 440px; margin-bottom: 50px; }

.contact-info-blocks { display: flex; gap: 50px; }
.info-item { position: relative; padding-left: 25px; }
.info-item::before { content: ""; position: absolute; left: 0; top: 4px; height: 24px; width: 1px; background: var(--gold); }
.interactive-email { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.interactive-email:hover { color: var(--gold); border-bottom-color: var(--gold); }
.optional-tag { font-size: 0.7rem; color: #555; text-transform: none; letter-spacing: 0; }


.contact-form-zone { flex: 0.9; display: flex; align-items: center; justify-content: flex-end; }
.glass-form-panel { 
    position: relative; background: rgba(13, 13, 13, 0.45); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border); border-radius: 16px; padding: 50px; width: 100%; max-width: 520px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8); overflow: hidden;
    transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.glass-form-panel:hover {
    border-color: rgba(197, 160, 89, 0.2);
    box-shadow: 0 40px 100px rgba(0,0,0,0.9), 0 0 40px rgba(197, 160, 89, 0.03);
}
.panel-shine {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
}

.ultra-premium-form { display: flex; flex-direction: column; gap: 32px; }
.form-group { position: relative; }


.ultra-premium-form input, .ultra-premium-form textarea {
    width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 14px 0 10px; color: white; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 300;
    outline: none; transition: border-color 0.4s var(--ease); resize: none; border-radius: 0;
}
.float-label-group label {
    position: absolute; left: 0; top: 14px; color: #666; 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.7rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
}
.char-counter { position: absolute; right: 0; bottom: -18px; font-size: 0.7rem; color: #444; font-weight: 300; }
.input-highlight { position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.4s var(--ease); }
.ultra-premium-form input:focus ~ .input-highlight, .form-group.active-select .input-highlight, .ultra-premium-form textarea:focus ~ .input-highlight { width: 100%; }


.custom-select { position: relative; width: 100%; cursor: pointer; outline: none; }
.select-selected {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0 10px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #666; font-weight: 300; font-size: 1rem;
}
.select-selected.active-text { color: white; }
.select-selected .chevron { width: 16px; height: 16px; transition: transform 0.4s var(--ease); color: #555; }
.select-selected.open .chevron { transform: rotate(180deg); color: var(--gold); }

.select-options {
    position: absolute; top: 105%; left: 0; width: 100%;
    background: #0d0d0d; border: 1px solid rgba(255,255,255,0.05); border-radius: 6px;
    display: none; flex-direction: column; z-index: 100; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.select-options div { padding: 14px 20px; transition: 0.2s; color: #888; font-weight: 300; font-size: 0.95rem; }
.select-options div:hover { background: rgba(197,160,89,0.08); color: white; }


.upload-group { display: flex; flex-direction: column; gap: 14px; }
.media-dropzone {
    border: 1px dashed rgba(255,255,255,0.12); border-radius: 8px;
    padding: 26px; text-align: center; background: rgba(255,255,255,0.01);
    cursor: pointer; transition: all 0.3s var(--ease);
}
.media-dropzone:hover, .media-dropzone.dragover {
    border-color: var(--gold); background: rgba(197,160,89,0.03);
}
.dropzone-prompt { display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.upload-icon { width: 26px; height: 26px; color: var(--gold); opacity: 0.8; }
.dropzone-prompt p { font-size: 0.9rem; color: #aaa; font-weight: 300; }
.browse-btn { color: var(--gold-bright); font-weight: 400; text-decoration: underline; }
.upload-specs { font-size: 0.7rem; color: #555; }


.preview-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 10px; margin-top: 5px; }
.preview-item {
    position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); animation: formFadeIn 0.3s var(--ease) forwards;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .remove-btn {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75);
    color: #ff6b6b; display: flex; align-items: center; justify-content: center;
    opacity: 0; cursor: pointer; transition: opacity 0.2s ease; font-size: 1.2rem;
}
.preview-item:hover .remove-btn { opacity: 1; }


.cta-submit {
    position: relative; overflow: hidden; background: transparent; border: 1px solid var(--gold);
    padding: 18px 30px; color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 0.85rem; 
    letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: 0.4s var(--ease); border-radius: 4px;
}
.cta-submit .btn-text { position: relative; z-index: 2; }
.btn-hover-effect { position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); z-index: 1; }
.cta-submit:hover .btn-hover-effect { transform: scaleY(1); }
.cta-submit:hover { box-shadow: 0 10px 30px rgba(197,160,89,0.2); }
.cta-submit:hover .btn-text { color: black; }


.map-section { margin-top: 120px; }
.map-cinematic-container { 
    position: relative; width: 100%; height: 480px; 
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.map-cinematic-container iframe { 
    opacity: 0.45; /* Optionnel : garde une légère transparence pour l'intégration, ou mettez 1 pour 100% opaque */
}


.reveal { opacity: 0; transform: translateY(20px); transition: 1.2s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes formFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }


.social-sticky { position: fixed; right: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 20px; z-index: 999; }
.social-sticky a { color: #444; transition: 0.3s; width: 20px; height: 20px; }
.social-sticky a:hover { color: var(--gold); transform: translateY(-2px); }


@media (max-width: 1100px) {
    .split-editorial { flex-direction: column; gap: 70px; }
    .contact-text-zone { text-align: center; align-items: center; }
    .contact-info-blocks { justify-content: center; }
    .desc { max-width: 500px; margin-bottom: 40px; }
    .contact-form-zone { justify-content: center; width: 100%; }
    .glass-form-panel { max-width: 100%; }
}

@media (max-width: 768px) {
    .minimal-nav { padding: 25px 6%; }
    .contact-main { padding: 120px 6% 40px; }
    .massive-title { font-size: 2.8rem; }
    .contact-info-blocks { flex-direction: column; gap: 25px; text-align: left; }
    .glass-form-panel { padding: 35px 20px; }
    .map-cinematic-container { height: 320px; }
    .social-sticky { position: relative; top: auto; right: auto; transform: none; flex-direction: row; justify-content: center; margin-top: 40px; }
}


.ultra-premium-form input:-webkit-autofill,
.ultra-premium-form input:-webkit-autofill:hover, 
.ultra-premium-form input:-webkit-autofill:focus, 
.ultra-premium-form input:-webkit-autofill:active,
.ultra-premium-form textarea:-webkit-autofill {
    
    transition: background-color 5000s ease-in-out 0s;
    
    -webkit-text-fill-color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
}