/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --linear-gradient: linear-gradient(to left, #2a9d8f 50%, var(--white) 10%);
    --primary-color: #fcd550;
    --secondary-color: #cc6e23;
    --tertiaryTitle-color: #2e97a5 ;
    --accent-color: #e8a04a;
    --text-color: #333;
    --text-light: #666;
    /* Fond de page : beige très clair (remplace le blanc pur du canvas) */
    --bg-page: #faf4e7;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Ancres : scroll précis pour que le titre de section soit visible sous le header sticky */
html {
    scroll-padding-top: 14rem; /* réserve la hauteur du header pour un positionnement exact */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* évite le débordement horizontal (100vw, sections élargies, etc.) */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-page);
    color: var(--text-color);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Médias : ne jamais dépasser la largeur de l’écran */
img,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}
a{
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ========== En-tête site (sticky : logo + navigation) ========== */
.header {
    background-color: var(--bg-page);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    position: relative;
}

.header-content {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
    background-color: var(--primary-color);
    padding: 10px;
    box-shadow: var(--shadow);
}

.logo {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 0;
}

.tagline {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

/* Navigation */
.main-nav {
    margin-top: 1rem;
    position: relative;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

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

/* Dropdown menu (Nos services → pages du site) */
.dropdown {
    position: relative;
    z-index: 1002;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-page);
    box-shadow: var(--shadow-hover);
    list-style: none;
    min-width: 280px;
    max-width: min(320px, calc(100vw - 2rem));
    padding: 0.5rem 0;
    margin-top: 0.35rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 1003;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown > .nav-link:focus + .dropdown-menu {
    display: block;
}

.dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown > .nav-link::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.75;
    flex-shrink: 0;
    margin-top: 2px;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-transform: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

/* Page courante dans le menu principal */
.main-nav .nav-link.nav-link--current {
    color: var(--secondary-color);
    font-weight: 700;
}

.main-nav .nav-link.nav-link--current::after {
    width: 100%;
}

.dropdown.dropdown--current > .nav-link {
    color: var(--secondary-color);
    font-weight: 700;
}

.dropdown.dropdown--current > .nav-link::after {
    width: 100%;
}

.main-nav .dropdown-menu a.nav-link--current {
    color: var(--secondary-color);
    font-weight: 700;
    background-color: rgba(204, 110, 35, 0.1);
    border-left: 3px solid var(--secondary-color);
    padding-left: calc(1.5rem - 3px);
}

.main-nav .dropdown-menu a.nav-link--current:hover {
    background-color: rgba(204, 110, 35, 0.16);
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background:linear-gradient(to bottom, var(--bg-page) 15%, var(--primary-color)5%);
    color: var(--text-color);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Carousel hero */
.hero-images-group.carousel {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.carousel-inner {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-smartphone {
    width: 340px;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background-color: rgba(204, 110, 35, 0.92);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.carousel-btn svg {
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}

.carousel-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-hover);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--tertiaryTitle-color);
    outline-offset: 3px;
}

.carousel-btn:focus:not(:focus-visible) {
    outline: none;
}

.carousel-btn-prev {
    left: -44px;
}

.carousel-btn-next {
    right: -44px;
}

/* Hero : flèches visibles sur mobile (hors cadre → souvent rognées par overflow) */
@media (max-width: 768px) {
    .hero-images-group.carousel .carousel-btn {
        width: 44px;
        height: 44px;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-images-group.carousel .carousel-btn svg {
        width: 22px;
        height: 22px;
    }

    .hero-images-group.carousel .carousel-btn-prev {
        left: max(0.4rem, env(safe-area-inset-left, 0px));
    }

    .hero-images-group.carousel .carousel-btn-next {
        right: max(0.4rem, env(safe-area-inset-right, 0px));
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.carousel-dot:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

.carousel-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.hero-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-image-left {
    flex-shrink: 0;
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-text-content {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

/* Installer la PWA — bouton fixe (index uniquement) */
.pwa-install-fixed[hidden] {
    display: none !important;
}

.pwa-install-fixed {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    top: max(10rem, env(safe-area-inset-top, 0px));
    /* Sous la lightbox (10000) et modales lourdes, au-dessus du header (1000) et boutons flottants (~1020) */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    max-width: min(calc(100vw - 2rem), 17rem);
    pointer-events: none;
}

.pwa-install-fixed > * {
    pointer-events: auto;
}

.pwa-install-fixed__btn {
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-hover);
    white-space: nowrap;
    max-width: 100%;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.pwa-install-fixed__hint {
    margin: 0;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
    .pwa-install-fixed {
        max-width: min(calc(100vw - 5.5rem), 16rem);
    }
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background-color: var(--bg-page);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tertiaryTitle-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: bold;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    /* Effet 3D : ombre portée + léger relief */
    box-shadow:
        4px 4px 0 0 rgba(0, 0, 0, 0.06),
        8px 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Thème nature : couleurs plus concentrées + relief 3D */
/* Vert émeraude */
.service-card--location .service-title,
.service-card--location .service-description,
.service-card--location .service-detail,
.service-card--location .service-link {
    color: #fff;
}
.service-card--location .service-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.service-card--location {
    background: #2a9d8f;
    border-color: rgba(46, 139, 87, 0.5);
    box-shadow:
        4px 4px 0 0 rgba(46, 139, 87, 0.25),
        8px 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Orange tangerine */
.service-card--fabrication .service-title,
.service-card--fabrication .service-description,
.service-card--fabrication .service-link {
    color: #1a1a1a;
}
.service-card--fabrication .service-link:hover {
    color: #000;
}

.service-card--fabrication {
    background:  #f4a261 ;
    border-color: rgba(242, 133, 0, 0.5);
    box-shadow:
        4px 4px 0 0 rgba(242, 133, 0, 0.25),
        8px 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Brun feuille morte */
.service-card--accompagnement .service-title,
.service-card--accompagnement .service-description,
.service-card--accompagnement .service-link {
    color: #f5f0e8;
}
.service-card--accompagnement .service-link:hover {
    color: #fff;
}

.service-card--accompagnement {
    background:#e76f51;
    border-color: rgba(255, 147, 32, 0.734);
    box-shadow:
        4px 4px 0 0 rgba(242, 133, 0, 0.25),
        8px 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
     
}

/* Jaune ocre */
.service-card--menuiserie .service-title,
.service-card--menuiserie .service-description,
.service-card--menuiserie .service-link {
    color: #2c2416;
}
.service-card--menuiserie .service-link:hover {
    color: #000;
}

.service-card--menuiserie {
    background: #e9c46a;
    border-color: rgba(204, 119, 34, 0.5);
    box-shadow:
        4px 4px 0 0 rgba(204, 119, 34, 0.25),
        8px 8px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-card:hover {
    transform: translateY(-8px) translateZ(10px);
    box-shadow:
        6px 6px 0 0 rgba(0, 0, 0, 0.08),
        14px 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card--location:hover {
    box-shadow:
        6px 6px 0 0 rgba(46, 139, 87, 0.35),
        14px 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card--fabrication:hover {
    box-shadow:
        6px 6px 0 0 rgba(242, 133, 0, 0.35),
        14px 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card--accompagnement:hover {
    box-shadow:
        6px 6px 0 0 rgba(255, 136, 32, 0.432),
        14px 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card--menuiserie:hover {
    box-shadow:
        6px 6px 0 0 rgba(204, 119, 34, 0.35),
        14px 14px 28px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.service-detail {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Menu déroulant "en savoir plus" - Location */
.service-card--location:has(.service-more-dropdown[open]) {
    z-index: 100;
}

.service-more-dropdown {
    position: relative;
    display: inline-block;
}

.service-more-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.service-more-dropdown summary::-webkit-details-marker {
    display: none;
}

.service-more-dropdown summary::after {
    content: " ▾";
    font-size: 0.85em;
    opacity: 0.8;
}

.service-more-dropdown[open] summary::after {
    content: " ▴";
}

.service-dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin: 0.25rem 0 0 0;
    padding: 0.5rem 0;
    list-style: none;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.service-dropdown-menu li {
    margin: 0;
}

.service-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.service-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.service-card--location .service-dropdown-menu a {
    color: #2E8B57;
}

.service-card--location .service-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #1d5c3d;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.about-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Galerie puzzle - Qui sommes-nous */
.about-gallery {
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-gallery--puzzle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 180px);
    gap: 0.5rem;
}

.about-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-gallery-item--tall {
    grid-row: span 2;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Galeries : pas de requêtes mobile dédiées — grille et tailles d’images identiques au bureau (hors bandeaux .demonstration-image). */

/* Galerie page BTP : 1 grand + 2 à droite (inchangés) + dernier en paysage en bas */
.about-gallery--btp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px minmax(180px, 220px);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-gallery--btp .about-gallery-item--tall {
    grid-row: span 2;
}

.about-gallery--btp .about-gallery-item img {
    min-height: 200px;
}

/* Uniquement le dernier : pleine largeur en paysage en bas */
.about-gallery--btp .about-gallery-item--wide {
    grid-column: 1 / -1;
}

.about-gallery--btp .about-gallery-item--wide img {
    min-height: 180px;
    max-height: 260px;
    object-fit: cover;
    object-position: center;
}

/* Pastille PMR sur une vignette galerie (ex. Kaka-ravane) */
.about-gallery-item--pmr {
    position: relative;
}

.about-gallery-pmr-badge {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    z-index: 2;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.35rem;
    color: var(--white);
    background: rgba(46, 96, 165, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    line-height: 1;
}

/* Galerie 2 colonnes (ex. poulailler en kit) */
.about-gallery--duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: minmax(200px, 260px);
    gap: 0.75rem;
    margin-top: 1rem;
}

.about-gallery--duo .about-gallery-item img {
    min-height: 200px;
}

/* Section Les toilettes sèches, pourquoi ? */
.why-section {
    padding: 4rem 0;
    background-color: var(--bg-page);
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Bandeau pleine largeur (sort du cadre .why-content) + marge pour parallaxe scroll */
.demonstration-image-frame {
    display: block;
    width: 90vw;
    max-width: none;
    margin: 1.75rem 0;
    margin-left: calc(50% - 45vw);
    position: relative;
    overflow: hidden;
    /* Ratio plus « haut » : longueur verticale plus grande (défilement) */
    aspect-ratio: 4 / 1;
    border-radius: 0;
    box-shadow: var(--shadow);
    border-radius: 12px;
}

.demonstration-image {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    height: 140%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: translateY(-50%);
    will-change: transform;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .demonstration-image-frame {
        aspect-ratio: 16 / 9;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .demonstration-image {
        height: 125%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demonstration-image {
        will-change: auto;
    }
}

/* Pictogramme + texte descriptif (accueil, pages services, etc.) */
@keyframes desc-icon-suspension {
    0%, 100% {
        transform: scaleX(-1) translateY(0);
    }
    50% {
        transform: scaleX(-1) translateY(-10px);
    }
}

.desc-icon-row,
.why-intro-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.desc-icon,
.why-intro-row .why-intro-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    object-fit: contain;
    transform: scaleX(-1);
    animation: desc-icon-suspension 2.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .desc-icon,
    .why-intro-row .why-intro-icon {
        animation: none;
        transform: scaleX(-1);
    }
}

.desc-icon-row__body {
    flex: 1;
    min-width: 0;
}

.desc-icon-row > .page-intro,
.desc-icon-row .page-intro,
.desc-icon-row > .why-text,
.desc-icon-row .why-text,
.desc-icon-row > .about-text,
.desc-icon-row .about-text,
.desc-icon-row > .commitments-text,
.desc-icon-row .commitments-text,
.desc-icon-row > .pricing-block__lead,
.desc-icon-row .pricing-block__lead,
.desc-icon-row__body > p:last-child,
.why-intro-row .why-text {
    margin-bottom: 0;
}

.about-content .desc-icon-row,
.about-content .desc-icon-row .about-text {
    text-align: left;
}

.commitments-section .desc-icon-row,
.commitments-section .desc-icon-row .commitments-text {
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* desc-icon-row / why-intro-row : adaptation tablette & mobile */
@media (max-width: 768px) {
    .desc-icon-row,
    .why-intro-row {
        align-items: flex-start;
        gap: 0.75rem;
        padding-left: max(0px, env(safe-area-inset-left, 0px));
        padding-right: max(0px, env(safe-area-inset-right, 0px));
    }

    .desc-icon,
    .why-intro-row .why-intro-icon {
        width: 80px;
        height: 80px;
    }

    .desc-icon-row__body {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .desc-icon-row,
    .why-intro-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 1.15rem;
    }

    .desc-icon,
    .why-intro-row .why-intro-icon {
        width: 72px;
        height: 72px;
        align-self: flex-start;
    }

    .desc-icon-row__body {
        width: 100%;
        max-width: 100%;
    }
}

.why-subtitle {
    font-size: 1.25rem;
    color: var(--tertiaryTitle-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-subtitle:first-of-type {
    margin-top: 0;
}

.why-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.why-links {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 0;
}

.why-links a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.why-links a:hover {
    color: var(--accent-color);
}

/* Commitments Section */
.commitments-section {
    padding: 4rem 0;
    background-color: var(--bg-page);
    text-align: center;
}

.commitments-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonials-placeholder {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 2rem;
}

/* Section Avis Google */
.google-reviews-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.google-reviews-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Bande défilante des logos - une ligne, défilement continu */
.logos-marquee-wrap {
    overflow: hidden;
    width: 100%;
    margin: 2rem 0;
}

.logos-marquee {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: logos-scroll 30s linear infinite;
}

.logos-marquee:hover {
    animation-play-state: paused;
}

@keyframes logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.google-reviews-widget {
    margin-bottom: 2rem;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.google-review-card {
    background: transparent;
    padding: 0 1rem;
    border-radius: 12px;
    box-shadow: none;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px; /* laisse de l’air autour des logos */
}

.google-review-logo {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
    display: block;
}

.google-review-stars {
    color: #f4c430;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.google-review-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.google-review-author-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.google-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--secondary-color);
}

.google-review-author {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.google-reviews-link {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.google-reviews-link:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Ancre invisible (accueil) : cible #demande-devis avant le pied de page */
.devis-scroll-anchor {
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Bouton flottant : lien vers la section demande de devis */
.fixed-devis-btn {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    z-index: 1020;
    box-shadow: var(--shadow-hover);
    white-space: nowrap;
    max-width: calc(100vw - 2rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.fixed-devis-btn.fixed-devis-btn--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem);
}

/* Pas de bouton flottant sur l’accueil ni sur les pages d’informations légales */
html[data-cms-page="index"] .fixed-devis-btn,
html[data-legal-info="true"] .fixed-devis-btn {
    display: none !important;
}

/* Partager la page (toutes les pages via includes/footer) */
.share-page-btn {
    position: fixed;
    left: max(1rem, env(safe-area-inset-left, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    z-index: 1019;
    box-shadow: var(--shadow-hover);
    white-space: nowrap;
    max-width: calc(100vw - 2rem);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    transition: opacity 0.25s ease, transform 0.15s ease;
}

.share-page-btn__svg {
    display: inline-flex;
    line-height: 0;
}

.share-page-btn__svg svg {
    display: block;
}

.share-page-toast {
    position: fixed;
    left: 50%;
    bottom: 5.5rem;
    transform: translateX(-50%) translateY(0.5rem);
    margin: 0;
    padding: 0.65rem 1.1rem;
    background: var(--text-color);
    color: var(--white);
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1030;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    max-width: min(90vw, 20rem);
    text-align: center;
}

.share-page-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .share-page-btn__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .share-page-btn {
        padding: 0.85rem;
        border-radius: 50%;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-link__icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.social-link--facebook .social-link__icon {
    color: #1877f2;
}

.social-link--whatsapp .social-link__icon {
    color: #25d366;
}

.social-link:hover .social-link__icon {
    opacity: 0.92;
    transform: scale(1.06);
}

.social-link__logo {
    flex-shrink: 0;
    height: 1.35rem;
    width: auto;
    max-width: 6.5rem;
    object-fit: contain;
    object-position: left center;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link:hover .social-link__logo {
    opacity: 0.92;
    transform: scale(1.05);
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.8;
}

.footer-legal-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-top: 0.85rem;
    font-size: 0.88rem;
}

.footer-legal-inline a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-legal-inline a:hover {
    color: var(--secondary-color);
    opacity: 1;
    text-decoration: underline;
}

.footer-legal-inline__sep {
    opacity: 0.45;
    user-select: none;
}

/* Pages légales (mentions, CGU, confidentialité) */
.legal-page {
    padding: 2.5rem 0 4rem;
}

.legal-page .legal-page__title {
    font-size: clamp(1.5rem, 3.5vw, 1.85rem);
    color: var(--secondary-color);
    margin: 0 0 0.4rem;
}

.legal-page .legal-page__meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 2rem;
}

.legal-page__section {
    margin-bottom: 1.75rem;
}

.legal-page__section h2 {
    font-size: 1.12rem;
    color: var(--tertiaryTitle-color);
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.legal-page__section p,
.legal-page__section li {
    line-height: 1.65;
    margin: 0.55rem 0;
    color: var(--text-color);
}

.legal-page__section ul {
    margin: 0.5rem 0 0.75rem;
    padding-left: 1.35rem;
}

.legal-page__back {
    margin-top: 2.5rem;
}

.legal-page__back a {
    font-weight: 600;
}

.footer-admin-link {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.75;
    font-size: 0.92em;
}

.footer-admin-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-text {
        flex-direction: column;
        text-align: center;
        order: 2;
    }

    .hero-images-group.carousel {
        order: 1;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: max(1rem, env(safe-area-inset-right, 0px));
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 0;
        gap: 4px;
        border-radius: 50%;
        border: 2px solid var(--secondary-color);
        background-color: var(--bg-page);
        box-shadow: var(--shadow);
        box-sizing: border-box;
        z-index: 1010;
    }

    .menu-toggle:hover {
        border-color: var(--accent-color);
        background-color: var(--bg-page);
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--tertiaryTitle-color);
        outline-offset: 3px;
    }

    /* Fond = même jaune que --primary-color (#fcd550), adouci */
    .menu-toggle.active {
        border-color: var(--accent-color);
        background-color: rgba(252, 213, 80, 0.28);
    }

    .nav-list {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        background-color: var(--bg-page);
        padding: 1rem;
        box-shadow: var(--shadow);
        margin-top: 0.5rem;
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }

    .nav-list.nav-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        left: auto;
        transform: none;
        max-width: none;
        display: block;
        box-shadow: var(--shadow);
        margin-top: 0.5rem;
        padding: 0.5rem 0 0.5rem 1rem;
        background-color: var(--bg-light);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .dropdown > .nav-link::before {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text {
        order: 2;
    }

    .hero-images-group.carousel {
        order: 1;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .services-section,
    .about-section,
    .why-section,
    .commitments-section,
    .testimonials-section,
    .google-reviews-section {
        padding: 2rem 0;
    }
}
body {
    background: linear-gradient(45deg, var(--bg-page) 65%, var(--primary-color) 35%);
}

/* Formes géométriques animées (tarification, location événements, BTP) - le gradient 45° ci-dessus est inchangé */
body.body--bg-shapes {
    isolation: isolate;
}

/* :not(.lightbox) - la lightbox doit rester en position: fixed plein écran (sinon le modal est dans le flux) */
/* :not([data-pwa-install-section]) - le bandeau PWA doit rester en position:fixed + z-index élevé (clics desktop) */
body.body--bg-shapes > *:not(.bg-shapes):not(.lightbox):not([data-pwa-install-section]) {
    position: relative;
    z-index: 1;
}

/*
 * Empilement : body.body--bg-shapes > * { z-index:1 } est plus spécifique que .header { z-index:1000 },
 * donc l’en-tête restait à 1 et le bandeau page-hero (même z-index, plus tard dans le DOM) le recouvrait.
 * includes.js remplace le div#header-include par ce <header id="header-include"> (voir includes/header.html).
 */
#header-include,
body.body--bg-shapes > header.header {
    position: relative;
    z-index: 1000;
}

body.body--bg-shapes > header.page-hero {
    z-index: 0;
}

.bg-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shapes__shape {
    position: absolute;
    opacity: 0.38;
    will-change: transform, opacity;
}

/* Carrés */
.bg-shapes__shape--1 {
    width: 42px;
    height: 42px;
    top: 8%;
    left: 6%;
    border-radius: 9px;
    background: rgba(46, 151, 165, 0.45);
    animation: bgShapesDriftA 22s ease-in-out infinite;
}

.bg-shapes__shape--2 {
    width: 66px;
    height: 66px;
    top: 72%;
    right: 12%;
    border-radius: 12px;
    background: rgba(204, 110, 35, 0.28);
    animation: bgShapesDriftB 28s ease-in-out infinite 2s;
}

.bg-shapes__shape--3 {
    width: 30px;
    height: 30px;
    bottom: 18%;
    left: 22%;
    border-radius: 6px;
    background: rgba(46, 151, 165, 0.4);
    animation: bgShapesDriftA 18s ease-in-out infinite 5s;
}

/* Rectangles */
.bg-shapes__shape--4 {
    width: 144px;
    height: 42px;
    top: 35%;
    right: 8%;
    border-radius: 12px;
    background: rgba(252, 213, 80, 0.35);
    animation: bgShapesDriftB 32s ease-in-out infinite 1s;
}

.bg-shapes__shape--5 {
    width: 96px;
    height: 24px;
    bottom: 28%;
    right: 25%;
    border-radius: 6px;
    background: rgba(46, 151, 165, 0.32);
    animation: bgShapesDriftC 26s linear infinite;
}

.bg-shapes__shape--6 {
    width: 168px;
    height: 36px;
    top: 55%;
    left: 4%;
    border-radius: 18px;
    background: rgba(204, 110, 35, 0.22);
    animation: bgShapesDriftA 24s ease-in-out infinite 8s;
}

/* Cercles */
.bg-shapes__shape--7 {
    width: 84px;
    height: 84px;
    top: 22%;
    right: 28%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(46, 151, 165, 0.35));
    animation: bgShapesOrbit 40s ease-in-out infinite;
}

.bg-shapes__shape--8 {
    width: 48px;
    height: 48px;
    bottom: 12%;
    right: 6%;
    border-radius: 50%;
    background: rgba(252, 213, 80, 0.4);
    animation: bgShapesOrbit 35s ease-in-out infinite 6s;
}

.bg-shapes__shape--9 {
    width: 60px;
    height: 60px;
    top: 48%;
    left: 15%;
    border-radius: 50%;
    border: 4px solid rgba(46, 151, 165, 0.35);
    background: transparent;
    animation: bgShapesDriftC 30s ease-in-out infinite 3s;
}

.bg-shapes__shape--10 {
    width: 36px;
    height: 36px;
    top: 65%;
    right: 40%;
    border-radius: 50%;
    background: rgba(204, 110, 35, 0.3);
    animation: bgShapesDriftB 20s ease-in-out infinite 4s;
}

.bg-shapes__shape--11 {
    width: 108px;
    height: 54px;
    bottom: 42%;
    left: 35%;
    border-radius: 27px;
    background: rgba(46, 151, 165, 0.22);
    animation: bgShapesDriftA 27s ease-in-out infinite 10s;
}

.bg-shapes__shape--12 {
    width: 54px;
    height: 78px;
    top: 12%;
    left: 42%;
    border-radius: 12px;
    background: rgba(252, 213, 80, 0.28);
    animation: bgShapesDriftC 33s linear infinite 7s;
}

/* Triangles (clip-path) */
.bg-shapes__shape--tri1 {
    width: 72px;
    height: 62px;
    top: 40%;
    left: 8%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(46, 151, 165, 0.38);
    animation: bgShapesDriftA 26s ease-in-out infinite 2s;
}

.bg-shapes__shape--tri2 {
    width: 54px;
    height: 48px;
    bottom: 8%;
    left: 48%;
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
    background: rgba(204, 110, 35, 0.32);
    animation: bgShapesDriftB 24s ease-in-out infinite 6s;
}

.bg-shapes__shape--tri3 {
    width: 90px;
    height: 78px;
    top: 18%;
    right: 6%;
    clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
    background: rgba(252, 213, 80, 0.34);
    animation: bgShapesOrbit 38s ease-in-out infinite 4s;
}

.bg-shapes__shape--tri4 {
    width: 60px;
    height: 52px;
    bottom: 35%;
    right: 18%;
    clip-path: polygon(100% 0%, 0% 50%, 100% 100%);
    background: rgba(46, 151, 165, 0.28);
    animation: bgShapesDriftC 29s linear infinite 11s;
}

/* Losanges (clip-path losange) */
.bg-shapes__shape--los1 {
    width: 56px;
    height: 56px;
    top: 52%;
    left: 22%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(204, 110, 35, 0.36);
    animation: bgShapesDriftB 31s ease-in-out infinite 1s;
}

.bg-shapes__shape--los2 {
    width: 48px;
    height: 48px;
    top: 6%;
    right: 28%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(46, 151, 165, 0.34);
    animation: bgShapesOrbit 36s ease-in-out infinite 8s;
}

.bg-shapes__shape--los3 {
    width: 64px;
    height: 64px;
    bottom: 18%;
    left: 4%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(252, 213, 80, 0.3);
    animation: bgShapesDriftA 27s ease-in-out infinite 5s;
}

.bg-shapes__shape--los4 {
    width: 44px;
    height: 44px;
    top: 58%;
    right: 10%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(46, 151, 165, 0.26);
    animation: bgShapesDriftC 32s linear infinite 3s;
}

@keyframes bgShapesDriftA {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.32;
    }
    33% {
        transform: translate(62px, -54px) rotate(95deg);
        opacity: 0.5;
    }
    66% {
        transform: translate(-42px, 36px) rotate(190deg);
        opacity: 0.38;
    }
}

@keyframes bgShapesDriftB {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.35;
    }
    50% {
        transform: translate(-74px, 66px) scale(1.08);
        opacity: 0.52;
    }
}

@keyframes bgShapesDriftC {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(-48px, -84px) rotate(360deg);
    }
}

@keyframes bgShapesOrbit {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.35;
    }
    25% {
        transform: translate(34px, -42px);
        opacity: 0.48;
    }
    50% {
        transform: translate(-24px, 28px);
        opacity: 0.4;
    }
    75% {
        transform: translate(48px, 22px);
        opacity: 0.46;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-shapes__shape {
        animation: none !important;
        opacity: 0.22;
    }
}

/* ----- Bandeau titre pages location (BEM : page-hero / page-hero--*) ----- */
.page-hero {
    color: #fff;
    padding: 2.5rem 0;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.25);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.page-hero__img {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.page-hero__title {
    margin: 0;
    font-size: clamp(1.65rem, 1.1rem + 2.2vw, 2.75rem);
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.page-hero--events {
    background-color: #2e7d6e;
    background-image:
        linear-gradient(135deg, rgba(42, 157, 144, 0.384) 0%, rgba(30, 110, 100, 0.9) 100%),
        url("../images/caravane_ebeno_bwa.jpg");
        background-repeat: no-repeat;
        background-size: cover;
}

.page-hero--btp {
    background-color: #2e7d6e;
    background-image:
        linear-gradient(135deg, rgba(42, 157, 144, 0.384) 0%, rgba(30, 110, 100, 0.9) 100%),
        url("../images/image/IMG-20260311-WA0028 - Copie.jpg");
        background-repeat: no-repeat;
        background-size: cover;
}

.page-hero--pricing {
    background-color: #2a9d8f;
    background-image:
        linear-gradient(135deg, rgba(42, 157, 143, 0.384) 0%, rgba(30, 110, 100, 0.9) 100%),
        url("../images/image/IMG-20260311-WA0011 - Copie.jpg");
        background-repeat: no-repeat;
        background-size: cover;
}

.page-hero--ventes {
    background-color: #cc6e23;
    background-image:
        linear-gradient(135deg, rgba(232, 160, 74, 0.384) 0%, rgba(90, 42, 10, 0.9) 100%),
        url("../images/toilette_construction_ebeno_bwa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 4px 12px rgba(180, 90, 26, 0.35);
}

.page-hero--compostage {
    background-color: #e76f51;
    background-image:
        linear-gradient(135deg, rgba(231, 111, 81, 0.384) 0%, rgba(150, 55, 35, 0.9) 100%),
        url("../images/compostage_ebeno_bwa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 4px 12px rgba(231, 111, 81, 0.32);
}

.page-hero--menuiserie {
    background-color: #c9972e;
    background-image:
        linear-gradient(135deg, rgba(233, 196, 106, 0.5) 0%, rgba(130, 82, 24, 0.9) 100%),
        url("../images/image/menuiserie/etagere\ bar_ebeno_bwa.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 4px 12px rgba(204, 119, 34, 0.35);
}

.page-hero__title {
    text-shadow: 0 1px 3px rgba(44, 36, 22, 0.35), 0 2px 12px rgba(44, 36, 22, 0.25);
}
/* Carte image sous le bandeau page-hero : chevauche le bas du header de 30 % de la hauteur de la carte (ratio 16/9) */


.page-hero-card,
.page-hero-card__img {
    pointer-events: auto;
}

.page-hero-card-inner {
    width: 100%;
    max-width: min(680px, 92vw);
    margin-left: 0;
    margin-right: auto;
}

.page-hero-card {
    width: 100%;
    margin: 0;
    /* 30 % de la hauteur = (9/16)×30 % de la largeur de la carte (16:9) */
    margin-top: calc(-9 / 16 * 0.3 * 100%);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(46, 139, 87, 0.2);
    background: var(--white);
}

.page-hero-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.page-content {
    padding: 3rem 0 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content a:not(.btn):not(.service-link) {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.page-content a:not(.btn):not(.service-link):hover {
    color: var(--accent-color);
}

.page-content--pricing {
    max-width: 1000px;
}

.page-content.page-content--with-hero-card {
    padding-top: 1.75rem;
}

@media (max-width: 768px) {
    .page-hero__inner {
        flex-direction: column;
    }
    .page-hero__title {
        font-size: clamp(1.5rem, 1.2rem + 1.5vw, 1.85rem);
    }

    .page-hero-card {
        border-radius: 12px;
    }

    .page-content.page-content--with-hero-card {
        padding-top: 1.25rem;
    }
}

/* ----- Page tarification : tableaux ----- */
.pricing-wrap {
    margin: 2rem 0 2.5rem;
}

.pricing-block {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 2.5rem;
    padding: 1.75rem 1.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

/* Image d’arrière-plan par bloc (voile blanc pour garder le texte lisible) */
.pricing-block::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.pricing-block > * {
    position: relative;
    z-index: 1;
}

.pricing-block--bg-private::before {
    background-image: url("../images/image/IMG-20260311-WA0023 - Copie.jpg");
    background-blend-mode: multiply;
}

.pricing-block--bg-public::before {
    background-image: url("../images/image/IMG-20260311-WA0011 - Copie.jpg");
    background-blend-mode: multiply;
}

.pricing-block--bg-kaka::before {
    background-image: url("../images/image/IMG-20260311-WA0029 - Copie.jpg");
    background-blend-mode: multiply;
}

.pricing-block--bg-tsm::before {
    background-image: url("../images/image/IMG-20260311-WA0028 - Copie.jpg");
    background-blend-mode: multiply;
}

.pricing-block {
    border-top: 4px solid var(--secondary-color);
    background: linear-gradient(180deg, rgba(252, 213, 80, 0.18) 0%, color-mix(in srgb, var(--bg-page) 94%, transparent) 130px);
}

#pourquoi-franchir-le-pas,
#pourquoi-choisir-ebeno-bwa,
#art-du-bois-au-service-du-developpement-durable {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
#nos-solutions-de-menuiserie-eco-responsables {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-block__title {
    font-size: 1.35rem;
    color: var(--tertiaryTitle-color);
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.pricing-block__lead {
    margin: 0 0 1.25rem;
    color: rgba(26, 25, 25, 0.87);
    font-size: 1rem;
    line-height: 1.6;
}

.pricing-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    line-height: 1.55;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--tertiaryTitle-color) 0%, #247a85 100%);
    color: var(--white);
}

.pricing-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-table th:last-child {
    text-align: right;
    white-space: nowrap;
    min-width: 8rem;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s ease;
}

.pricing-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.6);
}

.pricing-table tbody tr:hover {
    background: rgba(252, 213, 80, 0.15);
}

.pricing-table td {
    padding: 1rem 1rem;
    vertical-align: top;
    color: var(--text-color);
}

.pricing-table td:first-child {
    width: 62%;
}

.pricing-table__price {
    text-align: right;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.05rem;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .pricing-block {
        padding: 1.25rem 1rem 1.5rem;
    }
    .pricing-table thead {
        display: none;
    }
    .pricing-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        padding: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: var(--white);
    }
    .pricing-table tbody tr:nth-child(even) {
        background: var(--white);
    }
    .pricing-table td {
        display: block;
        width: 100%;
        padding: 0.35rem 0;
        text-align: left;
    }
    .pricing-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--tertiaryTitle-color);
        font-weight: 600;
        margin-bottom: 0.35rem;
    }
    .pricing-table__price {
        text-align: left;
        font-size: 1.15rem;
        padding-top: 0.5rem;
        border-top: 1px dashed var(--border-color);
        margin-top: 0.5rem;
    }
}

.page-header {
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.75rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.page-intro {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

.page-cms-rich > p:first-of-type {
    margin-top: 0;
}

.page-section {
    margin-bottom: 2.5rem;
}

.page-section--photos {
    margin-bottom: 1.25rem;
}

.page-section-title {
    font-size: 1.35rem;
    color: var(--tertiaryTitle-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Titre centré sur toute la largeur de l’écran (dans une page à contenu étroit) */
.page-heading-fullwidth {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    text-align: center;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.page-section-title--fullwidth {
    max-width: none;
}

.page-section p,
.page-section ul,
.page-section ol {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--text-color);
}

.page-section .desc-icon-row > p {
    margin-bottom: 0;
}

.page-section .desc-icon-row__body p {
    margin-bottom: 1rem;
}

.page-section .desc-icon-row__body p:last-child {
    margin-bottom: 0;
}

.page-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.page-list li {
    margin-bottom: 0.5rem;
}

.page-list--numbered {
    list-style: decimal;
    padding-left: 1.5rem;
}

.compostage-frame {
    margin-top: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-radius: 12px;
    background: rgba(253, 230, 20, 0.495);
    border: 1px solid rgba(255, 147, 32, 0.45);
    border-left: 6px solid #e76f51;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.compostage-frame .page-list {
    margin-bottom: 0;
}

/* Cartes avantages (page location événements) – en ligne, zone plus large */
.page-cards-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.page-cards {
    font-weight: bold;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-cards--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.page-cards--single {
    grid-template-columns: 1fr;
    max-width: 900px;
}

.page-cards--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
}

.page-card {
    background: #a1fff43e;
    border-radius: 12px;
    border-top: 4px solid #2a9d8f;
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-card--glass-white {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-card--glass-white:hover {
    background: rgba(255, 255, 255, 0.85);
}

.page-card:hover {
    background:#faffe9;
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--secondary-color);
}

.page-card-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.page-card-text {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.info-tooltip__btn {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-color);
    font-weight: 800;
    line-height: 1;
    cursor: help;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.info-tooltip__btn:hover,
.info-tooltip__btn:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    outline: none;
}

.info-tooltip__content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 10px);
    width: min(420px, 80vw);
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.55;
    text-align: left;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.info-tooltip__content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.96) transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12));
}

.info-tooltip:hover .info-tooltip__content,
.info-tooltip__btn:focus-visible + .info-tooltip__content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .info-tooltip__btn,
    .info-tooltip__content {
        transition: none;
    }
}

/* Petits écrans : pas de bulle (voir modal info-tooltip-modal.js) */
@media (max-width: 768px) {
    .info-tooltip__btn {
        cursor: pointer;
    }

    .info-tooltip__content {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .info-tooltip__content::after {
        display: none;
    }

    .info-tooltip:hover .info-tooltip__content,
    .info-tooltip__btn:focus-visible + .info-tooltip__content {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Modal info (menuiserie, petits écrans) : panneau ancré près du bouton (position en JS) */
.info-tooltip-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.info-tooltip-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.info-tooltip-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

.info-tooltip-modal__panel {
    position: fixed;
    z-index: 1;
    margin: 0;
    width: min(calc(100vw - 1.5rem), 22rem);
    max-height: min(55vh, 20rem);
    overflow: auto;
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 14px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.6;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}

.info-tooltip-modal__body a {
    color: var(--secondary-color);
    word-break: break-word;
}

.info-tooltip-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.info-tooltip-modal__close:hover,
.info-tooltip-modal__close:focus-visible {
    background: var(--secondary-color);
    color: var(--white);
    outline: none;
}

.info-tooltip-modal__close:focus-visible {
    outline: 2px solid var(--tertiaryTitle-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .info-tooltip-modal {
        transition: none;
    }
}

@media (max-width: 992px) {
    .page-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-cards--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-cards--two {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-cards--three {
        grid-template-columns: 1fr;
    }

    .page-cards--two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-cards-wrapper {
        padding: 0 0.75rem;
    }
    .page-card {
        padding: 1rem 1.1rem;
    }
    .page-card-icon {
        font-size: 1.75rem;
    }
}

.page-section--highlight {
    padding: 1.5rem;
    background: linear-gradient(45deg, rgba(20, 101, 24, 0.08) 50%, rgba(204, 110, 35, 0.06) 10%);
    border-radius: 8px; 
    border-left: 4px solid var(--secondary-color);
}

/* Section élargie (ex. Kaka-ravane) – même largeur max que les cartes */
.page-section--wide {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

.page-section--wide.page-section--highlight {
    padding: 0;
}

.page-section-wide-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
}

.page-section-wide-inner .page-section-title {
    font-size: 2.95rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .page-section-wide-inner .page-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-section-wide-inner {
        padding: 2.25rem 1rem 1.5rem;
    }
    .page-section-wide-inner .page-section-title {
        font-size: 2.35rem;
    }
}

.page-photos {
    margin-top: 1.5rem;
}

.page-back {
    margin-top: 2.5rem;
}

/* CTA et boutons pages internes */
.page-section--cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(46, 151, 165, 0.08);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.page-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn__icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.btn__icon--whatsapp {
    display: inline-flex;
}

.btn__icon--whatsapp svg {
    width: 1.125rem;
    height: 1.125rem;
    display: block;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

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

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

.btn--whatsapp {
    background-color: #25d365a3;
    color: var(--white);
    border: 2px solid #25d366;
}

.btn--whatsapp:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: var(--white);
}

.header .logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header .logo-container a .logo {
    color: var(--secondary-color);
}

.header .logo-container a:hover .logo {
    color: var(--accent-color);
}

/* Lightbox : images cliquables et navigables */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.lightbox-open {
    display: flex;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
