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

/* ==========================================================================
   FICHIER CSS SPECIFIQUE : theme_roofer.css
   Normes d'architecture : Flexbox, CSS Grid, Transitions Fluides & Keyframes
   ========================================================================== */

:root {
    /* Couleurs Imposées par la charte */
    --primary-main: #008a20;
    --red-alert: #a00;
    --gold-accent: #ffba00;
    
    --wc-primary: #f84c00;
    --wc-primary-text: #fcfbfe;
    --wc-secondary: #e9e6ed;
    --wc-secondary-text: #515151;
    --wc-highlight: #958e09;
    --wc-highligh-text: white;
    --wc-content-bg: #fff;
    --wc-subtext: #767676;
    --wc-form-border-color: rgba(32, 7, 7, 0.8);
    --wc-form-border-radius: 4px;
    --wc-form-border-width: 1px;
    
    /* Variables de transition globale */
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-stack: 'Plus Jakarta Sans', sans-serif;
}

/* Reset de sécurité anti-décalage horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    font-family: var(--font-stack);
    scroll-behavior: smooth;
    background-color: var(--wc-content-bg);
    color: var(--wc-secondary-text);
}

.unselectable {
    user-select: none;
    -webkit-user-select: none;
}

/* ==========================================================================
   CLASSES STRUCTURELLES DE L'EN-TÊTE & HEADER STICKY
   ========================================================================== */

.header-area {
    background-color: rgba(20, 20, 20, 0.96);
    border-bottom: 2px solid var(--primary-main);
    width: 100%;
    z-index: 1000;
    position: relative;
    transition: var(--transition-smooth);
}

/* État Sticky Activé par le Scroll */
.header-area.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #111111;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: slideDownIn 0.4s ease-out forwards;
    border-bottom-color: var(--gold-accent);
}

.logo-svg-coded {
    transform-origin: center;
    transition: var(--transition-smooth);
}

.logo-svg-coded:hover {
    transform: rotate(5deg) scale(1.05);
}

.main-menu ul li a {
    color: var(--wc-primary-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-accent);
    transition: var(--transition-smooth);
}

.main-menu ul li a:hover::after,
.main-menu ul li.active a::after {
    width: 100%;
}

.main-menu ul li a:hover {
    color: var(--gold-accent);
}

/* Enrobage du bouton d'action primaire */
.primary-btn-1 {
    background-color: var(--primary-main);
    color: white !important;
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 0px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.primary-btn-1:hover {
    background-color: #006316;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 138, 32, 0.4);
}

/* ==========================================================================
   CONTRAINTE BOUTON TELEPHONE IMPOSÉ (SOUS H1) & BANDEAU SMARTPHONE
   ========================================================================== */

.btn-phone-red-white {
    background-color: var(--red-alert) !important;
    color: white !important;
    border: 3px solid white;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 25px rgba(170, 0, 0, 0.5);
    transition: all 0.25s ease-in-out;
}

.btn-phone-red-white:hover {
    background-color: #d60000 !important;
    transform: scale(1.04);
    box-shadow: 0 12px 30px rgba(170, 0, 0, 0.7);
}

.mobile-emergency-banner {
    border-bottom: 2px solid white;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   MENU BURGER OVERLAY MOBILE
   ========================================================================== */

.mobile-burger-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(18, 10, 30, 0.98);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.mobile-burger-overlay.active {
    right: 0;
}

.burger-nav-links li a {
    transition: var(--transition-smooth);
    font-weight: 700;
}

.burger-nav-links li a:hover {
    color: var(--gold-accent) !important;
    letter-spacing: 1px;
}

/* ==========================================================================
   SECTION CARDS SERVICES & PRESTATIONS
   ========================================================================== */

.bg-light-purple {
    background-color: #f7f5fa;
}

.section-title-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red-alert), var(--primary-main));
}

.service-card-box {
    border-bottom: 4px solid var(--wc-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(114, 14, 236, 0.03);
    z-index: -1;
    transition: var(--transition-smooth);
}

.service-card-box:hover::before {
    height: 100%;
}

.service-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
    border-bottom-color: var(--primary-main);
}

.text-primary-custom { color: var(--wc-primary); }
.text-green-custom { color: var(--primary-main); }
.text-yellow-custom { color: var(--wc-highlight); }
.text-purple-custom { color: #5110a3; }
.text-blue-custom { color: #026685; }

/* ==========================================================================
   COMPOSANT AVANT/APRÈS INTERACTIF (ESSENTIAL BLOCKS LOOK)
   ========================================================================== */

.eb-image-comparison-slider-wrapper {
    max-width: 850px;
    height: 480px;
    overflow: hidden;
}

.eb-image-comparison-slider-wrapper img {
    object-fit: cover;
    height: 480px;
    pointer-events: none;
}

.badge-comparison-label {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: white;
    z-index: 10;
}

.badge-after {
    right: 20px;
    background-color: var(--primary-main);
}

.badge-before {
    background-color: var(--red-alert);
}

.eb-slider-handler-bar {
    width: 4px;
    cursor: ew-resize;
    z-index: 20;
    transform: translateX(-50%);
}

.eb-handler-circle {
    width: 44px;
    height: 44px;
    border: 4px solid var(--primary-main);
    transition: transform 0.2s ease;
}

.eb-image-comparison-slider-wrapper:hover .eb-handler-circle {
    transform: translate(-50%, -50%) scale(1.15);
}

/* ==========================================================================
   ACCORDÉON DE CONFIGURATION UNIQUE TECHNIQUE
   ========================================================================== */

.eb-accordion-item-wrapper {
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.eb-accordion-title-wrapper {
    cursor: pointer;
    background-color: var(--wc-content-bg);
    transition: var(--transition-smooth);
}

.eb-accordion-title-wrapper:hover {
    background-color: #fbf9fe;
}

.eb-accordion-item-wrapper.active-item {
    border-left: 4px solid var(--wc-primary) !important;
    box-shadow: 0 8px 20px rgba(114, 14, 236, 0.06);
}

/* ==========================================================================
   FORMULAIRE TECHNIQUE DE DEVIS & PROTECTION ANTI-SPAM
   ========================================================================== */

.border-left-colored {
    border-left: 4px solid var(--gold-accent);
}

.form-field-custom {
    border: var(--wc-form-border-width) solid var(--wc-form-border-color) !important;
    border-radius: var(--wc-form-border-radius) !important;
    padding: 12px 16px !important;
    background-color: var(--wc-content-bg);
    color: #222;
    transition: var(--transition-smooth);
}

.form-field-custom:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(114, 14, 236, 0.2) !important;
    border-color: var(--wc-primary) !important;
}

/* ==========================================================================
   GALERIE D'IMAGES DU FOOTER AVEC EFFET ZOOM ET MODAL LIGHTBOX
   ========================================================================== */

.gallery-zoom-card img:hover {
    transform: scale(1.2) rotate(2deg);
}

.custom-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.custom-lightbox-overlay.visible-lightbox {
    opacity: 1;
    pointer-events: auto;
}

.custom-lightbox-overlay img {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 4px solid white;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-lightbox-overlay.visible-lightbox img {
    transform: scale(1);
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    color: var(--red-alert);
}

/* ==========================================================================
   SYSTEME DE DYNAMIQUES D'ANIMATIONS (KEYFRAMES & TRANSFORMS)
   ========================================================================== */

@keyframes slideDownIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes shakeActive {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(-8deg); }
    40%, 80% { transform: rotate(8deg); }
}

.animate-shake {
    display: inline-block;
    animation: shakeActive 2.5s infinite ease-in-out;
}

@keyframes pulseEffect {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.95; }
    100% { transform: scale(1); opacity: 1; }
}

.animate-pulse {
    animation: pulseEffect 2s infinite ease-in-out;
}

/* Trigger d'apparition adaptatif des cartes */
.card-anim-trigger {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpInCard 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.card-anim-trigger:nth-child(1) { animation-delay: 0.1s; }
.card-anim-trigger:nth-child(2) { animation-delay: 0.2s; }
.card-anim-trigger:nth-child(3) { animation-delay: 0.3s; }
.card-anim-trigger:nth-child(4) { animation-delay: 0.4s; }
.card-anim-trigger:nth-child(5) { animation-delay: 0.5s; }
.card-anim-trigger:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUpInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MEDIA QUERIES ULTRA RESPONSIVE DESIGN (@MEDIA CORRECTIONS)
   ========================================================================== */

@media (max-width: 1200px) {
    .main-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .eb-image-comparison-slider-wrapper {
        height: 320px;
    }
    .eb-image-comparison-slider-wrapper img {
        height: 320px;
    }
    .hero-section h1 {
        font-size: 2.2rem !important;
    }
    .btn-phone-red-white {
        font-size: 1.1rem;
        padding: 12px 24px !important;
        width: 100%;
    }
    .form-container-card {
        padding: 20px !important;
    }
}

@media (min-width: 769px) {
    .mobile-emergency-banner {
        display: none !important;
    }
}
iframe {
	display: block
}
.no-link {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}
.icon-box {
    border-radius: 100px;
  max-width: 40px;
  display: flex !important;
  justify-content: center;
}
.icon-box span {
    max-width: max-content;
  width: 100%;
}
#faqAccordionCustom h3 {
    font-size: 18px !important
}