/* --- RESET ET VARIABLES BASE --- */
:root {
    --bg-dark: #2c3e50; /* Bleu-gris foncé du logo */
    --bg-light: #ecf0f1;
    --primary-gold: #c9a063; /* Or du logo */
    --text-white: #ffffff;
    --text-dark: #333333;
    --text-muted: #bdc3c7;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--text-white);
    color: var(--text-dark);
    padding-top: 110px; /* Ajout d'un offset pour ne pas cacher le contenu sous le header fixe */
}

.container {
    width: 95%;
    max-width: 1400px; /* Élargi pour accueillir le slogan confortablement */
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

/* --- SECTIONS GÉNÉRALES --- */
section {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- BOUTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark);
}

/* --- GRILLES (RESPONSIVE) --- */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 30px;
}

.align-center {
    align-items: center;
}

@media (min-width: 992px) { /* Correction du breakpoint pour les grilles complexes */
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- HEADER (VOTRE ORIGINAL + SLOGAN & BURGER TECHNIQUES) --- */
header {
    background-color: rgba(67, 84, 105, 0.95);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between; /* Flexbox pour Logo | Slogan | Menu */
    align-items: center;
}

/* Zone Logo */
.logo-area {
    flex: 0 0 auto;
}

.logo-area img.main-logo {
    height: 90px;
    width: auto;
    display: block;
}

/* Zone Slogan (Nouvelles règles) */
.slogan-area {
    flex: 1; /* Prend l'espace central */
    text-align: center;
    padding: 0 20px;
}

.slogan-area p {
    color: var(--text-white);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.slogan-area p span.highlight {
    color: var(--primary-gold); /* Utilisation stricte de VOTRE variable gold */
    font-weight: 700;
    font-style: normal;
}

/* Zone Navigation */
nav {
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-white);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.menu-toggle {
    display: none; /* Caché sur desktop */
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* RESPONSIVE HEADER & BURGER (Nouveaux ajustements techniques) */
@media (max-width: 1100px) {
    .slogan-area p { font-size: 0.9rem; }
}

@media (max-width: 900px) {
    .slogan-area { display: none; } /* Cache le slogan si trop étroit */
}

@media (max-width: 767px) {
    .header-inner.container {
        justify-content: space-between; /* S'assure que logo et burger sont écartés */
    }

    .logo-area img.main-logo {
        height: 90px; /* Réduction du logo sur mobile */
    }

    .menu-toggle {
        display: block; /* Affiche le burger */
    }

    .nav-links {
        display: none; /* Cache le menu mobile par défaut */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Juste sous le header */
        left: 0;
        width: 100%;
        background-color: rgba(67, 84, 105, 0.98);
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    /* Classe activée par le JS */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    /* Reset des grilles pour le mobile */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- HERO SECTION (VOTRE ORIGINAL) --- */
.hero {
    background-image: url('test.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--text-white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 45px;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.2rem; }
    .hero-content p { font-size: 1rem; }
}

/* --- NOTRE EXPERTISE (VOTRE ORIGINAL) --- */
.expertise-card {
    background-color: rgba(255,255,255,0.03);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.07);
}

.expertise-card i.icon-gold {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.link-gold {
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- SOLUTIONS CIBLÉES (VOTRE ORIGINAL) --- */
.solutions {
    background-color: #fafafa;
}

.solution-card {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.solution-card:hover {
    transform: scale(1.03);
}

.solution-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.solution-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.solution-card a {
    color: var(--text-white);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* --- ABOUT SECTION (VOTRE ORIGINAL) --- */
.about .container {
    padding-top: 100px;
    padding-bottom: 100px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* --- FOOTER & CONTACT (VOTRE ORIGINAL) --- */
footer {
    background-color: #1a252f;
    color: var(--text-white);
    padding: 60px 0 20px;
}

.grid-footer {
    display: grid;
    gap: 40px;
}

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

.footer-contact h4, .footer-links h4 {
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-gold);
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--primary-gold);
}

.footer-links ul li a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-credits {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}