/* =========================================================================
   MT SERVICES PAYSAGISTE — feuille de style unique
   Direction : « Chantier & Jardin »
   Grotesque industrielle (Archivo) pour les titres, serif de lecture
   (Newsreader) pour le texte. Minéral pâle, vert pin, orange chantier.
   ========================================================================= */

/* ---------- 0. Polices (auto-hébergées) ----------------------------------
   Archivo et Newsreader sont sous licence SIL Open Font License 1.1.
   Les fichiers sont servis depuis ce serveur : aucune requête vers un tiers,
   aucune adresse IP transmise à Google. Voir README.md.
   ------------------------------------------------------------------------- */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 84% 115%;
  font-display: swap;
  src: url("../fonts/archivo-latin.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: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 84% 115%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin.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: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.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: "Newsreader";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Jetons ---------------------------------------------------- */

:root {
  /* Couleurs */
  --basalte:      #16211a;
  --basalte-90:   #1c2a22;
  --pin:          #2c4530;
  --pin-dk:       #1e3122;
  --calcaire:     #e8ebe4;
  --calcaire-dk:  #dde1d7;
  --craie:        #f5f7f1;
  --lichen:       #b7c29e;
  --hivis:        #ef4a23;
  --hivis-dk:     #d63d19;

  --texte:        var(--basalte);
  --texte-doux:   #4d5c50;
  --texte-clair:  rgba(232, 235, 228, .72);
  --trait:        rgba(22, 33, 26, .16);
  --trait-fort:   rgba(22, 33, 26, .34);
  --trait-clair:  rgba(183, 194, 158, .26);

  /* Typographie */
  --f-titre: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Newsreader", Georgia, "Times New Roman", serif;

  --t-surtitre: .705rem;
  --t-petit:    .82rem;
  --t-texte:    clamp(1.03rem, .32vw + .96rem, 1.14rem);
  --t-chapeau:  clamp(1.16rem, .75vw + 1rem, 1.46rem);
  --t-h3:       clamp(1.22rem, .8vw + 1.02rem, 1.55rem);
  --t-h2:       clamp(1.85rem, 2.6vw + .7rem, 3.05rem);
  --t-h1:       clamp(2.25rem, 3.9vw + .35rem, 4.15rem);

  /* Rythme */
  --gouttiere: clamp(20px, 4vw, 40px);
  --large:     1380px;
  /* distance entre le bord droit du conteneur et le bord de l'écran */
  --debord:    max(var(--gouttiere), calc((100vw - var(--large)) / 2 + var(--gouttiere)));
  --texte-max: 62ch;
  --section:   clamp(72px, 8.5vw, 146px);

  --transition: 420ms cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Réinitialisation ----------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--calcaire);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: var(--t-texte);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 620;
  line-height: 1.02;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); font-stretch: 108%; text-transform: uppercase; letter-spacing: -.028em; }
h2 { font-size: var(--t-h2); font-stretch: 104%; }
h3 { font-size: var(--t-h3); font-stretch: 100%; letter-spacing: -.012em; }

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

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::selection { background: var(--hivis); color: #fff; }

/* ---------- 3. Fragments typographiques --------------------------------- */

.surtitre {
  display: block;
  font-family: var(--f-titre);
  font-size: var(--t-surtitre);
  font-weight: 620;
  font-stretch: 88%;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin: 0 0 1.35rem;
}
.surtitre::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--hivis);
  vertical-align: .28em;
  margin-right: .7rem;
}

.chapeau {
  font-size: var(--t-chapeau);
  line-height: 1.44;
  color: var(--texte-doux);
  max-width: 48ch;
}

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

.lien-souligne {
  font-family: var(--f-titre);
  font-size: var(--t-petit);
  font-weight: 620;
  font-stretch: 92%;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .32rem;
  border-bottom: 1px solid var(--trait-fort);
  transition: border-color 220ms, color 220ms;
  display: inline-block;
}
.lien-souligne:hover { border-color: var(--hivis); color: var(--hivis); }

/* ---------- 4. Mise en page --------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--large);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.wrap--etroit { max-width: 960px; }

.section { padding-block: var(--section); }
.section--court { padding-block: clamp(48px, 5.5vw, 92px); }

.section--pin      { background: var(--pin);     color: var(--craie); }
.section--basalte  { background: var(--basalte); color: var(--craie); }
.section--craie    { background: var(--craie); }

.section--pin .surtitre,
.section--basalte .surtitre { color: var(--lichen); }
.section--pin .chapeau,
.section--basalte .chapeau { color: var(--texte-clair); }
.section--pin .lien-souligne,
.section--basalte .lien-souligne { border-color: var(--trait-clair); }
.section--pin .lien-souligne:hover,
.section--basalte .lien-souligne:hover { color: var(--lichen); border-color: var(--lichen); }

.entete-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.6rem, 4vw, 4.4rem);
}
@media (min-width: 900px) {
  .entete-section { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

.trait { height: 1px; background: var(--trait); border: 0; margin: 0; }
.section--pin .trait, .section--basalte .trait { background: var(--trait-clair); }

/* ---------- 5. Boutons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--f-titre);
  font-size: .805rem;
  font-weight: 660;
  font-stretch: 94%;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.02rem 1.6rem;
  border: 1px solid transparent;
  background: var(--hivis);
  color: #fff;
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.btn:hover { background: var(--hivis-dk); transform: translateY(-2px); }
.btn:active { transform: none; }

.btn--fantome {
  background: none;
  color: var(--texte);
  border-color: var(--trait-fort);
}
.btn--fantome:hover { background: var(--basalte); color: var(--craie); border-color: var(--basalte); }

.section--pin .btn--fantome,
.section--basalte .btn--fantome { color: var(--craie); border-color: var(--trait-clair); }
.section--pin .btn--fantome:hover,
.section--basalte .btn--fantome:hover { background: var(--craie); color: var(--basalte); border-color: var(--craie); }

.btn .fleche { width: 15px; height: 15px; flex: none; }

.duo-btn { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- 6. En-tête ---------------------------------------------------- */

.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  /* sans JS, l'en-tête ne peut pas changer d'état au défilement : il reste en haut */
  transition: background 300ms, box-shadow 300ms, border-color 300ms;
  border-bottom: 1px solid transparent;
}
/* sans JS l'en-tête ne peut pas suivre le défilement : il reste dans le flux */
html:not(.js) .entete { position: static; background: var(--basalte); }
html:not(.js) .hero { padding-top: 0; }
html:not(.js) .hero-page { padding-top: clamp(3rem, 6vw, 6rem); }

.entete__in {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 78px;
  padding-block: .7rem;
}

.marque {
  display: flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.marque img { width: 44px; height: 44px; }
.marque__txt { display: grid; line-height: 1; }
.marque__nom {
  font-family: var(--f-titre);
  font-size: .96rem;
  font-weight: 700;
  font-stretch: 104%;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marque__sous {
  font-family: var(--f-titre);
  font-size: .62rem;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .27em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-top: .34rem;
}

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.9vw, 2rem); }
.nav a {
  font-family: var(--f-titre);
  font-size: .78rem;
  font-weight: 580;
  font-stretch: 92%;
  letter-spacing: .105em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .35rem 0;
  position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--hivis);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.entete .btn { padding: .82rem 1.25rem; font-size: .74rem; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--trait-fort);
  align-items: center;
  justify-content: center;
  flex: none;
}
.burger span { display: block; width: 19px; height: 1.5px; background: currentColor; position: relative; transition: background 180ms; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 1.5px; background: currentColor;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
body.menu-ouvert .burger span { background: transparent; }
body.menu-ouvert .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-ouvert .burger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* état posé (défilement / pages intérieures) */
.entete.est-pose {
  background: var(--calcaire);
  border-bottom-color: var(--trait);
}
.entete.est-pose .entete__in { min-height: 68px; }

/* état clair (au-dessus d'un visuel sombre) */
.entete.est-clair:not(.est-pose) { color: var(--craie); }
.entete.est-clair:not(.est-pose) .marque__sous { color: rgba(245,247,241,.66); }
.entete.est-clair:not(.est-pose) .burger { border-color: rgba(245,247,241,.4); }
.entete.est-clair:not(.est-pose) .btn--fantome { color: var(--craie); border-color: rgba(245,247,241,.45); }

/* ---------- 7. Menu mobile ----------------------------------------------- */

.tiroir {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--pin);
  color: var(--craie);
  padding: 108px var(--gouttiere) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-101%);
  transition: transform 520ms cubic-bezier(.72,0,.24,1);
  visibility: hidden;
  overflow-y: auto;
}
body.menu-ouvert .tiroir { transform: none; visibility: visible; }
body.menu-ouvert { overflow: hidden; }

.tiroir__nav a {
  display: block;
  font-family: var(--f-titre);
  font-size: clamp(1.6rem, 7vw, 2.5rem);
  font-weight: 640;
  font-stretch: 104%;
  text-transform: uppercase;
  letter-spacing: -.02em;
  text-decoration: none;
  padding: .58rem 0;
  border-bottom: 1px solid var(--trait-clair);
}
.tiroir__nav a:first-child { border-top: 1px solid var(--trait-clair); }
.tiroir__pied {
  margin-top: 2.6rem;
  font-size: .92rem;
  color: var(--texte-clair);
  display: grid;
  gap: .35rem;
  justify-items: start;
}
.tiroir__pied a { color: var(--lichen); }
.tiroir__pied .btn { color: #fff; margin-bottom: 1.6rem; }

/* l'en-tête adopte la palette du tiroir quand le menu est ouvert */
body.menu-ouvert .entete,
body.menu-ouvert .entete.est-pose { background: transparent; border-bottom-color: transparent; color: var(--craie); }
body.menu-ouvert .entete .marque__sous { color: var(--lichen); }
body.menu-ouvert .entete .burger { border-color: rgba(245, 247, 241, .4); }

/* ---------- 8. Héro ------------------------------------------------------ */

.hero {
  position: relative;
  background: var(--basalte);
  color: var(--craie);
  padding-top: 78px;
}
.hero__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1000px) {
  .hero__grille { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); min-height: calc(100svh - 78px); }
}

.hero__texte {
  padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(2.6rem, 4vw, 3.4rem);
  padding-right: clamp(0px, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .surtitre { color: var(--lichen); }
.hero h1 { font-size: clamp(2.1rem, 2.85vw + .5rem, 3.5rem); max-width: 16ch; }
.hero__chapeau {
  margin-top: 1.35rem;
  font-size: clamp(1.08rem, .5vw + .96rem, 1.28rem);
  line-height: 1.5;
  color: var(--texte-clair);
  max-width: 46ch;
}
.hero__duo { margin-top: 1.9rem; }
.hero .btn--fantome { color: var(--craie); border-color: rgba(245,247,241,.4); }
.hero .btn--fantome:hover { background: var(--craie); color: var(--basalte); border-color: var(--craie); }

/* index des métiers */
.metiers { margin-top: clamp(1.9rem, 3vw, 2.8rem); border-top: 1px solid var(--trait-clair); }
.metier {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .82rem .2rem .82rem 0;
  border-bottom: 1px solid var(--trait-clair);
  text-decoration: none;
  position: relative;
  transition: padding-left var(--transition), color 240ms;
}
.metier::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--hivis);
  transition: width var(--transition);
}
.metier__nom {
  font-family: var(--f-titre);
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  font-weight: 600;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.metier__tag {
  font-family: var(--f-titre);
  font-size: .66rem;
  font-weight: 560;
  font-stretch: 84%;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(183,194,158,.72);
  text-align: right;
}
.metier__vignette { display: none; }
.metier:hover, .metier:focus-visible, .metier.est-actif { padding-left: .85rem; color: var(--lichen); }
.metier:hover::before, .metier:focus-visible::before, .metier.est-actif::before { width: 100%; }

.hero__visuel {
  position: relative;
  min-height: 58vw;
  background: var(--pin-dk);
  overflow: hidden;
}
@media (min-width: 1000px) {
  .hero__visuel {
    min-height: 0;
    margin-right: calc(-1 * var(--debord));
  }
}
.hero__visuel img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 760ms ease, transform 6s ease;
  transform: scale(1.045);
}
.hero__visuel img.est-visible { opacity: 1; transform: scale(1); }
.hero__visuel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,33,26,.62) 0%, rgba(22,33,26,.12) 42%, rgba(22,33,26,0) 70%);
  pointer-events: none;
}
.hero__legende {
  position: absolute;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 2;
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--craie);
  background: rgba(22,33,26,.62);
  backdrop-filter: blur(3px);
  padding: .5rem .8rem;
}

/* bandeau héro secondaire (pages intérieures) */
.hero-page {
  background: var(--pin);
  color: var(--craie);
  padding-top: calc(78px + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 6rem);
}
.hero-page .surtitre { color: var(--lichen); }
.hero-page h1 { max-width: 16ch; }
.hero-page__chapeau {
  margin-top: 1.5rem;
  font-size: var(--t-chapeau);
  line-height: 1.45;
  color: var(--texte-clair);
  max-width: 54ch;
}

.fil {
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(183,194,158,.8);
  margin-bottom: 1.6rem;
}
.fil a { text-decoration: none; }
.fil a:hover { color: #fff; }
.fil span { opacity: .55; margin: 0 .45rem; }

/* ---------- 9. Bandeau de repères ---------------------------------------- */

.reperes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--trait-clair);
}
@media (min-width: 760px) { .reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.repere {
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.2rem, 2.4vw, 2.4rem) clamp(1.8rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid var(--trait-clair);
}
@media (min-width: 760px) {
  .repere { border-bottom: 0; border-right: 1px solid var(--trait-clair); }
  .repere:last-child { border-right: 0; padding-right: 0; }
  .repere + .repere { padding-left: clamp(1.2rem, 2.4vw, 2.4rem); }
}
.repere__cle {
  font-family: var(--f-titre);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 640;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: -.012em;
  margin-bottom: .55rem;
}
.repere__val { font-size: .96rem; line-height: 1.5; color: var(--texte-clair); margin: 0; }

/* ---------- 9 bis. Sommaire des savoir-faire ----------------------------- */

.sommaire { display: grid; gap: 0; border-top: 1px solid var(--trait); }
@media (min-width: 720px)  { .sommaire { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .sommaire { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.sommaire__col {
  padding: 1.9rem clamp(1rem, 1.8vw, 1.7rem) 2rem 0;
  border-bottom: 1px solid var(--trait);
  display: flex;
  flex-direction: column;
}
@media (min-width: 1120px) {
  .sommaire__col { border-bottom: 0; border-right: 1px solid var(--trait); }
  .sommaire__col:last-child { border-right: 0; padding-right: 0; }
  .sommaire__col + .sommaire__col { padding-left: clamp(1rem, 1.8vw, 1.7rem); }
}
.sommaire h3 {
  font-size: 1.02rem;
  font-stretch: 96%;
  text-transform: uppercase;
  letter-spacing: .004em;
  margin-bottom: 1.05rem;
}
.sommaire ul { margin-bottom: 1.4rem; }
.sommaire ul li { font-size: .9rem; line-height: 1.45; color: var(--texte-doux); padding: .3rem 0; }
.sommaire .lien-souligne { margin-top: auto; align-self: flex-start; }

/* ---------- 10. Prestations (fiches) ------------------------------------- */

.fiches { display: grid; gap: clamp(2.5rem, 4vw, 4.5rem); }

.fiche {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3.4rem);
  align-items: start;
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--trait);
}
@media (min-width: 940px) {
  /* le visuel occupe toujours la colonne large, à droite puis à gauche */
  .fiche { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .fiche--inverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .fiche--inverse .fiche__visuel { order: -1; }
}
.fiche__visuel { position: relative; overflow: hidden; background: var(--calcaire-dk); }
.fiche__visuel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.22,.61,.36,1);
}
.fiche:hover .fiche__visuel img { transform: scale(1.035); }

.fiche h2 { margin-bottom: 1rem; }
.fiche__resume { color: var(--texte-doux); margin-bottom: 1.6rem; max-width: 56ch; }

.puces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: .12rem 1.6rem;
  margin-bottom: 1.8rem;
}
.puces li {
  font-size: .95rem;
  padding: .46rem 0 .46rem 1.15rem;
  border-bottom: 1px solid var(--trait);
  position: relative;
}
.puces li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.02em;
  width: 5px; height: 5px;
  background: var(--hivis);
}
.section--pin .puces li, .section--basalte .puces li { border-color: var(--trait-clair); }

/* ---------- 11. Galerie -------------------------------------------------- */

.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.4rem;
}
.filtre {
  font-family: var(--f-titre);
  font-size: .74rem;
  font-weight: 600;
  font-stretch: 90%;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .68rem 1.1rem;
  border: 1px solid var(--trait);
  transition: background 200ms, color 200ms, border-color 200ms;
}
.filtre:hover { border-color: var(--trait-fort); }
.filtre[aria-pressed="true"] { background: var(--basalte); color: var(--craie); border-color: var(--basalte); }

.galerie {
  columns: 1;
  column-gap: clamp(10px, 1.4vw, 18px);
}
@media (min-width: 620px)  { .galerie { columns: 2; } }
@media (min-width: 1040px) { .galerie { columns: 3; } }

.galerie__item {
  break-inside: avoid;
  margin-bottom: clamp(10px, 1.4vw, 18px);
  position: relative;
  overflow: hidden;
  background: var(--calcaire-dk);
  display: block;
  width: 100%;
  padding: 0;
}
.galerie__item img { width: 100%; transition: transform 900ms cubic-bezier(.22,.61,.36,1); }
.galerie__item::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--basalte);
  opacity: 0;
  transition: opacity 300ms;
}
.galerie__item:hover img { transform: scale(1.04); }
.galerie__item:hover::after { opacity: .18; }
.galerie__item[hidden] { display: none; }

.galerie__etiq {
  position: absolute;
  left: 10px; bottom: 10px;
  z-index: 2;
  font-family: var(--f-titre);
  font-size: .63rem;
  font-weight: 580;
  font-stretch: 86%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--craie);
  background: rgba(22,33,26,.68);
  padding: .38rem .62rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms, transform 260ms;
}
.galerie__item:hover .galerie__etiq,
.galerie__item:focus-visible .galerie__etiq { opacity: 1; transform: none; }

/* mosaïque d'aperçu (accueil) */
.mosaique {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
@media (min-width: 900px) { .mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mosaique a { position: relative; overflow: hidden; background: var(--calcaire-dk); display: block; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.22,.61,.36,1); }
.mosaique a:hover img { transform: scale(1.045); }
.mosaique a { grid-column: span 1; }
.mosaique a:nth-child(1) { grid-column: span 2; }
.mosaique img { aspect-ratio: 1 / 1; }
.mosaique a:nth-child(1) img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .mosaique a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaique a:nth-child(1) img { aspect-ratio: 1 / 1; }
}

/* visionneuse */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(14, 20, 16, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.visionneuse[open] { display: flex; }
.visionneuse img {
  max-width: min(100%, 1200px);
  max-height: 84vh;
  object-fit: contain;
  width: auto;
}
.visionneuse__barre {
  position: absolute;
  left: 0; right: 0; bottom: clamp(12px, 3vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: var(--craie);
  font-family: var(--f-titre);
  font-size: .72rem;
  font-weight: 560;
  font-stretch: 88%;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.visionneuse__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid rgba(245,247,241,.28);
  color: var(--craie);
  display: grid;
  place-items: center;
  transition: background 200ms, border-color 200ms;
}
.visionneuse__nav:hover { background: rgba(245,247,241,.12); border-color: var(--craie); }
.visionneuse__prec { left: clamp(10px, 2vw, 26px); }
.visionneuse__suiv { right: clamp(10px, 2vw, 26px); }
.visionneuse__fermer {
  position: absolute;
  top: clamp(12px, 2.5vw, 26px);
  right: clamp(12px, 2.5vw, 26px);
  width: 46px; height: 46px;
  border: 1px solid rgba(245,247,241,.28);
  color: var(--craie);
  display: grid;
  place-items: center;
}
.visionneuse__fermer:hover { background: rgba(245,247,241,.12); }

/* ---------- 12. Territoire (signature) ----------------------------------- */

.territoire {
  display: grid;
  gap: clamp(2.4rem, 4vw, 4.2rem);
  align-items: center;
}
@media (min-width: 980px) { .territoire { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.carte { width: 100%; height: auto; overflow: visible; }
.carte__anneau { fill: none; stroke: var(--trait-clair); stroke-width: 1; }
.carte__disque  { fill: rgba(183,194,158,.05); stroke: none; }
.carte__axe     { stroke: var(--trait-clair); stroke-width: 1; stroke-dasharray: 3 6; }
.carte__pt      { fill: var(--lichen); }
.carte__lbl {
  fill: rgba(232,235,228,.82);
  font-family: var(--f-titre);
  font-size: 12.5px;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.carte__cote {
  fill: rgba(183,194,158,.6);
  font-family: var(--f-titre);
  font-size: 12px;
  font-weight: 600;
  font-stretch: 84%;
  letter-spacing: .16em;
}
.carte__base   { fill: var(--hivis); }
.carte__base-l {
  fill: #fff;
  font-family: var(--f-titre);
  font-size: 14px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.carte__halo { fill: none; stroke: var(--hivis); stroke-width: 1.5; opacity: .5; }

/* états d'animation réservés au JS : sans lui, la carte s'affiche telle quelle */
.js .carte [data-trace] {
  stroke-dasharray: var(--l);
  stroke-dashoffset: var(--l);
}
.js .carte.est-tracee [data-trace] {
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
  stroke-dashoffset: 0;
}
.js .carte [data-pop] { opacity: 0; }
.js .carte.est-tracee [data-pop] { animation: pop 520ms cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.villes { columns: 2; column-gap: 2rem; }
.villes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .8rem;
  padding: .48rem 0;
  border-bottom: 1px solid var(--trait-clair);
  font-size: .92rem;
  break-inside: avoid;
}
.villes b { font-family: var(--f-titre); font-weight: 560; font-stretch: 94%; letter-spacing: .01em; }
.villes span {
  font-family: var(--f-titre);
  font-size: .74rem;
  font-weight: 560;
  font-stretch: 84%;
  letter-spacing: .08em;
  color: var(--lichen);
  white-space: nowrap;
}

/* ---------- 13. Étapes --------------------------------------------------- */

.etapes { counter-reset: e; display: grid; gap: 0; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.etape {
  counter-increment: e;
  padding: 1.9rem clamp(1rem, 2vw, 2rem) 1.9rem 0;
  border-top: 2px solid var(--trait-fort);
}
@media (min-width: 860px) {
  .etape + .etape { padding-left: clamp(1rem, 2vw, 2rem); }
}
.etape::before {
  content: counter(e, decimal-leading-zero);
  display: block;
  font-family: var(--f-titre);
  font-size: .78rem;
  font-weight: 680;
  font-stretch: 88%;
  letter-spacing: .18em;
  color: var(--hivis);
  margin-bottom: 1.1rem;
}
.etape h3 { margin-bottom: .6rem; }
.etape p { font-size: .96rem; color: var(--texte-doux); margin: 0; }
.section--pin .etape { border-top-color: var(--trait-clair); }
.section--pin .etape p { color: var(--texte-clair); }

/* ---------- 14. Panneaux avantages --------------------------------------- */

.panneaux { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
@media (min-width: 820px) { .panneaux { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panneau {
  background: var(--craie);
  border: 1px solid var(--trait);
  padding: clamp(1.7rem, 3vw, 2.7rem);
  display: flex;
  flex-direction: column;
}
.section--craie .panneau { background: var(--calcaire); }
.panneau__marque {
  font-family: var(--f-titre);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -.03em;
  line-height: .9;
  color: var(--hivis);
  margin-bottom: 1.2rem;
}
.panneau h3 { margin-bottom: .8rem; }
.panneau p:not([class]) { color: var(--texte-doux); font-size: .99rem; }
.panneau__note {
  margin-top: auto;
  padding-top: 1.3rem;
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

/* ---------- 15. Citation ------------------------------------------------- */

.citation { max-width: 24ch; }
.citation blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.28;
  font-weight: 350;
  font-style: italic;
  letter-spacing: -.01em;
  max-width: 20ch;
}
.citation--large { max-width: none; }
.citation--large blockquote { max-width: 22ch; }
.citation figcaption {
  margin-top: 1.6rem;
  font-family: var(--f-titre);
  font-size: .72rem;
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.section--pin .citation figcaption { color: var(--lichen); }

/* ---------- 16. Accordéon / FAQ ------------------------------------------ */

.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.35rem 0;
  font-family: var(--f-titre);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 580;
  font-stretch: 98%;
  letter-spacing: -.008em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  flex: none;
  width: 13px; height: 13px;
  margin-top: .35em;
  background: currentColor;
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform 320ms cubic-bezier(.22,.61,.36,1), color 200ms;
}
.faq details[open] summary { color: var(--hivis); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__rep {
  padding: 0 0 1.6rem;
  max-width: 62ch;
  color: var(--texte-doux);
}

/* ---------- 17. Tableau tarifs ------------------------------------------- */

.tarifs { width: 100%; }
.tarifs__wrap { overflow-x: auto; }
.tarifs table { width: 100%; border-collapse: collapse; min-width: 480px; }
.tarifs caption {
  text-align: left;
  font-family: var(--f-titre);
  font-size: .7rem;
  font-weight: 580;
  font-stretch: 86%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
  padding-bottom: 1rem;
}
.tarifs th, .tarifs td { text-align: left; padding: .95rem .8rem .95rem 0; border-bottom: 1px solid var(--trait); }
.tarifs thead th {
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 620;
  font-stretch: 86%;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom-color: var(--trait-fort);
  padding-bottom: .8rem;
  color: var(--texte-doux);
}
.tarifs tbody th { font-family: var(--f-texte); font-weight: 500; font-size: 1rem; }
.tarifs td { text-align: right; padding-right: 0; white-space: nowrap; }
.tarifs thead th:not(:first-child) { text-align: right; padding-right: 0; }
.tarifs .prix {
  font-family: var(--f-titre);
  font-size: 1.06rem;
  font-weight: 620;
  font-stretch: 100%;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.tarifs tbody tr:hover th, .tarifs tbody tr:hover td { background: rgba(22,33,26,.035); }

/* ---------- 18. Formulaire ----------------------------------------------- */

.form { display: grid; gap: 1.35rem; }
.form__duo { display: grid; gap: 1.35rem; }
@media (min-width: 620px) { .form__duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.champ { display: grid; gap: .5rem; align-content: start; margin: 0; }
.champ label {
  font-family: var(--f-titre);
  font-size: .69rem;
  font-weight: 600;
  font-stretch: 86%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.champ .req { color: var(--hivis); }
.champ input, .champ select, .champ textarea {
  font-family: var(--f-texte);
  font-size: 1.02rem;
  color: var(--texte);
  background: #fff;
  border: 1px solid rgba(22, 33, 26, .24);
  border-radius: 0;
  padding: .95rem 1rem;
  width: 100%;
  transition: border-color 200ms, background 200ms;
  appearance: none;
}
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234d5c50' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.6rem;
}
.champ textarea { min-height: 168px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none;
  border-color: var(--basalte);
  background: #fff;
}
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible {
  outline: 2px solid var(--hivis);
  outline-offset: 2px;
}
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.form__mention { font-size: .84rem; color: var(--texte-doux); max-width: 44ch; margin: 0; }
.form__etat {
  margin: 0;
  font-family: var(--f-titre);
  font-size: .76rem;
  font-weight: 580;
  font-stretch: 90%;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .8rem 1rem;
  border-left: 3px solid var(--hivis);
  background: rgba(239,74,35,.06);
}
.form__etat[hidden] { display: none; }

/* ---------- 19. Coordonnées ---------------------------------------------- */

.coord { display: grid; gap: 1.6rem; }
.coord__bloc { padding-top: 1.3rem; border-top: 1px solid var(--trait); }
.coord__t {
  font-family: var(--f-titre);
  font-size: .69rem;
  font-weight: 600;
  font-stretch: 86%;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: .6rem;
}
.coord__v { font-size: 1.05rem; line-height: 1.5; }
.coord__v a { text-decoration: none; border-bottom: 1px solid var(--trait-fort); }
.coord__v a:hover { color: var(--hivis); border-color: var(--hivis); }
.section--pin .coord__bloc { border-top-color: var(--trait-clair); }
.section--pin .coord__t { color: var(--lichen); }

/* ---------- 20. Appel final ---------------------------------------------- */

.appel { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .appel { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.appel h2 { font-size: clamp(1.85rem, 2.7vw + .5rem, 3.1rem); text-transform: uppercase; font-stretch: 106%; letter-spacing: -.026em; max-width: 17ch; }

/* ---------- 21. Pied ----------------------------------------------------- */

.pied { background: var(--basalte); color: var(--texte-clair); padding-block: clamp(3.4rem, 6vw, 5.4rem) 2rem; }
.pied__haut { display: grid; gap: 2.6rem; padding-bottom: 2.8rem; border-bottom: 1px solid var(--trait-clair); }
@media (min-width: 880px) { .pied__haut { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 3rem; } }

.pied .marque__nom { color: var(--craie); }
.pied .marque__sous { color: var(--lichen); }
.pied__mot { margin-top: 1.4rem; max-width: 34ch; font-size: .98rem; }

.pied__t {
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 620;
  font-stretch: 86%;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lichen);
  margin-bottom: 1.1rem;
}
.pied__liste li { padding: .3rem 0; }
.pied__liste a { text-decoration: none; transition: color 200ms; }
.pied__liste a:hover { color: var(--craie); }

.pied__bas {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.8rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 520;
  font-stretch: 88%;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pied__bas a { text-decoration: none; }
.pied__bas a:hover { color: var(--craie); }
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }

/* ---------- 22. Divers --------------------------------------------------- */

.saut-lien {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--hivis);
  color: #fff;
  padding: .8rem 1.2rem;
  font-family: var(--f-titre);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 200ms;
}
.saut-lien:focus { top: 12px; }

.duo-texte { display: grid; gap: clamp(1.6rem, 3vw, 3.4rem); }
@media (min-width: 900px) { .duo-texte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait figcaption {
  margin-top: .9rem;
  font-family: var(--f-titre);
  font-size: .68rem;
  font-weight: 560;
  font-stretch: 86%;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--texte-doux);
}
.section--pin .portrait figcaption { color: var(--lichen); }

.prose h3 { margin: 2.2rem 0 .8rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2rem; }
.prose ul li { padding: .4rem 0 .4rem 1.2rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1em; width: 5px; height: 5px; background: var(--hivis); }
.prose a { color: inherit; }

/* révélation au défilement */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 760ms cubic-bezier(.22,.61,.36,1), transform 760ms cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].est-vu { opacity: 1; transform: none; }

/* ---------- 23. Ruptures ------------------------------------------------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .js .burger { display: flex; }
  .entete .btn--devis { display: none; }

  /* sans JavaScript, le tiroir ne s'ouvre pas : on déplie la navigation */
  html:not(.js) .entete__in { flex-wrap: wrap; }
  html:not(.js) .nav { display: flex; flex-wrap: wrap; row-gap: .5rem; width: 100%; }
  html:not(.js) .entete .btn--devis { display: inline-flex; }
  html:not(.js) .tiroir { display: none; }
}

@media (max-width: 999px) {
  .hero { padding-top: 78px; }
  .hero__visuel { order: -1; min-height: 76vw; margin-inline: calc(var(--gouttiere) * -1); }
  .hero__texte { padding-top: 2.4rem; }
  .metier__tag { display: none; }
  .metier { grid-template-columns: 1fr auto; }
}

@media (max-width: 620px) {
  :root { --t-surtitre: .68rem; }
  .villes { columns: 1; }
  /* la carte est réduite : les noms passent dans la liste, on grossit le reste */
  .carte__lbl { display: none; }
  .carte__cote { font-size: 24px; letter-spacing: .1em; }
  .carte__base-l { font-size: 26px; }
  .citation blockquote { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .carte [data-trace] { stroke-dashoffset: 0; }
  .js .carte [data-pop] { opacity: 1; }
  .hero__visuel img { transform: none; }
}

@media print {
  .entete, .tiroir, .visionneuse, .btn, .filtres { display: none !important; }
  body { background: #fff; color: #000; }
  .section--pin, .section--basalte { background: #fff !important; color: #000 !important; }
}
