/* ==========================================================================
   1. VARIABLES & RESET (BASE)
   ========================================================================== */
:root {
    --primary: #1a2a6c;      /* Bleu Navy Pro */
    --secondary: #f27121;    /* Orange Action (CTA) */
    --accent: #ed1c24;       /* Rouge Urgence */
    --light-bg: #f8f9fa;
    --dark-text: #2d3436;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif; /* Assurez-vous d'avoir le lien Google Fonts dans le head */
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.top-contact-bar {
    background: var(--accent);
    color: var(--white);
    padding: 12px 5%;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-contact-bar a {
    color: var(--white);
    text-decoration: none;
}

header {
    background: var(--white);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
    text-transform: uppercase;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
    list-style: none
}

nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary);
}

/* ==========================================================================
   3. HERO SECTION & CTA
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('01.jpg'); /* Image par défaut */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 10%;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-btns {
    margin-top: 30px;
}

.btn-cta {
    background: var(--secondary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
    margin: 10px;
}

.btn-cta:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white
}

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

/* ==========================================================================
   4. STRUCTURE DES PAGES (GRID & CONTENT)
   ========================================================================== */
.section-padding {
    padding: 80px 8%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
li {
    list-style: none;
    font-weight: bold
}
.card-service {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
}

.card-service:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.card-service .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.text-side {
    flex: 1;
    min-width: 300px;
}

.img-side {
    flex: 1;
    min-width: 300px;
}

.img-side img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ==========================================================================
   5. FOOTER (DIVISÉ EN 3 COLONNES)
   ========================================================================== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 8% 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid > div {
    flex: 1;
    min-width: 280px;
}

footer h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--white);
}

footer p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}
footer a, footer a:hover {
    color: white
}

/* ==========================================================================
   6. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    nav ul {
        margin-top: 20px;
    }
    .hero h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 5%;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .top-contact-bar {
        font-size: 1rem;
    }
}