/* =====================================================================
   Rénovation Tertiaire — feuille de style du site public (v2)
   Encre ardoise, papier froid, vert « classe A », photos de chantier.
   ===================================================================== */

:root {
    --ink: #1B2733;
    --ink-2: #2A3947;
    --ink-3: #12202C;
    --steel: #5B6B78;
    --rule: #D5DCDF;
    --paper: #F4F6F5;
    --white: #FFFFFF;
    --green: #0B8F5A;
    --green-dark: #08704A;
    --green-light: #37C48A;
    --green-tint: #E3F2EB;
    --amber: #F2B11A;
    --danger: #B42318;

    --dpe-a: #00894F; --dpe-b: #4DAA3D; --dpe-c: #A6C83A; --dpe-d: #F2D71E;
    --dpe-e: #F2B11A; --dpe-f: #EB7D1E; --dpe-g: #D62A1E;

    --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --f-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --t-xs: .8125rem; --t-sm: .9375rem; --t-base: 1.0625rem; --t-md: 1.25rem;
    --t-lg: 1.5625rem; --t-xl: 2rem; --t-2xl: clamp(1.75rem, 3vw, 2.625rem);
    --t-3xl: clamp(2.375rem, 5.4vw, 4.5rem);

    --wrap: 1240px;
    --gutter: clamp(18px, 4vw, 40px);
    --radius: 6px;
    --radius-lg: 14px;
    --header-h: 84px;
    --topbar-h: 38px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 24px 48px -24px rgba(18, 32, 44, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; font-family: var(--f-text); font-size: var(--t-base); line-height: 1.65;
    color: var(--ink); background: var(--white); text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
::selection { background: var(--green); color: #fff; }

h1, h2, h3, h4 {
    font-family: var(--f-display); font-stretch: 112%; font-weight: 750; line-height: 1.1;
    letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: var(--t-3xl); font-weight: 800; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-md); font-stretch: 105%; }
p { margin: 0 0 1em; }
.lead { font-size: var(--t-md); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--steel); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 600; font-size: var(--t-sm); color: var(--green-dark); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker-light { color: var(--green-light); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { top: 8px; }

/* ---------- Boutons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .8em 1.35em; border: 2px solid transparent; border-radius: var(--radius);
    font: 600 var(--t-sm)/1.2 var(--f-text); text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1em 1.7em; font-size: var(--t-base); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 143, 90, .8); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--green-tint); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow i { transition: transform .2s var(--ease); color: var(--green); }
.link-arrow:hover i { transform: translateX(5px); }
.link { font-weight: 600; color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.no-overlay .site-header, .site-header.is-solid { background: #fff; box-shadow: 0 1px 0 var(--rule), 0 10px 30px -20px rgba(18,32,44,.35); }
.site-header.is-hidden { transform: translateY(calc(-1 * var(--topbar-h))); }
.no-overlay main { padding-top: calc(var(--header-h) + var(--topbar-h)); }

.topbar { height: var(--topbar-h); background: var(--ink-3); color: #B9C4CC; font-size: var(--t-xs); }
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 100%; max-width: 1440px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar i { color: var(--green-light); }
.topbar-right { margin-left: auto !important; gap: 20px !important; }
.topbar a { color: #E8EDF0; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: #fff; }

.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); max-width: 1440px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; color: currentColor; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-name { font: 800 1.15rem/1.1 var(--f-display); font-stretch: 118%; }
.is-overlay:not(.is-solid) .brand, .is-overlay:not(.is-solid) .nav-list > li > a, .is-overlay:not(.is-solid) .header-phone { color: #fff; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a { position: relative; display: block; padding: 30px 11px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--t-sm); white-space: nowrap; }
.nav-list > li > a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 22px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); }
.nav-only-mobile, .nav-mobile-foot { display: none; }

.sub, .mega {
    position: absolute; top: 100%; background: #fff; border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(18,32,44,.4), 0 0 0 1px rgba(18,32,44,.06);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.sub { left: -12px; min-width: 300px; list-style: none; margin: 0; padding: 10px; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: var(--t-sm); border-radius: var(--radius); }
.sub a:hover { background: var(--paper); }
.sub i { color: var(--green); font-size: 1.1rem; }
.mega { left: -220px; width: min(900px, 90vw); display: grid; grid-template-columns: 1fr 260px; gap: 12px; padding: 14px; }
.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-grid a { display: flex; gap: 14px; padding: 12px; border-radius: var(--radius); text-decoration: none; color: var(--steel); font-size: var(--t-xs); line-height: 1.4; }
.mega-grid a:hover { background: var(--paper); }
.mega-grid i { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--green-tint); color: var(--green-dark); font-size: 1.1rem; transition: background .2s, color .2s; }
.mega-grid a:hover i { background: var(--green); color: #fff; }
.mega-grid strong { display: block; font-size: var(--t-sm); margin-bottom: 2px; color: var(--ink); }
.mega-promo { position: relative; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; min-height: 100%; color: #fff; text-decoration: none; background: var(--ink); }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s var(--ease); }
.mega-promo:hover { color: #fff; }
.mega-promo:hover img { transform: scale(1.06); }
.mega-promo span { position: relative; padding: 18px; font-size: var(--t-sm); line-height: 1.4; }
.mega-promo strong { display: block; font: 750 var(--t-md) var(--f-display); margin-bottom: 4px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { white-space: nowrap; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.header-phone small { display: block; font-weight: 400; font-size: var(--t-xs); opacity: .75; }
.header-phone-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; animation: ring 4s infinite; }
@keyframes ring { 0%, 90%, 100% { transform: rotate(0); } 92% { transform: rotate(-14deg); } 94% { transform: rotate(14deg); } 96% { transform: rotate(-8deg); } 98% { transform: rotate(6deg); } }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ink); border-radius: var(--radius); cursor: pointer; }
.is-overlay:not(.is-solid) .nav-toggle { background: rgba(255,255,255,.16); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: .25s var(--ease); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; } .nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1360px) { .header-phone > span:last-child { display: none; } }
@media (max-width: 1200px) {
    .header-phone { display: none; }
    .nav-list > li > a { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 1100px) {
    :root { --header-h: 72px; }
    .topbar-hours { display: none !important; }
    .nav-toggle { display: block; }
    .header-actions { margin-left: auto; }
    .header-actions .btn { display: none; }
    .header-phone { display: flex; }
    .nav {
        position: fixed; inset: 0; z-index: -1; margin: 0;
        padding: calc(var(--header-h) + var(--topbar-h) + 12px) var(--gutter) 40px;
        background: var(--ink); overflow-y: auto;
        clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .55s var(--ease), visibility 0s .55s;
        visibility: hidden;
    }
    .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 60px); visibility: visible; transition: clip-path .55s var(--ease); }
    .site-header.menu-open { background: var(--ink) !important; box-shadow: none !important; }
    .site-header.menu-open .brand, .site-header.menu-open .header-phone { color: #fff !important; }
    .nav-list { flex-direction: column; }
    .nav-list > li { opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease); }
    .nav.is-open .nav-list > li { opacity: 1; transform: none; }
    .nav.is-open .nav-list > li:nth-child(2) { transition-delay: .05s; }
    .nav.is-open .nav-list > li:nth-child(3) { transition-delay: .1s; }
    .nav.is-open .nav-list > li:nth-child(4) { transition-delay: .15s; }
    .nav.is-open .nav-list > li:nth-child(5) { transition-delay: .2s; }
    .nav.is-open .nav-list > li:nth-child(6) { transition-delay: .25s; }
    .nav.is-open .nav-list > li:nth-child(7) { transition-delay: .3s; }
    .nav-list > li > a { color: #fff !important; padding: 14px 0; font: 700 1.5rem var(--f-display); border-bottom: 1px solid rgba(255,255,255,.1); }
    .nav-list > li > a::after { display: none; }
    .nav-only-mobile { display: block; }
    .sub, .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 6px 0 10px; width: auto; min-width: 0; display: block; }
    .mega-promo { display: none; }
    .mega-grid { grid-template-columns: 1fr; }
    .mega-grid a, .sub a { color: #C9D3DA; padding: 8px 0; font-size: var(--t-base); }
    .mega-grid a:hover, .sub a:hover { background: transparent; color: #fff; }
    .mega-grid i, .sub i { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); color: var(--green-light); font-size: 1rem; }
    .mega-grid a > span { font-size: 0; }
    .mega-grid strong { color: #DCE3E8; font-weight: 500; font-size: var(--t-base); margin: 0; }
    .nav-mobile-foot { display: grid; gap: 12px; margin-top: 28px; }
    .nav-mobile-foot .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
}
@media (max-width: 640px) {
    .topbar { display: none; }
    :root { --topbar-h: 0px; }
    .header-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: max(660px, min(100svh, 920px)); display: flex; align-items: center; background: var(--ink-3); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1) translate3d(-1%, -1%, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,32,44,.92) 0%, rgba(18,32,44,.72) 42%, rgba(18,32,44,.25) 100%), linear-gradient(0deg, rgba(18,32,44,.6) 0%, rgba(18,32,44,0) 40%); }
.hero-inner { padding-top: calc(var(--header-h) + var(--topbar-h) + 40px); padding-bottom: 130px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: var(--t-sm); backdrop-filter: blur(6px); }
.pulse { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 0 rgba(55,196,138,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(55,196,138,0); } 100% { box-shadow: 0 0 0 0 rgba(55,196,138,0); } }
.hero-title { margin-bottom: 24px; font-size: clamp(2.375rem, 5vw, 4.25rem); }
@media (min-width: 900px) { .hero-title .line { white-space: nowrap; } }
@media (max-height: 950px) { .hero-scroll { display: none; } }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; max-width: 58ch; color: #DCE3E8; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 32px; font-weight: 500; font-size: var(--t-sm); color: #E8EDF0; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(11,143,90,.9); color: #fff; }
.hero-dots { position: absolute; right: var(--gutter); bottom: 116px; display: flex; gap: 8px; }
.hero-dots button { width: 54px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots span { display: block; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots .is-active span::after { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; left: 50%; bottom: 104px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.js .hero-badge, .js .hero-lead, .js .hero-actions, .js .hero-points { opacity: 0; transform: translateY(20px); }
.js .hero-title .line > span { transform: translateY(110%); }
.is-loaded .hero-title .line > span { transform: none; transition: transform 1s var(--ease); }
.is-loaded .hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero-title .line:nth-child(3) > span { transition-delay: .24s; }
.is-loaded .hero-badge, .is-loaded .hero-lead, .is-loaded .hero-actions, .is-loaded .hero-points { opacity: 1; transform: none; transition: opacity .8s, transform .9s var(--ease); }
.is-loaded .hero-lead { transition-delay: .45s; }
.is-loaded .hero-actions { transition-delay: .6s; }
.is-loaded .hero-points { transition-delay: .75s; }

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 2; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stats-grid > div { display: flex; flex-direction: column; padding: 30px 28px; border-left: 1px solid var(--rule); }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid dd { order: -1; margin: 0 0 6px; font: 800 clamp(2rem, 3.6vw, 3rem)/1 var(--f-display); font-stretch: 105%; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-grid dd small { font-size: .55em; color: var(--green); margin-left: 2px; }
.stats-grid dt { font-size: var(--t-sm); color: var(--steel); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--ink); color: #DCE3E8; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head > p:not(.kicker) { color: var(--steel); font-size: var(--t-md); margin: 0; }
.section-head h2 { margin-bottom: .4em; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; max-width: none; flex-wrap: wrap; }
.section-head-row > div:first-child { max-width: 640px; }
.section-head-row h2 { margin: 0; }
.section-head-aside { max-width: 440px; color: var(--steel); margin: 0; }
.section-dark .section-head-aside { color: #B9C4CC; }

/* Qui sommes-nous */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-media { position: relative; padding: 0 60px 70px 0; }
.about-img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--paper); }
.about-img-main img { width: 100%; height: 115%; object-fit: cover; }
.about-img-small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); background: var(--paper); }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: -30px; top: 40px; width: 132px; height: 132px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.about-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.about-badge text { font: 600 9px var(--f-text); letter-spacing: .08em; fill: #fff; text-transform: uppercase; }
.about-badge span { font: 800 2.1rem/1 var(--f-display); text-align: center; }
.about-badge small { display: block; font-size: .85rem; font-weight: 600; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-text > p:not(.kicker) { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 500; line-height: 1.45; }
.checklist li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-tint); color: var(--green-dark); font-size: .9rem; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Cartes expertises */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 380px; padding: 24px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.service-card:hover { color: #fff; }
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,32,44,.1) 0%, rgba(18,32,44,.55) 45%, rgba(18,32,44,.95) 100%); transition: background .4s; }
.service-card:hover img { transform: scale(1.08); }
.service-card:hover::before { background: linear-gradient(180deg, rgba(8,112,74,.35) 0%, rgba(18,32,44,.75) 45%, rgba(18,32,44,.97) 100%); }
.service-card-body { display: flex; flex-direction: column; gap: 8px; }
.service-card-body > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--green); font-size: 1.3rem; margin-bottom: 8px; transition: transform .4s var(--ease); }
.service-card:hover .service-card-body > i { transform: rotate(-8deg) scale(1.08); }
.service-card-title { font: 750 var(--t-md)/1.2 var(--f-display); font-stretch: 108%; }
.service-card-desc { font-size: var(--t-sm); color: #C9D3DA; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s; }
.service-card:hover .service-card-desc, .service-card:focus-visible .service-card-desc { max-height: 6em; opacity: 1; }
.service-card-more, .project-card-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-sm); margin-top: 6px; }
.service-card-more i, .project-card-more i { transition: transform .25s var(--ease); }
.service-card:hover .service-card-more i, .project-card a:hover .project-card-more i, .post-card a:hover .project-card-more i { transform: translateX(5px); }
@media (hover: none) { .service-card-desc { max-height: none; opacity: 1; } }

/* Coupe de bâtiment */
.drawing-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.drawing-text p:not(.kicker) { color: var(--ink-2); }
.drawing-text .btn { margin-top: 10px; }
.section-drawing { margin: 0; color: var(--ink); }
.section-drawing svg { width: 100%; height: auto; overflow: visible; }
.dw-point circle { fill: var(--ink); stroke: #fff; stroke-width: 3; transition: fill .15s; }
.dw-point text { fill: #fff; font: 700 12px var(--f-text); pointer-events: none; }
.dw-point:hover circle, .dw-point:focus circle, .dw-point.is-on circle { fill: var(--green); }
.dw-point:focus { outline: none; }
.dw-point:focus-visible circle { stroke: var(--green); stroke-width: 4; }
.dw-points .dw-point circle { animation: beacon 2.6s infinite; }
@keyframes beacon { 0%, 100% { stroke-width: 3; } 50% { stroke-width: 8; stroke: rgba(11,143,90,.35); } }
.dw-legend { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.dw-legend a { display: flex; gap: 10px; align-items: baseline; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: var(--t-sm); border-bottom: 1px dashed var(--rule); transition: color .15s, padding .2s; }
.dw-legend a:hover, .dw-legend li.is-on a { color: var(--green-dark); border-bottom-color: var(--green); padding-left: 4px; }
.dw-num { flex: 0 0 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; transform: translateY(-1px); }
.dw-legend li.is-on .dw-num, .dw-legend a:hover .dw-num { background: var(--green); }

/* Section photo (décret) */
.section-photo { color: #E8EDF0; background: var(--ink-3); overflow: hidden; isolation: isolate; }
.section-photo-media { position: absolute; inset: -12% 0; z-index: -2; }
.section-photo-media img { width: 100%; height: 100%; object-fit: cover; }
.section-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18,32,44,.95) 0%, rgba(18,32,44,.85) 50%, rgba(18,32,44,.6) 100%); }
.section-photo h2 { color: #fff; }
.decret-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.decret-grid p:not(.kicker) { max-width: 58ch; color: #C9D3DA; }
.decret-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(10px); }
.decret-card-title { font: 700 var(--t-md) var(--f-display); color: #fff; margin-bottom: 20px; }
.trajectory { margin: 0; }
.trajectory ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trajectory li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); align-items: center; gap: 16px; }
.tr-label { font: 700 var(--t-base)/1.2 var(--f-display); font-stretch: 105%; }
.tr-bar { display: flex; align-items: center; justify-content: flex-end; width: var(--w); height: 46px; padding: 0 12px; overflow: hidden; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.tr-bar span { font: 800 var(--t-base) var(--f-display); color: var(--ink); padding-right: 12px; white-space: nowrap; }
.tr-g { background: var(--dpe-g); } .tr-g span, .tr-b span { color: #fff; }
.tr-d { background: var(--dpe-d); } .tr-c { background: var(--dpe-c); } .tr-b { background: var(--dpe-b); }
.trajectory figcaption { margin-top: 16px; font-size: var(--t-sm); color: #B9C4CC; }
.prose .trajectory figcaption, .section:not(.section-photo) .trajectory figcaption { color: var(--steel); }
.js [data-reveal="bars"] .tr-bar { width: 0; transition: width 1.2s var(--ease); }
.js [data-reveal="bars"] li:nth-child(2) .tr-bar { transition-delay: .15s; }
.js [data-reveal="bars"] li:nth-child(3) .tr-bar { transition-delay: .3s; }
.js [data-reveal="bars"] li:nth-child(4) .tr-bar { transition-delay: .45s; }
.js [data-reveal="bars"].is-visible .tr-bar { width: var(--w); }

/* Méthode */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; counter-reset: step; }
.process::before, .process::after { content: ""; position: absolute; left: 32px; right: calc((100% - 96px) / 4 - 32px); top: 31px; height: 2px; background: var(--rule); }
.process::after { background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.process.is-visible::after { transform: scaleX(1); }
.process li { position: relative; counter-increment: step; }
.process-icon { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--rule); color: var(--green); font-size: 1.5rem; margin-bottom: 18px; transition: background .4s, border-color .4s, color .4s; }
.process.is-visible li .process-icon { background: var(--green); border-color: var(--green); color: #fff; }
.process.is-visible li:nth-child(2) .process-icon { transition-delay: .6s; }
.process.is-visible li:nth-child(3) .process-icon { transition-delay: 1.1s; }
.process.is-visible li:nth-child(4) .process-icon { transition-delay: 1.6s; }
.process h3::before { content: "Étape " counter(step); display: block; font: 600 var(--t-xs) var(--f-text); color: var(--green-dark); margin-bottom: 6px; letter-spacing: 0; }
.process p { color: var(--steel); margin: 0; font-size: var(--t-sm); }

/* Carrousel */
.carousel { overflow: hidden; }
.carousel-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 400px); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
    padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 24px;
    scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    scrollbar-width: none; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.is-dragging a { pointer-events: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; align-items: center; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; font-size: 1.1rem; transition: background .2s, border-color .2s; }
.carousel-nav button:hover { background: var(--green); border-color: var(--green); }
.carousel-nav .btn { margin-left: 8px; }

.project-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.section-dark .project-card a { background: var(--ink-2); }
.project-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card a:hover .project-card-media img { transform: scale(1.07); }
.project-card-tag { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: var(--t-xs); font-weight: 600; }
.project-card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.project-card-meta { margin: 0; font-size: var(--t-xs); color: var(--steel); }
.section-dark .project-card-meta { color: #8FA0AC; }
.project-card h3 { font-size: var(--t-md); margin: 0 0 4px; }
.project-card-result { display: flex; gap: 8px; margin: 0 0 6px; font-size: var(--t-sm); font-weight: 600; color: var(--green-dark); line-height: 1.4; }
.section-dark .project-card-result { color: var(--green-light); }
.project-card-more { margin-top: auto; color: inherit; }
.project-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green); font-size: 3rem; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.projects-grid .project-card a { box-shadow: 0 0 0 1px var(--rule); }
.projects-grid .project-card a:hover { box-shadow: var(--shadow); }

/* Mosaïque secteurs */
.sector-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.sector-tile:first-child { grid-column: span 2; grid-row: span 2; }
.sector-tile:nth-child(4), .sector-tile:nth-child(7):last-child { grid-column: span 2; }
.sector-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; padding: 22px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.sector-tile:hover { color: #fff; }
.sector-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.sector-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,32,44,0) 30%, rgba(18,32,44,.9) 100%); }
.sector-tile:hover img { transform: scale(1.07); }
.sector-tile-body { display: grid; gap: 4px; }
.sector-tile-body i { font-size: 1.4rem; color: var(--green-light); }
.sector-tile strong { font: 750 var(--t-md)/1.2 var(--f-display); font-stretch: 105%; }
.sector-tile:first-child strong { font-size: var(--t-xl); }
.sector-tile-body > span { font-size: var(--t-sm); color: #C9D3DA; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s; }
.sector-tile:hover .sector-tile-body > span, .sector-tile:first-child .sector-tile-body > span { max-height: 5em; opacity: 1; }

/* Engagements */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promises > div { background: #fff; padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--rule); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.promises > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.promises i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--green-tint); color: var(--green-dark); font-size: 1.4rem; margin-bottom: 18px; transition: background .3s, color .3s; }
.promises > div:hover i { background: var(--green); color: #fff; }
.promises p { color: var(--steel); margin: 0; font-size: var(--t-sm); }
.certs { list-style: none; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 16px 48px; }
.certs li { display: flex; gap: 12px; align-items: center; }
.certs i { font-size: 2rem; color: var(--green); }
.certs span { font-size: var(--t-sm); color: var(--steel); }
.certs strong { display: block; color: var(--ink); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quotes blockquote { margin: 0; padding: 30px; background: var(--paper); border-radius: var(--radius-lg); }
.quotes .bi-quote { font-size: 2.5rem; color: var(--green); line-height: 1; }
.quotes p { font-size: var(--t-md); line-height: 1.5; }
.quotes footer { font-size: var(--t-sm); color: var(--steel); }
.quotes footer strong { display: block; color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: var(--t-md); transition: color .2s; }
.faq summary:hover { color: var(--green-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--green-dark); font-size: 1rem; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--green); color: #fff; }
.faq-answer p { color: var(--ink-2); padding-bottom: 18px; max-width: 70ch; margin: 0; }
.faq details[open] .faq-answer { animation: faqopen .4s var(--ease); }
@keyframes faqopen { from { opacity: 0; transform: translateY(-8px); } }

/* Articles */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--rule); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card a:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover .post-card-media img { transform: scale(1.06); }
.post-card-cat { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: var(--t-xs); font-weight: 600; }
.post-card-body { display: flex; flex-direction: column; padding: 22px 24px 26px; flex: 1; }
.post-card-meta { display: flex; gap: 16px; font-size: var(--t-xs); color: var(--steel); margin-bottom: 8px; }
.post-card h3 { font-size: var(--t-md); }
.post-card-body > p:not(.post-card-meta) { font-size: var(--t-sm); color: var(--ink-2); }
.post-card .project-card-more { color: var(--green-dark); }

/* Bandeau CTA */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--green-dark); }
.cta-band-media { position: absolute; inset: -15% 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,112,74,.96) 0%, rgba(8,112,74,.85) 55%, rgba(18,32,44,.55) 100%); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.cta-band h2 { color: #fff; margin-bottom: .35em; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 58ch; color: #E2F4EB; }
.cta-band .btn-primary { background: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #000; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- En-tête des pages ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink-3); min-height: 460px; display: flex; align-items: flex-end; }
.page-head-tall { min-height: 580px; }
.page-head-media { position: absolute; inset: -10% 0; z-index: -2; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,32,44,.92) 0%, rgba(18,32,44,.7) 55%, rgba(18,32,44,.35) 100%), linear-gradient(0deg, rgba(18,32,44,.6) 0%, transparent 50%); }
.page-head-inner { padding-top: calc(var(--header-h) + var(--topbar-h) + 48px); padding-bottom: clamp(48px, 7vw, 88px); width: 100%; }
.page-head h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); max-width: 22ch; margin-bottom: .35em; color: #fff; }
.page-head .lead { color: #DCE3E8; }
.page-head .kicker { color: var(--green-light); }
.page-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; font-size: var(--t-xs); color: #B9C4CC; }
.crumbs li + li::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7em; margin-right: 8px; opacity: .6; }
.crumbs a { color: #E8EDF0; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Contenus riches ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--t-xl); margin-top: 1.6em; }
.prose h3 { font-size: var(--t-md); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 20px 24px; border-left: 4px solid var(--green); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--t-md); }
.prose img { margin: 1.5em 0; border-radius: var(--radius-lg); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.aside-box { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); padding: 28px; background: var(--ink); color: #DCE3E8; overflow: hidden; }
.aside-box h2, .aside-box h3 { font-size: var(--t-md); color: #fff; }
.aside-box p { color: #B9C4CC; font-size: var(--t-sm); }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-box .btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.aside-box .btn-ghost:hover { background: #fff; color: var(--ink); }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px solid rgba(255,255,255,.1); }
.aside-list a, .aside-item { display: flex; gap: 10px; align-items: center; padding: 11px 0; color: #DCE3E8; text-decoration: none; font-size: var(--t-sm); transition: color .2s, padding .2s; }
.aside-list a:hover, .aside-list a[aria-current] { color: #fff; padding-left: 4px; }
.aside-list i { color: var(--green-light); }
.aside-item { cursor: default; }
.aside-photo { margin: -28px -28px 24px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.aside-photo img { width: 100%; height: 100%; object-fit: cover; }

.benefits { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--paper); border-radius: var(--radius); font-weight: 600; line-height: 1.4; }
.benefits li::before { content: "\F26E"; font-family: "bootstrap-icons"; flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: .95rem; }

/* Expertises en zigzag */
.zigzag { display: grid; gap: clamp(56px, 8vw, 110px); }
.zigzag-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.zigzag-item:nth-child(even) .zigzag-media { order: 2; }
.zigzag-media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); background: var(--ink); }
.zigzag-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.zigzag-media:hover img { transform: scale(1.05); }
.zigzag-num { position: absolute; left: 20px; top: 20px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--green); color: #fff; font-size: 1.5rem; }
.zigzag-text h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.zigzag-text h2 a { color: inherit; text-decoration: none; }
.zigzag-text > p { color: var(--ink-2); }
.zigzag-text .checklist { grid-template-columns: 1fr; margin: 20px 0 28px; }

.service-cards-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.service-cards-mini a { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.service-cards-mini a:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: var(--shadow); color: var(--ink); }
.service-cards-mini i { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-tint); color: var(--green-dark); font-size: 1.2rem; }

/* Fiche réalisation */
.fact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin: -56px 0 0; position: relative; z-index: 2; overflow: hidden; }
.fact-strip > div { padding: 22px 24px; border-left: 1px solid var(--rule); }
.fact-strip > div:first-child { border-left: 0; }
.fact-strip dt { font-size: var(--t-xs); color: var(--steel); margin-bottom: 4px; }
.fact-strip dd { margin: 0; font-weight: 700; line-height: 1.3; }
.result-callout { display: flex; gap: 16px; align-items: center; background: var(--green-tint); border-radius: var(--radius-lg); padding: 22px 26px; margin: 40px 0 0; font: 700 var(--t-md)/1.35 var(--f-display); color: var(--green-dark); }
.result-callout i { font-size: 2rem; }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 40px 0; }
.cs-grid > div { padding: 30px; border-radius: var(--radius-lg); background: var(--paper); }
.cs-grid > div:last-child { background: var(--ink); color: #DCE3E8; }
.cs-grid > div:last-child h2 { color: #fff; }
.cs-grid h2 { font-size: var(--t-lg); display: flex; align-items: center; gap: 12px; }
.cs-grid h2 i { color: var(--green); }
.cs-grid p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 40px 0; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--paper); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery figcaption { font-size: var(--t-xs); color: var(--steel); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 15px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: var(--t-sm); background: #fff; transition: all .2s; }
.chips a:hover, .chips a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chips i { color: var(--green); }
.chips a[aria-current] i, .chips a:hover i { color: var(--green-light); }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(12,20,28,.94); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 60px 16px; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: 82vh; border-radius: var(--radius); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox button:hover { background: var(--green); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; }
.lightbox p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #C9D3DA; font-size: var(--t-sm); margin: 0; }

/* Pagination */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 56px 0 0; justify-content: center; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.pagination a:hover { border-color: var(--ink); }
.pagination .active a, .pagination .active span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Blog */
.post-featured { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #DCE3E8; text-decoration: none; margin-bottom: 40px; transition: box-shadow .35s; }
.post-featured:hover { box-shadow: var(--shadow); color: #DCE3E8; }
.post-featured-media { min-height: 360px; overflow: hidden; background: var(--ink-2); }
.post-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-featured:hover img { transform: scale(1.05); }
.post-featured-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.post-featured h2 { color: #fff; }
.post-featured .post-card-cat { position: static; align-self: flex-start; margin-bottom: 16px; }
.post-featured .post-card-meta { color: #8FA0AC; }
.post-featured .project-card-more { color: var(--green-light); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin: -110px 0 44px; position: relative; z-index: 2; box-shadow: var(--shadow); aspect-ratio: 21 / 9; background: var(--paper); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--t-sm); color: #C9D3DA; margin-top: 18px; }
.article-meta span { display: inline-flex; gap: 8px; align-items: center; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); font-weight: 600; }
.share a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.share a:hover { background: var(--green); color: #fff; }

/* Histoire */
.story { list-style: none; margin: 0; padding: 0; position: relative; }
.story::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--rule); }
.story li { position: relative; padding: 0 0 44px 88px; }
.story li:last-child { padding-bottom: 0; }
.story-icon { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 1.3rem; box-shadow: 0 0 0 8px #fff; }
.story h3 { margin-bottom: .3em; }
.story p { color: var(--ink-2); margin: 0; }
.photo-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; }
.photo-pair > div { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.photo-pair > div:first-child { aspect-ratio: 4 / 5; }
.photo-pair > div:last-child { aspect-ratio: 3 / 4; margin-bottom: 48px; }
.photo-pair img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Formulaires ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 0 0 1px var(--rule), var(--shadow); }
.form-steps { display: flex; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: fs; }
.form-steps li { flex: 1; min-width: 0; counter-increment: fs; border-top: 4px solid var(--rule); transition: border-color .3s; }
.form-steps button { display: flex; gap: 8px; align-items: center; width: 100%; padding: 12px 0 0; border: 0; background: none; font: 600 var(--t-xs)/1.25 var(--f-text); color: var(--steel); text-align: left; cursor: pointer; transition: color .3s; }
.form-steps button::before { content: counter(fs); flex: 0 0 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--steel); font-size: .75rem; transition: background .3s, color .3s; }
.form-steps button:disabled { cursor: default; }
.form-steps button:not(:disabled):hover { color: var(--ink); }
.form-steps button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.form-steps li.is-done { border-color: var(--green); }
.form-steps li.is-done button { color: var(--green-dark); }
.form-steps li.is-done button::before { content: "\F26E"; font-family: "bootstrap-icons"; background: var(--green-tint); color: var(--green-dark); }
.form-steps li.is-current { border-color: var(--ink); }
.form-steps li.is-current button { color: var(--ink); }
.form-steps li.is-current button::before { background: var(--ink); color: #fff; }

/* Assistant de devis (activé par JS) */
.btn[hidden], fieldset[hidden] { display: none !important; }
[data-quote-card] { scroll-margin-top: calc(var(--header-h) + 16px); }
.is-wizard fieldset { margin-bottom: 32px; animation: step-in .35s var(--ease); }
.is-wizard .form-actions { padding-top: 24px; border-top: 1px solid var(--rule); }
.is-wizard [data-next], .is-wizard [data-submit] { margin-left: auto; }
.is-wizard .form-note { flex-basis: 100%; text-align: right; }
@keyframes step-in { from { opacity: 0; transform: translateX(16px); } }
.legend-opt { font: 500 var(--t-xs) var(--f-text); color: var(--steel); background: var(--paper); padding: 4px 10px; border-radius: 99px; }
.field-error { color: var(--danger); font-size: var(--t-sm); font-weight: 600; margin: 10px 0 0; }
.choice-grid.is-invalid { border: 0 !important; background: none !important; }
.choice-grid.is-invalid .choice label { border-color: var(--danger); }
@media (max-width: 640px) {
    .form-steps { gap: 6px; margin-bottom: 24px; }
    .form-steps li.is-current { flex: 2.5; }
    .form-steps button { justify-content: center; }
    .form-steps li:not(.is-current) button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .is-wizard .form-actions { gap: 12px; }
    .is-wizard .form-actions .btn { flex: 1; padding-inline: 1em; }
    .is-wizard [data-prev] { flex: 0 0 auto; }
    .is-wizard .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .is-wizard .choice label { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 8px; text-align: center; font-size: var(--t-xs); line-height: 1.3; }
    .is-wizard .choice input:checked + label::after { position: absolute; top: 6px; right: 8px; font-size: 1rem; }
    .is-wizard .form-note { text-align: center; }
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0 0 44px; min-width: 0; }
legend { font: 750 var(--t-lg)/1.2 var(--f-display); font-stretch: 108%; padding: 0; margin-bottom: 22px; display: flex; gap: 14px; align-items: center; }
legend .step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-size: var(--t-sm); flex: 0 0 38px; }
.field label, .field .label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--steel); }
.field .hint { font-size: var(--t-xs); color: var(--steel); margin: 6px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea {
    width: 100%; padding: 13px 15px; font: inherit; font-size: var(--t-base); color: var(--ink);
    background: var(--paper); border: 1px solid transparent; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, background .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--rule); }
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11,143,90,.15); }
textarea { min-height: 150px; resize: vertical; }
.is-invalid { border-color: var(--danger) !important; background: #FFF6F5 !important; }
select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231B2733' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
input[type=file] { font-size: var(--t-sm); width: 100%; padding: 14px; border: 2px dashed var(--rule); border-radius: var(--radius); background: var(--paper); }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; padding: 8px 14px; margin-right: 12px; border: 0; background: var(--ink); color: #fff; border-radius: var(--radius); cursor: pointer; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer; font-weight: 500; height: 100%; background: #fff; transition: border-color .2s, background .2s; }
.choice label:hover { border-color: var(--steel); }
.choice label i { color: var(--green); font-size: 1.25rem; }
.choice input:checked + label { border-color: var(--green); background: var(--green-tint); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:checked + label::after { content: "\F26E"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--green); font-size: 1.2rem; }
.choice input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: 0 0 20px; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: var(--t-xs); color: var(--steel); margin: 0; }
.alert { display: flex; gap: 12px; padding: 16px 20px; margin-bottom: 32px; border-radius: var(--radius); border-left: 4px solid; }
.alert p, .alert ul { margin: 0; } .alert ul { padding-left: 1.2em; margin-top: 6px; }
.alert i { font-size: 1.25rem; }
.alert-success { background: var(--green-tint); border-color: var(--green); }
.alert-error { background: #FDECEA; border-color: var(--danger); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.contact-cards > div, .contact-cards > a { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), background .3s; }
.contact-cards > a:hover { transform: translateX(4px); background: var(--green-tint); color: var(--ink); }
.contact-cards i { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--green); color: #fff; font-size: 1.2rem; }
.contact-cards strong { display: block; }
.contact-cards span { color: var(--steel); font-size: var(--t-sm); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); }

.thanks { max-width: 680px; padding: clamp(80px, 12vw, 140px) 0; }
.thanks .ref { display: inline-block; font: 800 var(--t-xl) var(--f-display); background: var(--paper); padding: 10px 18px; border: 2px dashed var(--green); border-radius: var(--radius); margin: 8px 0 24px; }
.thanks-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 2.5rem; margin-bottom: 24px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink-3); color: #9FB0BC; font-size: var(--t-sm); }
.site-footer a { color: #DCE3E8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta-title { margin: 0; font: 800 clamp(1.6rem, 3.2vw, 2.5rem)/1.1 var(--f-display); font-stretch: 112%; color: #fff; }
.footer-cta-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-cta-phone { display: flex; align-items: center; gap: 10px; font: 700 var(--t-lg) var(--f-display); color: #fff !important; }
.footer-cta-phone i { color: var(--green-light); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.brand-footer { color: #fff !important; margin-bottom: 18px; }
.footer-about > p { max-width: 42ch; }
.footer-contact { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--green-light); }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; font-family: var(--f-display); font-size: var(--t-base); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.social { display: flex; gap: 10px; margin-top: 20px !important; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.05rem; }
.social a:hover { background: var(--green); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 26px; font-size: var(--t-xs); }
.footer-legal p { margin: 0; }
.footer-legal a { margin-left: 22px; }

.mobile-bar { display: none; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--green); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal]:not([data-reveal="bars"]):not([data-reveal="process"]) { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .9s var(--ease); }
.js [data-reveal="left"] { transform: translateX(-46px) !important; }
.js [data-reveal="right"] { transform: translateX(46px) !important; }
.js [data-reveal="zoom"] { transform: scale(.94) !important; }
.js [data-reveal].is-visible { opacity: 1 !important; transform: none !important; }
.js [data-reveal-delay="1"] { transition-delay: .1s !important; }
.js [data-reveal-delay="2"] { transition-delay: .2s !important; }
.js [data-reveal-delay="3"] { transition-delay: .3s !important; }
/* Les cartes gardent leurs propres transitions au survol une fois apparues */
.js .project-card.is-visible, .js .post-card.is-visible, .js .service-card.is-visible, .js .sector-tile.is-visible, .js .promises > div.is-visible { transition-delay: 0s !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sector-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
    .sector-tile:nth-child(4), .sector-tile:nth-child(7):last-child { grid-column: auto; }
    .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .about-grid, .drawing-grid, .decret-grid, .faq-grid, .layout-aside, .contact-grid, .zigzag-item, .post-featured { grid-template-columns: minmax(0, 1fr); }
    .zigzag-item:nth-child(even) .zigzag-media { order: 0; }
    .about-media { max-width: 560px; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-grid > div:nth-child(3) { border-left: 0; }
    .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .process::before, .process::after { display: none; }
    .aside-box { position: static; }
    .hero-scroll { display: none; }
    .post-featured-media { min-height: 260px; }
}
@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .hero { min-height: 100svh; align-items: flex-end; }
    .hero-inner { padding-bottom: 108px; }
    .hero-title { max-width: none; }
    .hero-badge { font-size: var(--t-xs); }
    .hero-actions .btn { width: 100%; }
    .hero-points { gap: 12px; flex-direction: column; }
    .hero-dots { left: var(--gutter); right: auto; bottom: 84px; }
    .stats { margin-top: -52px; }
    .stats-grid > div { padding: 22px 18px; }
    .about-media { padding: 0 30px 50px 0; }
    .about-badge { width: 104px; height: 104px; left: -8px; top: 20px; }
    .about-badge span { font-size: 1.6rem; }
    .checklist { grid-template-columns: 1fr; }
    .service-grid, .promises { grid-template-columns: minmax(0, 1fr); }
    .service-card { min-height: 220px; padding: 20px; }
    .sector-mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 220px; }
    .sector-tile:first-child { grid-column: auto; grid-row: span 1; }
    .sector-tile:first-child strong { font-size: var(--t-md); }
    .form-grid, .cs-grid, .benefits, .dw-legend { grid-template-columns: minmax(0, 1fr); }
    .process { grid-template-columns: minmax(0, 1fr); }
    .trajectory li { grid-template-columns: 6.5rem minmax(0, 1fr); }
    .carousel-nav button { display: none; }
    .carousel-nav .btn { margin: 0; }
    .carousel-track { grid-auto-columns: 82vw; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal a { margin: 0 16px 0 0; }
    .page-head { min-height: 400px; }
    .fact-strip { margin-top: -40px; grid-template-columns: 1fr 1fr; }
    .fact-strip > div:nth-child(odd) { border-left: 0; }
    .fact-strip > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
    .article-cover { margin-top: -60px; aspect-ratio: 16 / 10; }
    .photo-pair > div:last-child { margin-bottom: 24px; }
    .site-footer { padding-bottom: 76px; }
    .to-top { bottom: 84px; right: 14px; }
    .mobile-bar {
        display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
        box-shadow: 0 -10px 30px -16px rgba(18,32,44,.4); transform: translateY(110%); transition: transform .35s var(--ease);
    }
    .mobile-bar.is-visible { transform: none; }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
    .mobile-bar-call { background: var(--ink); color: #fff; }
    .mobile-bar-quote { background: var(--green); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal], .js .hero-badge, .js .hero-lead, .js .hero-actions, .js .hero-points { opacity: 1 !important; transform: none !important; }
    .js .hero-title .line > span { transform: none !important; }
    .js [data-reveal="bars"] .tr-bar { width: var(--w) !important; }
    .hero-slide img, .page-head-media img { transform: none; }
}

@media print {
    .site-header, .site-footer, .mobile-bar, .cta-band, .aside-box, .to-top { display: none; }
    .page-head { min-height: 0; color: var(--ink); background: none; }
    .page-head::before, .page-head-media { display: none; }
}

/* ---------- Logo envoyé depuis l'admin ---------- */
.brand-logo { display: block; height: var(--logo-h, 44px); width: auto; max-width: min(260px, 52vw); object-fit: contain; }
.brand-logo-light { display: none; }
.is-overlay:not(.is-solid) .brand-logo-dark, .site-header.menu-open .brand-logo-dark { display: none; }
.is-overlay:not(.is-solid) .brand-logo-light, .site-header.menu-open .brand-logo-light { display: block; }
@media (max-width: 640px) { .brand-logo { height: min(var(--logo-h, 44px), 40px); } }

/* Demande de devis : familles de travaux CEE */
.choice-grid-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.choice-grid-lg .choice label { align-items: flex-start; padding: 16px 18px; }
.choice-grid-lg .choice label i { font-size: 1.45rem; margin-top: 2px; }
.choice-grid-lg .choice label span { display: block; }
.choice-grid-lg .choice label strong { display: block; font-weight: 700; }
.choice-grid-lg .choice label small { display: block; margin-top: 3px; font-size: var(--t-xs); font-weight: 400; color: var(--steel); line-height: 1.4; }
[data-services].is-invalid .choice label { border-color: var(--danger); }
.field[hidden] { display: none !important; }
@media (max-width: 640px) {
    .is-wizard .choice-grid-lg { grid-template-columns: 1fr; }
    .is-wizard .choice-grid-lg .choice label { flex-direction: row; text-align: left; padding: 12px 14px; }
}
