/* --- STYLE GLOBAL PREMIUM (style.css) --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600&display=swap');

:root {
    --dark: #0B1120;       /* Noir bleuté profond (Luxe) */
    --gold: #D4AF37;       /* Or métallique */
    --gold-light: #F3E5AB; 
    --white: #ffffff;
    --gray: #F8FAFC;
    --text-muted: #94A3B8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

a { text-decoration: none; transition: 0.3s; }

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; letter-spacing: 1px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.cta-btn {
    border: 1px solid var(--gold);
    padding: 10px 25px;
    color: var(--gold) !important;
    border-radius: 2px;
}
.cta-btn:hover { background: var(--gold); color: var(--dark) !important; }

/* --- HERO SECTIONS --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11,17,32,0.7), var(--dark));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold), #AA8A28);
    color: var(--dark);
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 2px;
    letter-spacing: 1px;
    display: inline-block;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212,175,55,0.2); }

/* --- LAYOUTS --- */
section { padding: 6rem 10%; }

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.section-title span { border-bottom: 2px solid var(--gold); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    transition: 0.4s;
}
.card:hover { border-color: var(--gold); transform: translateY(-10px); background: rgba(255,255,255,0.05); }

.card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--gold); }

/* --- FOOTER --- */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 4rem 10%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .split-section { grid-template-columns: 1fr; }
    section { padding: 4rem 5%; }
/* --- STYLE DU POP-UP (CENTERED V2) --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fond très sombre */
    backdrop-filter: blur(8px); /* Flou d'arrière-plan */
    z-index: 9999;
    
    /* C'est ici que la magie du centrage opère */
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    padding: 3rem;
    border: 2px solid #D4AF37;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2); /* Lueur dorée */
    
    /* Animation de Zoom (Pop) */
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Effet rebond léger */
}

.modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover { color: #D4AF37; }