/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary: #c9a050;        /* Or Premium */
    --primary-light: #e2c07d;
    --dark: #1a1a1a;           /* Noir Corporate */
    --black: #0f0f0f;
    --light: #fdfdfd;          /* Blanc cassé */
    --grey-bg: #f4f6f8;        /* Gris clair pour sections */
    --text: #444444;           /* Texte lisible */
    --text-muted: #777777;
    --white: #ffffff;
    --error: #e74c3c;
    --success: #2ecc71;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--light);
    color: var(--text);
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ==========================================================================
   2. NAVIGATION (HEADER)
   ========================================================================== */
.top-header {
    background: var(--white);
    height: 85px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: 1px;
}

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

.main-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Boutons de navigation */
.btn-login, .btn-dashboard {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    background: var(--dark);
    color: var(--primary) !important;
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-dashboard {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-logout {
    color: var(--error);
    font-size: 1.3rem;
    padding: 5px;
}

.btn-logout:hover { transform: scale(1.1); }

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero-banner {
    padding: 120px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.hero-banner h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-banner h1 span { color: var(--primary); }

.hero-banner p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.9);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-gold, .btn-white {
    padding: 16px 35px;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-gold { background: var(--primary); color: var(--white); border: none; }
.btn-gold:hover { background: var(--primary-light); transform: translateY(-3px); }

.btn-white { border: 2px solid var(--white); color: var(--white); }
.btn-white:hover { background: var(--white); color: var(--dark); }

/* ==========================================================================
   4. SERVICES (CARDS)
   ========================================================================== */
.services-section { padding: 100px 0; background: var(--grey-bg); }

.section-intro { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 15px;
    border-top: 6px solid var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover { transform: translateY(-10px); }

.card-icon {
    width: 65px; height: 65px;
    background: rgba(201, 160, 80, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); }
.card p { color: var(--text); font-size: 0.95rem; margin-bottom: 25px; }

.card-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-list li i { color: var(--primary); font-size: 0.8rem; }

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.main-footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    padding-bottom: 50px;
}

.footer-brand p { color: #888; margin-top: 20px; font-size: 0.95rem; }

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links ul li { margin-bottom: 15px; }
.footer-links ul li a { color: #bbb; }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    background: #050505;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.85rem;
}

/* ==========================================================================
   6. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .top-header { height: 75px; }
    .hero-banner { padding: 80px 0; }
    .hero-actions { flex-direction: column; }
    .btn-gold, .btn-white { width: 100%; }
    .footer-grid { text-align: center; }
}