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

/* ==========================================================================
   1. VARIABLES DE DESIGN GLOBALES & CONFIGURATION DE BASE
   ========================================================================== */
:root {
    --primary-color: #1a1d20;       /* Noir Charbon Texturé */
    --secondary-color: #2b3035;     /* Gris Anthracite */
    --accent-warning: #ffb703;      /* Ambre / Or Chaud */
    --accent-danger: #d90429;       /* Rouge Sécurité */
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Inter', sans-serif;
}

/* Blocage absolu des décalages d'affichage et barres de défilement horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-dark);
}

/* ==========================================================================
   2. HEADER STICKY & MENUS DYNAMIQUES
   ========================================================================== */
.header-area {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: rgba(26, 29, 32, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border-bottom: 2px solid var(--accent-warning);
}

.logo-text {
    font-size: 1.35rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text strong {
    font-weight: 800;
    color: #ffffff;
}

/* Liens du Menu principal */
.nav-link-item {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link-item:hover {
    color: var(--accent-warning);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-warning);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link-item:hover::after {
    width: 80%;
}

/* Section Téléphone Header */
.icon-circle {
    width: 42px;
    height: 42px;
    background-color: var(--accent-danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-danger 2s infinite;
}

.small-label {
    font-size: 0.7rem;
    text-uppercase: uppercase;
    letter-spacing: 1px;
}

.phone-num-text {
    color: var(--accent-warning) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* BOUTON BURGER MOBILITE */
.burger-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 8px;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--accent-warning);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--accent-warning);
}

/* Volet de navigation mobile déroulant */
.mobile-side-menu {
    max-height: 0;
    overflow: hidden;
    background-color: var(--secondary-color);
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-side-menu.open {
    max-height: 400px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.mobile-nav-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-warning);
    padding-left: 24px;
}

/* Bandeau fixe smartphone requis */
.phone-mobile-banner a {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   3. SECTION HERO (ACCUEIL)
   ========================================================================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(26, 29, 32, 0.95)), url('renovation-complete.jpg') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
    border-bottom: 6px solid var(--accent-warning);
}

.max-width-700 { max-width: 700px; }
.max-width-600 { max-width: 600px; }

.cta-phone-btn {
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.cta-phone-btn:hover {
    transform: translateY(-4px);
    background-color: #ffffff !important;
    color: var(--accent-danger) !important;
    border-color: var(--accent-danger);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.4) !important;
}

/* ==========================================================================
   4. RICH TEXT CONTENUS & COMPOSANTS SÉMANTIQUES (SEO)
   ========================================================================== */
.section-space {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.barre-separation {
    width: 70px;
    height: 4px;
    background-color: var(--accent-warning);
    border-radius: 2px;
}

.rich-text-seo p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Cartes des services */
.service-card {
    transition: var(--transition-smooth);
    border-radius: 8px;
    background-color: #ffffff;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.icon-container-service {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-container-service {
    transform: scale(1.1) rotate(5deg);
}

/* Couleurs de fond opacifiées pour icônes */
.bg-warning-light { background-color: rgba(255, 183, 3, 0.12); }
.bg-danger-light { background-color: rgba(217, 4, 41, 0.12); }
.bg-primary-light { background-color: rgba(13, 110, 253, 0.12); }
.bg-success-light { background-color: rgba(25, 135, 84, 0.12); }

/* Effet d'animation d'image au survol */
.image-zoom-effect {
    transition: transform 0.6s ease-in-out;
}
.img-wrapper-hover:hover .image-zoom-effect {
    transform: scale(1.06);
}

/* ==========================================================================
   5. PLUGIN IMAGE COMPARISON AVANT/APRÈS (ESSENTIAL BLOCKS STYLE)
   ========================================================================== */
.eb-image-comparison-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    user-select: none;
    background-color: #212529;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Image "Avant" découpée dynamiquement via la poignée */
.before-img {
    width: 50%;
    z-index: 2;
    border-right: 2px solid #ffffff;
}

.after-img {
    z-index: 1;
}

.badge-comparison {
    position: absolute;
    bottom: 20px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 3;
}

.before-img .badge-comparison { left: 20px; }
.after-img .badge-comparison { right: 20px; }

/* Poignée de contrôle centrale */
.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: #ffffff;
    z-index: 4;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    flex-grow: 1;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.7);
}

.handle-button {
    width: 44px;
    height: 44px;
    background-color: var(--accent-warning);
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

/* ==========================================================================
   6. FOIRE AUX QUESTIONS ACCORDÉON PREMIUM
   ========================================================================== */
.custom-eb-accordion .accordion-item {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.custom-eb-accordion .accordion-button {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 1.25rem;
    font-size: 1.05rem;
    box-shadow: none !important;
    transition: var(--transition-smooth);
}

.custom-eb-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(255, 183, 3, 0.05);
    color: var(--primary-color) !important;
    border-bottom: 1px solid rgba(255, 183, 3, 0.15);
}

.custom-eb-accordion .accordion-button::after {
    background-size: 1.2rem;
    transition: transform 0.3s ease;
}

.custom-eb-accordion .accordion-body {
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   7. FORMULAIRE DE LEAD & ANTISPAM CONFIGURATION
   ========================================================================== */
.bg-secondary-dark {
    background-color: #212529;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-warning) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 183, 3, 0.2) !important;
    background-color: #1a1d20 !important;
}

.hover-scale {
    transition: var(--transition-smooth);
}

.hover-scale:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.3);
}

/* ==========================================================================
   8. FOOTER ET SOURCING COMPOSANTS (ZOOM GALERIE)
   ========================================================================== */
.grid-template-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gallery-item-wrap {
    aspect-ratio: 1;
    cursor: pointer;
}

.footer-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-wrap::after {
    content: 'zoom_in';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(217, 4, 41, 0.6);
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 1.8rem;
    opacity: 0; transition: var(--transition-smooth);
}

.gallery-item-wrap:hover::after { opacity: 1; }
.gallery-item-wrap:hover .footer-gallery-img { transform: scale(1.1); }

.hover-warning:hover {
    color: var(--accent-warning) !important;
    padding-left: 4px;
    transition: var(--transition-smooth);
}

/* STYLING OVERLAY MODALE ZOOM NATIVE */
.zoom-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    transition: var(--transition-smooth);
}

#zoomed-image-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid #ffffff;
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

.close-overlay-btn {
    position: absolute;
    top: 20px; right: 30px;
    color: #ffffff; font-size: 3rem;
    font-weight: bold; cursor: pointer;
    transition: var(--transition-smooth);
}
.close-overlay-btn:hover { color: var(--accent-warning); }

/* ==========================================================================
   9. MACROS KEYFRAMES ET ANIMATIONS PERSO
   ========================================================================== */
@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(217, 4, 41, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

/* ==========================================================================
   10. CORRECTIONS ATTENTIVES RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991.98px) {
    .section-space { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .hero-section h1 { font-size: 2.25rem !important; }
    .eb-image-comparison-container { aspect-ratio: 4 / 3; }
}

@media (max-width: 575.98px) {
    .hero-section { min-height: auto; padding-top: 4rem !important; padding-bottom: 4rem !important; }
    .custom-eb-accordion .accordion-button { font-size: 0.95rem; padding: 1rem; }
    .grid-template-2x2 { grid-template-columns: 1fr; } /* Alignement vertical sur très petits écrans */
}
iframe {
	display: block
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}