@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   VARIABLES & RESETS
   ========================================================================== */
:root {
    --primary-color: #28a745;
    --secondary-color: #007bff;
    --dark-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --danger-color: #dc3545;
    --font-main: 'Roboto', sans-serif;
}

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

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

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* ==========================================================================
   NAVIGATION & BURGER MENU (PURE CSS)
   ========================================================================== */
nav {
    background-color: #6c757d;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-bottom: 0 !important
}

.nav-links a {
    display: block;
    color: var(--white);
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: var(--primary-color);
}

/* Menu Burger caché par défaut sur Desktop */
.menu-checkbox, .menu-toggle {
    display: none;
}

/* ==========================================================================
   BOUTON D'APPEL FLOTTANT ROUGE
   ========================================================================== */
.btn-call-fixed {
    bottom: 80px;
    right: 20px;
    background-color: var(--danger-color);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, background-color 0.3s;
    max-width: max-content;
    margin: 0 auto;
}

.btn-call-fixed:hover {
    background-color: #bd2130;
    transform: scale(1.05);
    color: var(--white);
}

/* ==========================================================================
   CONTENU & SECTIONS
   ========================================================================== */
.main-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card-custom {
    background: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.img-hero {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.text-lead {
    font-size: 1.15rem;
    font-weight: bold;
    color: #495057;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: var(--dark-color);
    color: #ced4da;
    text-align: center;
    padding: 1rem;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
    font-size: 0.85rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETTES & SMARTPHONES)
   ========================================================================== */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }

    .top-bar {
        font-size: 0.8rem;
    }

    /* Logique du menu burger en pur CSS */
    .nav-container {
        justify-content: flex-end;
        height: 50px;
    }

    .menu-toggle {
        display: block;
        color: var(--white);
        font-size: 1.5rem;
        padding: 10px 20px;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #6c757d;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 0 !important
    }

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

    .nav-links a {
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Affichage du menu si la checkbox invisible est cochée */
    .menu-checkbox:checked ~ .nav-links {
        display: flex;
    }
    
    .btn-call-fixed {
        bottom: 70px;
        right: 10px;
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
iframe {
    display: block
}