/* D.E.A Espaces Verts — feuille de style principale
   Palette tirée du logo : brun du tronc, vert du feuillage, vert « Espaces Verts » */

@font-face { font-family: 'Jost'; src: url('../fonts/jost-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
/* Police de secours calibrée sur Jost pour limiter le décalage au chargement */
@font-face { font-family: 'Jost Fallback'; src: local('Arial'); size-adjust: 94%; ascent-override: 112%; descent-override: 36%; line-gap-override: 0%; }
@font-face { font-family: 'Marcellus'; src: url('../fonts/marcellus-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bark: #441a01;          /* brun du logo */
  --bark-deep: #2a1103;
  --forest: #1f3410;        /* fond des sections sombres */
  --forest-2: #2a4416;
  --moss: #326902;          /* vert « ESPACES VERTS » */
  --leaf: #5f950f;          /* feuillage */
  --sprout: #a8d15a;        /* accent sur fond sombre */
  --cream: #f6f2e7;
  --sand: #ece5d3;
  --sage: #e2e8d1;
  --ink: #1d1a14;
  --muted: #5b5648;
  --line: rgba(29, 26, 20, .16);
  --line-light: rgba(246, 242, 231, .22);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --display: 'Jost', 'Jost Fallback', sans-serif;
  --serif: 'Marcellus', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--display); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.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; }

/* ---------- Typo utilitaires ---------- */
.label { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.label::before { content: '['; }
.label::after { content: ']'; }
.on-dark .label { color: rgba(246, 242, 231, .7); }
.title { font-size: clamp(2.1rem, 5.4vw, 4rem); text-transform: uppercase; font-weight: 500; letter-spacing: -.015em; }
.title .soft { color: var(--moss); }
.on-dark .title .soft { color: var(--sprout); opacity: .85; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.on-dark { color: var(--cream); }
.on-dark .lead, .on-dark p { color: rgba(246, 242, 231, .78); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .8em 1.5em; border-radius: 6px; font: 500 .95rem/1 var(--display); letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--bark); }
.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: var(--sprout); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(246, 242, 231, .12); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--cream); transition: background-color .3s, box-shadow .3s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; padding-top: 14px; transition: min-height .3s, padding .3s; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 104px; height: auto; transition: width .3s; }
@media (min-width: 1024px) { .brand img { width: 132px; } }
/* En-tête après défilement : fond blanc, texte vert, plus compact */
.site-header.is-scrolled { background: #fff; color: var(--forest); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.site-header.is-scrolled .nav-toggle { border-color: var(--line); }
.site-header.is-scrolled .main-nav a[aria-current="page"] { color: var(--moss); }
.site-header.is-scrolled .main-nav a::after { background: var(--moss); }
.nav-open .site-header.is-scrolled { background: var(--forest); color: var(--cream); box-shadow: none; }
.nav-open .site-header.is-scrolled .main-nav a[aria-current="page"] { color: var(--sprout); }
.site-header.is-scrolled .wrap { min-height: 64px; padding-top: 6px; padding-bottom: 6px; }
.site-header.is-scrolled .brand img { width: 64px; }
@media (min-width: 1024px) { .site-header.is-scrolled .brand img { width: 76px; } }
html { scroll-padding-top: 90px; }
.nav-toggle { width: 48px; height: 48px; border: 1.5px solid var(--line-light); border-radius: 8px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .25s; }
.nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ''; position: absolute; left: 0; }
.nav-toggle span:first-child::before { top: -6px; } .nav-toggle span:first-child::after { top: 6px; }
.nav-open .nav-toggle span:first-child { background: transparent; }
.nav-open .nav-toggle span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav { position: fixed; inset: 0; background: var(--forest); padding: 150px var(--gutter) 40px; display: none; flex-direction: column; gap: 6px; z-index: -1; }
.nav-open .main-nav { display: flex; }
.main-nav a { text-decoration: none; font-size: 1.6rem; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--line-light); }
.main-nav a[aria-current="page"] { color: var(--sprout); }
/* Bouton téléphone + menu déroulant avec les deux numéros */
.header-phone { position: relative; margin-left: auto; }
.phone-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--sprout); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s, border-color .2s; }
.phone-btn svg { width: 20px; height: 20px; }
.phone-btn:hover, .header-phone.open .phone-btn { background: rgba(246, 242, 231, .14); }
.site-header.is-scrolled .phone-btn { border-color: var(--moss); }
.site-header.is-scrolled .phone-btn:hover, .site-header.is-scrolled .header-phone.open .phone-btn { background: var(--sage); }
.phone-menu { position: absolute; right: 0; top: calc(100% + 14px); min-width: 262px; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 18px 44px rgba(0, 0, 0, .22); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
.header-phone.open .phone-menu { opacity: 1; visibility: visible; transform: none; }
.phone-menu::before { content: ""; position: absolute; right: 18px; top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.phone-menu small { display: block; padding: 8px 12px 6px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phone-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 1.08rem; color: var(--forest); white-space: nowrap; transition: background-color .2s; }
.phone-menu a:hover, .phone-menu a:focus-visible { background: var(--sage); }
.phone-menu a svg { width: 18px; height: 18px; color: var(--moss); flex: none; }
.nav-open .header-phone { visibility: hidden; }
@media (min-width: 1024px) {
  .header-phone { margin-left: 0; }
  .phone-btn { width: 52px; height: 52px; }
}
.nav-open { overflow: hidden; }
.nav-open .site-header { position: fixed; }
.main-nav .nav-phone { margin-top: 24px; border: 0; font-size: 1.2rem; color: var(--sprout); text-transform: none; }
@media (min-width: 1024px) { .main-nav .nav-phone { display: none; } }
.main-nav .nav-phone-2 { margin-top: 0; }
/* Menu mobile ouvert : logo entièrement blanc sur le fond vert */
@media (max-width: 1023px) {
  .brand img { transition: width .3s, filter .3s; }
  .nav-open .brand img { filter: brightness(0) invert(1); }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; gap: 34px; padding: 0; background: none; z-index: auto; }
  .main-nav a { font-size: .82rem; letter-spacing: .14em; border: 0; padding: 6px 0; position: relative; }
  .main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--sprout); transition: right .25s; }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
}

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100svh; color: var(--cream); background: var(--forest); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 32, 10, .55) 0%, rgba(18, 32, 10, .12) 22%, rgba(18, 32, 10, .72) 40%, rgba(18, 32, 10, .9) 58%, rgba(18, 32, 10, .97) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 28px; }
.hero-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; color: rgba(246, 242, 231, .9); }
.hero-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--sprout); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, min(4.4vw, 6.5vh), 4.6rem); text-transform: uppercase; line-height: 1.04; letter-spacing: .005em; max-width: 15ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-text { max-width: 42ch; margin: 20px 0 30px; color: rgba(246, 242, 231, .9); font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; }
.hero-actions .btn-light { min-height: 56px; padding: .9em 1.9em; font-size: 1.02rem; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font-weight: 500; padding-bottom: 6px; border-bottom: 2px solid var(--sprout); }
.hero-link svg { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .2s; }
.hero-link:hover svg { transform: rotate(-45deg) translateX(3px); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 48px; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; color: rgba(246, 242, 231, .92); }
.hero-tag svg, .hero-card svg { width: 22px; height: 22px; color: var(--sprout); flex: none; }
.hero-scroll { display: none; }
.hero-card { display: none; }

@media (min-width: 768px) {
  .hero { justify-content: center; }
  .hero::after { background:
    linear-gradient(90deg, rgba(18, 32, 10, .94) 0%, rgba(18, 32, 10, .82) 30%, rgba(18, 32, 10, .35) 55%, rgba(18, 32, 10, 0) 72%),
    linear-gradient(180deg, rgba(18, 32, 10, .55) 0%, rgba(18, 32, 10, 0) 22%, rgba(18, 32, 10, 0) 75%, rgba(18, 32, 10, .5) 100%); }
  .hero-media img { object-position: center; }
  .hero-inner { padding-top: max(170px, 22vh); padding-bottom: 32px; }
  .hero-foot { position: relative; align-items: center; margin-top: clamp(28px, 6vh, 100px); }
  .hero-card { display: block; width: 260px; padding: 18px 22px; border-radius: var(--radius); background: rgba(31, 52, 16, .55); border: 1px solid rgba(168, 209, 90, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .hero-card .row { display: flex; align-items: center; gap: 14px; }
  .hero-card strong { display: block; font-size: 2.6rem; font-weight: 400; line-height: 1; }
  .hero-card .row span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
  .hero-card hr { border: 0; border-top: 1px solid rgba(246, 242, 231, .3); margin: 12px 0; }
  .hero-card .loc { font-size: .95rem; }
}
@media (min-width: 1024px) {
  .hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
  .hero-scroll .mouse { width: 26px; height: 40px; border: 1.5px solid rgba(246, 242, 231, .75); border-radius: 14px; position: relative; }
  .hero-scroll .mouse::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: wheel 1.8s infinite; }
  .hero-scroll .line { width: 1.5px; height: 36px; background: rgba(246, 242, 231, .5); }
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }
/* Animations GSAP : le texte d'intro est masqué jusqu'à l'animation ; filet de sécurité si le script ne charge pas */
.js-anim:not(.anim-started) .hero-inner > :not(h1), .js-anim:not(.anim-started) .page-hero .wrap > :not(h1) { opacity: 0; animation: anim-fallback .4s 2.5s forwards; }
@keyframes anim-fallback { to { opacity: 1; } }
/* Le titre (élément LCP) reste visible dès le premier affichage : simple glissement, sans opacité */
.js-anim .hero h1, .js-anim .page-hero h1 { animation: title-in 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes title-in { from { transform: translateY(28px); } to { transform: none; } }
/* ---------- Hero pages intérieures ---------- */
.page-hero { position: relative; color: var(--cream); background: var(--forest); padding: 170px 0 56px; overflow: hidden; }
@media (min-width: 1024px) { .page-hero { padding-top: 220px; } }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.6rem); text-transform: uppercase; max-width: 16ch; }
.page-hero h1 .soft { color: var(--sprout); }
.page-hero p { max-width: 52ch; margin-top: 18px; color: rgba(246, 242, 231, .86); }
.crumbs { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; color: rgba(246, 242, 231, .7); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sprout); }

.svc-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; list-style: none; padding: 0; }
.svc-index a { display: inline-block; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-light); border-radius: 40px; font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-dark { background: var(--forest); }
.section-sage { background: var(--sage); }
.section-sand { background: var(--sand); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
}

/* Engagements (inspiré « We are different ») */
.audience { list-style: none; margin: 0; padding: 0; min-width: 260px; }
.audience li { display: flex; justify-content: space-between; gap: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.audience li { justify-content: flex-start; align-items: center; gap: 14px; }
.aud-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--sage); color: var(--moss); flex: none; }
.aud-ico svg { width: 19px; height: 19px; }
.intro-top { display: grid; gap: 28px; margin-bottom: 40px; }
@media (min-width: 900px) { .intro-top { grid-template-columns: 1fr auto; align-items: start; } }
.intro-title-row { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 900px) { .intro-title-row { grid-template-columns: 1fr auto; align-items: end; } }
.values { display: grid; gap: 36px; }
.values-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; max-height: 520px; }
.values-img img { width: 100%; height: 100%; object-fit: cover; }
.values-list { display: grid; gap: 34px 40px; align-content: center; }
.value-num { display: inline-grid; place-items: center; width: 46px; height: 46px; background: rgba(95, 149, 15, .08); border: 1.5px solid var(--moss); border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--moss); margin-bottom: 14px; }
.value-num svg { width: 24px; height: 24px; }
.values-list h3 { font-size: 1.2rem; margin-bottom: 8px; }
.values-list p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (min-width: 640px) { .values-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .values { grid-template-columns: 5fr 7fr; gap: 64px; }
  .values-img { aspect-ratio: auto; height: 540px; max-height: none; }
}

/* Étapes (timeline) */
.steps { position: relative; display: grid; gap: 28px; margin-top: 10px; list-style: none; padding: 0 0 0 28px; border-left: 1.5px solid var(--line-light); }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 5px var(--forest); }
.steps h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--cream); }
.steps h3 b { color: var(--sprout); font-weight: 500; }
.steps p { font-size: .96rem; margin: 0; max-width: 36ch; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 60px auto; border: 0; padding: 0; gap: 0 28px; }
  .steps::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--line-light); }
  .steps li:nth-child(odd) { grid-row: 3; }
  .steps li:nth-child(even) { grid-row: 1; align-self: end; }
  .steps li:nth-child(1) { grid-column: 1; } .steps li:nth-child(2) { grid-column: 2; }
  .steps li:nth-child(3) { grid-column: 3; } .steps li:nth-child(4) { grid-column: 4; }
  .steps li::before { left: 0; }
  .steps li:nth-child(odd)::before { top: -36px; }
  .steps li:nth-child(even)::before { top: auto; bottom: -36px; }
  .steps li { padding-left: 0; }
}
.watermark { font-family: var(--serif); font-size: 1rem; letter-spacing: .12em; color: rgba(246, 242, 231, .4); text-align: right; margin-top: 48px; }

/* Services — accordéon de cartes */
.svc-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); list-style: none; scrollbar-width: thin; }
.svc-card { position: relative; flex: 0 0 72%; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--forest); color: var(--cream); }
.svc-card a { position: absolute; inset: 0; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 30, 10, .35) 0%, rgba(20, 30, 10, 0) 30%, rgba(20, 30, 10, 0) 45%, rgba(20, 30, 10, .88) 100%); z-index: 1; }
.svc-card .arrow { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(246, 242, 231, .9); color: var(--forest); display: grid; place-items: center; transition: transform .3s, background .3s; }
.svc-card .arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.svc-card h3 { position: relative; z-index: 2; font-size: 1.5rem; text-transform: uppercase; line-height: 1.02; }
.svc-card p { position: relative; z-index: 2; font-size: .92rem; margin: 10px 0 0; color: rgba(246, 242, 231, .85); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card:hover .arrow { background: var(--sprout); transform: rotate(45deg); }
@media (min-width: 640px) { .svc-card { flex-basis: 42%; } }
@media (min-width: 1024px) {
  .svc-rail { overflow: visible; margin: 0; padding: 0; height: 520px; gap: 12px; }
  .svc-card { flex: 1 1 0; aspect-ratio: auto; transition: flex-grow .5s ease; min-width: 0; }
  .svc-card h3 { font-size: 1.05rem; writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; white-space: nowrap; }
  .svc-card p { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .3s, max-height .4s; }
  .svc-card.is-open, .svc-rail:not(:hover):not(:focus-within) .svc-card:last-child { flex-grow: 3.2; }
  .svc-rail:hover .svc-card:hover, .svc-card:focus-within { flex-grow: 3.2; }
  .svc-card:hover h3, .svc-card:focus-within h3, .svc-rail:not(:hover):not(:focus-within) .svc-card:last-child h3 { font-size: 2.1rem; writing-mode: horizontal-tb; transform: none; white-space: normal; }
  .svc-card:hover p, .svc-card:focus-within p, .svc-rail:not(:hover):not(:focus-within) .svc-card:last-child p { max-height: 120px; opacity: 1; }
}

/* Bandeau citation */
.statement { text-align: center; }
.statement .label { margin-bottom: 26px; }
.statement blockquote { margin: 0 auto; max-width: 30ch; font-family: var(--serif); font-size: clamp(1.45rem, 3.4vw, 2.3rem); line-height: 1.3; color: var(--forest); }
.statement blockquote em { font-style: normal; color: var(--moss); }
.statement .sign { display: flex; justify-content: center; align-items: center; margin-top: 30px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.statement .sign::before, .statement .sign::after { content: ''; display: inline-block; width: 36px; height: 1px; background: currentColor; flex: none; margin: 0 14px; }
@media (max-width: 479px) { .statement .sign::before, .statement .sign::after { display: none; } }

/* Bloc 60/40 */
.split { display: grid; gap: 40px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media .tag { position: absolute; left: 16px; bottom: 16px; background: var(--cream); color: var(--forest); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.split .title { margin: 18px 0 24px; }
.facts { list-style: none; margin: 28px 0 32px; padding: 0; border-top: 1px solid var(--line); }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.facts b { font-weight: 600; color: var(--moss); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 7fr 5fr; gap: 72px; }
  .split.reverse { grid-template-columns: 5fr 7fr; }
  .split.reverse .split-media { order: -1; }
}
.thick { border-left: 6px solid var(--bark); padding-left: 20px; }

/* Réalisations — carrousel */
.works-nav { display: flex; gap: 10px; }
.works-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.works-nav button:hover { background: var(--forest); color: var(--cream); }
.works-nav svg { width: 18px; height: 18px; }
.works-nav button:first-child svg { transform: rotate(180deg); }
.works { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0 0 12px; scrollbar-width: none; }
.works::-webkit-scrollbar { display: none; }
.works > li { flex: 0 0 82%; scroll-snap-align: start; }
.work { margin: 0; }
.work img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.work figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; border-top: 0; }
.work figcaption span:last-child { color: var(--muted); }
@media (min-width: 768px) { .works > li { flex-basis: 48%; } }
@media (min-width: 1100px) { .works > li { flex-basis: 56%; } .works > li:nth-child(even) { flex-basis: 32%; } .works img { aspect-ratio: auto; height: 480px; } }

/* CTA final */
.cta { position: relative; color: var(--cream); background: var(--forest); overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
/* Sur grand écran, la photo (750 px) reste à droite pour ne pas être agrandie et floue */
@media (min-width: 900px) {
  .cta img { left: auto; right: 0; width: 55%; opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
}
.cta .wrap { position: relative; padding-top: clamp(80px, 11vw, 140px); padding-bottom: clamp(80px, 11vw, 140px); }
.cta .title { max-width: 14ch; margin-bottom: 30px; }
.cta .title .soft { color: var(--sprout); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page services ---------- */
.svc-index a:hover { background: var(--cream); color: var(--forest); }
.svc-detail { padding: clamp(56px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.svc-detail:nth-of-type(even) { background: var(--sand); }
.svc-detail .num { font-family: var(--serif); font-size: 1rem; color: var(--moss); letter-spacing: .12em; }
.svc-detail h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); text-transform: uppercase; margin: 10px 0 20px; }
.svc-detail .split-media img { aspect-ratio: 1/1; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(-45deg); }
.note { font-size: .92rem; background: var(--sage); border-left: 4px solid var(--moss); padding: 14px 18px; border-radius: 0 8px 8px 0; color: var(--ink); }

/* ---------- À propos ---------- */
.zones { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-light); }
.zones li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.zones li b { font-weight: 500; }
.zones li span { color: rgba(246, 242, 231, .65); font-size: .92rem; text-align: right; }
.zones li.main b { color: var(--sprout); }
.grid-2 { display: grid; gap: 48px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 80px; } }
.big-num { font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); line-height: .9; color: var(--moss); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.towns li { padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 30px; font-size: .88rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.contact-lines { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.contact-lines li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-lines small { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-lines a { font-size: 1.25rem; font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: var(--moss); }
.form { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--moss); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cfc8b6; border-radius: 8px; background: var(--cream); color: var(--ink); min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); outline: 2px solid var(--sprout); outline-offset: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--moss); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 8px; background: #fbe9e4; color: #7a2410; border: 1px solid #e8b9aa; }
.alert[hidden] { display: none; }

/* ---------- Pages légales ---------- */
.legal > * { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .6em; text-transform: none; }
.legal p, .legal li { color: #3a362d; }
.legal ul { padding-left: 1.2em; }
.legal .todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: 72px 0 96px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 28px; } }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 130px; margin-bottom: 18px; }
.footer-brand p { color: rgba(246, 242, 231, .75); max-width: 34ch; font-size: .95rem; }
.footer-col h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sprout); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: rgba(246, 242, 231, .85); font-size: .95rem; display: inline-block; padding: 3px 0; }
.footer-col a:hover { color: var(--sprout); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: .85rem; color: rgba(246, 242, 231, .6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-bottom a:hover { color: var(--cream); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- WhatsApp + cookies ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 460px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .22); }
.cookie[hidden] { display: none; }
.cookie p { font-size: .92rem; margin-bottom: 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { min-height: 44px; padding: .6em 1.1em; font-size: .9rem; }
.cookie .btn-ghost { color: var(--forest); }
@media (min-width: 640px) { .cookie { right: auto; } }

/* ---------- Page 404 / merci ---------- */
.simple-page { min-height: 70vh; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Réalisations (chantier débroussaillage 19.10.2026) ---------- */
.works-side { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 40px; font-size: .86rem; color: var(--muted); }
.chantier-intro { margin-bottom: clamp(32px, 5vw, 56px); align-items: start; }
.chantier-intro p:last-child { color: var(--muted); }
@media (min-width: 1024px) { .chantier-intro { grid-template-columns: 6fr 5fr; } }

.ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 700px) { .ba-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ba-list { grid-template-columns: repeat(3, 1fr); } }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-frame::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 10px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--cream); color: var(--forest); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.3); pointer-events: none; transition: transform .2s; }
.ba-handle svg { width: 22px; height: 22px; }
.ba-tag { position: absolute; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.ba-tag-a { left: 12px; background: rgba(29,26,20,.72); color: var(--cream); }
.ba-tag-b { right: 12px; background: var(--sprout); color: var(--forest); }
.ba-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; }
.ba-range:focus-visible ~ .ba-handle, .ba-frame:hover .ba-handle { transform: scale(1.1); }
.ba-range:focus-visible ~ .ba-handle { outline: 3px solid var(--sprout); outline-offset: 3px; }
.ba figcaption, .clip figcaption { padding: 14px 2px 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

.clips { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.clip { margin: 0; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--forest-2); }
.clip-tall video { aspect-ratio: 9 / 16; }
.clip figcaption { color: rgba(246,242,231,.8); }
/* la vidéo verticale à gauche, les deux carrées empilées à droite : 9fr / 8fr aligne les hauteurs */
.clips-head { margin-bottom: clamp(32px, 5vw, 48px); }
.clips-head p { max-width: 40ch; }
@media (min-width: 700px) {
  .clips { grid-template-columns: 9fr 8fr; gap: 20px; align-items: start; }
  .clips > li:first-child { grid-row: span 2; }
  .clips > li:not(:first-child) figcaption { padding-top: 10px; }
}
@media (min-width: 1024px) {
  .clips-layout { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: center; }
  .clips-head { margin: 0; }
  .clips { max-width: 720px; margin-left: auto; }
}

.shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .shots { grid-template-columns: repeat(4, 1fr); } .shots > li:nth-child(1) { grid-column: span 2; grid-row: span 2; } .shots > li:nth-child(8) { grid-column: span 2; } .shots > li:nth-child(8) .shot { aspect-ratio: auto; height: 100%; } .shots > li:nth-child(8) img { position: absolute; inset: 0; } }
.shot { display: block; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot::after { content: ''; position: absolute; inset: 0; background: rgba(31,52,16,0); transition: background .3s; }
.shot:hover img { transform: scale(1.06); }
.shot:hover::after { background: rgba(31,52,16,.18); }

.works-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(4, 1fr); } }
.works-grid .work img { aspect-ratio: 4 / 5; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,22,8,.97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(14,22,8,.6); }
.lightbox img { max-width: min(92vw, 900px); max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(246,242,231,.5); background: rgba(31,52,16,.6); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.lightbox button:hover { background: var(--forest); border-color: var(--sprout); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; margin-top: -26px; }
.lb-prev { left: 12px; } .lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 12px; }
@media (max-width: 639px) { .lb-prev, .lb-next { top: auto; bottom: 20px; margin: 0; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }