/* --- CONFIGURATION & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --primary: #0f172a;    /* Navy Institutionnel */
    --accent: #b45309;     /* Terre d'Ambre / Or */
    --accent-soft: #fef3c7;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--text); 
    background: var(--white); 
    line-height: 1.8; 
}

h1, h2, h3 { font-family: 'Playfair Display', serif; color: var(--primary); }
a { text-decoration: none; transition: 0.3s; }
.site-shell { width: min(1200px, 92%); margin: 0 auto; }

/* --- NAVIGATION --- */
.topbar { 
    background: rgba(255, 255, 255, 0.98); 
    border-bottom: 1px solid var(--border); 
    padding: 1.2rem 0; 
    position: sticky; top: 0; z-index: 1000; 
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.brand span { color: var(--accent); }
.brand small { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-family: 'Plus Jakarta Sans'; }

.nav a { margin-left: 1.8rem; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.nav a:hover, .nav a.active { color: var(--accent); }
.btn-cta { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 4px; }

/* --- SECTIONS COMMUNES --- */
.hero-long { padding: 120px 0; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; }
.hero-long h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: white; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-long p { font-size: 1.2rem; color: #cbd5e1; max-width: 750px; margin-bottom: 2rem; }

.section { padding: 100px 0; }
.section-gray { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.8rem; margin-bottom: 1rem; }
.divider { width: 60px; height: 4px; background: var(--accent); margin: 0 auto; }

.kicker { color: var(--accent); text-transform: uppercase; font-weight: 800; font-size: 0.8rem; letter-spacing: 2px; display: block; margin-bottom: 15px; }

/* --- GRILLES & CARTES --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 60px; align-items: center; }

.card { 
    padding: 40px; 
    background: white; 
    border: 1px solid var(--border); 
    border-radius: var(--radius); 
    transition: 0.3s; 
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.card h3 { margin-bottom: 15px; font-size: 1.5rem; }

.btn { 
    display: inline-block; 
    padding: 16px 35px; 
    background: var(--accent); 
    color: white; 
    font-weight: 700; 
    border-radius: 4px; 
    border: none; 
    cursor: pointer; 
}

/* --- FOOTER --- */
.main-footer { background: var(--primary); color: #94a3b8; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-grid h4 { color: white; margin-bottom: 20px; text-transform: uppercase; font-size: 0.9rem; }
.footer-links a { display: block; color: #cbd5e1; margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #334155; padding-top: 30px; text-align: center; font-size: 0.85rem; }

@media (max-width: 768px) {
    .nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}