/* ==========================================================================
   Green Service Élagage : feuille de style unique.

   Palette relevée sur le logo du client : vert forêt très sombre pour les
   fonds, vert pousse pour l action, et un ambre chaud qui n apparaît qu une
   seule fois, sur l urgence. Le gris n est jamais neutre, il est tiré vers
   le vert, ce qui évite l aspect gabarit.

   Typographie : Bitter en titrage, un slab serif dense qui tient le poids
   sans crier, et Karla en texte courant, dont les chiffres et les capitales
   accentuées restent lisibles à petite taille. Les deux sont auto-hébergées,
   aucune requête ne part vers un tiers.
   ========================================================================== */

:root {
  --foret:        #0a2410;
  --foret-2:      #12401c;
  --foret-3:      #1e5c2a;
  --pousse:       #3f7d16;
  --pousse-fonce: #2f5f10;
  --pousse-vif:   #7cc23a;
  --brume:        #f2f6ec;
  --brume-2:      #e4ecda;
  --trait:        #d3ddc6;
  --ecorce:       #55604e;
  --encre:        #16200f;
  --blanc:        #ffffff;
  --ambre:        #c2761d;

  --ombre-1: 0 1px 2px rgba(10, 36, 16, .06), 0 2px 8px rgba(10, 36, 16, .05);
  --ombre-2: 0 2px 6px rgba(10, 36, 16, .08), 0 12px 32px rgba(10, 36, 16, .10);
  --ombre-3: 0 18px 50px rgba(10, 36, 16, .24);

  --large: 1180px;
  --lecture: 70ch;
  --r: 4px;
  --r-2: 10px;

  --titre: "Bitter", Georgia, "Times New Roman", serif;
  --corps: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* Toutes les images du site sont enveloppees dans un <picture> pour servir
   du webp. Sans regle, ce <picture> est une boite en ligne sans hauteur :
   le « height: 100% » de l image ne se resout alors sur rien, elle garde son
   ratio d origine et « object-fit: cover » ne recadre jamais. Resultat, trois
   cartes d une meme rangee n avaient pas la meme hauteur d image.
   display: contents efface la boite et rend l image enfant direct du cadre. */
picture { display: contents; }

/* Filet de securite : un pictogramme sans regle dediee prenait la taille
   par defaut du navigateur. Il reste alignable au texte partout. */
svg { width: 20px; height: 20px; flex: none; vertical-align: middle; }

/* Le logo porte des attributs width et height reels. Fixer la seule
   hauteur en CSS l etirait, il faut relacher la largeur. */
/* Le logo du client est un macaron rond, pas un bandeau horizontal : il
   porte des attributs width et height reels de 888 sur 982. On le contraint
   donc par la HAUTEUR et on relache la largeur, sinon il s ecrase. */
.marque img, .pied-marque img, .volet-haut img { width: auto; max-width: none; }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.021em;
  text-wrap: balance;
  margin: 0 0 .55em;
  color: var(--foret);
}
h1 { font-size: clamp(1.95rem, 1.3rem + 2.2vw, 3.1rem); font-weight: 800; }

/* Un nom propre compose ne se coupe jamais a son trait d union. Sur les
   tres petits ecrans on relache la contrainte, un debordement serait pire
   qu une coupure. */
.nb { white-space: nowrap; }
@media (max-width: 420px) { h1 .nb { white-space: normal; } }
h2 { font-size: clamp(1.6rem, 1.18rem + 1.55vw, 2.4rem); }
h3 { font-size: clamp(1.16rem, 1.04rem + .45vw, 1.4rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pousse-fonce); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pousse); }

:focus-visible {
  outline: 3px solid var(--pousse-vif);
  outline-offset: 2px;
  border-radius: 2px;
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Le lien d evitement est le premier element focalisable de la page. Laisse
   masque, il donne un focus invisible : l utilisateur au clavier ne sait pas
   ou il se trouve. Il doit reapparaitre des qu il recoit le focus. */
a.sr:focus, a.sr:focus-visible {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
  background: var(--foret); color: var(--blanc);
  font-family: var(--titre); font-weight: 700; font-size: .95rem;
  padding: .7rem 1.1rem; border-radius: var(--r);
  box-shadow: var(--ombre-3); text-decoration: none;
}

/* --------------------------------------------------------------- ossature */

.enveloppe { width: 100%; max-width: var(--large); margin-inline: auto; padding-inline: 22px; }

.bande { padding-block: clamp(3.2rem, 2rem + 4vw, 5.6rem); }
.bande--brume { background: var(--brume); }
.bande--foret  { background: var(--foret); color: #dbe9d0; }
.bande--serre { padding-block: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }

.bande--foret h2, .bande--foret h3, .bande--foret h4 { color: var(--blanc); }
.bande--foret a { color: var(--pousse-vif); }

.mesure { max-width: var(--lecture); }

/* Le faite de toit : deux pans, repris du pictogramme du logo.
   Sert de separateur entre une bande claire et la bande marine. */
.faite {
  height: 26px; margin: 0; border: 0; padding: 0;
  background: var(--foret);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  width: 100%;
}
.faite--inverse { background: var(--brume); clip-path: polygon(0 0, 100% 0, 50% 100%); }

.sur-titre {
  font-family: var(--titre);
  font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--pousse); margin: 0 0 .7rem;
  display: flex; align-items: center; gap: .6rem;
}
.sur-titre::before {
  content: ""; width: 26px; height: 2px; background: var(--pousse); flex: none;
}
.bande--foret .sur-titre { color: var(--pousse-vif); }
.bande--foret .sur-titre::before { background: var(--pousse-vif); }

.chapo { font-size: 1.12rem; color: var(--ecorce); max-width: 62ch; }
.bande--foret .chapo { color: #b8cfa8; }

/* --------------------------------------------------------------- boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--titre); font-size: 1rem; font-weight: 700;
  padding: .82rem 1.45rem; border-radius: var(--r); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--tel { background: var(--pousse); color: var(--blanc); }
.btn--tel:hover { background: var(--pousse-fonce); color: var(--blanc); }

.btn--devis { background: var(--blanc); color: var(--foret); border-color: var(--foret); }
.btn--devis:hover { background: var(--foret); color: var(--blanc); }

.btn--clair { background: var(--blanc); color: var(--foret); }
.btn--clair:hover { background: var(--brume); color: var(--foret); }

.btn--fantome { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.5); }
.btn--fantome:hover { background: rgba(255,255,255,.12); color: var(--blanc); border-color: var(--blanc); }

.duo-btn { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* --------------------------------------------------------------- en-tete */

.bandeau {
  background: var(--foret); color: #c3d8b4;
  font-size: .82rem; padding: .42rem 0;
}
.bandeau .enveloppe { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; }
.bandeau b { color: var(--blanc); font-weight: 600; }
.bandeau-liste { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.bandeau-liste li { display: flex; align-items: center; gap: .4rem; }
.bandeau-liste svg { width: 14px; height: 14px; color: var(--pousse-vif); flex: none; }

.entete {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--trait);
  backdrop-filter: saturate(1.5) blur(6px);
}
.entete .enveloppe {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 74px;
}
.marque { display: flex; align-items: center; flex: none; margin-right: auto; }
.marque img { height: 52px; width: auto; }
@media (min-width: 900px) { .marque img { height: 66px; } }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: .2rem; }
}
.nav > a, .menu > button {
  font-family: var(--titre); font-size: .93rem; font-weight: 600;
  color: var(--foret); text-decoration: none;
  padding: .55rem .7rem; border-radius: var(--r);
  background: none; border: 0; cursor: pointer; line-height: 1.3;
  display: inline-flex; align-items: center; gap: .3rem;
}
.nav > a:hover, .menu > button:hover { background: var(--brume); color: var(--pousse-fonce); }
.nav > a[aria-current="page"] { color: var(--pousse); box-shadow: inset 0 -2px 0 var(--pousse); }

.menu { position: relative; }
.menu > button svg { width: 13px; height: 13px; transition: transform .16s ease; }
.menu[data-ouvert="oui"] > button svg { transform: rotate(180deg); }
.menu-liste {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 290px; background: var(--blanc);
  border: 1px solid var(--trait); border-radius: var(--r-2);
  box-shadow: var(--ombre-2); padding: .5rem; margin: 0;
  list-style: none; display: none; max-height: 70vh; overflow-y: auto;
}
.menu[data-ouvert="oui"] .menu-liste { display: block; }
.menu-liste a {
  display: block; padding: .5rem .7rem; border-radius: var(--r);
  font-size: .93rem; color: var(--foret); text-decoration: none;
}
.menu-liste a:hover { background: var(--brume); color: var(--pousse-fonce); }

.entete .btn { padding: .62rem 1rem; font-size: .93rem; }
.entete-tel { display: none; }
@media (min-width: 700px) { .entete-tel { display: inline-flex; } }

.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--trait);
  border-radius: var(--r); background: var(--blanc); cursor: pointer; color: var(--foret);
}
.hamburger svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .hamburger { display: none; } }

/* Le volet mobile est pose en fin de body par le script, hors de l en-tete
   colle, sinon le contexte d empilement de l en-tete l enfermerait. */
.volet {
  position: fixed; inset: 0; z-index: 200;
  background: var(--foret); color: var(--blanc);
  overflow-y: auto; padding: 1.1rem 1.2rem 3rem;
  display: none;
}
.volet[data-ouvert="oui"] { display: block; }
.volet-haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.volet-haut img { height: 56px; width: auto; }
.volet-fermer {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3);
  background: none; color: var(--blanc); border-radius: var(--r); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.volet-fermer svg { width: 22px; height: 22px; }
.volet h3 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--pousse-vif); margin: 1.6rem 0 .5rem;
}
.volet ul { list-style: none; margin: 0; padding: 0; }
.volet a { display: block; padding: .6rem 0; color: var(--blanc); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.09); }
.volet .duo-btn { margin-top: 1.8rem; }
.volet .btn { width: 100%; }

/* --------------------------------------------------------------- heros */

/* --------------------------------------------------------------- hero

   Vingt-cinq des vingt-six photos du client sont verticales : ce sont des
   arbres, photographiés du pied vers la cime. Recadrées en bandeau large,
   il n en resterait qu une tranche de tronc. Le hero est donc bâti en deux
   colonnes, le texte à gauche et la photo debout à droite, ce qui garde
   l arbre entier dans le cadre au lieu de lutter contre le sujet.

   Deux variantes : .hero--photo sur l accueil et les pages de zone, où la
   photo tient la colonne de droite ; .hero--devis sur les pages qui
   reçoivent les visiteurs venus des annonces, où c est le formulaire qui
   occupe cette place, la photo passant en bandeau juste dessous.
   ---------------------------------------------------------------------- */

.hero { position: relative; background: var(--foret); color: var(--blanc); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(115% 85% at 8% 0%, rgba(124, 194, 58, .16), transparent 60%),
    linear-gradient(158deg, var(--foret) 0%, #0d2e14 62%, var(--foret-2) 100%);
}
.hero .enveloppe { position: relative; z-index: 1; }

.hero-grille {
  display: grid; gap: 2rem;
  padding-block: clamp(2.4rem, 1.6rem + 4vw, 4.8rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero--photo .hero-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 372px); gap: 3.2rem; }
  /* Le formulaire est nettement plus haut que la colonne de texte. Cale en
     haut, il laissait six cents pixels de vert vide sous le texte ; centre,
     le blanc se repartit de part et d autre et la page tient. */
  .hero--devis .hero-grille { grid-template-columns: minmax(0, 1.05fr) 420px; gap: 3rem; align-items: center; }
}

.hero h1 { color: var(--blanc); }
.hero-intro { color: #cfe2c0; font-size: 1.14rem; max-width: 58ch; }
.hero .sur-titre { color: var(--pousse-vif); }
.hero .sur-titre::before { background: var(--pousse-vif); }

/* la photo debout, avec sa legende posee dans l image */
.hero-photo {
  position: relative; margin: 0; border-radius: var(--r-2); overflow: hidden;
  box-shadow: var(--ombre-3); border: 1px solid rgba(124, 194, 58, .22);
}
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.6rem .95rem .75rem;
  background: linear-gradient(to top, rgba(10, 36, 16, .92) 18%, rgba(10, 36, 16, 0));
  color: #e6f3da; font-size: .82rem; line-height: 1.45;
}
@media (max-width: 899px) {
  /* sur un ecran etroit la photo garde sa verticalite mais s arrete avant
     de manger tout l ecran */
  .hero-photo img { aspect-ratio: 4 / 5; }
}

.hero-preuves { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.hero-preuves li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(124, 194, 58, .28);
  border-radius: 100px; padding: .36rem .85rem;
  font-size: .86rem; color: var(--blanc);
}
.hero-preuves svg { width: 15px; height: 15px; color: var(--pousse-vif); flex: none; }
.hero-preuves a { color: var(--blanc); text-decoration-color: rgba(255,255,255,.45); }
.hero-preuves a:hover { color: var(--pousse-vif); }

/* les deux appels a l action du hero */
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

/* hero des pages interieures : plus bas, meme grammaire */
.hero--page .hero-grille { padding-block: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.hero--page .hero-intro { max-width: 66ch; }
.hero--nu .hero-grille { grid-template-columns: 1fr; }

.fil { font-size: .82rem; color: #a8c496; margin-bottom: 1rem; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.fil li::after { content: "›"; margin-left: .4rem; color: #77946a; }
.fil li:last-child::after { content: ""; }
.fil a { color: #a8c496; text-decoration: none; }
.fil a:hover { color: var(--blanc); text-decoration: underline; }

/* --------------------------------------------------------------- formulaire */

.devis {
  background: var(--blanc); border-radius: var(--r-2);
  box-shadow: var(--ombre-3); padding: 1.5rem 1.4rem 1.4rem;
  border-top: 4px solid var(--pousse);
}
.devis h2 { font-size: 1.32rem; margin-bottom: .2rem; }
.devis-note { font-size: .86rem; color: var(--ecorce); margin-bottom: 1.1rem; }
.champ { margin-bottom: .8rem; }
.champ label { display: block; font-size: .82rem; font-weight: 600; color: var(--foret); margin-bottom: .28rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--encre);
  padding: .66rem .8rem; border: 1px solid var(--trait); border-radius: var(--r);
  background: var(--blanc);
}
.champ textarea { min-height: 92px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--pousse); }
.devis .btn { width: 100%; margin-top: .3rem; }
.devis-pied { font-size: .78rem; color: var(--ecorce); margin-top: .8rem; text-align: center; }
.leurre { position: absolute; left: -9999px; }

.reponse { margin-top: .9rem; padding: .75rem .9rem; border-radius: var(--r); font-size: .9rem; display: none; }
.reponse[data-etat="ok"]  { display: block; background: #e6f4ea; color: #14532d; border: 1px solid #9ed3b0; }
.reponse[data-etat="ko"]  { display: block; background: #fdecec; color: #7f1d1d; border: 1px solid #e9a8a8; }

/* --------------------------------------------------------------- cartes */

.grille { display: grid; gap: 1.2rem; }
/* 1fr vaut minmax(auto, 1fr) et le minimum auto est la largeur du plus long
   mot insecable. « Monistrol-sur-Loire » elargissait sa colonne et les trois
   cartes n avaient plus la meme largeur. min-width 0 remet les pistes a
   egalite, sans quoi aucun aspect-ratio ne tient. */
.grille > * { min-width: 0; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.carte {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-2);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.carte:hover { box-shadow: var(--ombre-2); transform: translateY(-2px); border-color: var(--brume-2); }
/* flex: none, sinon l image se laisse etirer par la repartition de la hauteur
   dans la carte et son ratio ne tient plus : les trois cartes d une rangee
   n avaient alors pas la meme hauteur d image. */
.carte-img { position: relative; aspect-ratio: 3 / 2; background: var(--brume-2); flex: none; overflow: hidden; }
/* L image est sortie du flux. « height: 100% » sur un enfant dont le parent
   tire sa hauteur d un aspect-ratio est une reference circulaire : la regle
   retombe sur auto, l image garde son ratio d origine et fait grandir la
   boite. En position absolue, le cadre garde son ratio et l image le remplit
   vraiment. */
.carte-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-corps { padding: 1.05rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.carte-corps h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.carte-corps p { font-size: .93rem; color: var(--ecorce); }
.carte-lien {
  margin-top: auto; padding-top: .8rem;
  font-family: var(--titre); font-size: .88rem; font-weight: 700; color: var(--pousse);
  display: inline-flex; align-items: center; gap: .35rem;
}
.carte a.couvre::after { content: ""; position: absolute; inset: 0; }
.carte { position: relative; }

.carte-etiq {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 1;
  background: var(--foret); color: var(--blanc);
  font-family: var(--titre); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .26rem .6rem; border-radius: 3px;
}

/* carte de ville, compacte, avec photo */
.carte-ville { display: flex; align-items: stretch; gap: 0; }
.carte-ville .vignette { width: 92px; flex: none; background: var(--brume-2); position: relative; overflow: hidden; }
.carte-ville .vignette img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carte-ville .texte { padding: .7rem .85rem; display: flex; flex-direction: column; justify-content: center; }
.carte-ville .texte strong { font-family: var(--titre); font-size: .98rem; color: var(--foret); display: block; }
.carte-ville .texte span { font-size: .8rem; color: var(--ecorce); }

/* --------------------------------------------------------------- duo texte + photo */

.duo { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.duo--inverse .duo-photo { order: -1; }
@media (max-width: 899px) { .duo--inverse .duo-photo { order: 0; } }
.duo-photo { border-radius: var(--r-2); overflow: hidden; box-shadow: var(--ombre-2); background: var(--brume-2); }
.duo-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.duo-photo figcaption {
  font-size: .82rem; color: var(--ecorce); padding: .55rem .8rem;
  background: var(--blanc); border-top: 1px solid var(--trait);
}
.bande--foret .duo-photo figcaption { background: var(--foret-2); color: #b8cfa8; border-color: var(--foret-3); }

/* --------------------------------------------------------------- etapes */

.etapes { counter-reset: pas; display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
.etape { position: relative; padding-top: 2.9rem; }
.etape::before {
  counter-increment: pas; content: counter(pas, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--titre); font-size: 1.05rem; font-weight: 800;
  color: var(--blanc); background: var(--pousse);
  width: 2.1rem; height: 2.1rem; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.etape h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.etape p { font-size: .93rem; color: var(--ecorce); }
.bande--foret .etape p { color: #b8cfa8; }
.bande--foret .etape::before { background: var(--pousse-vif); color: var(--foret); }

/* --------------------------------------------------------------- listes */

.puces { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 700px) { .puces--2 { grid-template-columns: 1fr 1fr; gap: .6rem 1.6rem; } }
.puces li { position: relative; padding-left: 1.75rem; font-size: .97rem; }
.puces li::before {
  content: ""; position: absolute; left: 0; top: .46em;
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--pousse); transform: rotate(45deg);
}
.bande--foret .puces li::before { background: var(--pousse-vif); }

.chiffres { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.chiffre strong {
  display: block; font-family: var(--titre); font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); color: var(--blanc);
  line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.chiffre span { font-size: .9rem; color: #b8cfa8; display: block; margin-top: .4rem; }

/* --------------------------------------------------------------- galerie */

/* Les photos du client sont verticales : un cadre carre coupait la cime des
   arbres. Un format 4/5 garde le sujet et reste tenable en hauteur. */
.galerie { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.galerie figure { margin: 0; border-radius: var(--r-2); overflow: hidden; background: var(--brume-2); }
.galerie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s ease; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { font-size: .8rem; color: var(--ecorce); padding: .45rem .55rem; background: var(--blanc); }

.bande--haute { position: relative; }
.large-photo { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-2); }
@media (max-width: 700px) { .large-photo { aspect-ratio: 16 / 10; } }

/* ------------------------------------------- cartes de prestation

   La carte entiere est un lien : sans regle dediee, le titre ET le resume
   heritaient du soulignement et du vert d action, et le pictogramme,
   habille en etiquette de bande sombre, tombait en carre noir sous le
   texte. Ces cartes ont donc leur propre habillage,independant de .carte.
   -------------------------------------------------------------------- */
.carte-presta {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.2rem 1.25rem 1.1rem;
  background: var(--blanc); border: 1px solid var(--trait);
  border-radius: var(--r-2); box-shadow: var(--ombre-1);
  text-decoration: none; color: var(--encre);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
a.carte-presta:hover {
  border-color: var(--pousse); transform: translateY(-2px);
  box-shadow: var(--ombre-2); color: var(--encre);
}
.carte-presta strong, .carte-presta .carte-txt { text-decoration: none; }
.carte-icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brume); color: var(--pousse); flex: none;
}
.carte-presta strong {
  font-family: var(--titre); font-size: 1.02rem; font-weight: 700;
  line-height: 1.3; color: var(--foret);
}
.carte-presta .carte-txt {
  color: var(--ecorce); font-size: .92rem; line-height: 1.5; flex: 1 1 auto;
}
.carte-fleche { color: var(--pousse); display: inline-flex; margin-top: .1rem; }
.carte-presta--fixe { box-shadow: none; }

/* la meme carte posee sur une bande vert profond */
.bande--foret .carte-presta {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(124, 194, 58, .22); color: var(--blanc);
}
.bande--foret .carte-presta strong { color: var(--blanc); }
.bande--foret .carte-presta .carte-txt { color: #b8cfa8; }
.bande--foret .carte-icone { background: rgba(124, 194, 58, .16); color: var(--pousse-vif); }
.bande--foret .carte-fleche { color: var(--pousse-vif); }

/* --------------------------------------------------------------- faq */

.faq { display: grid; gap: .55rem; max-width: 80ch; }
.faq details {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r-2);
}
.faq summary {
  cursor: pointer; list-style: none; padding: .95rem 3rem .95rem 1.1rem;
  font-family: var(--titre); font-weight: 700; font-size: 1rem; color: var(--foret);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
/* La question est cliquable mais ne repondait pas au survol : aucun retour
   visuel sur un element qui s ouvre au clic. Le curseur seul ne suffit pas. */
.faq summary:hover { background: var(--brume); color: var(--pousse-fonce); }
.faq summary:hover::after { border-color: var(--pousse-fonce); }
.faq details[open] summary { background: var(--brume); }
.bande--foret .faq summary:hover { background: var(--foret-3); color: var(--blanc); }
.bande--foret .faq details[open] summary { background: var(--foret-3); }
.faq summary { transition: background-color .14s ease, color .14s ease; }
.faq summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--pousse); border-bottom: 2px solid var(--pousse);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .rep { padding: 0 1.1rem 1.1rem; font-size: .97rem; color: var(--ecorce); }
.bande--foret .faq details { background: var(--foret-2); border-color: var(--foret-3); }
.bande--foret .faq summary { color: var(--blanc); }
.bande--foret .faq .rep { color: #b8cfa8; }

/* --------------------------------------------------------------- urgence */

.urgence {
  background: var(--foret-2); border-left: 4px solid var(--ambre);
  border-radius: var(--r); padding: 1.2rem 1.3rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  color: var(--blanc);
}
.urgence p { color: #cfe2c0; font-size: .95rem; margin: 0; max-width: 56ch; }
.urgence strong { color: var(--blanc); font-family: var(--titre); display: block; font-size: 1.12rem; margin-bottom: .2rem; }
.urgence .btn { background: var(--ambre); color: var(--foret); }
.urgence .btn:hover { background: #c07c22; color: var(--foret); }

/* --------------------------------------------------------------- tableau */

.tableau { width: 100%; overflow-x: auto; }
.tableau table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 480px; }
.tableau th, .tableau td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--trait); }
.tableau th { font-family: var(--titre); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--foret); background: var(--brume); }
.tableau td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* --------------------------------------------------------------- pied */

.pied { background: var(--foret); color: #b8cfa8; padding-block: 3.2rem 1.6rem; font-size: .92rem; }
.pied h3 {
  font-family: var(--titre); font-size: .76rem; font-weight: 600; color: var(--blanc);
  text-transform: uppercase; letter-spacing: .14em; margin: 0 0 .9rem;
}
.pied-grille { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .38rem; }
.pied a { color: #b8cfa8; text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied-bas {
  margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--foret-3);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .84rem; color: #93ad84;
}

.pied-villes { display: flex; flex-wrap: wrap; gap: .3rem .9rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; }

/* barre d appel mobile, collee en bas */
.barre-mobile {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 1px; background: var(--foret-3);
  box-shadow: 0 -4px 16px rgba(10, 36, 16,.22);
}
.barre-mobile a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem .5rem; font-family: var(--titre); font-weight: 700; font-size: .95rem;
  text-decoration: none;
}
.barre-mobile a:first-child { background: var(--pousse); color: var(--blanc); }
.barre-mobile a:last-child  { background: var(--foret); color: var(--blanc); }
.barre-mobile a:only-child  { background: var(--pousse); color: var(--blanc); }
.barre-mobile svg { width: 18px; height: 18px; }
@media (min-width: 760px) { .barre-mobile { display: none; } }
@media (max-width: 759px) { body { padding-bottom: 54px; } }

/* --------------------------------------------------- tailles des icones */
.bandeau-liste svg { width: 14px; height: 14px; }
.btn svg          { width: 19px; height: 19px; }
.entete .btn svg  { width: 17px; height: 17px; }
.hero-preuves svg { width: 15px; height: 15px; }
.menu > button svg { width: 13px; height: 13px; }
.hamburger svg, .volet-fermer svg { width: 22px; height: 22px; }
.carte-lien svg   { width: 15px; height: 15px; }
.pied ul svg      { width: 15px; height: 15px; margin-right: .35rem; }
.barre-mobile svg { width: 18px; height: 18px; }
.sur-titre svg    { width: 16px; height: 16px; }
.puces svg        { width: 16px; height: 16px; }
.pied ul li       { display: flex; align-items: flex-start; gap: .1rem; }

/* ------------------------------------------- cartes des trois territoires */
.carte-zone .carte-img { aspect-ratio: 16 / 10; }
.carte-zone .carte-etiq { font-size: .82rem; letter-spacing: .04em; }
.carte-compte {
  font-family: var(--titre); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--pousse); margin-bottom: .55rem;
}
.carte-villes { font-size: .88rem; margin-top: .2rem; }
.carte-villes a { color: var(--ecorce); text-decoration: none; }
.carte-villes a::after { content: ","; color: var(--trait); }
.carte-villes a:last-child::after { content: ""; }
.carte-villes a:hover { color: var(--pousse); text-decoration: underline; }
.carte-zone .carte-lien { text-decoration: none; }

/* ------------------------------------- les trois territoires dans le hero */
.hero-zones {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .5rem; list-style: none; margin: 1.7rem 0 0; padding: 0;
  max-width: 560px;
}
.hero-zones li {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: var(--r-2); padding: .7rem .8rem .75rem;
}
.hero-zones strong {
  display: block; font-family: var(--titre); font-weight: 800;
  font-size: 1.35rem; line-height: 1; color: var(--pousse-vif);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.hero-zones span {
  display: block; color: var(--blanc); font-size: .86rem;
  line-height: 1.25; margin-top: .3rem;
}
.hero-zones .hero-zone__n {
  color: #b8cfa8; font-size: .76rem; margin-top: .15rem;
}
@media (max-width: 560px) {
  .hero-zones { grid-template-columns: 1fr 1fr; }
  .hero-zones li:last-child { grid-column: 1 / -1; }
}

/* --------------------------------------------------- pied, version courte */
.pied { padding-block: 2.6rem 1.3rem; }
.pied-grille { grid-template-columns: 1.3fr .9fr 1.7fr .7fr; gap: 1.8rem 1.6rem; align-items: start; }
@media (max-width: 900px) { .pied-grille { gap: 1.4rem 1.6rem; } }
@media (max-width: 900px) {
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .pied-grille { grid-template-columns: 1fr; } }
.pied-marque p { font-size: .88rem; margin-bottom: .9rem; }
.pied-marque img { height: 86px; width: auto; margin-bottom: .8rem; }
.pied h4 {
  font-family: var(--titre); font-size: .84rem; font-weight: 700;
  color: var(--blanc); margin: 0 0 .3rem; display: flex; gap: .45rem; align-items: baseline;
}
.pied h4 span {
  font-size: .72rem; color: var(--pousse-vif); font-variant-numeric: tabular-nums;
}
.pied-zone { margin-bottom: .9rem; }
.pied-zone ul { display: flex; flex-wrap: wrap; gap: .1rem .7rem; font-size: .84rem; }
.pied-zone ul li { display: inline; }
.pied-zone ul li::after { content: ","; color: var(--foret-3); }
.pied-zone ul li:last-child::after { content: ""; }
/* sur mobile tout s empile sur une colonne : les dix prestations et les
   cinq liens de site font a eux seuls la moitie de la hauteur du pied */
@media (max-width: 900px) {
  .pied-deux, .pied-grille > div:last-child ul { grid-template-columns: 1fr 1fr; gap: .38rem 1rem; }
}
.pied-toutes { margin-top: .2rem; font-size: .86rem; }
.pied-toutes a { display: inline-flex; align-items: center; gap: .35rem; color: var(--pousse); font-weight: 600; }
/* le vert vif ne passe que sur fond sombre, ou il donne 7,6 de rapport ;
   sur blanc il tombe a 2,18 et devient illisible */
.pied .pied-toutes a, .bande--foret .pied-toutes a { color: var(--pousse-vif); }
.pied-bas { margin-top: 1.9rem; padding-top: 1rem; }

/* L en-tete colle fait 74 px : sans cette marge, l ancre amene le haut du
   formulaire exactement dessous et le titre est masque. */
#devis, [id] { scroll-margin-top: 92px; }

/* ------------------------------------------------------------------------
   Les regles de couleur de .bande--foret visent le texte pose DIRECTEMENT
   sur le marine. Elles debordaient dans les blocs a fond clair imbriques :
   le titre du formulaire de contact sortait blanc sur blanc, mesure a 1,00
   de contraste, et les titres de cartes a 3,30 au lieu de 4,5.
   Chaque bloc clair reprend donc explicitement ses couleurs, apres coup dans
   la feuille pour gagner a specificite egale.
   Voir [[feedback-cascade-specificite-egale]].
   ------------------------------------------------------------------------ */
.bande--foret .carte h3,
.bande--foret .carte h4,
.bande--foret .carte strong      { color: var(--foret); }
.bande--foret .carte a           { color: var(--pousse-fonce); }
.bande--foret .carte a:hover     { color: var(--pousse); }
.bande--foret .carte p,
.bande--foret .carte span        { color: var(--ecorce); }
.bande--foret .carte .carte-lien { color: var(--pousse-fonce); }
/* span.carte-etiq et non .carte-etiq : la regle « .bande--foret .carte span »
   ci-dessus vaut (0,2,1) et l emporterait sur (0,2,0). L etiquette serait
   alors ardoise sur marine, mesure a 2,71. */
.bande--foret .carte span.carte-etiq { color: var(--blanc); }

.bande--foret .devis,
.bande--foret .devis label       { color: var(--encre); }
.bande--foret .devis h2,
.bande--foret .devis h3          { color: var(--foret); }
.bande--foret .devis a           { color: var(--pousse-fonce); }
.bande--foret .devis .devis-note,
.bande--foret .devis .devis-pied { color: var(--ecorce); }
.bande--foret .devis .btn--tel   { color: var(--blanc); }
