@charset "UTF-8";

/* --------------------------------------------------------------------------
   COUVREUR CHELLES - CORE DESIGN SYSTEM
   Focus: Accessibility, Responsiveness, Modern Aesthetics
   -------------------------------------------------------------------------- */

:root {
    /* Theme: Forest Slate (Eco-conscious Roofing) */
    --primary: #831843;
    --primary-light: #2ECC71;
    --primary-bg: rgba(39, 174, 96, 0.08);
    --secondary: #059669;
    --radius-m: 12px;

    --text-main: #2d2d2d;
    --text-muted: #575757;
    --bg-main: #ffffff;
    --bg-alt: #f8f9fa;
    --white: #ffffff;
    --black: #1a1a1a;
    --success: #2e7d32;
    --error: #d32f2f;
    --warning: #ed6c02;
    --info: #0288d1;
    --gris: #757575;

    /* Spacing - Fluid using clamp */
    --space-2xs: clamp(0.25rem, 0.22rem + 0.16vw, 0.38rem);
    --space-xs: clamp(0.5rem, 0.44rem + 0.31vw, 0.75rem);
    --space-s: clamp(0.75rem, 0.66rem + 0.47vw, 1.13rem);
    --space-m: clamp(1rem, 0.88rem + 0.63vw, 1.5rem);
    --space-l: clamp(1.5rem, 1.31rem + 0.94vw, 2.25rem);
    --space-xl: clamp(2rem, 1.75rem + 1.25vw, 3rem);
    --space-2xl: clamp(3rem, 2.63rem + 1.88vw, 4.5rem);
    --space-3xl: clamp(4rem, 3.5rem + 2.5vw, 6rem);

    /* Typography */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-accent: 'Rajdhani', sans-serif;

    /* Borders & Shadows */
    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 16px;
    --shadow-s: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-m: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-l: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
   RESET & BASE STYLES
    */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}



body {
    font-family: var(--font-body);
    background: rgba(250, 250, 250, 0.95);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
    filter: sepia(0.25) contrast(1.05) brightness(1.02) hue-rotate(-5deg);
    transition: filter 0.5s ease;
}

img:hover {
    filter: sepia(0.1) contrast(1.1) brightness(1.05);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Focus States */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* 
   ACCESSIBLE UTILITIES
    */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    video {
        display: none !important;
        /* Hide background videos for reduced motion */
    }
}

/* 
   NAVIGATION
    */

header {
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-s) var(--space-m);
    max-width: 1440px;
    margin: 0 auto;
    gap: var(--space-m);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: clamp(0.9rem, 0.8rem + 0.5vw, 1.2rem);
    flex-shrink: 0;
}

.nav-logo em {
    font-style: normal;
    color: var(--primary);
}

.logo-icon {
    width: clamp(32px, 10vw, 44px);
    height: clamp(32px, 10vw, 44px);
    fill: var(--primary);
}

.nav-links {
    display: flex;
    gap: var(--space-m);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--black);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--black);
    left: 0;
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* 
   HERO SECTION
    */

#hero {
    position: relative;
    min-height: clamp(500px, 80vh, 800px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-m);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--black);
    z-index: -2;
    overflow: hidden;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: cinematicSlideshow 20s linear infinite;
}

/* Staggered starts for 4 slides (20s total, 5s each) */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-slide:nth-child(4) {
    animation-delay: 15s;
}

@keyframes cinematicSlideshow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
        transform: scale(1.1);
        /* Subtle Ken Burns zoom */
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250, 250, 250, 0.95) 45%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    /* Darker semi-transparent bg for contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-top: 30px;
    margin-bottom: var(--space-m);
    font-size: 0.85rem;
    color: var(--white);
    /* White for better visibility */
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-style: italic;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -1px;
    margin-bottom: var(--space-m);
    color: var(--black);
}

.hero-title .saumon {
    color: var(--primary);
    font-style: normal;
    font-weight: 900;
}

.hero-location {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-m);
}

.hero-sub {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 0 var(--space-l);
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    gap: var(--space-m);
    justify-content: flex-start;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-m);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition);
    border: none;
    min-height: 48px;
    /* Touch target */
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #b54618;
    transform: translateY(-2px);
    box-shadow: var(--shadow-m);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-l);
    justify-content: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: var(--space-l);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-s);
}

.stat-number {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* 
   SECTIONS
    */

section {
    padding: var(--space-3xl) var(--space-m);
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: var(--space-s) auto;
}

/* Cinematic Visual Breaks */
.services-visual {
    width: 100%;
    height: clamp(300px, 45vh, 600px);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: var(--space-xl) 0;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-l);
    position: relative;
    overflow: hidden;
}

.services-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 40%, transparent 60%, rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .services-visual {
        background-attachment: scroll;
        /* Disable fixed bg for mobile performance */
        height: 300px;
    }
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
}

.card {background: var(--blanc);
    padding: var(--space-l);
    border-radius: var(--radius-m);
    transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
    background: var(--white);
    box-shadow: var(--shadow-l);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-s);
}

.card h3 {
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: var(--space-s);
}

/* Portfolio Video Grid */
.real-card video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-m);
    margin-bottom: var(--space-s);
}

/* Zone Cards */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
}

.zone-card {
    background: var(--bg-alt);
    padding: var(--space-l);
    border-radius: var(--radius-m);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    text-align: center;
}

.zone-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-l);
    transform: translateY(-5px);
}

.zone-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -1rem;
}

.zone-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-s);
}

/* 
   FOOTER
    */

footer {
    background: var(--secondary);
    color: var(--white);
    padding: var(--space-3xl) var(--space-m) var(--space-m);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    max-width: 1440px;
    margin: 0 auto var(--space-xl);
}

.footer-col h4 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-m);
    font-size: 0.9rem;
}

.footer-col ul li {
    margin-bottom: var(--space-xs);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-m);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* 
   HELP COMPONENTS (CHAT & POPUP)
    */

/* Chat Widget */








    50% {
        transform: translateY(-5px);
    }
}



.operator-widget:hover {
    transform: scale(1.1) rotate(0deg);
}

.operator-widget.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    pointer-events: auto;
}

.operator-widget svg {
    width: 28px;
    height: 28px;
}







/* Form Accessibility moved to components section */

/* 
   MEDIA QUERIES
    */

@media (max-width: 1024px) {
    nav {
        padding: var(--space-s) var(--space-m);
    }

    .nav-links {
        display: none;
    }

    /* Hide for mobile/tablet */
    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-actions .btn-call span:last-child {
        display: none;
    }

    /* Hide number, keep icon */
    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .reviews-badge {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        transform: scale(0.85);
        transform-origin: top left;
    }

    .reviews-badge img {
        height: 24px;
    }

    

    

    

    #scrollTop {
        width: 40px;
        height: 40px;
        bottom: 75px;
        right: 20px;
        font-size: 1rem;
    }
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
    transform: translateX(100%);
    transition: var(--transition);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav 

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
}

/* 
   EXTRA COMPONENTS & ANIMATIONS
    */

.reviews-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-m);
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: fit-content;
}

.reviews-badge img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.badge-stars {
    color: #fbbc04;
    /* Google Star Color */
    font-size: 0.9rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-score {
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
}

.badge-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 60px;
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-badge {
    animation: float 3s ease-in-out infinite;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* 
   URGENCE CALL BAR (STICKY)
    */

.call-fixed-wrap {
    position: sticky;
    top: 60px;
    /* Right after the main header */
    z-index: 900;
    background: var(--primary);
    color: var(--white);
    display: none;
    /* Controlled by JS via inline 'flex' */
    align-items: center;
    justify-content: space-between;
    padding: 8px var(--space-m);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.call-fixed-msg {
    font-size: 0.85rem;
    font-weight: 600;
}

.call-fixed-wrap .btn-call {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    background: var(--white);
    color: var(--primary);
    min-height: auto;
}

@media (max-width: 768px) {
    .call-fixed-wrap {
        top: 50px;
        padding: 6px var(--space-s);
    }

    .call-fixed-msg {
        font-size: 0.75rem;
    }
}

/* 
   TICKER (Scrolling horizontal banner)
    */

.ticker-wrap {
    background: var(--primary);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.ticker {
    display: inline-flex;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    color: var(--white);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 2rem;
    white-space: nowrap;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 
   HERO ACCENT OVERLAY
    */

.hero-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
    z-index: 0;
    pointer-events: none;
}

/* Animated Dot (hero badge) */
.dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(46, 125, 50, 0);
    }
}

/* Star color for stats */
.stat-stars {
    color: #fbbc04;
}

/* Service Badge */
.service-badge {
    display: inline-block;
    margin-top: var(--space-s);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary-bg);
    color: var(--primary);
}

/* 
   MATERIAL GRID
    */

.mat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-l);
}

.mat-card {
    background: var(--bg-alt);
    padding: var(--space-l);
    border-radius: var(--radius-m);
    text-align: center;
    transition: var(--transition);
}

.mat-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-l);
    transform: translateY(-5px);
}

.mat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-s);
}

.mat-card h3 {
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

/* 
   GARANTIE GRID
    */

.garantie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-l);
}

.garantie-card {
    background: var(--bg-alt);
    padding: var(--space-l);
    border-radius: var(--radius-m);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary);
}

.garantie-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-l);
    transform: translateY(-5px);
}

.garantie-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-s);
}

.garantie-card h3 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

/* 
   CONTACT SECTION
    */

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-l);
}

.contact-block {
    background: var(--bg-alt);
    padding: var(--space-l);
    border-radius: var(--radius-m);
    text-align: center;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.contact-block:hover {
    box-shadow: var(--shadow-l);
    transform: translateY(-3px);
}

.contact-block a {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 
   SCROLL TOP BUTTON
    */

#scrollTop {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-m);
}

#scrollTop.show {
    opacity: 1;
    pointer-events: auto;
}

#scrollTop:hover {
    background: #b54618;
    transform: translateY(-3px);
}

/* 
   CHAT WINDOW - INTERIOR COMPONENTS
    */





.cw-avatar {
    font-size: 1.8rem;
    background: var(--white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-s);
}

















.cw-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: slideInMsg 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInMsg {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.cw-msg.bot {
    align-self: flex-start;
}

.cw-msg.user {
    align-self: flex-end;
}

.cw-bubble {
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    box-shadow: var(--shadow-s);
}

.bot .cw-bubble {
    background: var(--white);
    color: var(--text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.user .cw-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, #b54618 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(212, 86, 30, 0.2);
}







/* Recap Styling */
.recap-block {
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 0.8rem 0;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.recap-line {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.recap-line:last-child {
    border-bottom: none;
}

.recap-line strong {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.recap-line span {
    font-weight: 600;
    font-size: 0.85rem;
}









#chat-input {
    flex: 1;
}

/* 
   HELP POPUP
    */

#help-popup {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: min(340px, calc(100vw - 40px));
    background: var(--white);
    border-radius: var(--radius-l);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    padding: var(--space-l);
    z-index: 1001;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

#help-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}























/* 
   ZONE BACKGROUND VISUAL
    */
#zones {
    overflow: hidden;
}

.zones-bg-visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: -1;
    filter: grayscale(0.8) contrast(1.2) brightness(0.8);
}

/* 
   REVIEW TICKER STYLES
    */

.review-ticker-container {
    position: relative;
    width: 100%;
    height: 48px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Changed to border-bottom */
    z-index: 900;
    /* Below sticky header nav */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.review-ticker-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--white);
}

.review-badge {
    height: 100%;
    background: #0d47a1;
    /* Deep Google-style blue from screenshot */
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-count {
    white-space: nowrap;
    text-transform: uppercase;
}

.badge-stars {
    color: #ffca28;
    /* Gold stars */
    letter-spacing: 2px;
}

.badge-rating {
    opacity: 0.8;
    font-weight: 500;
}

.review-ticker-lane {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.review-ticker-track {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-left: 50px;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.review-ticker-container:hover .review-ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 0.9rem;
    font-weight: 400;
    color: #FFFFFF;
    /* High contrast solid white */
}

.ticker-item .author {
    color: #42a5f5;
    /* Light blue name per screenshot */
    margin-right: 8px;
    font-weight: 700;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 50px));
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .review-ticker-container {
        height: 42px;
    }

    .review-badge {
        padding: 0 12px;
        font-size: 0.75rem;
    }

    .badge-stars {
        display: none;
    }

    /* Space saving */
    .ticker-item {
        font-size: 0.8rem;
    }
}

/* âââ GLOBAL RESPONSIVE FIXES âââ */
@media (max-width: 768px) {
    nav {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    section {
        padding: 60px 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
    }

    /* Help Popup Mobile Fix */
    #help-popup {
        position: fixed !important;
        bottom: 20px !important;
        right: 15px !important;
        left: 15px !important;
        width: auto !important;
        padding: 1.25rem !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        display: none;
        flex-direction: column;
        background: #fff;
        border-radius: var(--radius-m);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        z-index: 10001;
    }

    #help-popup.open {
        display: flex;
    }

    .help-prequal-chips {
        gap: 0.25rem;
    }

    

    

    /* Chat Window Mobile Fix */
    

    

    /* âââ SPLIT HERO MOBILE STACKING âââ */
}

/* ─── SPLIT HERO MOBILE STACKING ─── */
@media (max-width: 991px) {
    #hero {
        flex-direction: column !important;
        padding-top: 80px !important;
    }

    .hero-bg {
        width: 100% !important;
        height: 40vh !important;
        position: relative !important;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, transparent, rgba(250, 250, 250, 1)) !important;
    }

    .hero-content {
        text-align: center !important;
        margin: 2rem auto !important;
    }

    .hero-ctas,
    .hero-stats {
        justify-content: center !important;
    }
}

/* ─── GMB TICKER ─── */
.gmb-ticker-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 0.8rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}
.gmb-ticker-fixed:hover {
    transform: translateY(-3px);
}
.gmb-ticker-fixed a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1f2937;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}
.gmb-stars {
    color: #fbbc05;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.gmb-logo {
    width: 20px;
    height: 20px;
}
@media (max-width: 768px) {
    .gmb-ticker-fixed {
        bottom: 20px; /* Above standard mobile elements */
        left: 10px;
        padding: 0.4rem 0.8rem;
    }
    .gmb-ticker-fixed a {
        font-size: 0.8rem;
    }
}
\n
/* ─── REALISATIONS V2 (BEFORE/AFTER SIDE-BY-SIDE) ─── */
.real-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.real-pair {
  background: var(--anthracite-2, #1A2638);
  border: 1px solid var(--anthracite-3, #243042);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.real-pair-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: var(--accent-vif, #E1BEE7);
  margin: 0;
  text-align: center;
}

.real-pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.real-img-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  border: 2px solid var(--anthracite-3, #243042);
  box-shadow: var(--shadow-card);
}

.real-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.real-img-box:hover img {
  transform: scale(1.05);
}

.badge-before,
.badge-after {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  z-index: 2;
  letter-spacing: 1px;
}
.badge-before {
  background: #dc2626;
}
.badge-after {
  background: var(--secondary, #047857);
}

@media (max-width: 900px) {
  .real-layout-v2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .real-pair-images {
    grid-template-columns: 1fr;
  }
  .real-img-box {
    height: 180px;
  }
}

/* FLOATING DEVIS BUTTON */
#floating-devis-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 30px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: bold;
}

#floating-devis-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    #floating-devis-btn {
        bottom: 20px;
        right: 15px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}


/* ─── RESPONSIVE NAV FIX (auto-applied) ─── */
@media (max-width: 991px) {
    .nav-links { display: none !important; }
    .nav-phone-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        white-space: nowrap;
        border-radius: 8px;
    }
    .nav-phone-btn .phone-icon { display: none; }
    .nav-phone-btn .phone-text { display: inline; }
}
@media (max-width: 768px) {
    .gmb-ticker-fixed { display: none !important; }
    .operator-widget { display: none !important; }
    .fixed-action-stack { gap: 1.5rem !important; }
}
