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

/* ==========================================================================
   VARIABLES ET CONFIGURATION DE BASE (CSS3)
   ========================================================================== */
:root {
    --primary-color: #00bcd4;     /* Cyan vif d'Atelier 22 */
    --secondary-color: #e91e63;   /* Rose vif */
    --accent-color: #ff9800;      /* Orange vif */
    --danger-color: #d32f2f;      /* Rouge bouton d'appel */
    --dark-color: #212121;        /* Texte principal */
    --light-color: #f8f9fa;       /* Fond clair */
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

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

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

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

.top-bar a:hover {
    text-decoration: underline;
}

header {
    background: #ff8300;
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   BOUTON TELEPHONE (ROUGE / TEXTE BLANC)
   ========================================================================== */
.btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    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(211, 47, 47, 0.4);
    transition: var(--transition);
    margin: 1rem 0;
}

.btn-phone:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.btn-phone i {
    margin-right: 0.5rem;
}

/* ==========================================================================
   NAVIGATION & BURGER MENU RESPONSIVE (SANS JAVASCRIPT)
   ========================================================================== */
nav {
    background-color: #f00;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

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

.nav-links a {
    display: block;
    color: var(--white);
    padding: 1.2rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
}

/* Variables cachées pour le hack du menu burger */
.menu-checkbox, .burger-label {
    display: none;
}

/* ==========================================================================
   CONTENU PRINCIPAL & GRILLES (STRUCTURE)
   ========================================================================== */
.content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.content h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

/* Structure pour l'affichage de l'image principale ou des galeries */
.img-container {
    margin-bottom: 2rem;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-container img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.img-container img:hover {
    transform: scale(1.02);
}

/* Sections de l'index */
.section-block {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Grid pour la nouvelle section Peinture/Ravalement */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

/* ==========================================================================
   FOOTER FIXE
   ========================================================================== */
footer {
    background-color: var(--dark-color);
    color: rgba(255,255,255,0.8);
    text-align: center;
    padding: 1.2rem;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent-color);
}

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

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

    /* Affichage du Burger Menu */
    .burger-label {
        display: block;
        padding: 1rem;
        color: var(--white);
        font-size: 1.8rem;
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 0;
    }

    .nav-container {
        justify-content: flex-start;
        height: 60px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #1e1619;
        box-shadow: var(--shadow);
        padding: 0;
    }

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

    /* Déclencheur du menu si coché */
    .menu-checkbox:checked ~ .nav-links {
        display: flex;
    }

    .grid-2col {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 1rem;
        margin: 1rem;
    }

    footer {
        position: relative;
    }
    
    body {
        padding-bottom: 0;
    }
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
iframe {
    display: block
}