/* ==========================================================================
   Pupin Espaces Verts – feuille de styles
   Identité : vert « haie » du logo, bandes de tonte comme motif signature,
   titres larges et pleins (Archivo étiré) en écho au logotype PUPIN.
   ========================================================================== */

:root {
  --haie: #0e4227;          /* vert foncé du logotype */
  --haie-fonce: #0a321e;
  --tonte-a: #11482b;       /* bandes de tonte (fonds foncés) */
  --tonte-b: #165533;
  --feuillage: #2d6a2e;     /* liens et accents sur fond clair */
  --pousse: #8dc149;        /* vert tendre des feuilles : boutons */
  --pousse-clair: #b9dc8f;
  --brume: #eef3ef;         /* brume du Cotentin : fonds alternés */
  --brume-2: #e6ede7;
  --ligne: #d5dfd6;
  --texte: #27342b;
  --doux: #54635a;
  --ecorce: #6e4f2e;
  --blanc: #ffffff;

  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--blanc);
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--feuillage); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--haie); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 116%;
  color: var(--haie);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2.05rem, 1.3rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
:focus-visible { outline: 3px solid var(--pousse); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -80px; z-index: 200; background: var(--haie); color: #fff; padding: 0.7rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; color: #fff; }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; color: var(--doux); max-width: 62ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--r);
  font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 1.02rem; line-height: 1.15;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn-lg { padding: 1rem 1.6rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--pousse); color: var(--haie); }
.btn-primary:hover { background: var(--pousse-clair); color: var(--haie); }
.btn-dark { background: var(--haie); color: #fff; }
.btn-dark:hover { background: var(--feuillage); color: #fff; }
.btn-line { border-color: var(--haie); color: var(--haie); background: transparent; }
.btn-line:hover { background: var(--haie); color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn-line-light:hover { background: #fff; color: var(--haie); }

/* ---------- Barre haute & en-tête ---------- */
.topbar { background: var(--haie-fonce); color: #cfe0c8; font-size: 0.93rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-links { gap: 1.5rem !important; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--ligne);
}
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(10, 50, 30, 0.6); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 1.62rem; letter-spacing: 0.02em; color: var(--haie); }
.brand-sub { margin-top: 0.32rem; font-family: var(--display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.28em; color: #528a2c; }

.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a {
  display: block; padding: 0.55rem 0.7rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 1rem; color: var(--texte); text-decoration: none;
}
.nav-list > li > a:hover { color: var(--feuillage); }
.nav-list > li > a[aria-current] { color: var(--haie); box-shadow: inset 0 -3px 0 var(--pousse); border-radius: 0; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: -0.45rem;
  border: 0; border-radius: var(--r-sm); background: none; color: var(--doux); cursor: pointer;
}
.sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.has-sub.open > .sub-toggle .icon { transform: rotate(180deg); }
.sub {
  list-style: none; margin: 0; padding: 0.6rem;
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--r);
  box-shadow: 0 24px 40px -28px rgba(10, 50, 30, 0.55);
}
.sub a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.65rem; border-radius: var(--r-sm); color: var(--texte); text-decoration: none; font-size: 1rem; }
.sub a:hover { background: var(--brume); color: var(--haie); }
.sub .icon { color: var(--feuillage); }
.sub-all { border-top: 1px solid var(--ligne); margin-top: 0.4rem; padding-top: 0.4rem; }
.sub-all a { font-weight: 700; color: var(--feuillage); }
.nav-toggle { display: none; }

@media (min-width: 1181px) {
  .sub {
    position: absolute; top: calc(100% + 8px); left: -0.5rem; min-width: 290px;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .sub-zones { columns: 2; min-width: 420px; }
  .sub-zones li { break-inside: avoid; }
  .sub-zones .sub-all { column-span: all; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 48px; height: 48px;
    border: 1px solid var(--ligne); border-radius: var(--r); background: #fff; cursor: pointer;
  }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--haie); border-radius: 2px; transition: transform 0.2s, background-color 0.2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; }
  .burger::after { top: 7px; }
  .nav-open .burger { background: transparent; }
  .nav-open .burger::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 0.5rem 1.25rem 1.5rem; background: #fff;
    border-bottom: 1px solid var(--ligne); box-shadow: 0 30px 40px -30px rgba(10, 50, 30, 0.5);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--ligne); }
  .nav-list > li > a { flex: 1; padding: 0.9rem 0.2rem; font-size: 1.1rem; }
  .nav-list > li > a[aria-current] { box-shadow: none; color: var(--feuillage); }
  .sub-toggle { width: 46px; height: 46px; margin: 0; }
  .sub { display: none; width: 100%; border: 0; box-shadow: none; padding: 0 0 0.8rem; }
  .has-sub.open > .sub { display: block; }
  .nav-cta { width: 100%; }
}

/* ---------- Accueil : héros « pelouse tondue » ---------- */
.stripes {
  background-color: var(--tonte-a);
  background-image: repeating-linear-gradient(112deg, var(--tonte-a) 0 110px, var(--tonte-b) 110px 220px);
}
.hero { position: relative; color: #e3eedd; overflow: hidden; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; align-items: end;
  padding: clamp(3rem, 7vw, 5.5rem) 0 0;
}
.hero-text { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.1rem); max-width: 15ch; }
.hero .lead { color: #d3e4cb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-sign { margin: 0; justify-self: center; display: flex; flex-direction: column; align-items: center; transform: rotate(-2deg); transform-origin: bottom center; }
.sign-board {
  background: #fff; border-radius: var(--r-lg); padding: 1.6rem 1.8rem;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #f2f6f1;
  width: min(380px, 100%);
}
.sign-board img { width: 100%; }
.sign-stake { width: 22px; height: 110px; background: linear-gradient(90deg, #7d5a35, var(--ecorce) 60%, #5a3f23); border-radius: 0 0 4px 4px; }
.hero-edge { height: 14px; background: var(--haie-fonce); }

.trust { list-style: none; margin: 0; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.trust li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--haie); }
.trust li + li { border-left: 1px solid var(--ligne); padding-left: 1.4rem; }
.trust .icon { width: 1.6rem; height: 1.6rem; color: var(--feuillage); }

/* ---------- Bandeaux de section ---------- */
.band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.band-mist { background: var(--brume); }
.band-head { max-width: 760px; margin-bottom: 2.4rem; }
.band-head p { color: var(--doux); margin: 0; }
.band-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.band-head-row .band-head { margin-bottom: 0; }
.text-link { font-weight: 700; }

/* Liste des prestations (lignes, pas de cartes) */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.svc { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--ligne); }
.svc-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--brume); color: var(--feuillage); }
.svc-icon .icon { width: 28px; height: 28px; }
.svc h3 { margin: 0.1rem 0 0.35rem; font-size: 1.35rem; }
.svc h3 a { color: var(--haie); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc p { margin: 0; color: var(--doux); }
.svc:hover h3 a { color: var(--feuillage); text-decoration: underline; text-decoration-thickness: 2px; }
.svc:hover .svc-icon { background: var(--pousse); color: var(--haie); }

/* Section Cotentin + liste « et aussi » */
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3.5rem; align-items: start; }
.split-main { max-width: 66ch; }
.aside-box { background: #fff; border-radius: var(--r-lg); padding: 1.8rem; border: 1px solid var(--ligne); }
.aside-box h3 { font-size: 1.2rem; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-top: 1px solid var(--ligne); }
.link-list li:first-child { border-top: 0; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; color: var(--texte); text-decoration: none; font-weight: 500; }
.link-list a:hover { color: var(--feuillage); }
.link-list a .icon { color: var(--feuillage); width: 1rem; height: 1rem; }

/* Étapes (vraie séquence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: etape; }
.step { position: relative; padding-top: 4.2rem; }
.step::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--haie); color: #fff; font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: 1.25rem;
}
.step::after { content: ""; position: absolute; top: 1.5rem; left: 3.6rem; right: -1.4rem; height: 2px; background: var(--ligne); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--doux); font-size: 1.02rem; }

/* Particuliers / professionnels */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.duo-card { border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--ligne); background: #fff; }
.duo-card h3 { font-size: 1.55rem; }
.duo-card ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.duo-card li { margin: 0.3rem 0; }
.duo-dark { background: var(--haie); border-color: var(--haie); color: #d9e7d2; }
.duo-dark h3 { color: #fff; }

/* Communes */
.zone-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
.zone-list li { border-top: 1px solid var(--ligne); }
.zone-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.95rem 0; text-decoration: none; color: var(--haie); }
.zone-name { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.12rem; }
.zone-cp { color: var(--doux); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.zone-list a:hover .zone-name { color: var(--feuillage); text-decoration: underline; }
.zone-note { margin-top: 1.6rem; color: var(--doux); }

/* Saisons */
.seasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.season { border-top: 6px solid var(--pousse); padding-top: 1.1rem; }
.season h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.2rem; }
.season h3 .icon { color: var(--feuillage); }
.season ul { margin: 0; padding-left: 1.1rem; color: var(--doux); }
.season li { margin: 0.25rem 0; }
.season-ete { border-top-color: #e0b43c; }
.season-automne { border-top-color: #c0743a; }
.season-hiver { border-top-color: #7c9fb0; }

/* Articles */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--ligne); }
.post-list a { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; color: var(--texte); }
.post-theme { color: var(--feuillage); font-weight: 600; font-size: 0.98rem; }
.post-title { font-family: var(--display); font-stretch: 108%; font-weight: 700; font-size: 1.15rem; color: var(--haie); }
.post-meta { color: var(--doux); font-size: 0.95rem; white-space: nowrap; }
.post-list a:hover .post-title { color: var(--feuillage); text-decoration: underline; }

/* FAQ */
.faq { margin-top: 2.8rem; }
.faq-item { border-bottom: 1px solid var(--ligne); }
.faq-item:first-of-type { border-top: 1px solid var(--ligne); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3rem 1.1rem 0; font-weight: 700; color: var(--haie); font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brume); color: var(--haie); font-size: 1.25rem; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; background: var(--pousse); }
.faq-a { padding: 0 0 1.2rem; max-width: 68ch; }
.faq-a p { margin: 0; }

/* Bandeau d'appel */
.cta-band { color: #d6e6cf; }
.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none;
  font-family: var(--display); font-stretch: 120%; font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem); letter-spacing: 0.01em;
}
.cta-phone .icon { width: 1em; height: 1em; color: var(--pousse); }
.cta-phone:hover { color: var(--pousse-clair); }

/* ---------- Pages intérieures ---------- */
.page-head {
  background-color: var(--brume);
  background-image: repeating-linear-gradient(112deg, var(--brume) 0 110px, var(--brume-2) 110px 220px);
  padding: 1.6rem 0 clamp(2.5rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--ligne);
}
.page-head h1 { max-width: 22ch; }
.page-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; color: var(--doux); font-size: 0.98rem; margin: 0; }
.page-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.page-head .hero-actions { margin-top: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0 0 1.7rem; padding: 0; font-size: 0.95rem; color: var(--doux); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; color: #9aaa9f; }
.breadcrumb a { color: var(--doux); }
.breadcrumb a:hover { color: var(--haie); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2.5rem, 5vw, 4.5rem); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5rem); align-items: start; }
.layout-single { grid-template-columns: minmax(0, 1fr); }

/* Texte courant */
.prose { max-width: 70ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4rem; }
.prose li { margin: 0.4rem 0; padding-left: 0.2rem; }
.prose ul li::marker { color: var(--pousse); font-size: 1.15em; }
.prose ol li::marker { color: var(--feuillage); font-weight: 700; }
.prose strong { color: var(--haie); }
.callout { margin: 1.8rem 0; padding: 1.2rem 1.4rem; background: var(--brume); border-left: 5px solid var(--pousse); border-radius: 0 var(--r) var(--r) 0; }
.callout p { margin: 0.25rem 0; }
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--ligne); border-radius: var(--r); }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne); }
thead th { background: var(--haie); color: #fff; font-weight: 700; }
tbody th { color: var(--haie); white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--brume); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
mark.todo { background: #fff0a6; color: #4d3f00; padding: 0.05em 0.35em; border-radius: 4px; }
.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  margin: 2.2rem 0; padding: 1.4rem 1.6rem; border-radius: var(--r-lg); color: #d9e7d2;
}
.cta-inline p { margin: 0; }
.cta-inline strong { display: block; color: #fff; font-family: var(--display); font-stretch: 110%; font-size: 1.2rem; }

/* Colonne latérale */
.side-sticky { position: sticky; top: 104px; display: grid; gap: 1.2rem; }
.side-box { border-radius: var(--r-lg); padding: 1.5rem; background: var(--brume); }
.side-box-cta { background: var(--haie); color: #d5e5ce; }
.side-title { font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 1.22rem; color: var(--haie); margin: 0 0 0.5rem; line-height: 1.2; }
.side-box-cta .side-title { color: #fff; }
.side-box-cta p { font-size: 1rem; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; color: #fff; text-decoration: none; font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: 1.3rem; }
.side-phone:hover { color: var(--pousse-clair); }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; color: var(--texte); text-decoration: none; font-size: 1rem; }
.side-list a:hover { color: var(--feuillage); text-decoration: underline; }
.side-list a[aria-current] { color: var(--haie); font-weight: 700; }
.side-list .icon { color: var(--feuillage); }

/* À lire aussi */
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.related li { border-top: 2px solid var(--haie); }
.related a { display: block; padding: 1rem 0 1.4rem; text-decoration: none; color: var(--texte); }
.related strong { display: block; font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; color: var(--haie); margin-bottom: 0.35rem; line-height: 1.25; }
.related span { display: block; color: var(--doux); font-size: 1rem; }
.related a:hover strong { color: var(--feuillage); text-decoration: underline; }

/* Pages de rubrique */
.svc-rows { display: grid; gap: 0; }
.svc-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--ligne); }
.svc-row:last-child { border-bottom: 1px solid var(--ligne); }
.svc-row h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin-bottom: 0.4rem; }
.svc-row h2 a { color: var(--haie); text-decoration: none; }
.svc-row h2 a:hover { color: var(--feuillage); text-decoration: underline; }
.svc-row p { color: var(--doux); max-width: 68ch; }
.sub-links { list-style: none; margin: 0.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sub-links a { display: inline-block; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--brume); color: var(--haie); text-decoration: none; font-size: 0.97rem; font-weight: 600; }
.sub-links a:hover { background: var(--pousse); }
.zone-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.zone-card { display: block; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--ligne); text-decoration: none; color: var(--texte); background: #fff; }
.zone-card h2 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.zone-card .zone-cp { display: block; margin-bottom: 0.7rem; }
.zone-card p { margin: 0; color: var(--doux); font-size: 1rem; }
.zone-card:hover { border-color: var(--feuillage); }
.zone-card:hover h2 { color: var(--feuillage); text-decoration: underline; }
.theme-block + .theme-block { margin-top: 3rem; }
.sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.sitemap h2 { font-size: 1.3rem; }
.sitemap ul { margin: 0; padding-left: 1.1rem; }
.sitemap li { margin: 0.35rem 0; }
.notice { max-width: 60ch; }

/* Contact */
.contact-lines { display: grid; gap: 0.8rem; margin: 1.5rem 0 2rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--r); background: var(--brume); color: var(--texte); text-decoration: none; }
.contact-line .icon { width: 1.6rem; height: 1.6rem; color: var(--feuillage); }
.contact-line strong { display: block; color: var(--haie); font-family: var(--display); font-stretch: 110%; font-size: 1.15rem; }
a.contact-line:hover strong { text-decoration: underline; }

/* ---------- Formulaires ---------- */
.form { margin: 1.5rem 0 0; padding: clamp(1.3rem, 3vw, 2.2rem); border: 1px solid var(--ligne); border-radius: var(--r-lg); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; color: var(--haie); font-size: 1rem; padding: 0; }
.field legend { margin-bottom: 0.6rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.02rem; color: var(--texte);
  padding: 0.75rem 0.9rem; border: 1.5px solid #c4d0c6; border-radius: var(--r-sm); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--feuillage); box-shadow: 0 0 0 4px rgba(141, 193, 73, 0.35); }
.field textarea { min-height: 150px; resize: vertical; }
.choice-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 0.5rem 0.95rem; border: 1.5px solid #c4d0c6; border-radius: 999px; font-size: 0.98rem; background: #fff; }
.choice input:checked + span { background: var(--haie); border-color: var(--haie); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--pousse); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 400 !important; color: var(--doux) !important; font-size: 0.97rem !important; }
.consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--haie); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 700; color: var(--feuillage); }
.form-status.is-error { color: #a3271a; }
.form-note { margin: 0.6rem 0 0; font-size: 0.97rem; color: var(--doux); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--haie-fonce); color: #b8ccb0; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer-title { font-family: var(--display); font-stretch: 110%; font-size: 1.05rem; color: #fff; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: #d3e3cb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { margin-bottom: 1.1rem; }
.footer-brand .brand img { background: #fff; border-radius: var(--r); padding: 6px 8px; height: 58px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--pousse); }
.footer-brand p { margin: 0 0 1rem; max-width: 36ch; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 1.35rem; color: #fff !important; margin-bottom: 1.1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; padding: 1.3rem 0; font-size: 0.93rem; }
.footer-bottom p { margin: 0; }
.footer-credit { margin: 0; padding: 1.05rem 0 1.35rem; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; color: #b8ccb0; font-size: 0.9rem; }
.footer-credit a { color: #fff; font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
.footer-credit a:hover { color: var(--pousse); text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }

/* Barre d'action mobile */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem; }
  .step:nth-child(2)::after { display: none; }
  .zone-list, .zone-cards, .related, .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-bottom: 2.2rem; }
  .hero-sign { justify-self: start; margin-left: 1rem; }
  .sign-board { width: min(300px, 80vw); padding: 1.1rem 1.3rem; }
  .sign-stake { height: 70px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .layout { grid-template-columns: 1fr; }
  .side-sticky { position: static; }
  .cta-in { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 0.7rem; }
  .trust li + li { border-left: 0; padding-left: 0; }
  .post-list a { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 760px) {
  body { padding-bottom: 78px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--ligne);
    box-shadow: 0 -12px 30px -24px rgba(10, 50, 30, 0.7);
  }
  .mobile-bar .btn { padding: 0.8rem 0.6rem; }
  .svc-list, .duo, .zone-cards, .related, .sitemap { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-in > p:first-child { display: none; }
  .topbar-in { justify-content: center; }
  h1, h2 { font-stretch: 106%; }
  .brand-name { font-size: 1.4rem; }
  .brand img { height: 42px; }
  .header-in { min-height: 70px; }
}
@media (max-width: 520px) {
  .steps, .seasons, .footer-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .zone-list { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .sidebar, .site-footer { display: none !important; }
  body { padding: 0; }
}

/* Ajustements */
.faq-flat { margin-top: 0; }
.band-intro { max-width: 70ch; margin-bottom: 2.2rem; }
.band-intro p { color: var(--doux); }
.svc-row .svc-icon { width: 62px; height: 62px; }
.cta-inline { background-color: var(--tonte-a); }

/* Aperçu publié : zones sûres des téléphones */
:root { color-scheme: light; box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
.site-header { top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 100; background: #fff; }

/* Visuel hero : photographie d’élagage fournie par le client. */
section.hero.stripes {
  background-color: #163b20;
  background-image:
    linear-gradient(90deg, rgba(10, 37, 20, 0.88) 0%, rgba(10, 37, 20, 0.72) 44%, rgba(10, 37, 20, 0.38) 100%),
    url("/assets/hero-elagage.webp");
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}
@media (max-width: 740px) {
  section.hero.stripes {
    background-position: center, 66% center;
  }
}

/* Galerie visuelle de réalisations sous le hero, sans texte apparent. */
.hero-gallery { background: var(--haie-fonce); padding: clamp(0.35rem, 0.9vw, 0.8rem); }
.hero-gallery-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.28rem, 0.6vw, 0.55rem); max-width: 1600px; margin: 0 auto; }
.hero-gallery figure { margin: 0; min-width: 0; aspect-ratio: 1.45 / 1; overflow: hidden; background: #102b17; }
.hero-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.35s ease; }
.hero-gallery figure:nth-child(4) img { object-position: center 28%; }
@media (hover: hover) { .hero-gallery figure:hover img { transform: scale(1.035); } }
@media (max-width: 740px) {
  .hero-gallery { padding: 0.35rem 0 0.35rem 0.35rem; }
  .hero-gallery-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(78vw, 1fr); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-right: 0.35rem; }
  .hero-gallery figure { aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .hero-gallery img { transition: none; }
}


/* Pages statiques rendues pour l’indexation naturelle. */
body.seo-page { background: #fbfcf8; }
.seo-header { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid rgba(21, 67, 33, 0.12); }
.seo-header-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.seo-brand { color: var(--haie-fonce); font-family: Archivo, Arial, sans-serif; font-size: 1.32rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.seo-brand span { display: block; color: var(--tonte-a); font-size: 0.59rem; letter-spacing: 0.2em; }
.seo-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0.9rem; }
.seo-nav a { color: var(--haie-fonce); font-weight: 700; text-decoration: none; }
.seo-nav .seo-cta { background: var(--tonte-a); color: #102b17; border-radius: 999px; padding: 0.66rem 0.9rem; }
.seo-footer { background: var(--haie-fonce); color: #d3e4cb; padding: 2rem 0; }
.seo-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.seo-footer p { margin: 0; }
.seo-footer a { color: #fff; margin-left: 1rem; }
.seo-footer .footer-credit { width: 100%; margin: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.16); text-align: center; }
.seo-footer .footer-credit a { margin-left: 0; font-weight: 800; letter-spacing: 0.04em; }
@media (max-width: 740px) { .seo-header-inner { padding-top: 0.8rem; padding-bottom: 0.8rem; align-items: flex-start; flex-direction: column; } .seo-nav { justify-content: flex-start; } .seo-footer .wrap { align-items: flex-start; flex-direction: column; } .seo-footer a { margin-left: 0; margin-right: 1rem; } }
