/* BR Paysage — feuille de style unique
   Palette et typos : voir BRAND.md */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/BarlowCondensed-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/BarlowCondensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/BarlowCondensed-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/Fraunces-400i.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --creme: #F4F2EB;
  --sauge: #C9D2BE;
  --sauge-profond: #8E9C80;
  --anthracite: #1E2420;
  --foret: #2F4A35;
  --terracotta: #B4483A;
  --terracotta-fonce: #963A2E;
  --blanc: #FBFAF6;
  --ligne: rgba(30, 36, 32, .14);
  --ligne-claire: rgba(244, 242, 235, .18);

  --f-titre: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-texte: 'Barlow', system-ui, sans-serif;
  --f-accent: 'Fraunces', Georgia, serif;

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  --t-h3: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --t-h2: clamp(2.1rem, 1.4rem + 3vw, 3.9rem);
  --t-h1: clamp(2.9rem, 1.6rem + 6.2vw, 7.4rem);

  --gouttiere: clamp(20px, 5vw, 48px);
  --section: clamp(56px, 8vw, 120px);
  --max: 1320px;
  --rayon: 14px;
  --rayon-l: 22px;
  --barre-mobile: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--creme);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sauge); color: var(--anthracite); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--anthracite); color: var(--creme); padding: .75rem 1rem; border-radius: 8px; }
.lien-evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }

/* ---------- Typo ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: .9; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1; letter-spacing: .02em; }
h4 { font-size: 1.15rem; letter-spacing: .04em; }
h1 em, h2 em, h3 em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; text-wrap: pretty; }
.chapeau { font-size: var(--t-l); line-height: 1.5; max-width: 38em; }
.surtitre {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: var(--t-s);
  color: var(--terracotta); margin-bottom: 1.1rem;
}
.surtitre::before { content: ""; width: 1.8em; height: 2px; background: currentColor; }
.fond-sombre .surtitre, .fond-foret .surtitre { color: var(--sauge); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--terracotta); --fg: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em;
  border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-titre); font-weight: 600; font-size: 1.12rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s, transform .25s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { --bg: var(--terracotta-fonce); }
.btn:active { transform: scale(.98); }
.btn--clair { --bg: var(--creme); --fg: var(--anthracite); }
.btn--clair:hover { --bg: var(--sauge); }
.btn--contour { background: transparent; color: var(--anthracite); border-color: currentColor; }
.btn--contour:hover { background: var(--anthracite); color: var(--creme); border-color: var(--anthracite); }
.fond-sombre .btn--contour, .fond-foret .btn--contour, .hero .btn--contour { color: var(--creme); }
.fond-sombre .btn--contour:hover, .fond-foret .btn--contour:hover, .hero .btn--contour:hover { background: var(--creme); color: var(--anthracite); border-color: var(--creme); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; padding-block: .6em; min-height: 44px;
  border-bottom: 2px solid currentColor;
}
.lien-fleche svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s, transform .35s var(--ease);
}
.entete__in { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.entete__logo { display: block; flex: none; height: 46px; position: relative; }
.entete__logo img { height: 46px; width: auto; }
.entete__logo .logo-blanc { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.entete__nav { margin-left: auto; }
.entete__nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.entete__nav a {
  display: block; padding: .6rem .7rem; text-decoration: none;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em;
  border-radius: 8px; position: relative;
}
.entete__nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .35rem; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.entete__nav a:hover::after, .entete__nav a[aria-current="page"]::after { transform: scaleX(1); }
.entete__nav .nav-phare { color: var(--terracotta); }
.entete__tel { display: none; }
.entete .btn { min-height: 46px; padding: .55em 1.15em; font-size: 1rem; }
.burger { display: none; }

.entete--sur-hero:not(.est-defile) { color: var(--creme); }
.entete--sur-hero:not(.est-defile) .logo-blanc { opacity: 1; }
.entete--sur-hero:not(.est-defile) .logo-couleur { opacity: 0; }
.entete--sur-hero:not(.est-defile) .nav-phare { color: var(--sauge); }
.entete.est-defile, .entete:not(.entete--sur-hero) { background: rgba(244, 242, 235, .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--ligne); }
.entete.est-cache { transform: translateY(-100%); }

@media (max-width: 1180px) {
  .entete__nav, .entete__devis { display: none; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  }
  .entete__tel { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; color: inherit; }
  .entete__tel svg { width: 22px; height: 22px; }
}
@media (max-width: 1180px) and (min-width: 768px) {
  .entete__devis { display: inline-flex; margin-left: auto; }
  .burger { margin-left: 0; }
}

/* Barre d'action mobile */
.barre-mobile { display: none; }
@media (max-width: 767px) {
  :root { --barre-mobile: calc(68px + env(safe-area-inset-bottom)); }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1.35fr; gap: .5rem;
    position: fixed; inset: auto 0 0 0; z-index: 90;
    padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom));
    background: rgba(30, 36, 32, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: transform .35s var(--ease);
  }
  .barre-mobile .btn { min-height: 52px; padding: .5em .8em; font-size: 1.02rem; width: 100%; }
  .barre-mobile.est-cachee { transform: translateY(110%); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--serre { padding-block: calc(var(--section) * .6); }
.fond-sombre { background: var(--anthracite); color: var(--creme); }
.fond-foret { background: var(--foret); color: var(--creme); }
.fond-sauge { background: var(--sauge); }
.fond-blanc { background: var(--blanc); }
.entete-section { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
@media (min-width: 900px) {
  .entete-section--split { grid-template-columns: 1.15fr .85fr; align-items: end; gap: 4rem; }
  .entete-section--split p { margin-bottom: .4rem; }
}
.entete-section h2 { margin: 0; }

/* ---------- Hero accueil : comparateur avant / après ---------- */
.hero {
  position: relative; color: var(--creme); background: var(--anthracite);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; overflow: hidden;
}
.hero .ba { position: absolute; inset: 0; z-index: -1; border-radius: 0; aspect-ratio: auto; height: 100%; }
.hero .ba::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,24,21,.55) 0%, rgba(20,24,21,0) 22%, rgba(20,24,21,0) 38%, rgba(20,24,21,.82) 78%, rgba(20,24,21,.94) 100%); }
.hero .ba__etiquette { top: 96px; }
.hero__contenu { position: relative; padding-top: 120px; padding-bottom: clamp(2rem, 1rem + 4vw, 4.5rem); pointer-events: none; }
.hero__contenu a, .hero__contenu button { pointer-events: auto; }
.hero h1 { max-width: 11ch; margin-bottom: .35em; }
.hero h1 em { color: var(--sauge); display: block; }
.hero .chapeau { max-width: 34em; color: rgba(244,242,235,.88); margin-bottom: 1.8rem; }
.hero__pied { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.hero__indice {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--sauge);
}
.hero__indice svg { width: 34px; height: 18px; }
@media (max-width: 767px) {
  .hero { min-height: calc(100svh - var(--barre-mobile) + 10px); }
  .hero .btns .btn { flex: 1 1 100%; }
}

/* ---------- Comparateur avant/après ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--rayon-l);
  aspect-ratio: 4 / 5; background: var(--anthracite);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__avant { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__ligne {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--creme); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.25);
}
.ba__poignee {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
  border-radius: 50%; background: var(--creme); color: var(--anthracite);
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0,0,0,.28);
  transition: transform .2s var(--ease);
}
.ba__poignee svg { width: 28px; height: 28px; }
.ba.est-actif .ba__poignee { transform: scale(1.1); }
.ba__etiquette {
  position: absolute; top: 1rem; z-index: 2; pointer-events: none;
  padding: .35rem .8rem; border-radius: 999px;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem;
  background: rgba(30,36,32,.72); color: var(--creme); backdrop-filter: blur(6px);
  transition: opacity .25s;
}
.ba__etiquette--avant { left: 1rem; }
.ba__etiquette--apres { right: 1rem; background: rgba(244,242,235,.88); color: var(--anthracite); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.ba:focus-within .ba__poignee { outline: 3px solid var(--terracotta); outline-offset: 3px; }
.ba--paysage { aspect-ratio: 4 / 3; }
.ba-legende { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font-size: var(--t-s); color: rgba(30,36,32,.72); }
.ba-legende strong { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .06em; color: var(--anthracite); font-size: 1.05rem; }
.fond-sombre .ba-legende, .fond-foret .ba-legende { color: rgba(244,242,235,.7); }
.fond-sombre .ba-legende strong, .fond-foret .ba-legende strong { color: var(--creme); }

/* ---------- Bandeau engagements ---------- */
.engagements { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.engagement { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--ligne); align-items: start; }
.engagement svg { width: 34px; height: 34px; color: var(--foret); margin-top: .2rem; }
.engagement h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.engagement p { margin: 0; color: rgba(30,36,32,.75); font-size: var(--t-s); }
@media (min-width: 800px) {
  .engagements { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .engagement { grid-template-columns: 1fr; border-bottom: 0; border-left: 1px solid var(--ligne); padding: .5rem 2rem 0; }
  .engagement:first-child { border-left: 0; padding-left: 0; }
}

.manifeste { display: grid; gap: 3rem; }
.manifeste__texte { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1rem + 4.6vw, 5.4rem); line-height: .98; letter-spacing: .005em; margin: 0; max-width: 24ch; }
.manifeste__texte em { font-family: var(--f-accent); font-weight: 400; text-transform: none; font-style: italic; color: var(--terracotta); }
.manifeste__texte .muet { color: var(--anthracite); font-weight: 500; }

/* ---------- Bloc élagage (accueil) ---------- */
.phare { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) { .phare { grid-template-columns: 1fr 1.05fr; } }
.phare__visuel { position: relative; }
.phare__visuel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon-l); }
.phare__badge {
  position: absolute; right: -.5rem; bottom: 1.5rem; width: 132px; height: 132px; border-radius: 50%;
  background: var(--terracotta); color: var(--blanc); display: grid; place-items: center; text-align: center;
  font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; line-height: 1; font-size: 1.15rem; letter-spacing: .04em;
  transform: rotate(-8deg); box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.phare__badge span { display: block; font-size: .78rem; letter-spacing: .14em; font-weight: 600; margin-top: .3rem; color: rgba(251,250,246,.85); }
@media (min-width: 960px) { .phare__badge { right: -2rem; width: 150px; height: 150px; font-size: 1.3rem; } }
.liste-interventions { list-style: none; padding: 0; margin: 0 0 2.2rem; border-top: 1px solid var(--ligne-claire); }
.liste-interventions li { border-bottom: 1px solid var(--ligne-claire); }
.liste-interventions a, .liste-interventions .ligne {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center;
  padding: 1rem 0; text-decoration: none;
}
.liste-interventions strong { font-family: var(--f-titre); text-transform: uppercase; font-size: 1.45rem; letter-spacing: .02em; line-height: 1.1; }
.liste-interventions span { grid-column: 1; color: rgba(244,242,235,.68); font-size: var(--t-s); }
.liste-interventions svg { grid-row: 1 / span 2; grid-column: 2; width: 22px; height: 22px; color: var(--sauge); transition: transform .25s var(--ease); }
.liste-interventions a:hover svg { transform: translateX(4px); }

/* ---------- Cartes services ---------- */
.services { display: grid; gap: 1rem; }
@media (min-width: 768px) { .services { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.carte-service {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; padding: 1.5rem; border-radius: var(--rayon-l); overflow: hidden; isolation: isolate;
  color: var(--creme); text-decoration: none; background: var(--foret);
}
.carte-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.carte-service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,36,32,0) 30%, rgba(30,36,32,.88) 100%); }
.carte-service:hover img { transform: scale(1.05); }
.carte-service__icone { position: absolute; top: 1.2rem; left: 1.2rem; width: 52px; height: 52px; border-radius: 50%; background: var(--creme); color: var(--foret); display: grid; place-items: center; }
.carte-service__icone svg { width: 26px; height: 26px; }
.carte-service h3 { margin-bottom: .35rem; font-size: 1.9rem; }
.carte-service p { margin: 0 0 1rem; color: rgba(244,242,235,.85); font-size: var(--t-s); line-height: 1.5; }
.carte-service .lien-fleche { align-self: flex-start; padding-block: .35em; font-size: .95rem; }

/* ---------- Étapes ---------- */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: etape; }
.etape { counter-increment: etape; display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--ligne); }
.etape::before { content: counter(etape, decimal-leading-zero); font-family: var(--f-titre); font-weight: 700; font-size: 2.6rem; line-height: .9; color: var(--terracotta); }
.etape h3 { font-size: 1.55rem; margin-bottom: .3rem; }
.etape p { margin: 0; color: rgba(30,36,32,.75); }
.fond-sombre .etape, .fond-foret .etape { border-color: var(--ligne-claire); }
.fond-sombre .etape p, .fond-foret .etape p { color: rgba(244,242,235,.72); }
.fond-sombre .etape::before, .fond-foret .etape::before { color: var(--sauge); }
@media (min-width: 900px) {
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .etape { grid-template-columns: 1fr; padding-top: 1.8rem; border-top-width: 2px; }
  .etape::before { font-size: 3.6rem; margin-bottom: .5rem; }
}

/* ---------- Réalisations / grilles ---------- */
.grille-ba { display: grid; gap: 2.5rem 1.5rem; }
@media (min-width: 760px) { .grille-ba { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grille-ba--3 { grid-template-columns: repeat(3, 1fr); } }

.filtres { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  flex: none; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--ligne);
  background: transparent; cursor: pointer;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s;
}
.filtre:hover { border-color: var(--anthracite); }
.filtre[aria-pressed="true"] { background: var(--anthracite); color: var(--creme); border-color: var(--anthracite); }

.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.galerie__item { position: relative; padding: 0; border: 0; border-radius: var(--rayon); overflow: hidden; cursor: zoom-in; background: var(--sauge); aspect-ratio: 3 / 4; }
.galerie__item:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie__item:hover img { transform: scale(1.04); }
.galerie__item span { position: absolute; left: .6rem; bottom: .6rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(244,242,235,.9); font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--anthracite); }
.galerie__item[hidden], .grille-ba > [hidden] { display: none; }

.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.visionneuse::backdrop { background: rgba(20,24,21,.92); }
.visionneuse img { max-height: 84vh; width: auto; margin-inline: auto; border-radius: var(--rayon); }
.visionneuse button { position: fixed; top: 1rem; right: 1rem; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--creme); cursor: pointer; display: grid; place-items: center; }
.visionneuse button svg { width: 22px; height: 22px; }

/* ---------- Zone : cernes ---------- */
.zone { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .zone { grid-template-columns: 1.1fr .9fr; } }
.cernes { width: 100%; max-width: 640px; margin-inline: auto; overflow: visible; }
.cernes .cerne { fill: none; stroke: var(--sauge-profond); stroke-width: 1; }
.cernes .cerne--plein { fill: rgba(201,210,190,.35); stroke: none; }
.cernes .km { font-family: var(--f-titre); font-size: 11px; letter-spacing: .1em; fill: var(--sauge-profond); text-transform: uppercase; }
.cernes .ville circle { fill: var(--anthracite); }
.cernes .ville text { font-family: var(--f-titre); font-weight: 600; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; fill: var(--anthracite); paint-order: stroke; stroke: var(--creme); stroke-width: 4px; stroke-linejoin: round; }
.cernes .centre circle { fill: var(--terracotta); }
.cernes .centre text { font-family: var(--f-titre); font-weight: 700; font-size: 16px; letter-spacing: .06em; fill: var(--terracotta); paint-order: stroke; stroke: var(--creme); stroke-width: 5px; }
.fond-sauge .cernes .ville text, .fond-sauge .cernes .centre text { stroke: var(--sauge); }
.villes { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.villes li { padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--ligne); font-size: var(--t-s); background: rgba(251,250,246,.5); }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; padding-top: calc(78px + clamp(2.5rem, 2rem + 4vw, 6rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero__grille { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .page-hero__grille { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.page-hero h1 { font-size: clamp(2.7rem, 1.4rem + 5.5vw, 6.4rem); margin-bottom: .35em; }
.page-hero h1 em { color: var(--terracotta); }
.fond-foret.page-hero h1 em, .fond-sombre.page-hero h1 em { color: var(--sauge); }
.page-hero__visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-l); }
.fil { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.8rem; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; font-family: var(--f-titre); font-weight: 600; }
.fil li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.fil a { text-decoration: none; opacity: .7; }
.fil a:hover { opacity: 1; }
.points-cles { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.points-cles li { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; font-size: var(--t-s); }
.points-cles svg { width: 20px; height: 20px; color: var(--terracotta); }
.fond-foret .points-cles svg, .fond-sombre .points-cles svg { color: var(--sauge); }

/* ---------- Diagramme élagage ---------- */
.diagramme { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .diagramme { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.onglets { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1.5rem; padding-bottom: .25rem; }
.onglets::-webkit-scrollbar { display: none; }
.onglet {
  flex: none; min-height: 46px; padding: .5rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--ligne-claire); background: transparent; color: var(--creme); cursor: pointer;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem;
}
.onglet[aria-selected="true"] { background: var(--sauge); color: var(--anthracite); border-color: var(--sauge); }
.panneau h3 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.panneau dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.2rem; margin: 1.5rem 0 0; }
.panneau dt { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .1em; color: var(--sauge); font-weight: 600; font-size: .95rem; padding-top: .15rem; }
.panneau dd { margin: 0; color: rgba(244,242,235,.82); }
.arbre-svg { width: 100%; max-width: 520px; margin-inline: auto; }
.arbre-svg .g { transition: opacity .4s var(--ease), stroke .4s, fill .4s; }
.arbre-svg [data-calque] { stroke: rgba(244,242,235,.38); }
.arbre-svg .tronc { fill: rgba(244,242,235,.38); stroke: none; }
.arbre-svg .sol { stroke: rgba(244,242,235,.3); }
.arbre-svg .couronne-actuelle { fill: rgba(201,210,190,.08); stroke: rgba(244,242,235,.22); stroke-dasharray: 4 6; }
.arbre-svg .couronne-cible { fill: none; stroke: transparent; stroke-dasharray: 2 6; stroke-width: 2.5; }
.arbre-svg .mort { stroke-dasharray: 5 5; }
.arbre-svg .coupe { stroke: transparent; stroke-width: 3; }
.arbre-svg .corde { stroke: transparent; stroke-width: 2; stroke-dasharray: 1 5; }
[data-actif="douce"] .arbre-svg [data-calque~="douce"],
[data-actif="reduction"] .arbre-svg [data-calque~="reduction"],
[data-actif="releve"] .arbre-svg [data-calque~="releve"],
[data-actif="demontage"] .arbre-svg [data-calque~="demontage"],
[data-actif="dessouchage"] .arbre-svg [data-calque~="dessouchage"] { stroke: var(--terracotta); }
[data-actif="reduction"] .arbre-svg .couronne-cible { stroke: var(--sauge); }
[data-actif="demontage"] .arbre-svg .tronc, [data-actif="dessouchage"] .arbre-svg .souche-fill { fill: var(--terracotta); }
[data-actif="demontage"] .arbre-svg .corde { stroke: var(--sauge); }
[data-actif="reduction"] .arbre-svg .couronne-actuelle { fill: rgba(180,72,58,.14); stroke: var(--terracotta); }
[data-actif="reduction"] .arbre-svg .couronne-cible { fill: rgba(201,210,190,.10); stroke-dasharray: none; }
.arbre-legende { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1rem 0 0; font-size: var(--t-s); color: rgba(244,242,235,.8); }
.arbre-legende span { display: inline-flex; align-items: center; gap: .5rem; }
.arbre-legende i { width: 22px; height: 4px; border-radius: 2px; }
.arbre-legende__retire { background: var(--terracotta); }
.arbre-legende__garde { background: rgba(244,242,235,.38); }
.arbre-legende__cible { background: var(--sauge); }
.arbre-legende__cible-l { display: none !important; }
[data-actif="reduction"] .arbre-legende__cible-l { display: inline-flex !important; }

/* Calendrier */
.calendrier { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; margin-top: 1.5rem; }
.mois { text-align: center; }
.mois b { display: block; height: 38px; border-radius: 6px; background: var(--blanc); }
.mois--ok b { background: var(--foret); }
.mois--eviter b { background: repeating-linear-gradient(135deg, rgba(180,72,58,.18) 0 6px, rgba(180,72,58,.32) 6px 12px); }
.mois span { display: block; margin-top: .4rem; font-family: var(--f-titre); font-weight: 600; font-size: clamp(.62rem, .5rem + .5vw, .82rem); overflow: hidden; text-transform: uppercase; letter-spacing: .04em; }
.legende-cal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1rem; font-size: var(--t-s); }
.legende-cal i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .4rem; }

/* ---------- Grille contenu / listes ---------- */
.deux-col { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .deux-col { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.liste-coches li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--ligne); }
.liste-coches svg { width: 24px; height: 24px; color: var(--foret); margin-top: .1rem; }
.liste-coches strong { display: block; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .03em; font-size: 1.25rem; line-height: 1.15; margin-bottom: .15rem; }
.liste-coches span { color: rgba(30,36,32,.75); font-size: var(--t-s); }
.fond-foret .liste-coches, .fond-foret .liste-coches li, .fond-sombre .liste-coches, .fond-sombre .liste-coches li { border-color: var(--ligne-claire); }
.fond-foret .liste-coches svg, .fond-sombre .liste-coches svg { color: var(--sauge); }
.fond-foret .liste-coches span, .fond-sombre .liste-coches span { color: rgba(244,242,235,.72); }

.atouts { display: grid; gap: 1rem; }
@media (min-width: 768px) { .atouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .atouts { grid-template-columns: repeat(4, 1fr); } }
.atout { padding: 1.6rem; border-radius: var(--rayon-l); background: var(--blanc); border: 1px solid var(--ligne); }
.atout svg { width: 36px; height: 36px; color: var(--terracotta); margin-bottom: 1rem; }
.atout h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.atout p { margin: 0; font-size: var(--t-s); color: rgba(30,36,32,.75); }

.photo-arrondie { width: 100%; border-radius: var(--rayon-l); object-fit: cover; aspect-ratio: 4 / 3; }
.duo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duo-photos img { aspect-ratio: 3 / 4; }
.duo-photos img:nth-child(2) { margin-top: 3rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; min-height: 44px;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); letter-spacing: .02em; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.5rem; max-width: 62ch; color: rgba(30,36,32,.82); }

/* ---------- Appel final ---------- */
.appel { position: relative; overflow: hidden; }
.appel__in { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .appel__in { grid-template-columns: 1.3fr .7fr; } }
.appel h2 { font-size: clamp(2.6rem, 1.5rem + 5vw, 6rem); margin: 0; }
.appel h2 em { color: var(--sauge); }
.appel__embleme { position: absolute; right: -8vw; top: 50%; width: min(56vw, 640px); transform: translateY(-50%); opacity: .07; pointer-events: none; color: var(--creme); }
.appel__tel { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--f-titre); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem); text-decoration: none; letter-spacing: .02em; line-height: 1; margin-bottom: 1.2rem; }
.appel__tel:hover { color: var(--sauge); }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: rgba(244,242,235,.78); padding-top: clamp(3.5rem, 3rem + 3vw, 6rem); font-size: var(--t-s); }
.pied__grille { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--ligne-claire); }
@media (min-width: 800px) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.pied__logo { height: 54px; width: auto; margin-bottom: 1.2rem; }
.pied h2 { font-size: 1.05rem; letter-spacing: .14em; color: var(--sauge); margin-bottom: 1rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.pied a { text-decoration: none; display: inline-block; padding: .3rem 0; }
.pied a:hover { color: var(--creme); }
.pied__contact a { display: flex; gap: .6rem; align-items: center; }
.pied__contact svg { width: 18px; height: 18px; color: var(--sauge); flex: none; }
.pied { padding-bottom: var(--barre-mobile); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; font-size: var(--t-xs); color: rgba(244,242,235,.5); }

/* ---------- Formulaire devis ---------- */
.devis { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .devis { grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: start; } }
.formulaire { background: var(--blanc); border-radius: var(--rayon-l); padding: clamp(1.25rem, 1rem + 2vw, 2.75rem); border: 1px solid var(--ligne); }
.progression { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.progression li { flex: 1; }
.progression b { display: block; height: 4px; border-radius: 4px; background: var(--ligne); overflow: hidden; position: relative; }
.progression b::after { content: ""; position: absolute; inset: 0; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.progression .fait b::after, .progression .courant b::after { transform: scaleX(1); }
.progression span { display: block; margin-top: .5rem; font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: rgba(30,36,32,.5); }
.progression .courant span { color: var(--anthracite); }
.etape-form { border: 0; padding: 0; margin: 0; min-width: 0; }
.etape-form[hidden] { display: none; }
.etape-form legend { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1; margin-bottom: 1.4rem; padding: 0; }
.choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .65rem; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; }
.choix span {
  display: flex; flex-direction: column; gap: .6rem; min-height: 112px; padding: 1rem;
  border: 1.5px solid var(--ligne); border-radius: var(--rayon); background: var(--creme);
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.12rem; line-height: 1.1;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.choix span svg { width: 30px; height: 30px; color: var(--foret); }
.choix .choix--phare span { background: var(--sauge); }
.choix input:checked + span { border-color: var(--terracotta); box-shadow: 0 0 0 2px var(--terracotta) inset; background: var(--blanc); }
.choix input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.champs { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .champs--2 { grid-template-columns: 1fr 1fr; } }
.champ label, .champ .label { display: block; font-weight: 600; font-size: var(--t-s); margin-bottom: .4rem; }
.champ label small { font-weight: 400; color: rgba(30,36,32,.6); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 10px; border: 1.5px solid var(--ligne); background: var(--creme);
  font-size: 1rem; transition: border-color .2s, background .2s;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--foret); background: var(--blanc); }
.champ [aria-invalid="true"] { border-color: var(--terracotta); }
.erreur { color: var(--terracotta); font-size: var(--t-s); margin-top: .35rem; font-weight: 500; }
.pastilles { display: flex; flex-wrap: wrap; gap: .5rem; }
.pastilles label { position: relative; }
.pastilles input { position: absolute; opacity: 0; }
.pastilles span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 999px; border: 1.5px solid var(--ligne); cursor: pointer; font-weight: 500; background: var(--creme); }
.pastilles input:checked + span { background: var(--anthracite); color: var(--creme); border-color: var(--anthracite); }
.pastilles input:focus-visible + span { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; font-size: var(--t-s); color: rgba(30,36,32,.75); }
.consent input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--foret); }
.nav-form { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2rem; }
.nav-form .btn--contour { color: var(--anthracite); }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { padding: 1.25rem; border-radius: var(--rayon); margin-top: 1.5rem; }
.form-message--ok { background: var(--sauge); }
.form-message--ko { background: rgba(180,72,58,.12); color: var(--terracotta-fonce); }
.carte-contact { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--rayon-l); }
.carte-contact h2 { font-size: 2rem; }
.carte-contact ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .25rem; }
.carte-contact li a, .carte-contact li span { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; text-decoration: none; }
.carte-contact svg { width: 22px; height: 22px; color: var(--sauge); flex: none; }

/* ---------- Divers ---------- */
.texte-long { max-width: 70ch; }
.texte-long h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin-top: 2.5rem; }
.avis-a-venir { display: grid; gap: 1rem; align-items: center; padding: 2rem; border: 1.5px dashed var(--sauge-profond); border-radius: var(--rayon-l); text-align: center; }
.avis-a-venir svg { width: 44px; height: 44px; margin-inline: auto; color: var(--sauge-profond); }
.marquee { overflow: hidden; border-block: 1px solid var(--ligne); padding-block: 1.1rem; white-space: nowrap; }
.marquee__piste { display: inline-flex; gap: 2.5rem; animation: defile 38s linear infinite; }
.marquee span { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 2vw, 2.4rem); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee span::after { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--terracotta); }
@keyframes defile { to { transform: translateX(-50%); } }

/* Apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .apparait.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
  .marquee__piste { animation: none; }
}

/* Les colonnes de grille ne doivent jamais imposer leur contenu (onglets, filtres défilants) */
.diagramme > *, .deux-col > *, .phare > *, .zone > *, .devis > *, .page-hero__grille > *, .appel__in > * { min-width: 0; }

/* Hero : poignée au-dessus du titre, texte lisible sur mobile */
.hero .ba__poignee { top: 26%; }
.hero .surtitre { color: var(--sauge); }
@media (max-width: 767px) {
  .hero .ba::after { background: linear-gradient(180deg, rgba(20,24,21,.55) 0%, rgba(20,24,21,.05) 18%, rgba(20,24,21,.35) 38%, rgba(20,24,21,.88) 62%, rgba(20,24,21,.96) 100%); }
  .cernes .ville text { font-size: 22px; stroke-width: 6px; }
  .cernes .centre text { font-size: 22px; }
  .cernes .km { font-size: 16px; }
  .cernes .ville--secondaire { display: none; }
}
@media (min-width: 960px) { .onglets { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 767px) {
  .choix { grid-template-columns: 1fr 1fr; }
  .choix span { min-height: 96px; font-size: 1.02rem; padding: .85rem; }
}

/* =========================================================
   HERO ACCUEIL (v2) — photo plein écran, texte calé en bas
   ========================================================= */
html, body { overflow-x: clip; }
.hero2 {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(600px, 100svh); max-height: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--creme); background: var(--anthracite);
}
@media (min-width: 768px) { .hero2 { min-height: clamp(640px, 100svh, 920px); } }
.hero2__fond { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero2__fond img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; will-change: transform; }
@media (min-width: 768px) { .hero2__fond img { height: 112%; object-position: 72% 30%; } }
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,24,21,.55) 0%, rgba(20,24,21,0) 16%),
    linear-gradient(0deg, rgba(20,24,21,.97) 0%, rgba(20,24,21,.88) 34%, rgba(20,24,21,.35) 62%, rgba(20,24,21,0) 80%);
}
@media (min-width: 768px) {
  .hero2::before {
    background:
      linear-gradient(180deg, rgba(20,24,21,.5) 0%, rgba(20,24,21,0) 14%),
      linear-gradient(90deg, rgba(20,24,21,.9) 0%, rgba(20,24,21,.72) 34%, rgba(20,24,21,.15) 62%, rgba(20,24,21,0) 75%),
      linear-gradient(0deg, rgba(20,24,21,.7) 0%, rgba(20,24,21,0) 40%);
  }
}
.hero2__contenu {
  padding-top: calc(96px + env(safe-area-inset-top));
  padding-bottom: calc(clamp(2.2rem, 1.5rem + 3vw, 5rem) + env(safe-area-inset-bottom));
  min-width: 0;
}
.hero2__contenu > * { max-width: 100%; min-width: 0; }
.hero2__sur {
  display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--sauge);
}
.hero2__embleme { width: 30px; height: 30px; flex: none; color: var(--sauge); }
.hero2__titre {
  font-size: clamp(2.75rem, 1.1rem + 7.4vw, 7.5rem); line-height: .92; letter-spacing: .005em;
  margin: 0 0 1rem; max-width: 12ch; overflow-wrap: normal; word-break: normal; hyphens: none;
}
.hero2__titre .l { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero2__titre .l > span { display: inline-block; max-width: 100%; }
.hero2__titre em { color: var(--sauge); font-size: .96em; }
.hero2__sous { font-size: clamp(1.02rem, .95rem + .4vw, 1.3rem); line-height: 1.45; color: rgba(244,242,235,.9); max-width: 34em; margin: 0 0 1.6rem; }
.hero2__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.hero2__btn { min-width: 0; }
.hero2__appel {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; text-decoration: none; color: var(--creme);
  font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .06em; font-size: 1.08rem; font-weight: 500;
}
.hero2__appel svg { width: 20px; height: 20px; color: var(--sauge); flex: none; }
.hero2__appel strong { font-weight: 700; }
.hero2__appel:hover strong { color: var(--sauge); }
@media (min-width: 768px) {
  .hero2__appel { min-height: 52px; padding: 0 1.4rem; border: 2px solid rgba(244,242,235,.7); border-radius: 999px; }
  .hero2__appel:hover { background: var(--creme); color: var(--anthracite); border-color: var(--creme); }
  .hero2__appel:hover strong, .hero2__appel:hover svg { color: var(--anthracite); }
}
@media (max-width: 767px) {
  .hero2__cta { flex-direction: column; align-items: stretch; gap: .35rem; }
  .hero2__btn { width: 100%; }
  .hero2__appel { justify-content: center; }
}
.hero2__garanties {
  display: flex; gap: .5rem; list-style: none; margin: 1.4rem 0 0; padding: 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%;
}
.hero2__garanties::-webkit-scrollbar { display: none; }
.hero2__garanties li {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(244,242,235,.12); border: 1px solid rgba(244,242,235,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .9rem; font-weight: 500; white-space: nowrap;
}
.hero2__garanties svg { width: 16px; height: 16px; color: var(--sauge); }

/* Entrée : purement CSS (rien n'est caché si le JS échoue), < 900 ms */
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fondu { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero2__titre .l > span { animation: monte .62s var(--ease) both; }
.hero2__titre .l:nth-child(2) > span { animation-delay: .09s; }
.hero2__sur { animation: fondu .5s var(--ease) both; }
.hero2__sous { animation: fondu .5s .22s var(--ease) both; }
.hero2__cta { animation: fondu .5s .3s var(--ease) both; }
.hero2__garanties { animation: fondu .5s .36s var(--ease) both; }
.hero2__embleme path, .hero2__embleme circle { stroke-dasharray: 1; stroke-dashoffset: 0; animation: trace .85s .05s ease-out both; }

/* En-tête mobile : logo + menu seulement (le téléphone est dans la barre du bas) */
@media (max-width: 767px) { .entete__tel { display: none; } }

/* Barre mobile : jamais tronquée */
@media (max-width: 767px) {
  .barre-mobile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .barre-mobile .btn { min-width: 0; white-space: nowrap; letter-spacing: .03em; padding-inline: .5em; }
}
@media (max-width: 359px) { .barre-mobile .btn svg { display: none; } }

/* Grand comparateur sous le hero */
.ba--plein { aspect-ratio: 3 / 2; max-height: 80vh; width: 100%; }
@media (max-width: 767px) { .ba--plein { aspect-ratio: 4 / 5; } .ba--plein img { object-position: 60% 50%; } }
@media (max-width: 767px) {
  .hero2 { min-height: max(560px, calc(100svh - var(--barre-mobile))); }
  .hero2__titre { font-size: clamp(2.75rem, 1.4rem + 6.5vw, 3.4rem); }
  .hero2__sous { margin-bottom: 1.2rem; }
  .hero2__garanties { margin-top: 1rem; }
}
.hero2__titre { font-size: clamp(2.75rem, 1.1rem + 6.4vw, 6.6rem); }
.hero2__sur, .hero2__titre, .hero2__sous { text-shadow: 0 1px 18px rgba(10,14,11,.55); }
@media (max-width: 420px) { .hero2__garanties li { font-size: .82rem; padding: .35rem .7rem; } .hero2__garanties { gap: .35rem; } }

/* Onglets : fondu à droite + aimantation */
.onglets { scroll-snap-type: x mandatory; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2rem; }
.onglet { scroll-snap-align: start; }
@media (min-width: 960px) { .onglets { -webkit-mask-image: none; mask-image: none; padding-right: 0; } }

/* =========================================================
   WhatsApp flottant
   ========================================================= */
.wa {
  position: fixed; z-index: 95; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.12);
  animation: wa-entree .5s 2s var(--ease) both, wa-pouls 2.6s 3s ease-in-out infinite;
  transition: transform .25s var(--ease);
}
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: scale(1.06); }
.wa:focus-visible { outline: 3px solid var(--anthracite); outline-offset: 3px; }
.wa__bulle {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; background: var(--anthracite); color: var(--creme); padding: .5rem .85rem; border-radius: 10px;
  font-size: .9rem; font-weight: 500; transition: opacity .2s, transform .2s var(--ease);
}
@media (hover: hover) { .wa:hover .wa__bulle, .wa:focus-visible .wa__bulle { opacity: 1; transform: translate(0, -50%); } }
@keyframes wa-entree { from { opacity: 0; transform: scale(.4) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes wa-pouls { 0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 0 0 0 rgba(37,211,102,.45); } 50% { box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 0 0 12px rgba(37,211,102,0); } }
@media (max-width: 767px) {
  .wa { width: 52px; height: 52px; right: .8rem; bottom: calc(68px + .75rem + env(safe-area-inset-bottom)); }
  .wa svg { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) { .wa { animation: none; } }

/* =========================================================
   Carte Leaflet
   ========================================================= */
.carte-bloc { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .carte-bloc:not(.carte-bloc--compacte) { grid-template-columns: 1.6fr 1fr; align-items: stretch; } }
.carte { position: relative; height: 60vh; min-height: 380px; max-height: 680px; border-radius: var(--rayon-l); overflow: hidden; background: #E9EBE2; border: 1px solid var(--ligne); z-index: 0; }
.carte-bloc--compacte .carte { height: 420px; min-height: 0; }
@media (max-width: 767px) { .carte-bloc--compacte .carte { height: 340px; } }
.carte__attente { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .1em; color: var(--sauge-profond); }
.carte.est-prete .carte__attente { display: none; }
.carte__voile {
  position: absolute; inset: 0; z-index: 500; border: 0; width: 100%; cursor: pointer;
  background: rgba(30,36,32,.28); color: var(--creme);
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem;
}
.carte__voile[hidden] { display: none; }
.carte .leaflet-tile-pane { filter: grayscale(.55) sepia(.22) hue-rotate(38deg) saturate(.85) brightness(1.04) contrast(.92); }
.carte .leaflet-container, .carte.leaflet-container { font-family: var(--f-texte); background: #E9EBE2; }
.carte .leaflet-control-zoom { border: 0 !important; box-shadow: 0 4px 14px rgba(0,0,0,.14) !important; border-radius: 12px !important; overflow: hidden; }
.carte .leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; background: var(--creme) !important; color: var(--anthracite) !important; font-size: 20px !important; border-color: var(--ligne) !important; }
.carte .leaflet-control-zoom a:hover { background: var(--sauge) !important; }
.carte .leaflet-control-attribution { background: rgba(244,242,235,.85) !important; font-size: 10px; }
.carte .leaflet-popup-content-wrapper { border-radius: 14px; background: var(--creme); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.carte .leaflet-popup-tip { background: var(--creme); }
.carte .leaflet-popup-content { margin: .9rem 1.1rem; font-size: .95rem; line-height: 1.4; }
.carte .leaflet-popup-content strong { display: block; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .03em; font-size: 1.2rem; margin-bottom: .1rem; }
.carte .leaflet-popup-content small { color: rgba(30,36,32,.65); display: block; margin-bottom: .5rem; }
.carte .leaflet-popup-content a.pop-lien { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--terracotta); color: var(--blanc); text-decoration: none; font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.carte .leaflet-popup-content a.pop-lien:hover { background: var(--terracotta-fonce); }
.marq-ville { width: 14px; height: 14px; border-radius: 50%; background: var(--anthracite); border: 3px solid var(--creme); box-shadow: 0 1px 4px rgba(0,0,0,.35); transition: transform .2s; }
.marq-ville:hover, .marq-ville.est-actif { transform: scale(1.35); background: var(--terracotta); }
.marq-siege { width: 54px; height: 54px; border-radius: 50%; background: var(--anthracite); color: var(--sauge); border: 3px solid var(--terracotta); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.marq-siege svg { width: 38px; height: 38px; }
.carte-liste { display: flex; flex-direction: column; min-height: 0; }
.carte-recherche span { display: block; font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; margin-bottom: .5rem; }
.carte-recherche input { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--ligne); background: var(--blanc); font-size: 1rem; }
.carte-recherche input:focus { outline: none; border-color: var(--foret); }
.carte-resultat { min-height: 1.6em; margin: .6rem 0; font-weight: 500; font-size: var(--t-s); }
.carte-resultat.ok { color: var(--foret); }
.carte-resultat.ko { color: var(--terracotta-fonce); }
.carte-villes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; overflow-y: auto; max-height: 470px; padding-right: .3rem; }
@media (max-width: 959px) { .carte-villes { max-height: 300px; } }
.carte-villes button {
  width: 100%; min-height: 44px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .45rem .75rem; border-radius: 10px; border: 1px solid var(--ligne); background: var(--blanc); cursor: pointer; font-size: .92rem;
}
.carte-villes button small { color: rgba(30,36,32,.55); font-size: .78rem; white-space: nowrap; }
.carte-villes button:hover, .carte-villes button[aria-pressed="true"] { border-color: var(--terracotta); background: var(--creme); }
.carte-villes li[hidden] { display: none; }

/* Pied : carte compacte et WhatsApp */
.pied__wa { color: #25D366 !important; }

/* =========================================================
   Accueil v2 : manifeste, chiffres, comparatif, simulateur
   ========================================================= */
.manifeste { gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
.manifeste__texte { max-width: none; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 2px solid var(--anthracite); }
@media (min-width: 900px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffre { padding: 1.4rem 1rem 1.2rem 0; border-bottom: 1px solid var(--ligne); }
@media (min-width: 900px) { .chiffre { border-bottom: 0; padding-right: 2rem; } .chiffre + .chiffre { border-left: 1px solid var(--ligne); padding-left: 2rem; } }
.chiffre dt { display: flex; align-items: baseline; gap: .12em; font-family: var(--f-titre); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); line-height: 1; color: var(--foret); font-variant-numeric: tabular-nums; }
.chiffre .unite { font-size: .62em; }
.chiffre dd { margin: .5rem 0 0; color: rgba(30,36,32,.78); font-size: var(--t-s); max-width: 22ch; }
.ba-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; margin: 1rem 0 0; font-size: var(--t-s); color: rgba(30,36,32,.65); }

/* Dévoilement en masque (clip-path) */
.js .revele { clip-path: inset(0 0 100% 0 round var(--rayon-l)); transition: clip-path 1.1s var(--ease); }
.js .revele img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js .revele.est-visible { clip-path: inset(0 0 0 0 round var(--rayon-l)); }
.js .revele.est-visible img { transform: none; }

/* Comparatif arboriste */
.comparatif { border-top: 1px solid var(--ligne-claire); }
.comparatif__entete { display: none; }
.comparatif__ligne { display: grid; gap: .5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--ligne-claire); }
.comparatif__ligne strong { font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .03em; font-size: 1.35rem; line-height: 1.1; }
.comparatif__a { color: rgba(244,242,235,.55); font-size: var(--t-s); }
.comparatif__a::before { content: "Entretien classique : "; font-weight: 600; }
.comparatif__b { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; color: var(--creme); }
.comparatif__b svg { width: 22px; height: 22px; color: var(--sauge); margin-top: .15rem; }
@media (min-width: 900px) {
  .comparatif__entete, .comparatif__ligne { display: grid; grid-template-columns: .8fr 1fr 1.3fr; gap: 2.5rem; align-items: start; }
  .comparatif__entete { padding: 0 0 1rem; font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; color: var(--sauge); }
  .comparatif__entete span:last-child { color: var(--creme); }
  .comparatif__a::before { content: none; }
  .comparatif__ligne { padding: 1.6rem 0; }
}

/* Simulateur */
.simu { display: grid; gap: 2rem; align-items: start; background: var(--blanc); border-radius: var(--rayon-l); padding: clamp(1rem, .5rem + 2.5vw, 2.5rem); }
@media (min-width: 960px) { .simu { grid-template-columns: .9fr 1.1fr; gap: 3rem; } .simu__scene { position: sticky; top: 100px; } }
.simu > * { min-width: 0; }
.simu__scene { background: linear-gradient(180deg, #EEF1E8 0%, var(--creme) 100%); border-radius: var(--rayon); padding: .5rem; }
.simu__svg { width: 100%; height: auto; }
.simu__sol { stroke: var(--sauge-profond); stroke-width: 2; }
.simu__maison path, .simu__maison rect { fill: var(--sauge); stroke: var(--anthracite); stroke-width: 1.5; }
.simu__maison path:nth-child(2) { fill: none; stroke-width: 2.5; }
.simu__maison text, .simu__regle text { font-family: var(--f-titre); font-size: 15px; letter-spacing: .06em; fill: rgba(30,36,32,.65); text-transform: uppercase; }
.simu__regle line { stroke: rgba(30,36,32,.18); stroke-dasharray: 2 4; }
.simu__tronc { fill: #6B5A48; }
.simu__couronne { fill: var(--foret); transition: d .45s var(--ease); }
.simu__arbre { transition: transform .45s var(--ease); }
.simu__hauteur { font-family: var(--f-titre); font-weight: 700; font-size: 22px; fill: var(--terracotta); }
.simu__champs { display: grid; gap: 1.3rem; }
.simu__groupe { border: 0; padding: 0; margin: 0; min-width: 0; }
.simu__groupe legend, .simu__label { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.15rem; margin-bottom: .6rem; padding: 0; display: block; }
.simu__label output { color: var(--terracotta); }
.simu input[type="range"] { width: 100%; accent-color: var(--terracotta); height: 44px; }
.simu__resultat { border-top: 2px solid var(--anthracite); padding-top: 1.2rem; }
.simu__reco { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1; margin-bottom: .8rem; }
.simu__reco em { font-family: var(--f-accent); text-transform: none; font-weight: 400; color: var(--terracotta); }
.simu__details { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .45rem; }
.simu__details li { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; font-size: var(--t-s); }
.simu__details svg { width: 18px; height: 18px; color: var(--foret); margin-top: .2rem; }
.simu__note { font-size: var(--t-xs); color: rgba(30,36,32,.6); margin: .8rem 0 0; }
@media (max-width: 767px) { .simu__cta { width: 100%; } }

/* =========================================================
   Transitions entre pages (View Transitions API, repli : aucun)
   ========================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-entree .42s var(--ease) both; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(16px); } }
.entete { view-transition-name: entete; }
.barre-mobile { view-transition-name: barre; }
.wa { view-transition-name: wa; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Grain papier très léger (desktop seulement) */
@media (min-width: 900px) and (pointer: fine) {
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* Particules (feuilles) dans le hero */
.particules { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.particules-bouton {
  position: absolute; right: var(--gouttiere); bottom: calc(1.2rem + env(safe-area-inset-bottom)); z-index: 2;
  min-height: 36px; padding: .3rem .8rem; border-radius: 999px; border: 1px solid rgba(244,242,235,.3); background: rgba(20,24,21,.35); color: var(--creme);
  font-family: var(--f-titre); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; cursor: pointer; backdrop-filter: blur(6px);
}
@media (max-width: 767px) { .particules-bouton { display: none; } }
@media (prefers-reduced-motion: reduce) { .particules, .particules-bouton { display: none; } }

/* Boutons magnétiques */
@media (pointer: fine) { .btn { will-change: transform; } }

/* =========================================================
   MENU MOBILE (v2) — panneau circulaire depuis le burger
   ========================================================= */
.burger { position: relative; z-index: 2; color: inherit; }
.burger__traits { position: relative; display: block; width: 24px; height: 16px; }
.burger__traits i { position: absolute; left: 0; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .2s, width .3s; }
.burger__traits i:nth-child(1) { top: 0; }
.burger__traits i:nth-child(2) { top: 7px; width: 17px; }
.burger__traits i:nth-child(3) { top: 14px; }
.burger[aria-expanded="true"] .burger__traits i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__traits i:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] .burger__traits i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

html.menu-ouvert .entete { z-index: 160; background: transparent !important; box-shadow: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--creme); transform: none !important; }
html.menu-ouvert .entete .logo-blanc { opacity: 1; }
html.menu-ouvert .entete .logo-couleur { opacity: 0; }
html.menu-ouvert .barre-mobile, html.menu-ouvert .wa { opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .2s, transform .2s; }

.menu {
  --cx: calc(100% - 40px); --cy: 39px;
  position: fixed; inset: 0; z-index: 150; color: var(--creme);
  background-color: var(--foret);
  background-image: radial-gradient(120% 70% at 100% 0%, rgba(201,210,190,.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
  display: flex; flex-direction: column;
  padding: calc(78px + env(safe-area-inset-top)) var(--gouttiere) 0;
  clip-path: circle(0px at var(--cx) var(--cy));
  transition: clip-path .32s cubic-bezier(.7,0,.84,0);
  overflow: hidden;
}
.menu[hidden] { display: none; }
.menu.est-ouvert { clip-path: circle(150vmax at var(--cx) var(--cy)); transition: clip-path .46s cubic-bezier(.16,1,.3,1); }
/* fin d’ouverture : plus de clip-path (certains Android/Samsung affichaient le menu incomplet) */
.menu.est-ouvert.est-plein { clip-path: none; }
.menu__filigrane { position: absolute; width: 130vw; max-width: 720px; right: -38vw; bottom: 8vh; opacity: .05; color: var(--creme); pointer-events: none; z-index: 0; }
.menu__defile { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: .7rem; padding-bottom: .8rem; scrollbar-width: none; }
.menu__defile::-webkit-scrollbar { display: none; }

/* cascade */
.menu__vedette, .menu__tuiles li, .menu__liens, .menu__pied { opacity: 0; transform: translateY(14px); transition: opacity .35s var(--ease), transform .45s cubic-bezier(.16,1,.3,1); }
.menu.est-ouvert .menu__vedette, .menu.est-ouvert .menu__tuiles li, .menu.est-ouvert .menu__liens, .menu.est-ouvert .menu__pied { opacity: 1; transform: none; transition-delay: calc(120ms + var(--i, 0) * 40ms); }

.menu__vedette {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; flex: none;
  min-height: clamp(128px, 21vh, 190px); padding: 1rem 1.1rem; border-radius: 18px; text-decoration: none; color: var(--creme);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.menu__vedette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.menu__vedette::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,24,21,.05) 0%, rgba(20,24,21,.45) 45%, rgba(20,24,21,.9) 100%); }
.menu__vedette-titre { font-family: var(--f-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.2rem); line-height: .95; padding-right: 3rem; }
.menu__vedette-sous { font-size: .84rem; color: rgba(244,242,235,.85); margin-top: .3rem; padding-right: 3rem; }
.menu__fleche { position: absolute; right: .9rem; bottom: .9rem; width: 42px; height: 42px; border-radius: 50%; background: var(--creme); color: var(--anthracite); display: grid; place-items: center; }
.menu__fleche svg { width: 20px; height: 20px; }
.menu__vedette[aria-current="page"] { box-shadow: 0 0 0 2px var(--terracotta), 0 10px 30px rgba(0,0,0,.25); }

.menu__tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; flex: none; }
.menu__tuile {
  position: relative; display: flex; align-items: center; gap: .65rem; min-height: 60px; padding: .7rem .85rem; border-radius: 14px;
  background: rgba(244,242,235,.08); border: 1px solid rgba(244,242,235,.1); text-decoration: none;
  font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem;
  transition: transform .15s var(--ease), background .2s;
}
.menu__tuile svg { width: 26px; height: 26px; color: var(--sauge); flex: none; }
.menu__tuile:active, .menu__vedette:active, .menu__rond:active, .menu__devis:active { transform: scale(.97); }
.menu__tuile[aria-current="page"] { background: rgba(244,242,235,.16); border-color: var(--terracotta); }
.menu__tuile[aria-current="page"]::after { content: ""; position: absolute; top: .55rem; right: .55rem; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }

.menu__liens { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; flex: none; }
.menu__liens a { display: flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; font-weight: 500; font-size: 1rem; color: rgba(244,242,235,.88); border-bottom: 1px solid rgba(244,242,235,.1); }
.menu__liens a[aria-current="page"] { color: var(--creme); }
.menu__liens a[aria-current="page"]::before { content: ""; width: 14px; height: 2px; background: var(--terracotta); }

.menu__pied { position: relative; z-index: 1; flex: none; display: grid; gap: .55rem; padding: .8rem 0 calc(.9rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(244,242,235,.12); }
.menu__devis { width: 100%; }
.menu__rangee { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.menu__rond { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 999px; text-decoration: none; font-family: var(--f-titre); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; transition: transform .15s var(--ease); }
.menu__rond svg { width: 20px; height: 20px; }
.menu__rond--tel { background: var(--creme); color: var(--anthracite); }
.menu__rond--wa { background: #25D366; color: #fff; }
.menu__infos { margin: 0; text-align: center; font-size: .8rem; color: var(--sauge); }

@media (max-height: 700px) {
  .menu__vedette { min-height: 112px; }
  .menu__tuile { min-height: 52px; }
}
@media (min-width: 1181px) { .menu { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .menu, .menu.est-ouvert { clip-path: none; opacity: 0; transition: opacity .2s; }
  .menu.est-ouvert { opacity: 1; }
  .menu__vedette, .menu__tuiles li, .menu__liens, .menu__pied { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.scroll-bloque body { position: fixed; left: 0; right: 0; overflow: hidden; }


/* =========================================================
   PASSE SYSTÈME (revue mobile n°2)
   ========================================================= */
/* Un seul fond clair : crème. « fond-blanc » ne crée plus de bande. */
.fond-blanc { background: var(--creme); }
/* Deux sections claires consécutives : pas de double espacement */
:is(.section:not(.fond-sombre):not(.fond-foret):not(.fond-sauge), .page-hero:not(.fond-sombre):not(.fond-foret))
  + .section:not(.fond-sombre):not(.fond-foret):not(.fond-sauge) { padding-top: 0; }
.marquee + .section { padding-top: var(--section); }
/* Pas de marge parasite en début et fin de section */
.section > .conteneur > :first-child, .section > .conteneur > :first-child > :first-child { margin-top: 0; }
.section > .conteneur > :last-child, .section > .conteneur > :last-child > :last-child,
.section p:last-child, .entete-section:last-child { margin-bottom: 0; }
.deux-col > div > :last-child, .apparait > :last-child { margin-bottom: 0; }

/* Barre mobile : Appeler · WhatsApp · Devis */
@media (max-width: 767px) {
  .wa--flottant { display: none; }
  .barre-mobile { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, 1.35fr); gap: .4rem; padding-inline: .5rem; }
  .barre-mobile .btn { font-size: .95rem; padding-inline: .35em; gap: .35em; }
  .barre-mobile .btn svg { width: 1.15em; height: 1.15em; }
  .barre-mobile__wa { --bg: #25D366; --fg: #fff; }
  .barre-mobile__wa:hover { --bg: #1EBE5A; }
  .barre-mobile__wa svg { width: 1.25em !important; height: 1.25em !important; }
}
@media (max-width: 359px) { .barre-mobile .btn { font-size: .88rem; } }

/* Pastilles du hero : retour à la ligne, jamais coupées */
.hero2__garanties { flex-wrap: wrap; overflow: visible; }
@media (max-width: 767px) { .hero2__garanties { justify-content: flex-start; } }

/* Photo « Ce qui est compris » : une seule image 4:3 alignée */
.photo-inclus { margin-top: 2rem; }
.photo-inclus img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-l); display: block; }

/* Badge « Service phare » : jamais collé au bord */
.phare__badge { right: 1rem; }
@media (min-width: 960px) { .phare__badge { right: -2rem; } }
@media (max-width: 767px) { .phare__badge { width: 112px; height: 112px; font-size: 1rem; bottom: 1rem; } }

/* Dévoilement : sans zoom (aucun débord), déclenché tôt */
.js .revele img { transform: none; transition: none; }
.js .revele { clip-path: inset(0 0 22% 0 round var(--rayon-l)); opacity: .001; transition: clip-path 1s var(--ease), opacity .6s var(--ease); }
.js .revele.est-visible { opacity: 1; }

/* Médias : toujours dans la gouttière, coins arrondis */
.ba, .phare__visuel img, .page-hero__visuel img, .photo-arrondie, .carte { border-radius: var(--rayon-l); }

/* Note honnête sur les visuels */
.note-illustration { display: inline-block; margin: 0; padding: .35rem .8rem; border-radius: 999px; background: rgba(201,210,190,.55); font-size: var(--t-xs); font-weight: 500; }
.ba-pied span { font-size: var(--t-xs); }

/* Hero photo des pages intérieures */
.hero2--page { min-height: clamp(560px, 85svh, 820px); }
.hero2--page .hero2__fond img { object-position: var(--pos-m, 50% 40%); }
@media (min-width: 768px) { .hero2--page { min-height: clamp(560px, 78svh, 780px); } .hero2--page .hero2__fond img { object-position: var(--pos, 50% 40%); } }
@media (max-width: 767px) { .hero2--page { min-height: max(520px, calc(85svh - var(--barre-mobile))); } }
.hero2--page .hero2__titre { font-size: clamp(2.6rem, 1.2rem + 5.2vw, 5.6rem); max-width: 14ch; }
.hero2--page .fil { color: rgba(244,242,235,.85); margin-bottom: 1.2rem; }
.hero2--page .hero2__sur { gap: 0; }

/* Récit au défilement (page élagage) */
.recit { padding-block: var(--section); }
.recit__grille { display: grid; gap: 1.5rem; }
.recit__grille > * { min-width: 0; }
.recit__visuel { position: sticky; top: 86px; z-index: 1; height: 38svh; min-height: 220px; border-radius: var(--rayon-l); overflow: hidden; background: #111; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.recit__image { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.recit__image.est-active { opacity: 1; }
.recit__image img { width: 100%; height: 100%; object-fit: cover; }
.recit__progression { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(244,242,235,.2); }
.recit__progression span { display: block; height: 100%; width: 0; background: var(--terracotta); transition: width .5s var(--ease); }
.recit__compteur { position: absolute; top: .8rem; left: .8rem; margin: 0; padding: .3rem .7rem; border-radius: 999px; background: rgba(20,24,21,.7); color: var(--creme); font-family: var(--f-titre); letter-spacing: .1em; font-size: .9rem; }
.recit__compteur b { color: var(--sauge); }
.recit__etapes { list-style: none; margin: 0; padding: 0; }
.recit__etape { min-height: 46svh; padding: 1.4rem 0; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s var(--ease); border-top: 1px solid var(--ligne-claire); }
.recit__etape.est-active { opacity: 1; }
.recit__etape:last-child { min-height: 30svh; }
.recit__num { font-family: var(--f-titre); font-weight: 700; font-size: 2.6rem; color: var(--terracotta); line-height: 1; margin-bottom: .4rem; }
.recit__etape h3 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); margin-bottom: .4rem; }
.recit__etape p { margin: 0; color: rgba(244,242,235,.78); max-width: 40ch; }
@media (min-width: 960px) {
  .recit__grille { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
  .recit__visuel { top: 110px; height: min(70vh, 640px); }
  .recit__etape { min-height: 70vh; padding: 0; }
  .recit__etape:last-child { min-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) { .recit__etape { opacity: 1; } }

/* Odomètre : chiffres qui défilent dans une fenêtre fixe */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; width: .5em; text-align: center; transition: width .35s var(--ease), opacity .35s; }
.odo__col--masquee { width: 0; opacity: 0; }
.odo__bande { display: flex; flex-direction: column; will-change: transform; }
.odo__bande span { display: block; height: 1em; line-height: 1em; }
.chiffre--gratuit dt { animation: gratuit .7s var(--ease) both; }
.chiffre--gratuit dt .odo, .chiffre--gratuit dt .unite { color: var(--terracotta); transition: color .3s; }
@keyframes gratuit { 0% { transform: scale(1); } 35% { transform: scale(1.14); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
.fond-sauge .chiffres, .chiffres--zone { margin-top: 2.5rem; }
.fond-sauge .chiffres { margin-top: 0; }
.chiffres--zone { margin-top: 2.5rem; }
