/* ============================================================
   LORHAK STYLE - GREY TEXTURED (CSS PURE) - BASE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f9d976;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    /* FOND GRIS TEXTURÉ (GÉNÉRÉ EN CSS - VOTRE BASE) */
    --bg-texture: 
        radial-gradient(circle at 50% 0%, rgba(60,60,60,0.4), transparent 90%),
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%, rgba(255,255,255,0.03)), 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.03) 75%, rgba(255,255,255,0.03));
    --bg-color: #121212; /* Gris Anthracite de base */
    
    --panel-bg: rgba(35, 35, 35, 0.7);
    --input-bg: #1e1e1e;
    
    --text: #f0f0f0;
    --text-muted: #aaa;
    
    --border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* ARRONDIS */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 50px;
    
    --nav-height: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

body {
    background-color: var(--bg-color);
    background-image: var(--bg-texture);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    background-attachment: fixed;
    
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: var(--r-md); }

/* TYPO */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
}

h1 { font-size: 3.8rem; line-height: 1.1; text-shadow: 0 0 30px var(--gold-glow); }
h2 { 
    font-size: 2.5rem; margin-top: 60px; text-align: center; 
    padding-bottom: 15px; position: relative; 
}
h2::after { 
    content: ''; display: block; width: 80px; height: 3px; 
    background: var(--gold); margin: 15px auto 0; border-radius: 10px; 
}

p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 25px; }

/* NAVBAR */
.navbar {
    position: fixed; top: 15px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1400px; height: 80px;
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    z-index: 2000; backdrop-filter: blur(15px);
    display: flex; align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.navbar-container { width: 100%; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; font-weight: 900; letter-spacing: 3px; font-family: 'Cormorant Garamond'; color: var(--gold); text-shadow: 0 0 15px rgba(212,175,55,0.3); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.85rem; font-weight: 600; color: #ccc; text-transform: uppercase; letter-spacing: 1px; transition:0.3s; }
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

.btn-client-nav {
    border: 1px solid var(--gold); padding: 10px 25px !important; 
    border-radius: var(--r-xl); color: var(--gold) !important; 
    font-weight: 700; font-size: 0.75rem !important; transition: 0.3s;
    background: rgba(212, 175, 55, 0.05);
}
.btn-client-nav:hover { background: var(--gold); color: #000 !important; box-shadow: 0 0 20px var(--gold-glow); }

/* HERO */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding-top: 150px; padding-bottom: 100px;
}
.hero-logo { 
    width: 160px; margin-bottom: 40px; 
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.2)); 
    animation: float 6s infinite; 
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* BOUTONS */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #000; border: none; padding: 16px 40px; 
    border-radius: var(--r-xl);
    font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s; display: inline-block; text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.btn-gold:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 0 30px var(--gold-glow); }

.btn-download {
    border: 1px solid var(--gold); color: var(--gold); background: transparent;
    padding: 15px 30px; border-radius: var(--r-xl); font-weight: 700; text-transform: uppercase;
    cursor: pointer; font-size: 0.9rem; display: inline-block; transition: 0.3s;
}
.btn-download:hover { background: rgba(212, 175, 55, 0.1); color: #fff; border-color: #fff; }

/* BANNIÈRE COOKIES LUXE */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid #d4af37;
    border-radius: 15px;
    padding: 25px;
    display: none; /* Caché par défaut, affiché par JS */
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0,0,0,0.9);
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-content h3 {
    color: #d4af37;
    margin: 0 0 10px 0;
    font-family: 'Cormorant Garamond', serif;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-accept {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
}

.btn-refuse {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
}

.link-more {
    color: #888;
    text-decoration: underline;
    font-size: 0.9rem;
}

/* CARTES */
section { padding: 100px 20px; max-width: 1300px; margin: 0 auto; }
.glass-card {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    padding: 50px; border-radius: var(--r-lg);
    backdrop-filter: blur(10px);
    transition: 0.3s; margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.glass-card:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.deco-line { width: 80px; height: 3px; background: var(--gold); margin: 30px auto; border-radius: 10px; }

/* AUTH (LOGIN) */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 20px; /* Fond géré par body */
}
.auth-card {
    width: 100%; max-width: 480px;
    background: rgba(25,25,25,0.95); 
    border: 1px solid var(--gold); border-radius: var(--r-lg);
    padding: 60px 50px; text-align: center;
    box-shadow: 0 0 100px rgba(212,175,55,0.1);
    position: relative; z-index: 10;
}
.form-group { margin-bottom: 25px; text-align: left; }
.form-group label { 
    display: block; color: var(--gold); font-size: 0.75rem; 
    font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; padding-left: 15px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 20px; 
    background: var(--input-bg); border: 1px solid #333; 
    color: #fff; border-radius: var(--r-md); outline: none; font-size: 1rem; transition: 0.3s;
}
.form-group input:focus { border-color: var(--gold); box-shadow: 0 0 15px var(--gold-glow); }

/* OFFRES */
.offers-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.offer-card {
    background: rgba(35, 35, 35, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-lg);
    padding: 50px 40px; width: 380px; text-align: center;
    transition: all 0.3s ease; position: relative;
}
.offer-card:hover { transform: translateY(-10px); border-color: var(--gold); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.offer-card.premium {
    background: linear-gradient(145deg, rgba(45,45,45,0.95), rgba(25,25,25,0.98));
    border: 1px solid var(--gold);
    transform: scale(1.05); z-index: 2;
    box-shadow: 0 10px 40px rgba(212,175,55,0.1);
}
.offer-card.premium:hover { transform: scale(1.05) translateY(-10px); box-shadow: 0 30px 80px rgba(212,175,55,0.2); }
.offer-price { font-family: 'Cormorant Garamond'; font-size: 3.5rem; color: #fff; font-weight: 700; margin: 20px 0; }
.offer-list { list-style: none; padding: 0; text-align: left; margin-top: 30px; }
.offer-list li { margin-bottom: 15px; color: #ccc; display: flex; align-items: center; gap: 10px; }
.offer-list i { color: var(--gold); }

/* TEAM */
.team-section { text-align: center; }
.team-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 60px; margin-top: 60px; }
.team-card { text-align: center; width: 260px; }
.team-photo {
    width: 180px; height: 180px; border-radius: 50%; border: 2px solid var(--gold);
    margin: 0 auto 25px; overflow: hidden; background: #151515;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4); transition: 0.3s;
}
.team-card:hover .team-photo { border-color: #fff; box-shadow: 0 0 25px var(--gold-glow); transform: scale(1.05); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.4rem; color: #fff; font-weight: 700; margin-bottom: 5px; font-family: 'Cormorant Garamond'; }
.team-role { color: var(--gold); font-style: italic; font-size: 0.95rem; }
.team-arrow-btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: 0.3s; display:flex; justify-content:center; align-items:center; margin: 0 auto; }
.team-arrow-btn:hover { background: var(--gold); color: #000; }

/* --- LORHAK STEALTH FOOTER --- */
:root {
    --deep-bg: #030303;
    --gold-desaturated: #b89b4d;
    --gold-glow: rgba(184, 155, 77, 0.15);
    --text-muted: #666666;
    --border-subtle: rgba(255, 255, 255, 0.03);
}

.lorhak-stealth-footer {
    background: var(--deep-bg);
    padding: 100px 0 40px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.footer-top-divider {
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-desaturated), transparent);
    opacity: 0.2;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 0 40px;
}

/* Logo & Description */
.logo-text {
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 8px;
    margin: 0 0 10px;
    font-weight: 500;
}

.logo-underline {
    width: 40px;
    height: 1px;
    background: var(--gold-desaturated);
    margin-bottom: 25px;
}

.description {
    font-size: 0.85rem;
    max-width: 250px;
    line-height: 1.7;
}

/* Innovation Status */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 15px;
    border-radius: 50px;
    width: fit-content;
    border: 1px solid rgba(184, 155, 77, 0.1);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--gold-desaturated);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-desaturated);
    animation: stealth-pulse 2s infinite;
}

@keyframes stealth-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.status-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-desaturated);
}

/* Sections & Links */
.col-title {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a, .contact-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-nav a:hover, .contact-link:hover {
    color: var(--gold-desaturated);
    transform: translateX(5px);
}

/* Contact Details */
.contact-box i {
    color: var(--gold-desaturated);
    margin-right: 10px;
    font-size: 0.8rem;
}

.location {
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Bottom Copyright */
.footer-bottom {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 30px 40px 0;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.founders {
    font-style: italic;
    color: #333;
}

/* Floating ID Icon */
.floating-id {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold-desaturated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-desaturated);
    font-size: 1.2rem;
    background: var(--gold-glow);
    cursor: help;
    transition: 0.4s;
}

.floating-id:hover {
    box-shadow: 0 0 20px var(--gold-desaturated);
    transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .brand { grid-column: span 2; margin-bottom: 30px; }
}

/* --- CHATBOT PREMIUM (STYLE CATÉGORISÉ) --- */
#chatbot-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; font-family: 'Inter', sans-serif; }

#chatbot-toggle { 
    width: 65px; height: 65px; 
    background: linear-gradient(135deg, var(--gold), #b8860b); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 5px 25px rgba(212,175,55,0.5); 
    color: #000; font-size: 1.8rem; 
    transition: 0.3s;
    animation: pulseGold 2s infinite;
}
@keyframes pulseGold { 0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); } 70% { box-shadow: 0 0 0 15px rgba(212,175,55,0); } 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); } }
#chatbot-toggle:hover { transform: scale(1.1); color: #fff; }

#chatbot-window { 
    display: none; position: absolute; bottom: 90px; right: 0; 
    width: 380px; height: 600px; /* Plus haut pour le menu */
    background: rgba(20, 20, 20, 0.95); 
    border: 1px solid var(--gold); border-radius: 20px; 
    flex-direction: column; 
    box-shadow: 0 20px 80px rgba(0,0,0,0.8); 
    overflow: hidden; 
    backdrop-filter: blur(15px);
}

.chat-header { 
    background: linear-gradient(90deg, var(--gold), #b8860b); 
    padding: 15px 20px; color: #000; font-weight: 800; 
    display:flex; justify-content:space-between; align-items:center;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;
}

.chat-body { 
    flex: 1; padding: 20px; 
    overflow-y: auto; 
    background: #0e0e0e; 
    display: flex; flex-direction: column; gap: 10px;
}

/* Messages */
.msg { padding: 12px 16px; border-radius: 18px; max-width: 85%; font-size: 0.9rem; line-height: 1.5; animation: fadeIn 0.3s; }
.bot { background: #252525; color: #ddd; align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid #333; }
.user { background: var(--gold); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 600; }

/* MENU DE QUESTIONS (NOUVEAU) */
.chat-menu { margin-top: 10px; display: flex; flex-direction: column; gap: 15px; }

.chat-section-title { 
    color: var(--gold); font-size: 0.75rem; font-weight: 700; 
    margin-bottom: 8px; letter-spacing: 1px; border-bottom: 1px solid rgba(212,175,55,0.2); 
    padding-bottom: 5px;
}

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chat-chips button {
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    color: #ccc;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
    text-align: left;
    flex-grow: 1; /* S'étend pour remplir la ligne */
}

.chat-chips button:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--gold);
    color: #fff;
}

/* INPUT */
.chat-input { 
    padding: 15px; border-top: 1px solid #222; 
    display: flex; gap: 10px; background: #151515; 
}
.chat-input input { 
    width: 100%; padding: 12px 15px; 
    background: #0a0a0a; border: 1px solid #333; 
    color: #fff; outline: none; border-radius: 50px; font-size: 0.9rem;
}
.chat-input button {
    background: transparent; border: none; color: var(--gold); 
    font-size: 1.2rem; cursor: pointer; transition: 0.3s;
}
.chat-input button:hover { transform: scale(1.2); color: #fff; }

@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

@media (max-width: 1000px) { .grid-2, .grid-3, .footer-container { grid-template-columns: 1fr; text-align: center; } .navbar { top: 10px; width: 90%; height: 70px; } .nav-links { display: none; } }
/* ... [GARDE TOUT TON CSS ICI] ... */

/* ================================================= */
/* STYLE DE LA FENÊTRE FONDATEUR (MODAL CENTRALE)    */
/* ================================================= */

.custom-modal-overlay {
    display: none; /* Caché par défaut */
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Fond très sombre */
    z-index: 10000; /* Au dessus de tout */
    justify-content: center; 
    align-items: center;
    backdrop-filter: blur(8px); /* Effet flou */
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.custom-modal-box {
    background: #151515;
    border: 1px solid var(--gold);
    padding: 50px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.15); /* Lueur dorée */
    transform: translateY(0);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

@keyframes modalPop {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.custom-modal-input {
    width: 100%;
    padding: 15px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: var(--gold);
    font-size: 1.4rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 25px;
    outline: none;
    letter-spacing: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    transition: 0.3s;
}

.custom-modal-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.close-custom-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-custom-modal:hover {
    color: var(--gold);
    transform: rotate(90deg);
}
/* ================================================= */
/* STYLE DE LA FENÊTRE FONDATEUR (MODAL CENTRALE)    */
/* ================================================= */

.custom-modal-overlay {
    display: none; /* Caché par défaut */
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Fond très sombre */
    z-index: 10000; /* Au dessus de tout */
    justify-content: center; 
    align-items: center;
    backdrop-filter: blur(8px); /* Effet flou */
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.custom-modal-box {
    background: #151515;
    border: 1px solid var(--gold);
    padding: 50px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.15); /* Lueur dorée */
    transform: translateY(0);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

@keyframes modalPop {
    from { transform: scale(0.8) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.custom-modal-input {
    width: 100%;
    padding: 15px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: var(--gold);
    font-size: 1.4rem;
    text-align: center;
    border-radius: 12px;
    margin-top: 25px;
    outline: none;
    letter-spacing: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: bold;
    transition: 0.3s;
}

.custom-modal-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.close-custom-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-custom-modal:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* =========================================
   INTEL.CSS - DESIGN LUXE COMPLET
   ========================================= */

/* --- RESET & LAYOUT (Indispensable pour le footer en bas) --- */
html, body.palace-body {
    height: 100%; /* Prend toute la hauteur */
    margin: 0;
    padding: 0;
    background-color: #000000;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow-x: hidden; /* Pas de scroll horizontal */
    
    /* C'est ça qui fait marcher le footer : */
    display: flex;
    flex-direction: column;
}

.navbar { z-index: 100; position: fixed; top: 0; width: 100%; }

/* --- L'UNIVERS (Prend toute la place dispo) --- */
.main-universe {
    flex: 1; /* Pousse le footer vers le bas */
    width: 100%;
    display: flex; justify-content: center; align-items: center;
    padding-top: 80px; /* Espace pour la navbar */
    padding-bottom: 80px; /* Espace pour ne pas coller au footer */
    transition: filter 0.6s ease;
}
.soft-blur { filter: blur(5px); }

.palace-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 95%; max-width: 1600px;
    /* On laisse la hauteur s'adapter au contenu */
}

/* =========================================
   FOOTER "SOCLE ROYAL" (STABLE & LUXE)
   ========================================= */

.royal-footer {
    width: 100%;
    background-color: #000000;
    margin-top: auto; /* Force le footer en bas */
    z-index: 50;
    padding: 60px 0 40px 0; /* Plus de hauteur (padding) */
    border-top: 1px solid #111; /* Séparation très subtile avec le reste */
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Espace entre les éléments */
}

/* 1. LE SÉPARATEUR (Ligne - Losange - Ligne) */
.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    opacity: 0.5; /* Un peu transparent pour l'élégance */
}

.footer-divider .line {
    width: 100px; /* Longueur des traits */
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37); /* Dégradé or */
}
/* On inverse le dégradé pour la ligne de droite */
.footer-divider .line:last-child {
    background: linear-gradient(90deg, #d4af37, transparent);
}

.footer-divider .diamond {
    color: #d4af37;
    font-size: 0.8rem;
}

/* 2. LE MENU (Liens) */
.footer-menu {
    display: flex;
    gap: 60px; /* Grand espacement entre les mots */
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu a {
    font-family: 'Cormorant Garamond', serif; /* Police Luxe */
    font-size: 0.9rem; /* Taille moyenne, lisible */
    color: #888;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.4s ease;
    border-bottom: 1px solid transparent; /* Prêt pour le soulignement */
    padding-bottom: 5px;
}

.footer-menu a:hover {
    color: #d4af37;
    border-bottom-color: #d4af37; /* Soulignement or au survol */
}

/* 3. COPYRIGHT */
.footer-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    color: #333; /* Très sombre, c'est juste une info technique */
    letter-spacing: 3px;
    margin-top: 20px;
}

/* MOBILE */
@media (max-width: 800px) {
    .footer-menu { gap: 20px; flex-direction: column; }
    .footer-divider .line { width: 40px; }
}

/* --- COOKIES --- */
#cookie-banner {
    position: fixed; bottom: 30px; right: 30px; width: 350px;
    background: rgba(10, 10, 10, 0.95); border: 1px solid #d4af37; border-radius: 10px;
    padding: 20px; z-index: 8000; /* Devant footer, derrière overlay */
    transition: all 0.5s ease; transform: translateY(100px); opacity: 0; pointer-events: none;
}
.cookie-visible { transform: translateY(0) !important; opacity: 1 !important; pointer-events: all !important; }
.cookie-hidden { transform: translateY(100px); opacity: 0; }
.cookie-content { display: flex; gap: 15px; margin-bottom: 15px; }
.cookie-icon { color: #d4af37; font-size: 1.5rem; }
.cookie-text h4 { margin: 0 0 5px 0; color: #d4af37; font-size: 0.9rem; }
.cookie-text p { margin: 0; font-size: 0.75rem; color: #aaa; }
.btn-cookie-accept {
    width: 100%; padding: 8px; background: #d4af37; color: #000; border: none; font-weight: bold; cursor: pointer;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1100px) {
    .palace-container { flex-direction: column; padding-top: 100px; }
    .side-column { display: none; }
    .center-stage { transform: scale(0.65); margin-bottom: 50px; }
    .rotating-ring, .satellite-content { animation: none; }
    .ghost-card { width: 90%; padding: 40px 20px; }
    /* Sur mobile, le footer est juste en bas du scroll */
    .solid-footer { position: relative; }
    #cookie-banner { width: 90%; right: 5%; bottom: 10px; }
}

/* =========================================
   MODAL LOGIN FONDATEUR
   ========================================= */

.modal-hidden { display: none; }
.modal-visible { display: flex; }

#founder-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    justify-content: center; align-items: center;
}

.modal-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.founder-login-box {
    position: relative; z-index: 10;
    width: 400px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #d4af37;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.founder-login-box h3 {
    font-family: 'Cormorant Garamond', serif; color: #d4af37; font-size: 2rem; margin: 0 0 10px;
}
.founder-login-box p { font-size: 0.8rem; color: #888; margin-bottom: 30px; }

.founder-login-box input {
    width: 100%; padding: 15px; background: #000; border: 1px solid #333;
    color: #fff; text-align: center; letter-spacing: 2px; font-family: 'Courier New', monospace;
    margin-bottom: 20px; border-radius: 50px; outline: none; box-sizing: border-box;
}
.founder-login-box input:focus { border-color: #d4af37; }

.btn-verify {
    width: 100%; padding: 15px; background: #d4af37; border: none; border-radius: 50px;
    color: #000; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.btn-verify:hover { background: #fff; box-shadow: 0 0 20px #fff; }

.close-icon {
    position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #555; cursor: pointer;
}
.close-icon:hover { color: #fff; }

.error-text { color: #ff4444 !important; font-size: 0.7rem !important; display: none; margin-top: 20px; }
