/*
Theme Name: Alu Elgarrekin
Theme URI: https://aluelgarrekin.com
Author: Alu Elgarrekin
Description: Thème premium menuiserie aluminium
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: alu-elgarrekin
*/

/* =============================================
   VARIABLES
============================================= */
:root {
    --color-primary: #004C97;
    --color-primary-darker: #004080;
    --color-secondary: #0e2d5e;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --accent-bright: #5ba4f5;
    --text-muted: #718096;
}

/* =============================================
   RESET
============================================= */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    color: #2d3748;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; text-decoration:none; transition:color 0.22s ease; }
ul, ol { list-style:none; }

/* =============================================
   LAYOUT
============================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4 {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #2d3748;
}

/* =============================================
   BUTTONS
============================================= */
.btn {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.22s ease;
    text-align: center;
    font-family: inherit;
    align-items: center;
    line-height: 1;
    min-height:45px;
}

.btn-primary{
    background:var(--color-primary);
    color:#ffffff;
    border-color:var(--color-primary);
}



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

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

.btn-dark {
    background: #2d3748;
    color: #ffffff;
    border-color: #2d3748;
}
.btn-dark:hover { background: #1a202c; border-color: #1a202c; }

.btn-white {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}
.btn-white:hover {
    background: #d4dde8;
    border-color: #d4dde8;
}

.btn-white-outline{
    color: white;
    background: transparent;
    border-color: white;
}

.btn-white-outline:hover{
    background: #eaf1f8;
    border-color: #eaf1f8;
    color: var(--color-primary);
}
/* =============================================
   NAVIGATION
============================================= */
#site-header {
    position: fixed;
    top:0; left:0; right:0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    /*border-bottom: 1px solid var(--color-primary-darker);*/
    backdrop-filter: blur(15px);
    height: 68px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.22s ease;
}
#site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.header-logo{
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.custom-logo-link{
    height: 50px;
    aspect-ratio: 424/99;
}

.custom-logo-link img{
    max-height: 100%;
}

.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-logo img { height:38px; width:auto; }

#site-nav { flex:1; position:relative; }
#primary-menu { display:flex; align-items:center; gap:2px; }
#primary-menu > li { position:static; }
.menu-mobile-cta { display:none; }
#primary-menu > li > a {
    display:block;
    padding:22px 13px;
    font-size:15px;
    font-weight:700;
    color: var(--color-primary);
    border-radius:4px;
    position:relative;
}
#primary-menu > li:not(.menu-item-has-children) > a::after {
    content:'';
    position:absolute;
    bottom:22px; left:13px; right:13px;
    height:2px;
    background:var(--color-primary);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform 0.22s ease;
}
#primary-menu > li:not(.menu-item-has-children) > a:hover::after,
#primary-menu > li:not(.menu-item-has-children).current-menu-item > a::after { transform:scaleX(1); }

#primary-menu .sub-menu {
    position:absolute;
    left:0;
    right:0;
    min-width:unset; background:#f3f5fb;
    backdrop-filter:blur(15px); -webkit-backdrop-filter:blur(15px);
    border-radius: 0 0 8px 8px; box-shadow:0 8px 8px rgba(0,0,0,0.1);
    display:flex; justify-content:flex-start;
    opacity:0; visibility:hidden;
    transform:translateY(-6px); transition:all 0.18s ease;
    padding:4px 0;
    top: 100%;
}
#primary-menu > li:hover .sub-menu { opacity:1; visibility:visible; transform:none; }
#primary-menu .sub-menu a {
    display:block; padding:14px 22px;
    font-size:15px; font-weight:700; color:var(--color-primary);
    white-space:nowrap; position:relative;
}
#primary-menu .sub-menu a::after {
    content:'';
    position:absolute;
    bottom:14px; left:22px; right:22px;
    height:2px;
    background:var(--color-primary);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform 0.22s ease;
}
#primary-menu .sub-menu a:hover::after { transform:scaleX(1); }

#primary-menu .menu-item-has-children > a::after {
    content:'';
    display:inline-block;
    width:7px; height:7px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg) translateY(-2px);
    margin-left:6px;
    vertical-align:middle;
}
#primary-menu > li.menu-item-has-children:hover > a::after { transform:rotate(45deg) translateY(-2px); }
#primary-menu .menu-item-has-children > a[href="#"] { cursor:default; }



.menu-toggle {
    display:none; flex-direction:column; gap:6px;
    cursor:pointer; background:none; border:none; padding:4px;
}
.menu-toggle span { display:block; width:32px; height:3px; background:var(--color-primary); border-radius:2px; transition:all 0.3s; }

/* =============================================
   HERO
============================================= */
.hero-section {
    background: #ffffff;
    margin-top: 0px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

@media (min-width: 768px){
    .hero-section {
        min-height : 550px;
    }
}

@media (min-width: 1200px){
    .hero-section {
        min-height : 600px;
    }
}

@media (min-width: 1400px){
    .hero-section {
        min-height : 650px;
    }
}

@media (min-width: 1600px){
    .hero-section {
        min-height : 700px;
    }
}

.hero-section .btn-primary{
    font-size: 20px;
    padding: 14px 25px;
}

.hero-section__background::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.10) 70%,
        transparent 100%
    );
}

.hero-section__background{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.hero-section__background img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-bg-letter {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: min(500px, 45vw);
    color: #e8eef5;
    opacity: 0.5;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 660px 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 40px 60px;
    position: relative;
    z-index: 1;
    gap: 60px;
}

.hero-pretitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    display: block;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(26px, 3.5vw, 50px);
    color: #ffffff;
    line-height: 1.18;
    margin-bottom: 10px;
}

.hero-subtitle-tag {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 26px;
    display: block;
}

.hero-desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.75;
    margin-bottom: 34px;
    max-width: 420px;
}

.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top: 10px;}
.hero-tel-mobile { display:none; }

.hero-photos {
    position: relative;
    height: 480px;
}
.hero-photo-main {
    position:absolute; top:0; right:0; left:30px;
    height: 300px;
    border-radius: 6px; overflow:hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.hero-photo-main img { width:100%;height:100%;object-fit:cover; }

.hero-photo-bl {
    position:absolute; bottom:0; left:0;
    width: 48%; height: 186px;
    border-radius:6px; overflow:hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.hero-photo-bl img { width:100%;height:100%;object-fit:cover; }

.hero-photo-br {
    position:absolute; bottom:0; right:0;
    width: 48%; height: 186px;
    border-radius:6px; overflow:hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.hero-photo-br img { width:100%;height:100%;object-fit:cover; }

.ph {
    width:100%; height:100%;
    background: #e8eef5;
    display:flex; align-items:center; justify-content:center;
    font-size:12px; color:var(--color-primary); font-weight:600;
    text-align:center; padding:10px;
}

/* =============================================
   STATS BAR
============================================= */
.stats-bar {
    padding: 55px 0;
    background: #ffffff;
}
.stats-heading {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}
.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
    /*border-right: 1px solid #417bcc;*/
}
.stat-item:not(:last-child):after {
    content: '';
    height: 40px;
    background: var(--color-primary);
    width: 1px;
    display: block;
    top: 7px;
    position: absolute;
    right: 0;
    /*transform: translateY(-50%);*/
    opacity: 0.6;
}

.stat-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 42px;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 5px;
}
.stat-item.featured .stat-num {
    background: var(--color-primary);
    color: #ffffff;
    padding: 5px 16px;
    border-radius: 4px;
    display: inline-block;
}
.stat-lbl {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #718096;
    margin-top: 5px;
}

/* =============================================
   INTRO SECTION
============================================= */
.intro-section {
    background: #ffffff;
    padding: 0 20px 48px;
}
.intro-text {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #4e6580;
    text-align: center;
}
.intro-text strong {
    color: #2d3748;
    font-weight: 700;
}

/* =============================================
   PRODUCTS SECTION — Swiper
============================================= */
.products-section {
    padding: 0 0 40px;
    background: #ffffff;
    overflow: hidden;
}

.products-block {
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.products-left {
    flex-shrink: 0;
    background: var(--color-primary);
    border-radius: 0 16px 16px 0;
    padding: 150px 300px 130px min(max(calc((100% - 1240px) / 2), 40px),220px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 700px;
    z-index: 1;
    position: relative;
}
.products-left-inner {
    width: 400px;
    position: relative;
}
.products-left-title {
    font-family:'Montserrat',sans-serif;
    font-size:30px; font-weight:800;
    color:#ffffff; line-height:1.18;
    margin-bottom:20px;
}
.products-list {
    margin-bottom:30px;
}
.products-list li {
    display:flex;
    align-items:center;
    gap:10px;
    padding:3px 0;
    font-size:14px;
    font-weight: 600;
    color:rgba(255,255,255,1);
    transition:color 0.22s ease;
}
.products-list li:hover { color:#ffffff; }
.products-list li::before {
    content:'';
    width:8px;
    height:8px;
    border-radius:50%;
    background:rgba(255,255,255,1);
    flex-shrink:0;
}
.products-bottom { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.products-panel {
    position:absolute;
    top:0; left:0;
    opacity:0;
    transform: translateY(8px);
    transition:opacity 0.35s ease, transform 0.35s ease;
    pointer-events:none;
}
.products-panel.is-active {
    opacity:1;
    transform: none;
    position:relative;
    pointer-events:auto;
}
.products-desc {
    margin-top:16px;
    font-size:14px;
    line-height:1.3;
    color:rgba(255,255,255,1);
}
.arrow-btn {
    border:none;
    background: var(--color-secondary);
    color:#ffffff;
    font-size:16px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background 0.22s ease;
    flex-shrink:0;
    width: 60px;
    height: 43px;
    border-radius: 30px;
}
.arrow-btn:hover {
    background: #0a2147;
}

/* Swiper produits */
.swiper.products-swiper {
    flex: 1;
    /*overflow: visible;*/
    padding: 40px 0;
    margin-left: -200px;
    padding-left:40px;
    z-index: 3;

}
.products-swiper .swiper-wrapper { align-items: center; }
.products-swiper .swiper-slide {
    width: 380px;
    height: 500px;
    transition: transform 0.6s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    position: relative;
    z-index: 1;
    opacity: 1;
}
.products-swiper .swiper-slide.swiper-slide-active {
    transform: scale(1.13);
    left: -15px;
    z-index: 2;
}
.products-swiper .swiper-slide.swiper-slide-prev{
    opacity: 0;
    left: -20px;
}
.product-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    position: relative;
    background: var(--color-secondary);
    display: grid;
    grid-template-columns: 1fr;
}
.product-card>*{
    grid-area:1/1;
}
.product-card__bg{
    display: grid;
    grid-template-columns: 1fr;
}
.product-card__bg>*{
    grid-area:1/1;
}
.product-card__overlay{
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35%, rgba(17, 53, 108, 0.90) 100%);
}
.product-card img { width:100%; height:100%; object-fit:cover; }
.product-card .ph { height:100%; background:var(--color-secondary); color:rgba(255,255,255,0.5); }
.product-card-label {
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    color:#ffffff;
    font-size:24px;
    font-weight:700;
    padding:30px;
    line-height: 1.1;
    z-index: 2;
}

/* =============================================
   NZEB SECTION
============================================= */
.nzeb-section { padding:80px 0 100px; background:#ffffff; overflow:hidden;}
.nzeb-inner {
    display:grid; grid-template-columns:1fr 1fr;
    gap:80px; align-items:center;
}
.nzeb-label {
    font-size:11px; font-weight:700; letter-spacing:2px;
    text-transform:uppercase; color:var(--color-secondary);
    display:block; margin-bottom:12px;
}
.nzeb-title {
    font-size:clamp(26px,3vw,38px); font-weight:800;
    color:#2d3748; margin-bottom:18px; line-height:1.2;
}
.nzeb-title em { font-style:normal; color:var(--color-primary); }
.nzeb-text {
    font-size:16px;
    color: #4e6580;
    line-height:1.6;
    margin-bottom:20px;
}

.nzeb-visual { position:relative; }
.nzeb-circle {
    width:100%;
    aspect-ratio:1;
    border-radius: 0 0 0 250px;
    overflow:hidden;
    background:white;
    max-width:600px;
    margin:0 auto;
}
.nzeb-circle img { width:100%;height:100%;object-fit:cover; }
.nzeb-circle .ph { height:100%; background:#f0f4f8; color:var(--color-primary); }

.nzeb-badge {
    position:absolute; bottom:24px; right:0;
    background:#ffffff; border-radius:8px; padding:14px 20px;
    box-shadow:0 6px 24px rgba(0,0,0,0.12); border-left:4px solid var(--color-primary);
    display:flex; align-items:center; gap:12px;
}
.nzeb-badge-icon { font-size:26px; }
.nzeb-badge strong { display:block; font-family:'Montserrat',sans-serif; font-size:16px; font-weight:800; color:var(--color-primary); }
.nzeb-badge span { font-size:12px; color:#718096; }

/* =============================================
   BENEFITS
============================================= */
.benefits-section { background:var(--color-primary); padding:68px 0; }
.benefits-heading {
    font-family:'Montserrat',sans-serif;
    font-size:clamp(20px,2.2vw,28px); font-weight:800;
    color:#ffffff; text-align:center; margin-bottom:50px;
}
.benefits-grid {
    display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
.benefit-item {
    text-align:center; padding:20px 14px;
}
.benefit-icon-ring {
    width:70px;
    height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 16px;
    font-size:24px;
    transition: transform 0.25s ease;
}
.benefit-item:hover .benefit-icon-ring {
    transform: translateY(-5px);
}

.benefit-icon-ring svg{
    fill:white;
}
.benefit-name {
    font-family:'Montserrat',sans-serif;
    font-size:12px; font-weight:800; letter-spacing:1.5px;
    text-transform:uppercase; color:#ffffff; margin-bottom:9px;
}
.benefit-desc { font-size:14px; color:rgba(255,255,255,0.8); line-height:1.65; }

/* =============================================
   PROJECTS GALLERY
============================================= */
.projects-section {
    padding:75px 0 0;
    background:#ffffff;
}
.projects-heading {
    font-size:30px;
    font-weight:800;
    text-align:center;
    color:var(--color-primary);
    margin-bottom:50px;
}
.projects-heading span {
    background: linear-gradient(to right, var(--color-secondary) 50%, #a8c8e8 50%);
    background-size: 200%;
    background-position: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.75s ease;
}
.projects-heading.visible span {
    background-position: 0%;
    transition-delay: 0.6s;
}
/* Conteneur global */
.projects-row {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@keyframes marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marquee-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.projects-line {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
}

.projects-line.line-left {
    animation: marquee-left 40s linear infinite;
}

.projects-line.line-right {
    animation: marquee-right 40s linear infinite;
}

.proj-track {
    display: flex;
    gap: 25px;
    flex-shrink: 0;
    padding-right: 25px;
}

.proj-track .proj-photo:nth-child(odd) {
    flex: 0 0 25vw;
}

.proj-track .proj-photo:nth-child(even) {
    flex: 0 0 50vw;
}

.proj-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*.projects-row {*/
/*    display:flex;*/
/*    flex-direction: column;*/
/*    gap:20px;*/
/*    margin-bottom:20px;*/
/*}*/

/*.projects-line{*/
/*    display: flex;*/
/*}*/

/*.proj-photo:nth-of-type(2),*/
/*.proj-photo:nth-of-type(6) {*/
/*    grid-column: span 2;*/
/*}*/

.proj-photo__bg{
    position: absolute;
    max-height: 100%;
    display: flex;
    align-items: center;
}

.proj-photo {
    position:relative;
    overflow:hidden;

    cursor:pointer;
    background: lightgrey;
    border-radius: 10px;
}
.proj-photo:nth-child(odd){
    aspect-ratio: 1/1;
}
.proj-photo img { width:100%;height:100%;object-fit:cover; }
.proj-photo .ph { height:100%;background:#e8eef5;color:var(--color-primary);font-size:13px; }
.projects-cta { text-align:center; padding:48px 0; }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-section { background:var(--color-primary); padding:68px 0; }
.testi-header {
    display:flex; align-items:flex-start;
    justify-content:space-between;
    margin-bottom:36px; gap:40px;
}
.testi-title {
    font-family:'Montserrat',sans-serif;
    font-size:clamp(20px,2.2vw,30px); font-weight:800;
    color:#ffffff; max-width:380px; line-height:1.2;
}
.testi-arrows { display:flex; gap:10px; padding-top:4px; flex-shrink:0; }
.testi-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.testi-card {
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.09);
    border-radius:6px; padding:30px;
}
.testi-card-title { font-family:'Montserrat',sans-serif; font-size:15px; font-weight:800; color:#ffffff; margin-bottom:12px; }
.testi-text { font-size:14px; color:rgba(255,255,255,0.62); line-height:1.75; margin-bottom:22px; }
.testi-author { display:flex;align-items:center;gap:12px; border-top:1px solid rgba(255,255,255,0.08); padding-top:16px; }
.testi-avatar {
    width:38px;height:38px; border-radius:50%;
    background:var(--color-secondary);
    display:flex;align-items:center;justify-content:center;
    font-size:14px;font-weight:800;color:#ffffff;
    font-family:'Montserrat',sans-serif; flex-shrink:0;
}
.testi-author-name { font-size:13px;font-weight:700;color:#ffffff;display:block; }
.testi-author-role { font-size:11px;color:rgba(255,255,255,0.38); }

/* =============================================
   PARTNERS BAR
============================================= */
.partners-section {
    background:#ffffff;
    padding: 80px 20px 120px;
}
.partners-title {
    font-size:30px;
    font-weight:800;
    color: var(--color-primary);
    text-align:center;
    margin-bottom:60px;
}
.partners-row {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}
.partner-logo {
    letter-spacing:1px;
    text-transform:uppercase;
    transition: color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    background: rgba(22, 82, 175, 0.075);
    padding: 15px;
    border-radius: 15px;
    width: 150px;
    height: 90px;
    justify-content: center;
    align-items: center;
}
.partner-logo img { height:32px;width:auto;filter:grayscale(100%);opacity:0.45;transition:all 0.22s ease; }

/* =============================================
   CTA BANNER
============================================= */
.cta-section {
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns: 1fr;
}
.cta-section__bg{
    display:grid;
    grid-template-columns: 1fr;
}

.cta-section__bg img{
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

.cta-section>*, .cta-section__bg>*{
    grid-area: 1/1;
}
.cta-section__overlay{
    background: var(--color-secondary);
    opacity: 0.5;
    z-index: 2;
}
.cta-inner {
    position:relative;z-index:2;
    max-width:1240px; margin:0 auto;
    padding:60px 20px; width:100%;
    display:grid; grid-template-columns:1fr auto;
    gap:48px; align-items:center;
}
.cta-company {
    font-size:11px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    color: white;
    margin-bottom:8px;
    display:block;
}
.cta-title { font-family:'Montserrat',sans-serif;font-size:clamp(20px,2.2vw,28px);font-weight:800;color:#ffffff;margin-bottom:9px;line-height:1.2; }
.cta-sub { font-size:14px;color:rgba(255,255,255,0.9);line-height:1.6;max-width:380px; }

.cta-inner .btn-white{
    font-size: 20px;
    padding: 18px 22px;
}

/* =============================================
   FOOTER
============================================= */
#site-footer {
    background:var(--color-primary);
    color:rgba(255,255,255,0.58);
}
.footer-main {
    display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr;
    gap:48px; padding:60px 20px 48px;
    border-bottom:1px solid rgba(255,255,255,0.07);
}
.footer-logo {
    font-family:'Montserrat',sans-serif; font-weight:800;
    font-size:18px; color:#ffffff;
    display:block; margin-bottom:14px;
}
.footer-logo span { color:var(--color-secondary); }
.footer-logo img { height:34px;width:auto;margin-bottom:14px; }
.footer-desc { font-size:13px;line-height:1.8;color:rgba(255,255,255,0.65);margin-bottom:18px;max-width:240px; }
.footer-contact-item {
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-size:13px;
    color:rgba(255,255,255,0.65);
    margin-bottom:8px;
}
.footer-contact-item a { color:rgba(255,255,255,0.52); }
.footer-contact-item a:hover { color:#ffffff; }
.footer-col-title { font-family:'Montserrat',sans-serif;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#ffffff;margin-bottom:18px; }
.footer-links { display:flex;flex-direction:column;gap:9px; }
.footer-links a { font-size:14px;color:rgba(255,255,255,0.65);transition:color 0.22s ease; }
.footer-links a:hover { color:#ffffff; }
.footer-social { display:flex;gap:10px;margin-top:16px; }
.social-btn {
    width:30px;
    height:30px;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:rgba(255,255,255,0.58);
    font-size:13px;
    font-weight:700;
    transition:all 0.22s ease;
    text-decoration:none;
}
.social-btn:hover {
    color:#ffffff;
}
.footer-bottom {
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    font-size:12px;
    color:rgba(255,255,255,0.45);
}
.footer-bottom a {
    color:rgba(255,255,255,0.45);
}
.footer-bottom a:hover {
    color:rgba(255,255,255,1);
}
.footer-bottom-links {
    display:flex;
    gap:20px;
}

/* =============================================
   INNER PAGES
============================================= */
.page-hero{
    margin-top: 68px;
}
.page-hero-bar {
    background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding:120px 40px 60px; text-align:center;
}
.page-hero-bar .page-label { font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--color-secondary);font-weight:700;display:block;margin-bottom:10px; }
.page-hero-bar h1 { font-family:'Montserrat',sans-serif;font-size:clamp(28px,4vw,50px);font-weight:800;color:#ffffff; }
.page-content-wrap { max-width:860px;margin:60px auto;padding:0 40px;line-height:1.8;color:#718096; }
.page-content-wrap h2 { font-size:26px;color:#2d3748;margin:34px 0 12px; }
.page-content-wrap p { margin-bottom:16px; }

/* CONTACT */
.contact-wrap { padding:80px 0; background:#f5f7fa; }
.contact-grid { display:grid;grid-template-columns:1fr 1.4fr;gap:60px;align-items:start; }
.contact-info-block h2 { font-size:30px;font-weight:800;color:#2d3748;margin-bottom:12px; }
.contact-info-block p { font-size:15px;color:#718096;margin-bottom:28px; }
.contact-row { display:flex;gap:14px;align-items:flex-start;margin-bottom:18px; }
.contact-row-icon { width:40px;height:40px;background:#f0f4f8;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:17px;color:var(--color-primary);flex-shrink:0; }
.contact-row-text strong { display:block;font-size:13px;font-weight:700;color:#2d3748;margin-bottom:2px; }
.contact-row-text span { font-size:13px;color:#718096; }
.contact-row-text a { color:#718096; }
.contact-form-box { background:#ffffff;border-radius:6px;padding:40px;box-shadow:0 2px 8px rgba(0,0,0,0.08);border:1px solid #e2e8f0; }
.contact-form-box h3 { font-size:20px;font-weight:800;color:#2d3748;margin-bottom:22px; }
.contact-form label { display:block;font-size:12px;font-weight:700;color:#2d3748;letter-spacing:0.3px;margin-bottom:5px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width:100%;padding:11px 14px;border:1.5px solid #e2e8f0;border-radius:4px;
    font-size:14px;color:#2d3748;background:#ffffff;outline:none;
    margin-bottom:16px;transition:border-color 0.22s ease;font-family:inherit;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus { border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(13,30,60,0.1); }
.contact-form textarea { resize:vertical;min-height:120px; }
.form-row { display:grid;grid-template-columns:1fr 1fr;gap:0 16px; }
#contact-message { display:none;padding:12px 16px;border-radius:4px;margin-bottom:16px;font-size:14px; }

/* =============================================
   PAGE CONTACT
============================================= */
.contact-hero {
    background: var(--color-primary);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(91,164,245,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.contact-hero .container { position: relative; z-index: 1; }
.contact-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.contact-hero__sub {
    color: rgba(255,255,255,0.68);
    font-size: 16px;
}

.contact-page-section {
    padding: 72px 0 88px;
    background: var(--gray-light);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
    padding: 0 20px;
}

/* --- Infos --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    padding: 18px 20px;
}

.contact-info-card__icon {
    width: 42px;
    height: 42px;
    background: var(--gray-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-info-card a,
.contact-info-card span {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    text-decoration: none;
    line-height: 1.4;
}

.contact-info-card a:hover { color: var(--color-primary); }

.contact-info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,76,151,0.07);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 4px;
}

.contact-info-badge svg { flex-shrink: 0; }

/* --- Formulaire --- */
.contact-form-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8eef5;
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 6px;
}

.contact-form-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* CF7 reset & style */
.contact-cf7-wrap .wpcf7-form p {
    margin: 0 0 16px;
}

.contact-cf7-wrap .wpcf7-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 6px;
}

.contact-cf7-wrap .wpcf7-form input[type="text"],
.contact-cf7-wrap .wpcf7-form input[type="email"],
.contact-cf7-wrap .wpcf7-form input[type="tel"],
.contact-cf7-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background: #f8fafc;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.contact-cf7-wrap .wpcf7-form input[type="text"]:focus,
.contact-cf7-wrap .wpcf7-form input[type="email"]:focus,
.contact-cf7-wrap .wpcf7-form input[type="tel"]:focus,
.contact-cf7-wrap .wpcf7-form textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,76,151,0.10);
}

.contact-cf7-wrap .wpcf7-form input.wpcf7-not-valid,
.contact-cf7-wrap .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #e53e3e;
    background: #fff5f5;
}

.contact-cf7-wrap .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    display: block;
}

.contact-cf7-wrap .wpcf7-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-cf7-wrap .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.15s ease;
    margin-top: 4px;
}

.contact-cf7-wrap .wpcf7-form input[type="submit"]:hover {
    background: var(--color-secondary);
}

.contact-cf7-wrap .wpcf7-form input[type="submit"]:active {
    transform: scale(0.98);
}

.contact-cf7-wrap .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border-width: 1px;
    border-style: solid;
}

.contact-cf7-wrap .wpcf7-form.sent .wpcf7-response-output {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.contact-cf7-wrap .wpcf7-form.failed .wpcf7-response-output,
.contact-cf7-wrap .wpcf7-form.invalid .wpcf7-response-output {
    background: #fff5f5;
    border-color: #fca5a5;
    color: #991b1b;
}

.contact-cf7-wrap .wpcf7-spinner {
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }
    .contact-page-section { padding: 44px 0 60px; }
    .contact-form-wrap { padding: 28px 24px; }
}

@media (max-width: 480px) {
    .contact-hero { padding: 32px 16px; }
    .contact-hero h1 { font-size: 24px; }
    .contact-hero__sub { font-size: 14px; }
    .contact-page-section { padding: 28px 0 44px; }
    .contact-page-grid { padding: 0 12px; gap: 20px; }
    .contact-form-wrap { padding: 20px 16px; border-radius: 12px; }
    .contact-info-card { padding: 14px 16px; }
    .contact-form-header h2 { font-size: 19px; }
}

/* PAGINATION */
.alu-pagination { text-align:center;padding:40px 0; }
.alu-pagination ul { display:inline-flex;gap:6px; }
.alu-pagination li a, .alu-pagination li span { display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:4px;border:1px solid #e2e8f0;font-size:14px;font-weight:600;color:#2d3748;transition:all 0.22s ease; }
.alu-pagination li a:hover { background:var(--color-primary);color:#ffffff;border-color:var(--color-primary); }
.alu-pagination li span.current { background:var(--color-primary);color:#ffffff;border-color:var(--color-primary); }

/* WP */
.alignleft{float:left;margin:0 20px 12px 0}
.alignright{float:right;margin:0 0 12px 20px}
.aligncenter{margin:0 auto;display:block}
.wp-caption-text{font-size:12px;color:#718096;text-align:center;margin-top:5px}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1); }
}

.hero-pretitle     { animation: hero-fade-up 0.7s ease both; animation-delay: 0.10s; }
.hero-title        { animation: hero-fade-up 0.7s ease both; animation-delay: 0.30s; }
.hero-subtitle-tag { animation: hero-fade-up 0.7s ease both; animation-delay: 0.50s; }
.hero-actions      { animation: hero-fade-up 0.7s ease both; animation-delay: 0.65s; }
.hero-section__background img { animation: hero-zoom 1.6s ease both; }

/* Scroll reveal — directional variants (ajoutées par JS) */
.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* Stats bar — CSS animations au chargement (comme le hero) */
@keyframes stats-pop {
    from { opacity: 0; transform: scale(0.88) translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.stats-heading {
    animation: hero-fade-up 0.6s ease both;
    animation-delay: 0.1s;
}
.stat-item:nth-child(1) { animation: stats-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: 0.25s; }
.stat-item:nth-child(2) { animation: stats-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: 0.40s; }
.stat-item:nth-child(3) { animation: stats-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: 0.55s; }

.menu-close-btn {
    display: none;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width:1400px){
    .header-inner { gap:20px; }
}
@media (max-width:1024px) {
    .hero-inner { grid-template-columns:1fr;gap:40px; }
    .hero-photos { height:280px; }
    .nzeb-inner { grid-template-columns:1fr;gap:40px; }
    .nzeb-section { padding:40px 20px; }
    .nzeb-circle { max-height:400px; border-radius:0 0 0 120px; }
    /* products-block est un flex, pas un grid — on empile avec flex-direction */
    .products-block { flex-direction:column-reverse; align-items:stretch; }
    .products-left {
        padding: 25px 20px 20px;
        min-height: 350px;
        border-radius: 16px;
        width: 100%;
    }
    .products-left-inner { width:100%; }
    .swiper.products-swiper { margin-left:0; padding:20px 20px; width:100%; }
    .products-right { min-height:280px; }
    .footer-main { grid-template-columns:1fr 1fr;gap:32px; }
    .benefits-grid { grid-template-columns:repeat(2,1fr); }
    .cta-inner { grid-template-columns:1fr;text-align:center; }
    .contact-grid { grid-template-columns:1fr; }
    .testi-grid { grid-template-columns:1fr; }
    .partners-section { padding:60px 20px 80px; }
    .products-left-title {
        font-size:24px;
        margin-bottom:20px;
    }
    .product-card-label {
        font-size:20px;
        padding:20px;
    }
    .intro-text{
        font-size: 15px;
    }
    .benefits-heading{
        margin-bottom: 30px;
    }
    .benefit-item{
        padding: 10px 10px;
    }
}
@media (max-width:1200px) {
    #primary-menu { display:none;flex-direction:column;position:fixed;inset:0;height:100dvh;background:#ffffff;padding:80px 32px 40px;gap:4px;z-index:1001;overflow-y:auto;justify-content:center; }
    #primary-menu.open { display:flex; animation:menu-open 0.32s cubic-bezier(0.22,1,0.36,1) both; }
    #primary-menu.closing { display:flex; animation:menu-close 0.25s ease forwards; }
    @keyframes menu-open {
        from { opacity:0; transform:translateY(-16px); }
        to   { opacity:1; transform:translateY(0); }
    }
    @keyframes menu-close {
        from { opacity:1; transform:translateY(0); }
        to   { opacity:0; transform:translateY(-16px); }
    }
    #primary-menu > li{
        width: 100%;
    }
    #primary-menu > li > a { font-size:22px; padding:14px 0; border-bottom:1px solid #f0f4f8; }
    .menu-close-btn {
        position:fixed; top:18px; right:20px; z-index:1002;
        background:none; border:none; cursor:pointer;
        width:40px; height:40px;
        display:none;
        align-items:center; justify-content:center;
        color:#2d3748;
    }
    .menu-close-btn svg { width:24px; height:24px; }
    .menu-close-btn.visible { display:flex; }
    /* liens visibles sur fond blanc du menu mobile */
    #primary-menu > li > a { color:#2d3748; }
    #primary-menu > li > a:hover,
    #primary-menu > li.current-menu-item > a { color:var(--color-primary); }
    .menu-toggle { display:flex; }

    /* Sous-menu accordéon mobile */
    #primary-menu .sub-menu {
        position:static; opacity:1; visibility:visible; transform:none;
        box-shadow:none; border:none; border-radius:0;
        background:white; padding:0;
        display:none; overflow:hidden;
    }
    #primary-menu .menu-item-has-children.sub-open > .sub-menu { display:block; }
    #primary-menu .sub-menu a { font-size:17px; padding:10px 0 10px 20px; border-bottom:1px solid #edf2f7; color:#4a5568; }
    #primary-menu .sub-menu a::after,
    #primary-menu > li:not(.menu-item-has-children) > a::after { display:none; }
    #primary-menu .sub-menu a:hover { background:none; padding-left:20px; }
    #primary-menu .menu-item-has-children.sub-open > a::after { transform:rotate(45deg) translateY(-2px); }

    /* CTA Devis dans le menu mobile */
    .menu-mobile-cta { display: block; margin-top: 20px; border-bottom: none !important; }
    .menu-mobile-cta__btn {
        display: block;
        width: 100%;
        text-align: center;
        background: var(--color-primary);
        color: #ffffff !important;
        font-family: 'Montserrat', sans-serif;
        font-size: 16px !important;
        font-weight: 700;
        padding: 16px 20px !important;
        border-radius: 10px;
        border-bottom: none !important;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.15s ease;
    }
    .menu-mobile-cta__btn:hover { background: var(--color-secondary); color: #ffffff !important; }
    .menu-mobile-cta__btn:active { transform: scale(0.97); }
    .header-cta { display:none !important; }
    .header-inner .btn-white { display:none !important; }
    .header-inner .btn-white-outline { font-size:12px; padding:8px 12px; }
    .header-inner .btn-primary-outline,
    .header-inner .btn-primary { font-size:14px; }
    .hero-inner { padding:75px 20px 40px; }
    .stats-heading { font-size:20px; margin-bottom:24px; }
    .stat-num { font-size:28px; }
    .stat-lbl { font-size:11px; letter-spacing:1px; }
    .stats-row {
        flex-direction:column;
        gap:16px;
        max-width:280px;
    }
    /* masquer les séparateurs verticaux en layout colonne */
    .stat-item:not(:last-child):after { display:none; }
    .stat-item { border-right:none;border-bottom:1px solid #e2e8f0;padding-bottom:14px; }
    .stat-item:last-child { border-bottom:none; }
    .testi-header { flex-direction:column; }
    .projects-row { grid-template-columns:1fr 1fr; gap:10px; }
    .proj-track { gap:10px; padding-right:10px; }
    .partners-row { gap:12px; }
    .partner-logo { width:110px; height:68px; padding:10px; border-radius:10px; }
    .partner-logo img { height:24px; }
    .footer-main { grid-template-columns:1fr; }
    .footer-bottom { flex-direction:column;text-align:center; }
    .contact-form-box { padding:22px 16px; }
    .form-row { grid-template-columns:1fr; }
    .cta-inner { padding:40px 20px; }
    .cta-inner .btn-white { font-size:16px; padding:12px 18px; justify-content: space-between; max-width: 220px;margin: auto;}
    .hero-bg-letter { display:none; }
    /* slides plus petits sur mobile */
    .products-swiper .swiper-slide { width:260px; height:380px; }
    /* désactiver le scale/décalage sur mobile pour éviter les débordements */
    .products-swiper .swiper-slide.swiper-slide-active { transform:none; left:0; }
    .products-swiper .swiper-slide.swiper-slide-prev { opacity:1; left:0; }
    .partners-title{
        font-size: 24px;
    }
}
@media (max-width:768px) {
    .header-inner .btn-primary { display:none !important; }
    .header-logo svg, .header-logo img { width:150px; }
    .hero-tel-mobile { display:flex !important; background:#ffffff; color:var(--color-primary); border-color:#ffffff; }
    .hero-tel-mobile:hover { background:var(--color-primary); color:#ffffff; border-color:var(--color-primary); }
    .header-inner .btn-primary-outline {
        background: var(--color-primary);
        color: #ffffff;
        border-color: var(--color-primary);
    }
    .partner-logo svg {
        height: 40px;
    }
    .proj-track .proj-photo:nth-child(odd) {
        flex: 0 0 50vw;
    }
    .proj-track .proj-photo:nth-child(even) {
        flex: 0 0 100vw;
    }
    .projects-heading {
        font-size : 24px;
        padding: 0 20px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-subtitle-tag{
        font-size: 10px;
    }
    .hero-section .btn-primary{
        font-size: 14px;
        padding: 10px 18px;
    }
    .hero-section .btn {
        padding       : 9px 18px;
        font-size     : 14px;
        min-height: 40px;
    }
    .stats-bar{
        padding: 40px 0;
    }
    .intro-section{
        padding: 0 20px 40px;
    }
    .projects-section{
        padding: 45px 0 0;
    }
    .partners-section {
        padding: 30px 20px 50px;
    }
    body.page-id-13 .page-content,
    body.page-id-21 .page-content {
        padding: 10px 20px 50px!important;
    }
    body.page-id-13 .page-hero h1, body.page-id-21 .page-hero h1{
        font-size: 22px!important;
    }
    .partner-logo {
        width: 95px;
        height: 68px;
    }
    .partner-logo:last-child{
        display: none;
    }
    .hero-pretitle{
        font-size: 10px;
    }
    .product-card-label{
        font-size: 18px;
    }
    .benefits-heading{
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width:550px) {
    .header-inner .btn-primary-outline { font-size:14px; }
    .header-logo svg, .header-logo img { width:130px; }
    .header-inner { gap:15px; }
}
@media (max-width:430px) {
    .header-logo svg, .header-logo img { width:160px; }
    .header-tel-btn {
        padding:0;
        width:40px;
        height:40px;
        min-height:unset;
        border-radius:50%;
        justify-content:center;
    }
    .header-tel-text { display:none; }
    .header-tel-btn svg { margin-right:0 !important; width:16px; height:16px; }
}
@media (max-width:480px) {
    .benefits-grid { grid-template-columns:repeat(1,1fr); }
    .projects-row { grid-template-columns:1fr; }
    .benefits-section { padding:48px 10px; }
    .products-swiper .swiper-slide { width:220px; height:320px; }
}

.page-content article.type-page{
    padding: 40px 20px;
    max-width: 1240px;
    margin: auto;
}

.page-content article.type-page h2, .sitemap h2{
    margin-bottom: 15px;
    margin-top: 30px;
}

/* =============================================
   PLAN DU SITE
============================================= */
.sitemap-section {
    padding: 56px 0 80px;
    background: #ffffff;
}

.sitemap-section .container {
    max-width: 860px;
    padding: 0 24px;
}

.sitemap-group {
    padding: 32px 0;
    border-bottom: 1px solid #e8eef5;
}

.sitemap-group:last-child { border-bottom: none; }

.sitemap-group h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.sitemap-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 32px;
}

.sitemap-group ul li {
    break-inside: avoid;
    margin-bottom: 6px;
}

.sitemap-group ul li a {
    font-size: 15px;
    color: #2d3748;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.sitemap-group ul li a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Villes sur 3 colonnes */
.sitemap-villes { columns: 3 !important; }

@media (max-width: 768px) {
    .sitemap-group ul { columns: 1; }
    .sitemap-villes { columns: 2 !important; }
}

@media (max-width: 480px) {
    .sitemap-villes { columns: 1 !important; }
    .sitemap-section { padding: 32px 0 48px; }
    .sitemap-section .container { padding: 0 16px; }
    .sitemap-group { padding: 24px 0; }
    .sitemap-group ul li a { font-size: 14px; }
}

#post-21 .wp-block-list{
    list-style: disc;
    padding-left: 20px;
}

/* =============================================
   PAGES LÉGALES (mentions-légales id-13, confidentialité id-21)
============================================= */

body.page-id-13 .page-hero,
body.page-id-21 .page-hero {
    background: var(--color-primary);
    padding: 60px 20px 60px;
    text-align: center;
}
body.page-id-13 .page-hero h1,
body.page-id-21 .page-hero h1 {
    color: #ffffff;
}

body.page-id-13 .page-content,
body.page-id-21 .page-content {
    padding: 48px 20px 80px;
}

body.page-id-13 .page-content article,
body.page-id-21 .page-content article {
    max-width: 1200px;
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
}

body.page-id-13 .page-content article h2,
body.page-id-21 .page-content article h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin: 32px 0 8px;
    text-transform: none;
    letter-spacing: 0;
}

body.page-id-13 .page-content article p,
body.page-id-21 .page-content article p { margin-bottom: 12px; }

body.page-id-13 .page-content article ul,
body.page-id-21 .page-content article ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }

body.page-id-13 .page-content article li,
body.page-id-21 .page-content article li { margin-bottom: 4px; }

body.page-id-13 .page-content article a,
body.page-id-21 .page-content article a { color: var(--color-primary); }

body.page-id-13 .page-content article strong,
body.page-id-21 .page-content article strong { color: #2d3748; font-weight: 600; }

/* =============================================
   SECTION LABELS & TITLES
============================================= */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: #2d3748;
}

/* =============================================
   ARCHIVE HERO (villes, projets, etc.)
============================================= */
.archive-hero {
    background: var(--color-primary);
    padding: 60px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(91,164,245,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.archive-hero .container { position: relative; z-index: 1; }

.archive-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.archive-hero__sub {
    color: rgba(255,255,255,0.68);
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =============================================
   VILLES SECTION & CARDS
============================================= */
.villes-section {
    padding: 40px 0 100px;
    background: var(--gray-light);
}

.villes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

@keyframes card-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

.ville-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    height: 290px;
    background: var(--color-secondary);
    text-decoration: none;
    animation: card-fade-up 0.55s ease both;
}

.ville-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ville-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ville-card:hover .ville-card__img img {
    transform: scale(1.07);
}

/* Bottom gradient shadow — legibility */
.ville-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.45) 38%,
        rgba(0, 0, 0, 0.08) 65%,
        transparent 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.ville-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.12) 70%,
        transparent 100%
    );
}

.ville-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ville-card__placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 800;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    text-transform: uppercase;
}

.ville-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 22px 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ville-card__dept {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.60);
    display: block;
}

.ville-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 1px 10px rgba(0,0,0,0.45);
    margin: 0;
}

.ville-card__cta {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0);
    display: inline-block;
    margin-top: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
    transform: translateY(6px);
}

.ville-card:hover .ville-card__cta {
    color: rgba(255,255,255,0.80);
    transform: translateY(0);
}

.villes-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.villes-empty svg {
    opacity: 0.3;
    width: 48px;
    height: 48px;
}

/* Zone d'intervention — bas de la liste des villes */
.villes-not-found {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 50px;
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.villes-not-found__icon {
    flex-shrink: 0;
    color: var(--color-primary);
    opacity: 0.5;
}

.villes-not-found__text {
    flex: 1;
}

.villes-not-found__question {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 3px;
}

.villes-not-found__info {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.villes-not-found__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    min-height: 45px;
    white-space: nowrap;
    transition: background 0.22s ease;
}

.villes-not-found__btn:hover {
    background: var(--color-primary-darker);
    color: #fff;
}

@media (max-width: 640px) {
    .villes-not-found {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-left: 16px;
        margin-right: 16px;
    }
    .villes-not-found__btn {
        align-self: flex-start;
        width: auto;
    }
}

@media (max-width: 480px) {
    .villes-not-found { margin-top: 36px; }
    .villes-not-found__icon { display: none; }
}

/* =============================================
   GALERIE RÉALISATIONS (archive-projet.php)
============================================= */
.realisations-section {
    padding: 64px 0 80px;
    background: var(--gray-light);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 20px;
}

.real-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: var(--color-secondary);
    display: block;
    cursor: zoom-in;
    aspect-ratio: 1/1;
}

.real-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
    .real-item:hover img { transform: scale(1.04); }
    .real-item:hover .real-item__caption { opacity: 1; transform: translateY(0); }
}

.real-item__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-item__placeholder span {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    text-transform: uppercase;
}

.real-item__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 28px 14px 12px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (hover: none) {
    .real-item__caption { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
    .realisations-section { padding: 40px 0 56px; }
}

@media (max-width: 480px) {
    .realisations-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 12px; }
    .realisations-section { padding: 28px 0 40px; }
    .real-item__caption { font-size: 12px; padding: 22px 10px 9px; }
}

/* =============================================
   PROJECTS GRID & CARDS (composant réutilisable)
============================================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-secondary);
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.40) 40%,
        transparent 70%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    z-index: 2;
}

.project-overlay-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
    line-height: 1.25;
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    font-weight: 600;
}

/* =============================================
   GRID HELPERS
============================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* =============================================
   RESPONSIVE — VILLES GRID
============================================= */
@media (max-width: 1100px) {
    .villes-grid,
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .villes-grid,
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    /* Hero archive */
    .archive-hero { padding: 36px 20px; }
    .archive-hero h1 { font-size: 26px; margin-bottom: 10px; }
    .archive-hero__sub { font-size: 15px; }

    /* Section */
    .villes-section { padding: 40px 0 52px; }
    .villes-grid { padding: 0 16px; }

    /* Cards */
    .ville-card { height: 200px; border-radius: 12px; }
    .ville-card__body { padding: 14px 16px 16px; }
    .ville-card__name { font-size: 16px; }
    .ville-card__dept { font-size: 9px; letter-spacing: 1.4px; }
}

@media (max-width: 480px) {
    .archive-hero { padding: 28px 16px; }
    .archive-hero h1 { font-size: 22px; }
    .archive-hero__sub { font-size: 14px; }

    .villes-section { padding: 28px 0 40px; }
    .villes-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
    .projects-grid { grid-template-columns: 1fr; padding: 0 12px; }
    .grid-3 { grid-template-columns: 1fr; }

    .ville-card { height: 175px; border-radius: 10px; }
    .ville-card__body { padding: 10px 12px 13px; gap: 2px; }
    .ville-card__name { font-size: 14px; }
    .ville-card__placeholder span { font-size: 52px; }
}

/* Sur mobile : textes toujours visibles (pas de hover) */
@media (hover: none) {
    .ville-card:active { transform: scale(0.96); transition: transform 0.12s ease; }

    /* CTA "Voir la ville" toujours visible */
    .ville-card__cta {
        color: rgba(255,255,255,0.80) !important;
        transform: translateY(0) !important;
    }

    /* Overlay projets homepage : masqué en mobile */
    .proj-photo .proj-overlay { display: none; }
}

/* =============================================
   LIGHTBOX RÉALISATIONS
============================================= */
.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lb-overlay.lb-open {
    display: flex;
    animation: lb-fade-in 0.2s ease both;
}

@keyframes lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lb-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(90vw, 1100px);
    max-height: 90dvh;
}

.lb-img {
    display: block;
    max-width: 100%;
    max-height: calc(90dvh - 56px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.lb-img--visible { opacity: 1; }

.lb-caption {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
    margin-top: 14px;
    text-align: center;
    min-height: 20px;
    line-height: 1.4;
}

/* Bouton fermer */
.lb-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s ease;
    z-index: 10000;
}
.lb-close:hover { background: rgba(255, 255, 255, 0.22); }
.lb-close svg { width: 20px; height: 20px; }

/* Flèches prev / next */
.lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.10);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s ease;
    z-index: 10000;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* Mobile : grid — stage pleine largeur, prev/next côte à côte dessous */
@media (max-width: 600px) {
    .lb-overlay.lb-open {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr auto;
        padding: 56px 20px 28px;
        gap: 20px 0;
        touch-action: none;
    }
    .lb-stage {
        grid-column: 1 / -1;
        grid-row: 1;
        max-width: 100%;
    }
    .lb-img { max-height: calc(72dvh - 110px); }
    .lb-prev {
        position: static;
        transform: none;
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }
    .lb-next {
        position: static;
        transform: none;
        grid-column: 2;
        grid-row: 2;
        justify-self: center;
    }
}

/* =============================================
   SINGLE VILLE — HERO
============================================= */
.ville-hero {
    background: var(--color-secondary);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
}

.ville-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ville-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ville-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.52) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.18) 70%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.ville-hero .container { position: relative; z-index: 1; width: 100%; }

.ville-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(24px, 5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    margin-bottom: 0;
    text-wrap: balance;
}

.ville-hero__dept {
    color: rgba(255,255,255,0.65);
    margin-top: 10px;
    font-size: 15px;
}

/* =============================================
   SINGLE VILLE — CONTENU
============================================= */
.ville-body {
    padding: 64px 0;
    margin: 0 auto;
}

.ville-body .page-content p {
    font-size: 1rem;
    color: #4e6580;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}

.ville-body .page-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: var(--color-secondary);
    margin: 2.2rem 0 .75rem;
    /*padding-left: 14px;*/
    /*border-left: 3px solid var(--color-primary);*/
    line-height: 1.25;
}

.ville-body .page-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2d3748;
    margin: 1.6rem 0 .5rem;
}

.ville-body .page-content ul {
    padding-left: 0;
    margin-bottom: 1.1rem;
    list-style: none;
}

.ville-body .page-content ul li {
    padding: .3rem 0 .3rem 1rem;
    position: relative;
    color: #4e6580;
    font-size: 1rem;
    line-height: 1.6;
}

.ville-body .page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .85rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}


.ville-intro {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ville-prestations {
    padding: 56px 0;
    background: var(--gray-light);
}

.ville-prestations__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 28px;
}

.ville-prestations__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.ville-prestations__list li a {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}

.ville-prestations__list li a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.ville-related-section {
    padding: 64px 0;
    background: #ffffff;
}

.ville-related-section--gray {
    background: var(--gray-light);
}

.ville-related-section .container {
    padding: 0 20px;
}

.ville-related-item {
    display: block;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.ville-related-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ville-related-item:hover img {
    transform: scale(1.05);
}

.ville-related-item__type {
    font-size: 12px;
    color: rgba(255,255,255,0.60);
    margin-top: 4px;
}

/* Mobile 768px */
@media (max-width: 768px) {
    .ville-hero { padding: 36px 20px; min-height: 240px; }
    .ville-hero h1 { font-size: 26px; }
    .ville-hero__dept { font-size: 14px; }

    .ville-body { padding: 36px 20px; max-width: 100%; }
    .ville-body .page-content h2 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
    .ville-body .page-content h3 { font-size: 1rem; }
    .ville-body .page-content p,
    .ville-body .page-content ul li { font-size: .95rem; }

    .ville-intro { font-size: 16px; margin-bottom: 20px; }

    .ville-related-section { padding: 40px 0; }
    .ville-related-item { height: 175px; }

    .ville-prestations { padding: 36px 0; }
    .ville-prestations .container { padding: 0 20px; }
    .ville-prestations__list { gap: 8px; }
    .ville-prestations__list li a { font-size: .875rem; padding: 8px 14px; }
}

@media (max-width: 480px) {
    .ville-body { padding: 28px 16px; }
    .ville-body .page-content h2 { font-size: 1.05rem;}
    .ville-prestations__title { font-size: 1.1rem; }
}

/* Mobile 480px */
@media (max-width: 480px) {
    .ville-hero { padding: 26px 16px; }
    .ville-hero h1 { font-size: 21px; }

    .ville-body { padding: 22px 14px; }
    .ville-hero-img { margin-bottom: 18px; border-radius: 8px; }
    .ville-hero-img img { height: 200px; }
    .ville-intro { font-size: 15px; margin-bottom: 16px; }

    .ville-related-section { padding: 28px 0; }
    .ville-related-section .container { padding: 0 12px; }
    .ville-related-item { height: 150px; border-radius: 6px; }

    /* section-title plus compact */
    .ville-related-section .section-title { font-size: 20px; margin-bottom: 20px !important; }
}

/* Retour tactile */
@media (hover: none) {
    .ville-related-item:active { opacity: 0.88; transform: scale(0.98); transition: transform 0.12s ease, opacity 0.12s ease; }
}

/* =============================================
   PAGE DEVIS — TEMPLATE (page-demande-de-devis.php)
============================================= */

.devis-hero {
    background: var(--color-primary);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.devis-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(91,164,245,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.devis-hero .container { position: relative; z-index: 1; }
.devis-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 5vw, 44px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.devis-hero__sub { color: rgba(255,255,255,0.68); font-size: 16px; }

.devis-page-section {
    padding: 40px 0 70px;
    background: var(--gray-light);
}

.devis-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 48px;
    align-items: start;
    padding: 0 20px;
}

/* --- Aside arguments --- */
.devis-aside {
    position: sticky;
    top: 88px;
    margin-top: 40px;
}

.devis-aside__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
}

.devis-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    line-height: 1;
}

.devis-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    padding: 16px 18px;
}

.devis-benefit__icon {
    width: 36px;
    height: 36px;
    background: rgba(0,76,151,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.devis-benefits strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2px;
    margin-top: 3px;
}

.devis-benefits span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8eef5;
    margin-bottom: 14px;
}
.contact-map iframe { display: block; }

.devis-aside-contact {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.devis-aside-contact p {
    color: var(--color-text-light, #6b7280);
    font-size: 13px;
    margin-bottom: 12px;
}

/* --- Formulaire --- */
.devis-form-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #e8eef5;
}

.devis-form-header { margin-bottom: 28px; }
.devis-form-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 6px;
}
.devis-form-header p { font-size: 14px; color: var(--text-muted); }

/* CF7 styling */
.devis-cf7-wrap .wpcf7-form p { margin: 0 0 16px; }

.devis-cf7-wrap .wpcf7-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 6px;
}

.devis-cf7-wrap .wpcf7-form input[type="text"],
.devis-cf7-wrap .wpcf7-form input[type="email"],
.devis-cf7-wrap .wpcf7-form input[type="tel"],
.devis-cf7-wrap .wpcf7-form input[type="number"],
.devis-cf7-wrap .wpcf7-form select,
.devis-cf7-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3748;
    background: #f8fafc;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.devis-cf7-wrap .wpcf7-form input[type="text"]:focus,
.devis-cf7-wrap .wpcf7-form input[type="email"]:focus,
.devis-cf7-wrap .wpcf7-form input[type="tel"]:focus,
.devis-cf7-wrap .wpcf7-form input[type="number"]:focus,
.devis-cf7-wrap .wpcf7-form select:focus,
.devis-cf7-wrap .wpcf7-form textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,76,151,0.10);
}

.devis-cf7-wrap .wpcf7-form input.wpcf7-not-valid,
.devis-cf7-wrap .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #e53e3e;
    background: #fff5f5;
}

.devis-cf7-wrap .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    display: block;
}

.devis-cf7-wrap .wpcf7-form textarea { resize: vertical; min-height: 120px; }

.devis-cf7-wrap .wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.15s ease;
    margin-top: 4px;
}
.devis-cf7-wrap .wpcf7-form input[type="submit"]:hover { background: var(--color-secondary); }
.devis-cf7-wrap .wpcf7-form input[type="submit"]:active { transform: scale(0.98); }

.devis-cf7-wrap .wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border-width: 1px;
    border-style: solid;
}
.devis-cf7-wrap .wpcf7-form.sent .wpcf7-response-output { background:#f0fdf4; border-color:#86efac; color:#166534; }
.devis-cf7-wrap .wpcf7-form.failed .wpcf7-response-output,
.devis-cf7-wrap .wpcf7-form.invalid .wpcf7-response-output { background:#fff5f5; border-color:#fca5a5; color:#991b1b; }

/* Responsive */
@media (max-width: 900px) {
    .devis-page-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
    .devis-aside { position: static; }
    .devis-page-section { padding: 44px 0 60px; }
    .devis-form-wrap { padding: 28px 24px; }
    /* Réduire la liste sur mobile : 2 colonnes */
    .devis-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    /* Page devis & contact : aside passe sous le formulaire */
    .devis-page-grid .devis-aside,
    .contact-page-grid .devis-aside { order: 2; }
    .devis-page-grid .devis-form-wrap,
    .contact-page-grid .devis-form-wrap { order: 1; }
    .contact-map { margin-bottom: 0; }
}

@media (max-width: 480px) {
    .devis-hero { padding: 32px 16px; }
    .devis-hero h1 { font-size: 24px; }
    .devis-page-section { padding: 28px 0 44px; }
    .devis-page-grid { padding: 0 12px; gap: 20px; }
    .devis-form-wrap { padding: 20px 16px; border-radius: 12px; }
    .devis-benefits { grid-template-columns: 1fr; }
    .devis-form-header h2 { font-size: 19px; }
}

/* =============================================
   PAGE DEVIS (page-id-37)
============================================= */

/* Hero */
body.page-id-37 .page-hero {
    background: var(--color-primary) ;
    padding: 60px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
body.page-id-37 .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
/*body.page-id-37 .page-hero h1 {*/
/*    font-size: 40px;*/
/*    font-weight: 800;*/
/*    color: #ffffff;*/
/*    line-height: 1.1;*/
/*    text-shadow: 0 2px 20px rgba(0,0,0,0.2);*/
/*}*/

/* Layout */
body.page-id-37 .page-content {
    background: var(--gray-light);
    padding: 25px 10px 50px;
}
body.page-id-37 .page-content article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Form card */
body.page-id-37 .wpcf7 {
    background: #ffffff;
    border-radius: 16px;
}


/* Champs CF7 */
body.page-id-37 .wpcf7-form p {
    margin-bottom: 0;
}
body.page-id-37 .wpcf7-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #2d3748;
    margin-bottom: 20px;
    margin-top: 20px;
}
body.page-id-37 .wpcf7-form label:first-child { margin-top: 0; }

body.page-id-37 .wpcf7-form input[type="text"],
body.page-id-37 .wpcf7-form input[type="email"],
body.page-id-37 .wpcf7-form input[type="tel"],
body.page-id-37 .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #2d3748;
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    line-height: 1.5;
}
body.page-id-37 .wpcf7-form input[type="text"]:focus,
body.page-id-37 .wpcf7-form input[type="email"]:focus,
body.page-id-37 .wpcf7-form input[type="tel"]:focus,
body.page-id-37 .wpcf7-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 76, 151, 0.1);
    background: #ffffff;
}
body.page-id-37 .wpcf7-form input.wpcf7-not-valid,
body.page-id-37 .wpcf7-form textarea.wpcf7-not-valid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}
body.page-id-37 .wpcf7-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Grille 2 colonnes pour prénom/nom */
body.page-id-37 .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
body.page-id-37 .wpcf7-form > fieldset,
body.page-id-37 .wpcf7-form > p,
body.page-id-37 .wpcf7-form > div {
    grid-column: 1 / -1;
}
body.page-id-37 .wpcf7-form > p:nth-child(2),
body.page-id-37 .wpcf7-form > p:nth-child(3),
body.page-id-37 .wpcf7-form > p:nth-child(4),
body.page-id-37 .wpcf7-form > p:nth-child(5),
body.page-id-37 .wpcf7-form > p:nth-child(6),
body.page-id-37 .wpcf7-form > p:nth-child(7) {
    grid-column: span 1;
}

/* Pièce jointe */
body.page-id-37 .wpcf7-form input[type="file"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px dashed #cbd5e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #718096;
    background: #fafbfc;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
body.page-id-37 .wpcf7-form input[type="file"]:hover {
    border-color: var(--color-primary);
    background: #f0f5fc;
}
body.page-id-37 .wpcf7-form input[type="file"]::file-selector-button {
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-right: 12px;
    transition: background 0.2s ease;
}
body.page-id-37 .wpcf7-form input[type="file"]::file-selector-button:hover {
    background: var(--color-secondary);
}

/* Bouton submit */
body.page-id-37 .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.22s ease, transform 0.15s ease, box-shadow 0.22s ease;
}
body.page-id-37 .wpcf7-form input[type="submit"]:hover {
    background: var(--color-primary-darker);
}
body.page-id-37 .wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Spinner CF7 */
/* Conteneur du bouton submit */
body.page-id-37 .wpcf7-form > p:last-of-type {
    position: relative;
    grid-column: 1 / -1;
}

/* Masquer complètement le spinner natif CF7 */
body.page-id-37 .wpcf7-spinner {
    display: none !important;
    visibility: hidden !important;
}

/* Quand CF7 soumet : texte invisible + spinner CSS centré via ::after */
body.page-id-37 .wpcf7-form.submitting input[type="submit"] {
    color: transparent;
    pointer-events: none;
}
body.page-id-37 .wpcf7-form.submitting > p:last-of-type::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 22px;
    height: 22px;
    margin: auto;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: alu-spin 0.7s linear infinite;
    pointer-events: none;
}
@keyframes alu-spin {
    to { transform: rotate(360deg); }
}

/* Messages de réponse CF7 */
body.page-id-37 .wpcf7-response-output {
    margin-top: 20px !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600;
    border: none !important;
}
body.page-id-37 .wpcf7-form.sent .wpcf7-response-output {
    background: #f0fdf4;
    color: #276749;
    border-left: 4px solid #38a169 !important;
}
body.page-id-37 .wpcf7-form.failed .wpcf7-response-output,
body.page-id-37 .wpcf7-form.invalid .wpcf7-response-output {
    background: #fff5f5;
    color: #c53030;
    border-left: 4px solid #e53e3e !important;
}

/* Messages d'erreur inline */
body.page-id-37 .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    display: block;
}

/* Responsive */
@media (max-width: 640px) {
    body.page-id-37 .wpcf7-form {
        grid-template-columns: 1fr;
    }
    body.page-id-37 .wpcf7-form > p:nth-child(2),
    body.page-id-37 .wpcf7-form > p:nth-child(3),
    body.page-id-37 .wpcf7-form > p:nth-child(4),
    body.page-id-37 .wpcf7-form > p:nth-child(5),
    body.page-id-37 .wpcf7-form > p:nth-child(6),
    body.page-id-37 .wpcf7-form > p:nth-child(7) {
        grid-column: 1 / -1;
    }
}

@media (min-width: 768px){
    .products-section{
        padding: 60px 0 80px;
    }
    .products-desc {
        margin-top:16px;
        font-size:16px;
        line-height:1.6;
    }
    .products-list li {
        padding:8px 0;
        font-size:16px;
    }
}

@media (max-width: 768px){
    body.page-id-37 .page-hero{
        padding: 35px 20px 35px;
    }
    .devis-aside{
        margin-top: 0;
    }
}

/* =============================================
   PRODUIT
============================================= */
.produit-hero {
    position: relative;
    overflow: hidden;
    background: var(--color-secondary);
    aspect-ratio: 1920 / 550;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.produit-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.produit-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produit-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.10) 70%,
        transparent 100%
    );
}

.produit-hero__content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.produit-hero .section-label {
    color: lightgrey;
}

.produit-hero h1 {
    color: #fff;
}

.produit-accroche {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    margin-top: .75rem;
    max-width: 640px;
}

.produit-description {
    padding: 56px 20px;
}

.produit-content {
    max-width: 100%;
}

.produit-gallery-section {
    padding: 56px 20px;
    background: var(--gray-light);
}

.produit-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.produit-gallery__item {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.produit-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.produit-gallery__item {
    cursor: zoom-in;
}

.produit-gallery__item:hover img {
    transform: scale(1.04);
}

/* ── CTA produit ── */
.produit-cta {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

.produit-cta > * {
    grid-area: 1 / 1;
}

.produit-cta__bg {
    display: grid;
    grid-template-columns: 1fr;
}

.produit-cta__bg > * {
    grid-area: 1 / 1;
}

.produit-cta__bg img {
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

.produit-cta__overlay {
    background: var(--color-secondary);
    opacity: 0.55;
    z-index: 2;
}

.produit-cta__inner {
    position: relative;
    z-index: 3;
    padding: 88px 20px;
}

.produit-cta__eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 14px;
}

.produit-cta__headline {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.15;
}

.produit-cta__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.produit-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.produit-cta__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    list-style: none;
}

.produit-cta__trust li {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    padding: 0 14px;
    position: relative;
}

.produit-cta__trust li + li::before {
    content: '·';
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    color: rgba(255,255,255,.3);
}

@media (max-width: 1024px) {
    .produit-hero__bg::after {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.25) 60%,
            rgba(0,0,0,0.10) 100%
        );
    }
}

@media (max-width: 768px) {
    .produit-hero {
        aspect-ratio: unset;
        min-height: 280px;
        align-items: flex-end;
        padding-bottom: 32px;
    }
    .produit-hero__content {
        padding: 20px 20px 10px;
    }
    .produit-hero .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .produit-hero .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .produit-accroche {
        font-size: 1rem;
    }
    .produit-description {
        padding: 36px 15px;
    }
    .produit-gallery-section {
        padding: 36px 20px;
    }
    .produit-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 20px;
    }
    .produit-cta__inner {
        padding: 56px 20px;
    }
    .produit-cta__actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .produit-cta__actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .produit-hero {
        min-height: 240px;
    }
    .produit-gallery {
        grid-template-columns: 1fr;
    }
    .produit-gallery-section .section-title {
        font-size: 1.2rem;
    }
}

/* =============================================
   DROPZONE — Formulaire devis
============================================= */
.devis-dropzone-wrap {
    margin-bottom: 24px;
}

.devis-dropzone-label {
    font-size: 12px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Zone de dépôt */
.dz-devis.dropzone {
    border: 1.5px dashed #cbd5e0;
    border-radius: 8px;
    background: transparent;
    padding: 18px 16px;
    transition: border-color .15s, background .15s;
    cursor: pointer;
    min-height: 0;
}

.dz-devis.dropzone:hover,
.dz-devis.dropzone.dz-drag-hover {
    border-color: var(--color-primary);
    background: #f0f5ff;
}

/* Zone réduite une fois des fichiers présents */
.dz-devis.dropzone.dz-has-files {
    padding: 10px 16px;
    border-style: solid;
    border-color: #e2e8f0;
}

.dz-devis .dz-message {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    color: var(--text-muted);
    font-size: .875rem;
    margin: 0;
    width: 100%;
    text-align: center;
}

.dz-devis .dz-message u {
    color: var(--color-primary);
    cursor: pointer;
}

.dz-devis.dropzone.dz-has-files .dz-message span {
    font-size: .78rem;
    color: #a0aec0;
}

/* Liste de fichiers */
#dz-file-list {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dz-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: var(--gray-light);
    border-radius: 6px;
    min-width: 0;
}

.dz-file-row.dz-error {
    background: #fff5f5;
}

.dz-file-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dz-file-thumb img[data-dz-thumbnail] {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dz-file-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.dz-file-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dz-file-name {
    font-size: .82rem;
    font-weight: 500;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dz-file-size {
    font-size: .72rem;
    color: #a0aec0;
}

.dz-file-progress {
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 3px;
    transition: opacity .4s;
}

.dz-file-bar {
    height: 100%;
    width: 0;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width .2s ease;
}

.dz-file-error {
    font-size: .72rem;
    color: #e53e3e;
    display: none;
}

.dz-file-row.dz-error .dz-file-error {
    display: block;
}

.dz-file-remove {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #a0aec0;
    line-height: 0;
    border-radius: 4px;
    transition: color .15s, background .15s;
}

.dz-file-remove:hover {
    color: #e53e3e;
    background: #fee2e2;
}


/* ── Contenu éditeur produit ── */

.produit-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 60px 0;
}
.produit-split--reverse { direction: rtl; }
.produit-split--reverse > * { direction: ltr; }
.produit-split__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.produit-split__text h2 { margin-top: 0; }

.produit-content h2 {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    color: #2d3748;
    margin: 48px 0 16px;
}

.produit-content .produit-split__text h2{
    margin-top: 0;
}

.produit-content p {
    font-size: 16px;
    color: #4e6580;
    line-height: 1.8;
    margin-bottom: 16px;
}
.produit-content ul {
    margin: 16px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.produit-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
}
.produit-content ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}
.produit-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 48px 0;
}

@media (max-width: 768px) {
    .produit-split {
        grid-template-columns: 1fr;
        gap: 32px;
        margin: 40px 0;
    }
    .produit-split--reverse { direction: ltr; }
}

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-bar {
    background: var(--gray-light);
    border-top: 1px solid #e2e8f0;
    padding: 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 16px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.breadcrumb__sep {
    color: #cbd5e0;
    font-size: 22px;
    line-height: 1;
}

.breadcrumb__current {
    color: #2d3748;
    font-weight: 500;
}
