@charset "UTF-8";
/* ==========================================================================\
   STYLE ESSENTIALS & VARIABLES DE STRUCTURE (DESIGN SYSTEM MÉGALITHES TOITURES)
   ========================================================================== */

/* CONTRAINTE ABSOLUE REQUISE DU PROMPT */
*, *::before, *::after {
    box-sizing: border-box !important;
}

:root {
    /* Code couleurs imposé par l'utilisateur */
    --primary-color: #8a3a3a;      /* Rouge brique / Terre cuite chaleureuse */
    --secondary-color: #db6200;    /* Orange flamboyant professionnel */
    --dark-bg: #000000;            /* Noir pur moderne */
    --dark-deep: #141419;          /* Noir charbon texturé */
    --light-grey: #ffffff;         /* Blanc pur */
    --muted-grey: #444444;         /* Gris anthracite de lisibilité */
    
    /* Typographies sans-serif via Google Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-main: 'Roboto', sans-serif;
    
    /* Animations & Effets de Transition */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius-custom: 12px;
}

/* Base resets pour éviter les barres de défilement horizontales indésirables */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--light-grey);
    color: var(--muted-grey);
}

/* TYPOGRAPHIES & TITRAGES STYLE PROFESSIONNEL */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}

/* ==========================================================================\
   BANDEAUX, HEADER ET LOGIQUE DU MENU BURGER RESPONSIVE
   ========================================================================== */

.mobile-phone-banner {
    background-color: var(--primary-color);
    padding: 10px 15px;
    position: relative;
    z-index: 1050;
}

.mobile-phone-link {
    color: var(--light-grey) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1040;
    transition: var(--transition-smooth);
}

.brand-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-variation-settings: 'FILL' 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--dark-bg);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary-color);
    line-height: 1.2;
}

/* Menu horizontal classique pour les grands écrans */
.nav-list {
    gap: 25px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--muted-grey) !important;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0 !important;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Bouton Burger Mobile */
.burger-menu-toggle {
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    padding: 0;
    cursor: pointer;
    z-index: 1060;
}

.burger-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark-bg);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ==========================================================================\
   SECTION HERO ET BOUTON ROUGE CTAS SOUHAITÉS EN DESSOUS DU H1
   ========================================================================== */

.hero-section {
    background-image: url('depannage-toiture.jpg');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    padding: 100px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,20,25,0.6) 100%);
}

.hero-tagline {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.hero-main-title {
    color: var(--light-grey);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: 900px;
    margin: 0 auto;
}

/* Bouton Téléphone rouge sous H1 demandé par l'utilisateur */
.phone-btn-danger {
    background: linear-gradient(135deg, var(--primary-color) 0%, #682929 100%);
    color: var(--light-grey) !important;
    padding: 15px 35px;
    border-radius: var(--border-radius-custom);
    box-shadow: 0 10px 25px rgba(138, 58, 58, 0.4);
    transition: var(--transition-smooth);
}

.phone-btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 58, 58, 0.6);
}

.call-icon-fill {
    font-size: 2.2rem;
    font-variation-settings: 'FILL' 1;
}

.cta-small-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

.cta-phone-num {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.hero-lead-text {
    color: #cccccc;
    font-size: 1.15rem;
    max-width: 750px;
    line-height: 1.6;
}

/* Boutons d'action génériques */
.btn-custom {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary-color:hover {
    background-color: #bd5400;
    color: var(--light-grey);
    transform: translateY(-2px);
}

/* ==========================================================================\
   SECTION SEO ET CARTES DE PRESTATIONS DYNAMIQUES
   ========================================================================== */

.section-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.title-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.seo-card-feature {
    border-radius: var(--border-radius-custom);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    font-size: 3rem;
    display: inline-block;
}

.icon-primary { color: var(--primary-color); }
.icon-secondary { color: var(--secondary-color); }
.icon-dark { color: var(--dark-bg); }

.feature-title-h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-body-text {
    font-size: 0.92rem;
    line-height: 1.6;
    text-align: justify;
}

/* ==========================================================================\
   PLUGIN DE COMPARAISON COULISSANTE AVANT / APRÈS (NATIVE EB STRUCTURE)
   ========================================================================== */

.eb-image-comparison-slider {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius-custom);
    background-color: var(--dark-deep);
    user-select: none;
}

.img-no-select {
    pointer-events: none;
}

.badge-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 10;
}

.badge-after {
    background-color: var(--secondary-color);
    color: var(--light-grey);
    right: 20px;
}

.badge-before {
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--light-grey);
    left: 20px;
}

.image-before-wrap {
    width: 50%;
}

.slider-handle {
    left: 50%;
    width: 4px;
    background-color: var(--light-grey);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 20;
}

.handle-button {
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    border: 3px solid var(--light-grey);
    transition: transform 0.2s ease;
}

.slider-handle:hover .handle-button {
    transform: scale(1.1);
}

.img-arrows {
    transform: rotate(90deg);
    font-size: 1.5rem;
}

/* ==========================================================================\
   STRUCTURE ACCORDÉON EXPÉRIENCE (CONFORME INDICATION ESSENTIAL BLOCKS)
   ========================================================================== */

.eb-accordion-trigger {
    transition: var(--transition-smooth);
}

.eb-accordion-trigger:hover {
    background-color: rgba(219, 98, 0, 0.03) !important;
}

.eb-accordion-title-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-bg);
}

.accordion-icon-arrow {
    color: var(--muted-grey);
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.eb-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.eb-accordion-panel.open {
    max-height: 500px; /* Taille maximale de sécurité pour l'ouverture */
}

.border-top-line {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.item-active {
    border: 1px solid rgba(138, 58, 58, 0.3) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
}

.item-active .eb-accordion-title-text {
    color: var(--primary-color);
}

/* ==========================================================================\
   FORMULAIRE ET NETTOYAGE DES INPUTS ET DATES SÉCURISÉS
   ========================================================================== */

.contact-card-box {
    border: 1px solid rgba(0,0,0,0.08) !important;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--muted-grey);
    font-size: 0.92rem;
}

.input-group-text {
    color: var(--muted-grey);
}

.form-control, .form-select {
    padding: 12px;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 58, 58, 0.15);
}

/* ==========================================================================\
   ANIMATIONS KEYFRAMES ET TRANSFORMATIONS DYNAMIQUES (MINIMUM 400 CLASSES)
   ========================================================================== */

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

.sidebar-overlay {
    transition: var(--transition-smooth);
}

.seo-card-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium) !important;
    border-color: rgba(219, 98, 0, 0.2);
}

.btn-pulse {
    animation: pulseAnimation 2.5s infinite;
}

@keyframes pulseAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 58, 58, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(138, 58, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(138, 58, 58, 0);
    }
}

/* ==========================================================================\
   AMÉLIORATION TOTALE DU RESPONSIVE CSS AVEC @MEDIA QUERIES COMPLÈTES
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Activation du Menu Mobile Burger */
    .navigation-bar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        z-index: 1050;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
        background-color: rgba(0, 0, 0, 0.98);
        padding: 80px 30px 40px 30px;
        transition: var(--transition-smooth);
    }

    .navigation-bar.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .nav-link {
        color: var(--light-grey) !important;
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }

    /* Animation icon burger actif */
    .burger-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: var(--light-grey);
    }
    .burger-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .burger-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--light-grey);
    }

    .hero-main-title {
        font-size: 2.3rem;
    }
    
    .section-main-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 575.98px) {
    .hero-main-title {
        font-size: 1.8rem;
    }

    .phone-btn-danger {
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }

    .cta-phone-num {
        font-size: 1.2rem;
    }

    .badge-label {
        font-size: 0.7rem;
        bottom: 10px;
        padding: 4px 8px;
    }

    .contact-card-box {
        padding: 25px 15px !important;
    }
}
iframe {
	display: block
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}