/* ==========================================================================
   1. VARIABLES GLOBALES & RESET
   ========================================================================== */
:root {
    --primary: #d61a1a;
    --primary-hover: #b01313;
    --dark: #111111;
    --light-bg: #f8f9fa;
    --text-main: #222222;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

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

/* ==========================================================================
   2. BANNIÈRE D'ANNONCE SUPÉRIEURE
   ========================================================================== */
.announcement-bar {
    background-color: var(--dark);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
}

.announcement-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.announcement-btn {
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ==========================================================================
   3. EN-TÊTE & BANNIÈRE SOLEIL ROUGE
   ========================================================================== */
.banner-header {
    background: linear-gradient(135deg, #ff4500 0%, #d61a1a 40%, #8b0000 85%, #4a0000 100%);
    padding: 1.8rem 1rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.banner-header::before,
.banner-header::after {
    pointer-events: none;
}

.banner-container {
    position: relative;
    z-index: 20;
    max-width: 1100px;
    margin: 0 auto;
}

.banner-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 30;
    pointer-events: auto;
}

.banner-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffe4b5;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   4. NAVIGATION ET MENU DÉROULANT
   ========================================================================== */
.main-nav {
    background-color: rgba(0, 0, 0, 0.55);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #ffffff !important;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-links a:hover,
.dropdown:hover > a {
    background-color: var(--primary);
    color: #ffffff !important;
}

/* Menu Déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #111111;
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    display: none;
    z-index: 99999;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px; 
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
    border-radius: 0;
    color: #e5e5e5 !important;
    width: 100%;
}

.dropdown-menu li a:hover {
    background-color: var(--primary);
    color: #ffffff !important;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* ==========================================================================
   5. HERO & SECTIONS CONTENU
   ========================================================================== */
.hero {
    background-color: var(--dark);
    color: #ffffff;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.bg-white {
    background-color: #ffffff;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

/* ==========================================================================
   6. GRILLES & CARTES (CARDS)
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-highlight {
    background-color: #fff8f8;
    border-color: var(--primary);
}

.badge {
    display: inline-block;
    background-color: #e0e0e0;
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.badge-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list i {
    color: var(--primary);
}

/* ==========================================================================
   7. BOUTONS & PIED DE PAGE
   ========================================================================== */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease;
}

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

.btn-full {
    display: block;
    width: 100%;
}

footer {
    background-color: var(--dark);
    color: #aaaaaa;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;
}

.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #25d366;
    color: #ffffff !important;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .banner-title { font-size: 1.6rem; }
    .hero h1 { font-size: 1.8rem; }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        border-radius: 12px;
        width: 100%;
        padding: 0.8rem 0.5rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.4rem;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.08);
        border: none;
        width: 100%;
        margin-top: 0.2rem;
    }

    .dropdown-menu li a { text-align: center; }

    .mobile-call-btn { display: flex; align-items: center; gap: 0.5rem; }
}