:root {
    --primary: #1e5799;
    /* Soft Cobalt Blue */
    --accent: #3498db;
    --accent-light: #7db9e8;
    /* Light Blue */
    --accent-hover: #005FA8;
    --bg-light: #f8fbff;
    --text-dark: #1A1A1A;
    --text-muted: #666e7a;
    --sidebar-width: 250px;
    --container-width: 1400px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ANNOUNCEMENT BAR */
.top-announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1400;
    animation: blink-soft 2s infinite ease-in-out;
    margin-bottom: 2rem;
}

.announcement-content {
    display: inline-block;
    animation: shine 3s infinite linear;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: white;
}

@keyframes shine {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes blink-soft {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
        transform: scale(1.005);
    }
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    padding: 0 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TOP PRESTIGE BAR */
.top-prestige-bar {
    background: #000;
    color: var(--gold);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    z-index: 1001;
    position: relative;
}

.top-cta {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.top-cta:hover {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}

.top-social {
    color: #ffd700;
    font-size: 1.1rem;
}

/* HEADER NAVIGATION */
/* SIDEBAR (Reynaers Photo Match) */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    padding-top: 100px;
    transition: padding-top 0.5s ease, background 0.3s ease;
    background: transparent;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d1d5db;
    overflow-y: auto;
    /* Enable vertical scrolling */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar-nav::-webkit-scrollbar {
    display: none;
}

.sidebar-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_image/sidebar-ref-bg.webp');
    background-size: cover;
    background-position: left center;
    z-index: -1;
    opacity: 0.7;
    filter: blur(25px);
    transform: scale(1.1);
}

.sidebar-nav>* {
    position: relative;
    z-index: 10;
}

body.scrolled .sidebar-nav {
    padding-top: 20px;
    /* Remonte les logos tout en haut au scroll */
}



.sidebar-header {
    padding: 10px 20px;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tpr-badge-sidebar {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    height: 0;
    width: 160px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

body.scrolled .tpr-badge-sidebar {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 25px;
    /* Espace sous le nom de la société */
}

.tpr-badge-sidebar img {
    width: 100%;
    /* Occupe les 150px de largeur */
    height: auto;
    mix-blend-mode: multiply;
}


.sidebar-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    /* Enlève le trait bleu */
}

.sidebar-logo {
    width: 100%;
    max-width: 180px;
    display: block;
}

.sidebar-branding {
    display: flex;
    flex-direction: column;
    color: var(--primary);
    text-transform: uppercase;
    text-align: center;
    width: 180px;
    /* S'aligne sur la nouvelle largeur des logos */
    text-decoration: none !important;
    gap: 0;
    transition: all 0.5s ease;
    /* Transition fluide */
}

body.scrolled .sidebar-branding {
    opacity: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    /* Désactive les clics quand invisible */
}

.sidebar-branding .main-name,
.sidebar-branding .sub-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #002B5C 0%, #004c97 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-transform: uppercase;
}

.sidebar-branding .sub-name {
    margin-top: 0;
}





.sidebar-search {
    padding: 10px 15px;
    background: #f1f4f9;
    margin: 15px 20px;
    border-radius: 4px;
    color: #999;
    font-size: 0.8rem;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    /* USER: MODIFY THIS VALUE TO CHANGE MENU MARGINS */
}

/* MAIN MENU ITEMS SPACING */
.sidebar-menu>li {
    margin-bottom: 2px;
    /* USER: REDUCE THIS VALUE (e.g. to 5px) TO COMPACT MENU */
}

.sidebar-menu li a {
    display: block;
    padding: 5px 25px;
    /* Compact padding */
    text-decoration: none;
    color: #1F2937;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    /* Increased size */
    letter-spacing: 0.5px;
    /* Spreads text out */
    transition: all 0.3s ease;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active,
.sidebar-menu li.has-submenu:hover>a {
    color: #0076CE;
}

/* Temporarily hide Solutions link since it is not developed yet */
.sidebar-menu li:has(a[href*="#solutions"]),
.sidebar-menu li a[href*="#solutions"] {
    display: none !important;
}

/* SUBMENU STYLING */
.sidebar-menu .submenu {
    list-style: none;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.02);
}

/* Show submenu via JS class 'open' */
.sidebar-menu li.has-submenu.open .submenu {
    max-height: 500px;
    /* Transition to open */
}

.sidebar-menu .submenu li {
    margin-bottom: 0;
    /* Tight spacing for sub-items */
    border-left: 3px solid transparent;
}

.sidebar-menu .submenu li:hover {
    border-left-color: #0076CE;
    background: rgba(0, 118, 206, 0.05);
}

.sidebar-menu .submenu li a {
    font-size: 13px;
    /* Reynaers sub-item size */
    padding: 8px 25px 8px 35px;
    /* Indented */
    color: #4a5568;
    /* Soft grey */
    font-weight: 400;
    line-height: 1.4;
}

.sidebar-sub-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-sub-menu li a {
    display: block;
    padding: 5px 25px;
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
}

header {
    margin-left: var(--sidebar-width);
    padding: 15px 40px;
    color: #999;
    font-size: 0.8rem;
}

main {
    margin-left: 0;
    /* Hero covers full width */
}

/* Sections below Hero still need margin-left if we want them offset */
.key-figures-section,
.products-showcase,
#showroom,
.assets-section,
#solutions,
#innovation,
.product-icon-grid,
#projets,
#devis,
.google-reviews-section,
#main-footer {
    margin-left: var(--sidebar-width);
}

.key-figures-section {
    margin-right: 35px;
}

.key-figures-section .stat-item > span {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}

.key-figures-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 50px;
}

.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}


header.scrolled {
    background: white;
    top: 0;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.site-logo {
    height: 70px;
    mix-blend-mode: multiply;
}

header.scrolled .site-logo {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.main-name {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.1;
    display: block;
}

.sub-name {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--primary);
    /* Suppression du rouge comme demandé */
    letter-spacing: 2px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

header.scrolled .nav-menu a {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tpr-badge-header {
    height: 60px;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

header.scrolled .menu-toggle {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
}

/* PREMIUM HERO UTILITIES (from References) */
.gradient-text {
    color: #ffffff;
    display: inline-block;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 1rem;
    padding: 0.6rem 1.8rem;
    background: rgba(52, 152, 219, 0.08);
    border-radius: 30px;
}

.btn-hero-primary {
    padding: 1.1rem 2.8rem;
    background: #1e5799;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.3);
    display: inline-block;
}

.btn-hero-primary:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-hero-secondary {
    padding: 1.1rem 2.8rem;
    background: white;
    color: #1a2332;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-3px);
}

/* Improved Premium Hero with Tunisian Villa Image */
.hero-slider {
    position: relative;
    padding: 0;
    margin-top: 35px;
    margin-left: var(--sidebar-width);
    margin-right: 35px;
    margin-bottom: 35px;
    overflow: hidden;
    height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #001a35;
    /* Deep navy base */
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_image/hero-villa-tunisia.webp');
    background-size: cover;
    background-position: center;
    animation: slowZoom 20s infinite alternate ease-in-out;
    z-index: 1;
}

.hero-slider::after {
    display: none;
    /* Removed overlay as requested to see pure photo */
}

.hero-slider::before {
    filter: brightness(0.9) contrast(1.1);
    /* Slight adjustment to help white text */
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-slider .slide-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0;
    width: 100%;
    text-align: left;
    padding-left: 80px;
    /* Shifted 0.5cm (20px) to the left */
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .hero-subtitle {
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 8px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    opacity: 0.8;
}

.hero-text-frame {
    position: relative;
    padding: 25px 0 25px 45px;
    margin-bottom: 50px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    max-width: 900px;
}

.hero-text-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 450px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.hero-text-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
}

.hero-slider .slide-content h1 {
    font-size: 3.5rem;
    color: #ffffff !important;
    margin-bottom: 25px;
    line-height: 1.1;
    max-width: 800px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-slider .slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    max-width: 700px;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    opacity: 0.9;
}



.btn-hero-white {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    padding: 1.4rem 4.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    border: 3px solid #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(30, 87, 153, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero-white::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: btn-shimmer 3s infinite;
}

.btn-hero-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: #ffffff;
    color: #ffffff;
}

@keyframes btn-shimmer {
    0% { left: -75%; }
    100% { left: 125%; }
}

@keyframes brand-btn-pulse {
    0%, 100% {
        box-shadow: 0 10px 35px rgba(30, 87, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 10px 50px rgba(52, 152, 219, 0.6), 0 0 35px rgba(52, 152, 219, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        transform: scale(1.03);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Split Section Below Hero Photo */
.hero-cta-section {
    background: #f8fafc;
    padding: 65px 60px;
    border-bottom: 1px solid #e2e8f0;
    margin-left: var(--sidebar-width);
    margin-right: 35px;
    margin-bottom: 35px;
    position: relative;
    z-index: 100;
}

.cta-split-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.cta-text-side {
    text-align: left;
    flex: 1;
}

.cta-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0;
    line-height: 1.5;
}

.cta-button-side {
    flex-shrink: 0;
}

/* Premium Interactive CTA Button */
.btn-premium-cta {
    background: var(--primary);
    color: #ffffff !important;
    padding: 20px 45px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(30, 87, 153, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.btn-premium-cta i {
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-cta:hover {
    background: #ffffff;
    color: var(--primary) !important;
    box-shadow: 0 8px 25px rgba(30, 87, 153, 0.3);
    transform: translateY(-2px);
}

.btn-premium-cta:hover i {
    transform: translateX(6px);
}

/* Partner Brands Showcase Logos Bar */
.partner-brands-bar {
    background: transparent;
    padding: 30px 40px;
    margin-left: var(--sidebar-width);
    margin-right: 35px;
    margin-bottom: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.brands-bar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.brand-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.brand-logo-item img {
    max-height: 100%;
    max-width: 170px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hero-slider {
        margin-left: 0;
        padding-top: 120px;
        min-height: 60vh;
    }

    .hero-slider .slide-content h1 {
        font-size: 3rem;
    }

    .hero-slider .slide-content p {
        font-size: 1.1rem;
    }
}

.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 30px;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--accent);
}

/* Shared Hero Title Style from References Page */
.section-hero-title {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    color: #1a2332;
}

.section-hero-title h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #3498db;
    letter-spacing: -1px;
}

.section-hero-title p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666e7a;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.section-hero-title .hero-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 1rem;
    padding: 0.6rem 1.8rem;
    background: rgba(52, 152, 219, 0.08);
    border-radius: 30px;
}

.section-hero-title .gradient-text {
    background: linear-gradient(90deg, #1e5799 0%, #3498db 50%, #7db9e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* INNOVATION SECTION is now handled by global headers */
.innovation-section {
    padding: 10rem 0;
    background: white;
}

.innov-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-weight: 700;
    color: var(--primary);
    background: #f8fbff;
    padding: 20px;
    border-radius: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent);
}

.innov-visual {
    position: relative;
    background: var(--primary);
    padding: 4rem;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.technical-schema {
    max-width: 80%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.circular-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: black;
    line-height: 1.2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* PRODUCT ICONS GRID (New Section) */
.product-icon-grid {
    padding: 60px 0;
    text-align: center;
}

.product-icon-grid h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 50px;
    font-weight: 600;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.icon-item {
    width: 140px;
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

.icon-box {
    width: 140px;
    height: 140px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.icon-item:hover .icon-box {
    background: var(--accent);
}

.icon-box img {
    width: 60%;
    height: auto;
}

.icon-item span {
    font-weight: 600;
    font-size: 0.85rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 50px;
    padding: 0 40px;
}

.product-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.prod-img {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .prod-img img {
    transform: scale(1.08);
}

.prod-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(52, 152, 219, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

.prod-info {
    padding: 1.2rem;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.prod-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-text {
    text-decoration: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-text:hover {
    gap: 15px;
    color: var(--accent-light);
}

/* PROJECTS GALLERY */
.projects-showcase {
    padding: 5rem 0;
    background: white;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 480px;
    gap: 1.5rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-item.x2 {
    grid-column: span 2;
    grid-row: span 2;
}

.project-item.x2-w {
    grid-column: span 2;
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-item:hover .item-info {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover img {
    transform: scale(1.1);
}

.showcase-footer {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

/* NOUVEAU COLLAGE DES REALISATIONS */
.projects-collage-banner {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    margin-top: 2rem;
}

.projects-collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 4px;
    background: #111;
}

.collage-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.05);
    transition: transform 0.8s ease, filter 0.8s ease, opacity 0.5s ease;
}

.collage-item img.fade-out {
    opacity: 0;
}

.projects-collage-banner:hover .collage-item img {
    transform: scale(1.06);
    filter: brightness(0.65);
}

/* Overlay Glassmorphism Sombre / Cobalt */
.projects-collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Un dégradé linéaire très léger pour garder le texte lisible tout en montrant les photos très clairement */
    background: linear-gradient(180deg, rgba(10, 20, 35, 0.15) 0%, rgba(10, 20, 35, 0.6) 100%);
    backdrop-filter: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.projects-collage-banner:hover .projects-collage-overlay {
    /* Au survol, le calque s'assombrit légèrement et se floute pour faire ressortir le bouton et le titre */
    background: radial-gradient(circle, rgba(30, 87, 153, 0.45) 0%, rgba(10, 20, 35, 0.85) 100%);
    backdrop-filter: blur(3px);
}

/* Contenu de l'overlay */
.collage-overlay-content {
    text-align: center;
    color: #ffffff;
    padding: 2rem;
    max-width: 650px;
    z-index: 10;
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.overlay-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 850;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin: 0 0 1rem 0;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
}

.overlay-desc {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2rem 0;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.collage-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 750;
    padding: 16px 38px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(30, 87, 153, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.projects-collage-banner:hover .collage-cta-btn {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(30, 87, 153, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.collage-cta-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.projects-collage-banner:hover .collage-cta-btn i {
    transform: translateX(6px);
}

/* RESPONSIVE DESIGN FOR COLLAGE */
@media (max-width: 1024px) {
    .projects-collage-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 170px;
    }
    
    .overlay-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .projects-collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px; /* 110px * 6 = 660px hauteur totale, mosaïque parfaite */
    }
    
    .overlay-title {
        font-size: 1.85rem;
    }
    
    .overlay-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .collage-cta-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* DEVIS SECTION */
.devis-section {
    padding: 10rem 0;
    background: var(--primary);
    color: white;
}

.devis-card {
    background: white;
    padding: 5rem;
    border-radius: 40px;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

.devis-header {
    text-align: center;
    margin-bottom: 4rem;
}

.devis-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-opt input {
    display: none;
}

.opt-box {
    border: 2px solid #EEE;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.step-opt input:checked+.opt-box {
    border-color: var(--accent);
    background: rgba(0, 76, 151, 0.05);
}

.opt-box i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.opt-box span {
    display: block;
    font-weight: 700;
}

.form-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-inputs textarea {
    grid-column: span 2;
    height: 120px;
}

.form-inputs input,
.form-inputs textarea {
    padding: 1.2rem;
    border: 1px solid #DDD;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.btn-form-next,
.btn-form-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-form-prev {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* SHOWROOM SECTION */
.showroom-section {
    padding: 100px 0;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

/* GLOBAL SECTION HEADERS */
.section-title,
.section-header {
    margin-bottom: 4rem;
}

.section-title.centered,
.section-header.centered {
    text-align: center;
}

.section-title .sub,
.section-header .sub {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 1.2rem;
    padding: 0.5rem 1.5rem;
    background: rgba(52, 152, 219, 0.06);
    border-radius: 30px;
}

.section-title h2,
.section-header h2 {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.section-title p,
.section-header p {
    font-size: 1.2rem;
    color: #666e7a;
    max-width: 800px;
    line-height: 1.6;
}

.section-title.centered p,
.section-header.centered p {
    margin: 0 auto;
}

.showroom-section p {
    margin-bottom: 2rem;
}

.showroom-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: stretch;
}

/* NOUVELLE PRESENTATION DU SHOWROOM (HORIZONTALE & COMPACTE) */
.showroom-steps-container {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    width: 100%;
}

.showroom-step-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2);
    height: 120px;
    border-radius: 12px;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.showroom-step-pill:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.showroom-step-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.showroom-step-pill h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

/* Bouton itinéraire showroom */
.showroom-route-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #004d91 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 22px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
}

.showroom-route-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
}

@media (max-width: 768px) {
    .showroom-steps-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px !important;
    }
    
    .showroom-step-pill {
        flex: none;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 160px;
        height: 160px;
        padding: 20px;
        gap: 12px;
        border-radius: 12px;
    }
    
    .showroom-step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
        background: rgba(255, 255, 255, 0.15);
    }
    
    .showroom-step-pill h3 {
        font-size: 1.15rem;
        margin-top: 4px;
    }
}

.showroom-text-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    height: 100%;
}

.showroom-surface-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.showroom-surface-badge i {
    font-size: 1.6rem;
    color: #ffffff;
}

.showroom-intro-text {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.showroom-slogans {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.slogan-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.slogan-card:hover {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transform: translateX(5px);
}

.slogan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 77, 145, 0.08);
    color: #004d91;
    border-radius: 10px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.slogan-text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 4px;
    font-weight: 700;
}

.slogan-text p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.showroom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #004d91;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 77, 145, 0.25);
    transition: all 0.3s ease;
}

.showroom-cta-btn:hover {
    background: #e67e22;
    color: white;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
    transform: translateY(-2px);
}

/* Right side Image composition - Simple elegant single photo */
.showroom-visual-composition {
    position: relative;
    width: 100%;
    height: 290px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.showroom-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    cursor: zoom-in;
}

.showroom-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showroom-img-wrapper:hover img {
    transform: scale(1.04);
}

.showroom-img-wrapper.main-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.showroom-img-wrapper.secondary-img {
    display: none;
}

.showroom-img-wrapper:hover {
    box-shadow: none;
}

.img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 77, 145, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* ASSETS SECTION */
.assets-section {
    padding: 80px 0;
    background-color: #f8fbff;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.asset-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.asset-item:hover {
    transform: translateY(-10px);
}

.asset-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.asset-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asset-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .assets-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal and Animations */
/* Modal and Animations */
@media (max-width: 1024px) {
    .showroom-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .showroom-text-content {
        height: auto !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        align-items: stretch !important;
    }
    
    .showroom-surface-badge {
        justify-content: center;
        margin-bottom: 15px !important;
        font-size: 1.45rem;
    }
    
    .showroom-surface-badge i {
        font-size: 1.25rem;
    }
    
    .showroom-visual-composition {
        display: block !important;
        height: auto !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 10px !important;
    }
    
    .showroom-img-wrapper.main-img {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
    
    /* Premiere photo : afficher en entier sans recadrage */
    .showroom-img-wrapper.main-img img {
        height: auto !important;
        object-fit: cover !important;
    }
    
    .showroom-img-wrapper.secondary-img {
        display: none !important;
    }
}

/* FOOTER */
footer {
    background: linear-gradient(180deg, #002a60 0%, #001a3d 100%);
    color: white;
    padding: 8rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 5rem;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

.footer-certs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-certs img {
    height: 60px;
}

.mini-cert {
    filter: none;
    opacity: 0.9;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-contact h4,
.footer-nav h4 {
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-contact p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1400px) {
    .container-fluid {
        padding: 0 2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    /* MOBILE NAVIGATION (DRAWER) FOR TABLET & MOBILE */
    .sidebar-nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 2500;
        background: #ffffff !important;
        padding-top: 40px !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    }

    .sidebar-nav::before {
        display: none !important;
    }

    .sidebar-nav.mobile-open {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: block !important;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 3000;
        background: var(--primary);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 43, 92, 0.3);
        cursor: pointer;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2400;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* SECTION RESET FOR TABLETS & MOBILES */
    .hero-slider,
    .hero-cta-section,
    .partner-brands-bar,
    .key-figures-section,
    .products-showcase,
    #showroom,
    .assets-section,
    #solutions,
    #innovation,
    .product-icon-grid,
    #projets,
    #devis,
    #main-footer,
    .technical-catalog {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-cta-section {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding: 45px 35px !important;
        margin-bottom: 30px !important;
    }

    .partner-brands-bar {
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding: 25px 20px !important;
        margin-bottom: 30px !important;
    }

    .cta-split-wrapper {
        gap: 30px !important;
    }

    .cta-title {
        font-size: 1.85rem !important;
    }

    .hero-slider {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        border-radius: 0 !important;
        height: 400px !important;
    }

    .slide-content {
        margin-left: 60px;
        margin-right: 60px;
    }

    .products-showcase-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 20px !important;
        gap: 1.5rem !important;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .devis-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }

    .blue-badge-header {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }
}

@media (max-width: 768px) {

    .products-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .key-figures-grid {
        gap: 30px !important;
    }

    /* HERO MOBILE (SUPERPOSITION PREMIUM AVEC CADRAGE VILLA DÉCALÉ) */
    .hero-slider {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: 400px !important; /* Hauteur confortable sur mobile */
        min-height: auto !important;
        background: #001a35 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important; /* touches key figures section below it */
        overflow: hidden !important;
    }

    .key-figures-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-cta-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        padding: 40px 20px !important;
        margin-bottom: 0 !important; /* touches brand logos below it */
        background: #f8fafc !important;
        border-top: none !important; /* blend border with stats section above it */
    }

    .partner-brands-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 25px 15px !important;
        background: transparent !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        margin-bottom: 25px !important;
        border-radius: 0 !important;
    }

    .cta-split-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }

    .cta-button-side {
        width: 100% !important;
    }

    .btn-premium-cta {
        width: 100% !important;
        justify-content: center !important;
        padding: 18px 30px !important;
        font-size: 1.15rem !important;
    }

    .partner-brands-bar .brands-bar-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        justify-content: space-around !important;
    }

    .partner-brands-bar .brand-logo-item {
        height: 50px !important;
        flex: 1 !important;
        max-width: 120px !important;
        min-width: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .partner-brands-bar .brand-logo-item img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }

    .hero-slider::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-image: url('assets/hero_image/hero-villa-tunisia.webp') !important;
        background-size: cover !important;
        background-position: 78% center !important; /* Décale l'image pour centrer la villa et la piscine sur mobile */
        transform: none !important;
        animation: none !important;
        z-index: 1 !important;
    }

    main section:nth-of-type(2) {
        margin-top: 0 !important;
    }

    .hero-slider .slide-content {
        position: relative !important;
        z-index: 10 !important;
        width: 100% !important;
        text-align: left !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .hero-slider .hero-subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 4px !important;
        margin-bottom: 15px !important;
        text-transform: uppercase !important;
        color: #ffffff !important;
        opacity: 0.8 !important;
        display: block !important;
        text-align: left !important;
    }

    .hero-text-frame {
        position: relative !important;
        border-left: 2px solid rgba(255, 255, 255, 0.8) !important;
        padding: 15px 0 15px 25px !important;
        margin-bottom: 25px !important;
        max-width: 100% !important;
    }

    .hero-text-frame::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 120px !important;
        height: 2px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        display: block !important;
    }

    .hero-text-frame::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 80px !important;
        height: 2px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        display: block !important;
    }

    .hero-slider .slide-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .hero-slider .slide-content p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: #ffffff !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
        margin-bottom: 0 !important;
        text-align: left !important;
        max-width: 100% !important;
        opacity: 0.95 !important;
    }

    .hero-btns {
        width: 100% !important;
        display: block !important;
        margin-top: 45px !important;
    }

    /* version @media 768 — kept small for non-touch */
    .btn-hero-white {
        background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
        color: #ffffff !important;
        padding: 16px 40px !important;
        border-radius: 50px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        display: inline-block !important;
        font-size: 1.1rem !important;
        width: auto !important;
        text-align: center !important;
        border: 3px solid #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        box-shadow: 0 8px 25px rgba(30, 87, 153, 0.35) !important;
        animation: brand-btn-pulse 2.5s infinite ease-in-out !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .btn-hero-white::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -75% !important;
        width: 50% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
        transform: skewX(-20deg) !important;
        animation: btn-shimmer 3s infinite !important;
    }

    .btn-navy-filled,
    .btn-navy-outline {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
        font-size: 1rem;
    }

    /* ANNOUNCEMENT BARS */
    .top-announcement,
    .promo-banner-v3 {
        font-size: 0.75rem;
        padding: 8px 15px;
    }

    /* SHOWROOM MOBILE */
    #showroom,
    .assets-section,
    #solutions,
    #innovation,
    #catalog,
    .product-icon-grid,
    #projets,
    #devis,
    #main-footer {
        margin-left: 0;
    }

    .showroom-section {
        padding: 60px 20px;
    }

    .showroom-section h2 {
        font-size: 2rem;
    }

    .showroom-split-layout {
        gap: 30px;
    }
    
    .showroom-text-content {
        align-items: center;
        text-align: center;
        height: auto !important;
        justify-content: flex-start !important;
        gap: 20px !important;
    }
    
    .showroom-slogans {
        align-items: stretch;
    }
    
    .slogan-card {
        text-align: left;
        padding: 12px;
    }
    
    
    .showroom-visual-composition {
        display: block !important;
        height: auto !important;
    }
    
    .showroom-img-wrapper.main-img {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
    
    .showroom-img-wrapper.main-img img {
        height: auto !important;
        object-fit: cover !important;
    }
    
    .showroom-img-wrapper.secondary-img {
        display: none !important;
    }


    /* INNOVATION & ASSETS */
    .innovation-section {
        padding: 60px 20px;
    }

    .innovation-section h2 {
        font-size: 2rem;
    }

    .innov-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .assets-section {
        padding: 60px 20px;
    }

    .assets-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* PRODUCTS & CATALOG */
    .products-section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .technical-catalog {
        padding: 60px 20px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .catalog-item {
        min-height: 280px;
    }

    /* PROJECTS GALLERY */
    .projects-showcase {
        padding: 60px 20px;
    }

    .projects-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-item.x2,
    .project-item.x2-w {
        grid-column: span 1;
    }

    /* DEVIS FORM */
    .devis-section {
        padding: 60px 20px;
    }

    .devis-header h2 {
        font-size: 2rem;
    }

    .step-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-inputs {
        grid-template-columns: 1fr;
    }

    .form-inputs textarea {
        grid-column: span 1;
    }

    .form-footer {
        flex-direction: column;
        gap: 15px;
    }

    .btn-form-next,
    .btn-form-submit,
    .btn-form-prev {
        width: 100%;
    }

    /* FOOTER */
    footer {
        padding: 4rem 20px 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-logo {
        height: 60px;
    }

    /* WHATSAPP */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    .whatsapp-float span {
        display: none;
    }

    /* PRODUCT ICON GRID */
    .product-icon-grid {
        padding: 40px 20px;
    }

    .icon-row {
        gap: 15px;
    }

    .icon-item {
        width: 100px;
    }

    .icon-box {
        width: 80px;
        height: 80px;
    }

    /* GENERAL SPACING */
    .container {
        padding: 0 20px;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}


/* WhatsApp Floating Button Style */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 99999 !important;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-float i {
    font-size: 24px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajustement mobile pour WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px;
    }

    .whatsapp-float span {
        display: none;
        /* Garde seulement l'icône sur petit mobile */
    }
}

/* TECHNICAL CATALOG SECTION */
.technical-catalog {
    padding: 100px 0;
    background-color: #fff;
    margin-left: var(--sidebar-width);
}

.technical-catalog .section-title p {
    max-width: 600px;
    margin: 1rem auto 3rem;
    color: #666;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 40px;
}

.catalog-item {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.catalog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 43, 92, 0.08);
    border-color: var(--accent);
}

.cm-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #fcfcfc;
    border-radius: 8px;
}

.cm-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cm-info h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.cm-info span {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .technical-catalog {
        margin-left: 0;
        padding: 60px 20px;
    }

    .catalog-grid {
        padding: 0;
    }
}

/* New Blue Header Style based on Cloisons Serie 16 */
.blue-badge-header {
    background: #004d91;
    color: white;
    padding: 60px 20px;
    /* Increased top/bottom padding for grandiose feel */
    border-radius: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    width: 100%;
}

.blue-badge-header .badge-pill {
    background: white;
    color: #004d91;
    padding: 5px 25px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.blue-badge-header h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    color: white !important;
    margin-bottom: 15px;
}

.blue-badge-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* POLISHING FOR MOBILE & TABLETS (STUDIED RESPONSIVENESS) */
@media (max-width: 768px) {
    .blue-badge-header {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
        padding: 40px 15px;
        margin-bottom: 30px;
    }
    
    .blue-badge-header h1 {
        font-size: 2rem;
    }
    
    .blue-badge-header p {
        font-size: 0.95rem;
    }
    
    /* Drawer Shadow and touch friendliness */
    .sidebar-nav {
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    }
    
    /* Typography optimizations for hero section */
    .hero-slider .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-slider .slide-content p {
        font-size: 0.95rem;
    }
    
    /* Top Announcement Bar padding to avoid overlapping the menu button */
    .top-announcement-bar {
        padding: 12px 50px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* SMALL MOBILE PORTRAIT (E.G. S23 ULTRA) */
@media (max-width: 480px) {
    .products-showcase-grid {
        grid-template-columns: 1fr !important;
    }
    
    .key-figures-grid {
        gap: 20px !important;
    }
    
    .key-figures-grid .stat-item {
        min-width: 130px !important;
    }
    
    /* Small mobile typography adjustments */
    .section-title h2 {
        font-size: 1.75rem !important;
    }
}

.mobile-sticky-header {
    display: none;
}

/* TOUCH STRETCHED DESKTOP VIEWPORT OPTIMIZATIONS (FOR MOBILE AND TABLET DRAWER OVER LAYOUT) */
@media (pointer: coarse) {
    /* Mobile Sticky Header Styles */
    .mobile-sticky-header {
        display: flex !important;
        position: sticky !important;
        top: 0 !important;
        width: 100% !important;
        height: 160px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 248, 255, 0.95) 100%) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        border-bottom: 3px solid rgba(30, 87, 153, 0.12) !important;
        box-shadow: 0 10px 30px rgba(0, 43, 92, 0.05), inset 0 -1px 0 rgba(255, 255, 255, 0.6) !important;
        z-index: 2000 !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 30px !important;
        padding: 0 40px !important;
    }
    
    .mobile-header-left {
        display: flex !important;
        align-items: center !important;
        gap: 30px !important;
        z-index: 5 !important;
        flex-shrink: 0 !important;
    }
    
    .mobile-sticky-header .mobile-menu-toggle {
        display: flex !important;
        position: static !important;
        width: 110px !important;
        height: 110px !important;
        border-radius: 50% !important;
        font-size: 3rem !important;
        background: var(--primary) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(0, 43, 92, 0.25) !important;
        cursor: pointer !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-header-logo-link {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }
    
    .mobile-header-logo {
        height: 120px !important;
        width: auto !important;
        filter: contrast(1.1) brightness(1.02) !important;
    }
    
    /* Single-line company name: Aluminium du Centre */
    .mobile-header-branding {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 14px !important;
        text-decoration: none !important;
        z-index: 10 !important;
        flex: 1 !important;
        justify-content: center !important;
    }
    
    .mobile-header-branding .mobile-main-name,
    .mobile-header-branding .mobile-sub-name {
        font-family: 'Outfit', sans-serif !important;
        font-size: 2.4rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        color: var(--primary) !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        white-space: nowrap !important;
    }
    
    /* TPR badge — portrait mode */
    .mobile-header-tpr-badge {
        height: 105px !important;
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }
    
    .mobile-header-tpr-badge img {
        height: 100% !important;
        width: auto !important;
        mix-blend-mode: multiply !important;
    }

    /* Hide desktop fixed sidebar and make it a drawer */
    .sidebar-nav {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        z-index: 2500 !important;
        background: #ffffff !important;
        padding-top: 40px !important;
        width: 540px !important; /* Widened from 480px to accommodate single-line text */
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .sidebar-nav::before {
        display: none !important;
    }
    
    .sidebar-nav.mobile-open {
        transform: translateX(0) !important;
    }
    
    /* Scale menu typography for legibility */
    .sidebar-menu li a {
        font-size: 2.5rem !important;
        padding: 20px 40px !important;
    }

    .sidebar-menu .submenu li a {
        font-size: 1.8rem !important; /* Slightly smaller to fit on one line */
        padding: 14px 40px 14px 60px !important; /* Hierarchy indentation */
        white-space: nowrap !important; /* Prevent text wrapping */
    }

    .sidebar-menu li.has-submenu.open .submenu {
        max-height: 2000px !important;
    }
    
    .sidebar-sub-menu li a {
        font-size: 1.8rem !important;
        padding: 12px 40px !important;
    }
    
    .sidebar-header {
        padding: 20px !important;
    }
    
    .sidebar-logo-container {
        gap: 10px !important;
    }
    
    .sidebar-logo-container img {
        width: 320px !important;
        max-width: 80% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .sidebar-branding {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .sidebar-branding .main-name {
        font-size: 2.2rem !important;
        display: block !important;
        white-space: nowrap !important;
    }
    .sidebar-branding .sub-name {
        font-size: 2.2rem !important;
        display: block !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
    }

    /* Scale toggle button for physical finger touch */
    .mobile-menu-toggle {
        display: block !important;
        position: fixed !important;
        top: 40px !important;
        left: 40px !important;
        z-index: 3000 !important;
        background: var(--primary) !important;
        color: white !important;
        border: none !important;
        width: 150px !important;
        height: 150px !important;
        border-radius: 50% !important;
        font-size: 4.5rem !important;
        box-shadow: 0 10px 30px rgba(0, 43, 92, 0.4) !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2400;
    }

    .mobile-overlay.active {
        display: block !important;
    }

    /* Reset section margins so they fill the screen */
    .hero-slider,
    .key-figures-section,
    .products-showcase,
    #showroom,
    .assets-section,
    #solutions,
    #innovation,
    .product-icon-grid,
    #projets,
    #devis,
    #main-footer,
    .technical-catalog {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Hero — photo villa+piscine englobe tout le texte + bouton */
    /* Hero — photo villa+piscine layout on touch screen */
    .hero-slider {
        height: 480px !important;
        min-height: auto !important;
        margin-top: 40px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important; /* touches Key Figures section below it */
        border-radius: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .key-figures-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* CTA Section touch screen layout */
    .hero-cta-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important; /* touches Key Figures section above it */
        margin-bottom: 0 !important; /* touches brand logos section below it */
        border-radius: 0 !important;
        border-top: none !important; /* blend border with stats section above it */
        padding: 45px 35px !important;
        background: #f8fafc !important;
        border-bottom: none !important;
    }

    /* Brands bar touch screen layout */
    .partner-brands-bar {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important; /* touches devis section above it */
        margin-bottom: 40px !important; /* spacing before products */
        border-radius: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 25px 20px !important;
        background: transparent !important;
    }

    .cta-split-wrapper {
        gap: 30px !important;
    }

    .cta-title {
        font-size: 1.85rem !important;
    }

    .hero-slider::before {
        background-position: center !important;
        animation: slowZoom 20s infinite alternate ease-in-out !important;
    }

    .hero-slider .slide-content {
        padding-left: 80px !important;
        padding-right: 80px !important;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .hero-slider .slide-content h1 {
        font-size: 3.5rem !important;
        line-height: 1.1 !important;
    }

    .hero-slider .slide-content p {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }

    .hero-text-frame {
        border-left: 2px solid rgba(255, 255, 255, 0.8) !important;
        padding: 25px 0 25px 45px !important;
        max-width: 900px !important;
    }

    .hero-text-frame::before {
        display: block !important;
        width: 450px !important;
        height: 2px !important;
    }

    .hero-text-frame::after {
        display: block !important;
        width: 70% !important;
        height: 2px !important;
    }

    /* ===== BOUTON DEVIS — DEGRADÉ COBALT ET BLEU PREMIUM ===== */
    .btn-hero-white {
        background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
        color: #ffffff !important;
        padding: 26px 70px !important;
        border-radius: 60px !important;
        border: 3px solid #ffffff !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 850 !important;
        font-size: 1.55rem !important;
        text-decoration: none !important;
        display: inline-block !important;
        text-align: center !important;
        text-transform: uppercase !important;
        letter-spacing: 3px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        box-shadow: 0 10px 35px rgba(30, 87, 153, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
        animation: brand-btn-pulse 2.5s infinite ease-in-out !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .btn-hero-white::after {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -75% !important;
        width: 50% !important;
        height: 200% !important;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
        transform: skewX(-20deg) !important;
        animation: btn-shimmer 3s infinite !important;
    }

    @media (orientation: landscape) {
        /* Scale down header for landscape mobile — single line name */
        .mobile-sticky-header {
            height: 90px !important;
            padding: 0 30px !important;
            gap: 20px !important;
        }
        
        .mobile-header-left {
            gap: 15px !important;
        }
        
        .mobile-sticky-header .mobile-menu-toggle {
            width: 65px !important;
            height: 65px !important;
            font-size: 2rem !important;
        }
        
        .mobile-header-logo {
            height: 70px !important;
        }
        
        .mobile-header-branding {
            gap: 10px !important;
        }
        
        .mobile-header-branding .mobile-main-name,
        .mobile-header-branding .mobile-sub-name {
            font-size: 1.5rem !important;
            letter-spacing: 1px !important;
    }
}

/* Phone Landscape Layout Optimizations (force single horizontal lines) */
@media (max-width: 980px) and (orientation: landscape) {
    /* Stats row: force all 4 items on the exact same line */
    .key-figures-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        justify-content: space-around !important;
    }
    
    .key-figures-section .stat-item {
        min-width: 0 !important;
        flex: 1 !important;
        padding: 5px !important;
    }
    
    .key-figures-section .stat-item h3 {
        font-size: 2.2rem !important;
    }
    
    .key-figures-section .stat-item > span {
        font-size: 1.10rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Brands bar: force all 7 logos on the exact same line */
    .partner-brands-bar .brands-bar-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        justify-content: space-around !important;
    }
    
    .partner-brands-bar .brand-logo-item {
        height: 52px !important;
        flex: 1 !important;
        max-width: 120px !important;
        min-width: 0 !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .partner-brands-bar .brand-logo-item img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

/* Mobile phones full width layout (no left/right margins for hero, devis, logos, stats, and products showcase sections) */
@media (max-width: 768px) {
    .hero-slider,
    .hero-cta-section,
    .partner-brands-bar,
    .key-figures-section,
    .products-showcase,
    .google-reviews-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* GOOGLE REVIEWS SECTION */
.google-reviews-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    border-top: 1px solid rgba(0, 77, 145, 0.05);
    border-bottom: 1px solid rgba(0, 77, 145, 0.05);
    overflow: hidden;
}

.google-reviews-section .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    gap: 30px;
}

.reviews-title-block {
    max-width: 600px;
}

.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 118, 206, 0.05);
    color: #0076CE;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-title-block h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.reviews-title-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.reviews-summary-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.google-logo-wrapper img {
    height: 36px;
    width: auto;
    display: block;
}

.rating-stars-wrapper {
    display: flex;
    flex-direction: column;
}

.rating-number-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #1F2937;
    line-height: 1;
}

.stars-gold {
    color: #fbbc05;
    font-size: 1.3rem;
    display: flex;
    gap: 2px;
}

.reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 77, 145, 0.08);
    border-color: rgba(0, 118, 206, 0.15);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0076CE 0%, #004d91 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 118, 206, 0.2);
}

.reviewer-name-date h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.reviewer-name-date span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-card-google-logo {
    color: #4285f4;
    font-size: 1.1rem;
    background: rgba(66, 133, 244, 0.08);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card-stars {
    color: #fbbc05;
    font-size: 0.95rem;
    display: flex;
    gap: 2px;
    margin-bottom: 15px;
}

.review-card-text {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.review-card-text::before {
    content: '"';
    font-size: 1.5rem;
    color: rgba(0, 118, 206, 0.15);
    line-height: 0;
    vertical-align: bottom;
    margin-right: 2px;
}

.review-card-text::after {
    content: '"';
    font-size: 1.5rem;
    color: rgba(0, 118, 206, 0.15);
    line-height: 0;
    vertical-align: bottom;
    margin-left: 2px;
}

.review-card-tag {
    font-size: 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reviews-cta-box {
    background: linear-gradient(135deg, #004d91 0%, #0076CE 100%);
    border-radius: 20px;
    padding: 40px 50px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 15px 40px rgba(0, 77, 145, 0.25);
    position: relative;
    overflow: hidden;
}

.reviews-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.reviews-cta-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.reviews-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0;
}

.btn-google-review-write {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #004d91;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.btn-google-review-write:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    background: #f8fbff;
}

.btn-google-review-write i {
    font-size: 1.2rem;
}

/* RESPONSIVE STYLES FOR REVIEWS */
@media (max-width: 1024px) {
    .google-reviews-section {
        margin-left: 0 !important;
        padding: 60px 20px;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .reviews-summary-card {
        width: 100%;
        justify-content: center;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 25px;
    }
    
    .btn-google-review-write {
        width: 100%;
        justify-content: center;
    }
    
    .reviews-title-block h2 {
        font-size: 2rem;
    }
}