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

/* ==========================================
   GLOBAL STYLES & GOOGLE FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #E74C3C;   /* Rouge */
    --secondary-color: #2C3E50; /* Bleu nuit foncé */
    --dark-bg: #111111;        /* Fond noir adouci */
    --nav-bg: #34495E;         /* Bleu nuit intermédiaire */
    --text-white: #ffffff;
    --text-light: #f5f5f5;
    --transition-fast: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
}

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

.top-bar a {
    color: var(--text-white);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition-fast);
}

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

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

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

/* ==========================================
   NAVIGATION & BURGER MENU (CSS PURE)
   ========================================== */
nav {
    background-color: var(--nav-bg);
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 100;
}

/* Cache l'input checkbox servant de déclencheur */
#menu-toggle {
    display: none;
}

/* Style de l'icône burger */
.burger-label {
    display: none;
    cursor: pointer;
    padding: 1em;
    justify-content: flex-end;
    align-items: center;
}

.burger-icon {
    background: var(--text-white);
    display: block;
    height: 3px;
    position: relative;
    width: 28px;
    transition: var(--transition-fast);
}

.burger-icon:before, .burger-icon:after {
    background: var(--text-white);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    transition: var(--transition-fast);
}

.burger-icon:before { top: 8px; }
.burger-icon:after { bottom: 8px; }

/* Conteneur des liens de navigation */
.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-menu li a {
    color: var(--text-white);
    display: block;
    padding: 1em 1.5em;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

/* ==========================================
   BOUTON APPEL D'URGENCE (MOBILE & TABLETTE)
   ========================================== */
.phone-btn-container {
    display: none;
    text-align: center;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.phone-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--text-white) !important;
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    transition: var(--transition-fast);
    width: 100%;
    max-width: 400px;
}

.phone-call-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.phone-call-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* ==========================================
   CONTENU PRINCIPAL & SECTIONS
   ========================================== */
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5em 1.5em;
}

.content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.content h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 25%;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.content p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    text-align: justify;
}

/* Style de la nouvelle section (Ravalement) */
.section-facade {
    background-color: #1a1a1a;
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.section-facade h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ==========================================
   FORMULAIRE DE CONTACT
   ========================================== */
form {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #222;
    color: #fff;
    font-family: inherit;
    transition: var(--transition-fast);
}

form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

form input[type="submit"] {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

form input[type="submit"]:hover {
    background-color: #c0392b;
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
iframe {
    display: block
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--secondary-color);
    color: var(--text-white);
    text-align: center;
    padding: 1.2em;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 0.85rem;
    z-index: 90;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.2);
}

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

/* ==========================================
   MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================== */
@media (max-width: 768px) {
    body {
    }

    header h1 {
        font-size: 1.5rem;
    }

    /* Activation du bouton d'appel rouge */
    .phone-btn-container {
        display: block;
    }

    /* Configuration du menu burger */
    .burger-label {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        border-top: 1px solid #444;
    }

    .nav-menu li a {
        padding: 1em 1.5em;
    }

    /* Déploiement du menu lorsque la checkbox est cochée */
    #menu-toggle:checked ~ .nav-menu {
        max-height: 300px; /* Ajuster selon le nombre de liens */
    }

    /* Animation de l'icône burger en croix lors du clic */
    #menu-toggle:checked ~ .burger-label .burger-icon {
        background: transparent;
    }
    #menu-toggle:checked ~ .burger-label .burger-icon:before {
        transform: rotate(-45deg);
        top: 0;
    }
    #menu-toggle:checked ~ .burger-label .burger-icon:after {
        transform: rotate(45deg);
        bottom: 0;
    }

    .top-bar {
        display: none; /* Cache la top-bar encombrante sur mobile au profit du bouton rouge */
    }
}