/* Bresse Espaces Verts. Visuel San Rita (bar.md), navigation Atelier Paysage. Voir design-system.md */
@font-face { font-family: Anton; src: url(/assets/fonts/anton.woff2) format("woff2"); font-weight: 400; font-display: swap }
/* Hanken Grotesk, variable 100–900, OFL : tout le texte hors Anton */
@font-face { font-family: Hanken; src: url(/assets/fonts/hanken-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; 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: Hanken; src: url(/assets/fonts/hanken-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; 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 }

:root {
  /* contrastes mesurés : menthe/encre 15,5 · vert/topo 7,8 · sauge/encre 5,2 · sauge-f/topo 3,7 (≥ 40 px seulement) */
  --encre: #161b13; --vert: #3c4339; --sauge: #84907f; --sauge-f: #6b7666; --topo: #dde2e4; --menthe: #e0fcc8;
  --pad: 1.6rem; --head: 7.2rem; --air: 9.6rem;
  --out: cubic-bezier(.23, 1, .32, 1);
  --disp: Anton, Impact, "Arial Narrow", sans-serif; --txt: Hanken, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --pad: 2.4rem; --air: 12rem } }
@media (min-width: 1200px) { :root { --pad: 4rem; --head: 8rem; --air: 14rem } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; background: var(--encre) }
html.lenis, html.lenis body { height: auto }
body { font: 400 1.6rem/1.5 var(--txt); letter-spacing: 0; background: var(--encre); color: var(--menthe); -webkit-font-smoothing: antialiased; overflow-x: clip; font-synthesis: none }
img { display: block; width: 100%; height: 100%; object-fit: cover }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; letter-spacing: inherit }
ul, ol { list-style: none }
:focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px }
.topo :focus-visible { outline-color: var(--vert) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.sr:focus { position: fixed; z-index: 300; top: 1rem; left: 1rem; width: auto; height: auto; clip-path: none; background: var(--menthe); color: var(--encre); padding: 1rem }

/* Deux familles : Hanken Grotesk pour le texte, Anton ≥ 40 px pour les titres */
/* échelle texte : 12 · 13 · 16/17 */
.m10 { font-size: 1.2rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; font-weight: 600 }
.m12 { font-size: 1.3rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .05em; font-weight: 500 }
.p16 { font-size: 1.6rem; line-height: 1.5 } @media (min-width: 1024px) { .p16 { font-size: 1.7rem } }
.d40, .d48, .geant { font-family: var(--disp); font-weight: 400; line-height: .9; text-transform: uppercase; letter-spacing: 0 }
.d40 { font-size: 4rem; line-height: 1.2 }
.d48 { font-size: 4rem; line-height: 1.2 } @media (min-width: 1024px) { .d48 { font-size: 4.8rem } }
.geant { font-size: clamp(6rem, 13vw, 22rem); line-height: 1.08 } .geant.fitted { line-height: .9 }
.prose { font-size: 1.6rem; line-height: 1.55; max-width: 64rem } .prose p + p { margin-top: 1.4rem } @media (min-width: 1024px) { .prose { font-size: 1.7rem } }
.lien { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: opacity .3s } .lien:hover { opacity: .7 }
.sqt::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border: 1.5px solid currentColor; border-radius: 50%; margin-right: .8rem; vertical-align: -.05rem }
.src { margin-top: 1.2rem }

/* Bandes pleine largeur */
.bande { position: relative; padding: var(--air) var(--pad); overflow-x: clip } @media (min-width: 1024px) { .bande:not(:has(> .suite)) { min-height: 64rem } }
.encre { background: var(--encre); color: var(--menthe) } .encre .m10, .encre .src { color: var(--sauge) }
.topo { background: var(--topo); color: var(--vert) }
/* titres de section : ≈ 72 % de l'ancienne pleine largeur (10,6 vw), même taille partout, jamais ajustés à la largeur */
.bande-mot { font-size: clamp(5.2rem, 7.6vw, 12rem); line-height: 1; margin-bottom: 5rem; text-wrap: balance; padding-top: .12em }
.bande-titre { margin-bottom: 5rem; max-width: 90rem }
.bande-pied { margin-top: 5rem; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap }
.deux-col { display: grid; gap: 2.4rem } @media (min-width: 1024px) { .deux-col { grid-template-columns: 1fr 1fr; gap: 8rem } .deux-col p { max-width: 60rem } }

/* Pastille ronde à trait 1,5 px : seul ornement */
.pastille { display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; border: 1.5px solid currentColor; border-radius: 50%; flex: none }
.pastille svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round }
.bande-pied .pastille, .credit-l .pastille { width: 3.2rem; height: 3.2rem } .bande-pied .pastille svg, .credit-l .pastille svg { width: 1.5rem; height: 1.5rem }

/* Bouton : filet 1 px, un panneau menthe monte ; pression instantanée, remontée douce */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 4.4rem; padding: 0 1.8rem; border: 1px solid currentColor; font: 600 1.2rem/1 var(--txt); text-transform: uppercase; letter-spacing: .06em; overflow: hidden; isolation: isolate; transition: color .5s var(--out), translate .25s var(--out); white-space: nowrap }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--menthe); translate: 0 101%; transition: translate .5s var(--out) }
.btn:hover { color: var(--encre) } .btn:hover::before { translate: 0 0 }
.btn:active { translate: 0 2px; transition-duration: 0s }
.topo .btn::before { background: var(--vert) } .topo .btn:hover { color: var(--topo) }
.btn.plein { background: var(--menthe); color: var(--encre); border-color: var(--menthe) } .btn.plein::before { background: var(--topo) }
.btn svg { width: .9rem; height: .9rem; transition: rotate .5s var(--out) }

/* En-tête fixe (il suit le scroll) : logo, navigation à plat (sous-menu Prestations en texte), Appel, Devis */
.head { position: fixed; z-index: 20; inset: 0 0 auto; color: var(--menthe) }
.head.ouvert { z-index: 99 }
.bar { position: relative; z-index: 3; display: flex; align-items: center; gap: .8rem; height: var(--head); padding-inline: var(--pad); background: var(--encre); transition: background .4s var(--out) }
.head.sur-photo:not(.defile):not(.ouvert) .bar { background: transparent }
.bar .logo { flex: none; width: 11rem; margin-right: auto } .bar .logo img { height: auto }
@media (min-width: 1200px) { .bar .logo { width: 15rem } }
@media (max-width: 1023px) { .desk { display: none !important } }
@media (min-width: 1024px) { .mob { display: none !important } .bar { gap: 1.6rem } }
.nav { margin-right: 2rem } .nav > ul { display: flex; gap: 3.2rem; align-items: center }
.nav > ul > li > a { position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: 1.2rem 0 }
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .6rem; height: 1px; background: currentColor; scale: 0 1; transform-origin: 100% 50%; transition: scale .5s var(--out) }
.nav > ul > li > a:hover::after, .nav [aria-current]::after { scale: 1 1; transform-origin: 0 50% }
.nav svg { width: .9rem; height: .9rem; transition: rotate .4s var(--out) } .sous:hover svg, .sous:focus-within svg { rotate: 180deg }
.sous { position: relative }
.sous-l { position: absolute; top: 100%; left: -2rem; width: 32rem; padding: .8rem 2rem 1.6rem; background: var(--encre); text-transform: none; letter-spacing: 0; opacity: 0; visibility: hidden; translate: 0 -.8rem; transition: opacity .3s var(--out), translate .4s var(--out), visibility 0s .4s }
.sous:hover .sous-l, .sous:focus-within .sous-l { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s }
.sous-l a { display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(132, 144, 127, .35); font-size: 1.5rem; font-weight: 500; transition: translate .4s var(--out), color .3s } .sous-l a:hover { translate: .8rem 0 }
.appel { display: inline-flex; align-items: center; gap: 1rem; color: var(--menthe) } .appel-n { display: none }
@media (min-width: 1200px) { .appel-n { display: inline } }
.appel .pastille { width: 4.4rem; height: 4.4rem; transition: background .3s, color .3s } .appel:hover .pastille { background: var(--menthe); color: var(--encre) }
.bar .btn.plein { padding: 0 1.4rem }
.burger { display: grid; place-content: center; gap: .7rem; width: 4.4rem; height: 4.4rem; border: 1px solid currentColor }
.burger span { display: block; width: 1.8rem; height: 1.5px; background: currentColor; transition: translate .4s var(--out), rotate .4s var(--out) }
.head.ouvert .burger span:first-child { translate: 0 .43rem; rotate: 45deg } .head.ouvert .burger span:last-child { translate: 0 -.43rem; rotate: -45deg }
/* Menu mobile : panneau encre plein écran, liens en Anton, sans image */
.panneau { position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--head) + 3.2rem) var(--pad) 3.2rem; background: var(--encre); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--out), visibility 0s .7s }
.head.ouvert .panneau { clip-path: inset(0); visibility: visible; transition-delay: 0s }
.panneau-l a { display: block; padding: 1.2rem 0; border-top: 1px solid rgba(132, 144, 127, .45); font: 400 clamp(4.8rem, 13vw, 8rem)/1 var(--disp); text-transform: uppercase }
.panneau-pied { color: var(--sauge) }
@media (min-width: 1024px) { .panneau { display: none } }
/* Salves : un anneau menthe s'élargit en continu autour d'Appel et Devis (demande du client ; coupé en mouvement réduit) */
@keyframes salve { 0% { outline: 1px solid rgba(224, 252, 200, .95); outline-offset: 0 } 100% { outline: 1px solid rgba(224, 252, 200, 0); outline-offset: 1.2rem } }
.appel.salve .pastille, .btn.salve { animation: salve 1.6s var(--out) infinite }

/* Héros : photo plein cadre, fondu vers l'encre, nom géant sur une ligne */
.hero { position: relative; height: max(64rem, min(100svh, 100rem)); overflow: hidden; background: var(--encre) }
.hero-s { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--out); display: block; width: 100% }
.hero-s.on { opacity: 1; z-index: 1 }
.hero-s img { scale: 1.08; transition: scale 7s linear; object-position: var(--pos, 50% 50%) } .hero-s.on img { scale: 1 }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(22, 27, 19, .62) 0, rgba(22, 27, 19, 0) 24%, rgba(22, 27, 19, 0) 40%, rgba(22, 27, 19, .72) 68%, var(--encre) 100%) } /* seul fondu permis (bar.md 1) */
.hero-bas { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 3.2rem }
.hero-nom { color: var(--menthe); font-size: 17vw; line-height: .86; margin-left: -.04em; padding-bottom: .16em }
@media (max-width: 767px) { .hero-nom .l { display: block } }
/* taille de départ = taille après ajustement JS (mesurée : 0,1174 × largeur utile, dès 375 px) : le nom ne saute plus au chargement */
@media (min-width: 375px) and (max-width: 1023px) { .hero:not(.hero-int) .hero-nom { font-size: calc((100vw - 2 * var(--pad)) * .1174); white-space: nowrap; line-height: .9 } }
@media (min-width: 1024px) { .hero-nom { font-size: 11.4vw; white-space: nowrap } }
.hero-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 3rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid rgba(224, 252, 200, .35) }
/* les trois légendes partagent une cellule : la hauteur est celle de la plus haute, le titre ne saute plus à chaque diapo */
.hero-t { display: grid } .hero-t p { grid-area: 1 / 1; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap } .hero-t p[hidden] { display: flex; visibility: hidden }
.hero-t a { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px } .hero-t .x { color: var(--sauge) }
.hero-leg { font: inherit; margin: 0; color: var(--menthe); opacity: .85; font-weight: 400 } /* h2 : même rendu que l'ancien <p> */

/* Étiquette : obligatoire sur toute photo de réalisation */
.etq { display: inline-block; padding: .5rem .8rem .45rem; background: var(--menthe); color: var(--encre); font: 600 1.15rem/1 var(--txt); text-transform: uppercase; letter-spacing: .06em }
.etq.vide { background: none; color: var(--menthe); border: 1px solid var(--menthe) }

/* Images */
.ratio { position: relative; display: block; overflow: hidden }
.ratio > img { position: absolute; inset: 0 }
.r74 { padding-top: 74% } .r62 { padding-top: 62% }
.js img[loading=lazy] { opacity: 0; transition: opacity .6s } .js img.vu { opacity: 1 }

/* Lignes de prestations : seule liste à filets de l'accueil ; l'image suit le curseur (desktop) */
.lignes li { border-top: 1px solid var(--vert) } .lignes li:last-child { border-bottom: 1px solid var(--vert) }
.lignes a { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .8rem 1.6rem; padding: 1.6rem 0; align-items: center }
.lignes .p16 { grid-column: 2 / -1 } .lignes .fl { grid-column: 3; grid-row: 1; font-size: 2rem }
.lignes .d48 { transition: translate .5s var(--out) } .lignes a:hover .d48 { translate: 1.6rem 0 }
.credit { display: inline-block; margin-left: .6rem; padding: .3rem .6rem; border: 1px solid currentColor; font-size: 1rem }
@media (min-width: 1024px) {
  .lignes a { grid-template-columns: 6rem 1fr auto 3rem; padding: 1.6rem 0 } .lignes .p16 { grid-column: 3; max-width: 52rem }
  .lignes .fl { grid-column: -2; display: block; font-size: 2.4rem; text-align: right; transition: translate .5s var(--out) } .lignes a:hover .fl { translate: .8rem 0 }
}

/* Galerie horizontale : épinglée et défilée au scroll en desktop (JS ajoute .pin), défilement natif sinon */
.galerie { position: relative; padding: var(--air) 0; overflow: hidden }
.galerie-t { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2.4rem; padding-inline: var(--pad); margin-bottom: 4.8rem } .galerie-t .bande-mot { margin: 0 }
.galerie-l { display: flex; gap: 1.6rem; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain } .galerie-l::-webkit-scrollbar { display: none }
.galerie-l li { flex: none; width: 78vw; scroll-snap-align: start; scroll-margin-left: var(--pad) }
.galerie-a { display: block } .galerie-a img { aspect-ratio: 4 / 5; height: auto; transition: scale 1.2s var(--out), opacity .6s }
.galerie-l li:nth-child(even) .galerie-a img { aspect-ratio: 4 / 3 }
.galerie-n { display: none }
@media (min-width: 1024px) {
  .galerie-l { gap: 3.2rem; align-items: center } .galerie-l li { width: 28vw } .galerie-l li:nth-child(even) { width: 38vw }
  .galerie.pin { height: max(64rem, 100svh); padding: calc(var(--head) + 4rem) 0 4rem; display: flex; flex-direction: column; justify-content: center }
  .galerie.pin .galerie-l { overflow: visible; width: max-content; scroll-snap-type: none }
  .galerie.pin .galerie-a img { height: 56svh; width: 100%; object-fit: cover }
}
@media (hover: hover) and (min-width: 1024px) {
  .galerie-a { overflow: hidden; position: relative } .galerie-a:hover img { scale: 1.04 }
  .galerie-n { display: block; margin-top: 1.2rem; color: var(--sauge); opacity: 0; translate: 0 .6rem; transition: opacity .4s var(--out), translate .4s var(--out) }
  .galerie-a:hover .galerie-n, .galerie-a:focus-visible .galerie-n { opacity: 1; translate: 0 0; color: var(--menthe) }
}

/* Cascade (Studio D) : trois raisons en diagonale, une photo et un chiffre chacune, sans filet */
.cascade { display: flex; flex-direction: column; gap: 6.4rem }
.cascade li { display: grid; gap: 2rem; width: 86% } .cascade li:nth-child(even) { align-self: flex-end }
.cascade-i { position: relative; aspect-ratio: 4 / 5; overflow: hidden; width: 72% } .cascade-i img { position: absolute; inset: 0 }
.cascade-c { display: flex; flex-direction: column; gap: 1rem; max-width: 34rem }
.d-big { display: block; font: 400 clamp(5.6rem, 7vw, 11rem)/.95 var(--disp); text-transform: uppercase; white-space: nowrap }
@media (min-width: 1024px) {
  .cascade { gap: 2rem } .cascade li { width: 58%; grid-template-columns: 24vw 1fr; gap: 4rem; align-items: end }
  .cascade-i { width: 100% } .cascade li:nth-child(1) { margin-left: 4% }
  .cascade li:nth-child(2) { grid-template-columns: 1fr 24vw; margin-top: -8vw } .cascade li:nth-child(2) .cascade-i { order: 2 } .cascade li:nth-child(2) .cascade-c { text-align: right; align-items: flex-end }
  .cascade li:nth-child(3) { margin-left: 12%; margin-top: 2rem }
}


/* Photo plein cadre, mot géant */
.large { position: relative; min-height: 64rem; height: 86svh; max-height: 96rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--pad); color: var(--menthe) }
.plein-i { position: absolute; inset: 0 } .plein-i img { object-position: var(--pos, 50% 50%) } .large .hero-etq { top: calc(var(--head) + 1.6rem) }
.large.court { min-height: 56rem; height: 64svh } .insec { white-space: nowrap }
.plein-mot { position: relative; font-size: 12vw; line-height: 1.12 } @media (min-width: 768px) { .plein-mot { font-size: 19vw; line-height: .85 } }
.plein-leg, .plein-sur { position: relative; max-width: 72rem; margin-top: 2rem } .plein-sur { margin: 0 0 2rem } .plein-leg { align-self: flex-start }
.large::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(22, 27, 19, 0) 0, rgba(22, 27, 19, 0) 45%, rgba(22, 27, 19, .78) 78%, var(--encre) 100%) } .large > :not(.plein-i) { z-index: 1 }
.plein-h { height: max(64rem, 92svh) }

/* Étapes à pastilles : un filet se trace de l'une à l'autre au scroll (--trace, JS) */
.pas { position: relative; display: grid; gap: 2.4rem; margin-top: 4.8rem }
.pas::before { content: ""; position: absolute; left: 2.2rem; top: 2.2rem; bottom: 2.2rem; width: 1px; background: var(--vert); transform-origin: 50% 0; scale: 1 var(--trace, 1) }
.pas li { position: relative; display: flex; align-items: center; gap: 1.6rem } .pas .pastille { background: var(--topo); position: relative; z-index: 1 }
@media (min-width: 1024px) {
  .pas { grid-template-columns: repeat(4, 1fr); gap: 3.2rem; margin-top: 6.4rem }
  .pas::before { left: 2.2rem; right: 25%; top: 2.2rem; bottom: auto; width: auto; height: 1px; transform-origin: 0 50%; scale: var(--trace, 1) 1 }
  .pas li { flex-direction: column; align-items: flex-start; gap: 2rem }
}

/* Avis */
.avis-b { display: grid; gap: 5rem }
.avis-note .geant { font-size: clamp(12rem, 22vw, 32rem) }
.avis-q { display: flex; flex-direction: column; gap: 4.8rem }
.avis-q blockquote { text-transform: none; line-height: 1 } .avis-q figcaption { margin-top: 1.6rem }
@media (min-width: 1024px) { .avis-b { grid-template-columns: 1fr 1fr; align-items: center; min-height: 64rem } }

/* Fin de page : quatre mots aux quatre coins d'un bloc contact, sans photo */
.fin { position: relative; display: grid; gap: .4rem; padding: 5rem var(--pad); background: var(--topo); color: var(--vert); overflow: hidden }
.fin-mot { position: relative; z-index: 1; color: var(--sauge-f); font-size: 17vw; line-height: .9; pointer-events: none } .fin-mot.m2, .fin-mot.m4 { justify-self: end }
.fin-c { position: relative; z-index: 2; display: grid; margin: 2.4rem 0 }
.fin-c a { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 0; border-top: 1px solid var(--vert) } .fin-c a:last-child { border-bottom: 1px solid var(--vert) }
.fin-c a > * { transition: translate .5s var(--out) } .fin-c a:hover > * { translate: 1.2rem 0 }
@media (min-width: 1024px) {
  .fin { display: block; height: max(56rem, 64svh); padding: 0 }
  .fin-mot { position: absolute; font-size: 11vw; line-height: .86; margin: 0 }
  .fin-mot.m1 { left: var(--pad); top: 3rem } .fin-mot.m2 { right: var(--pad); top: 3rem }
  .fin-mot.m3 { left: var(--pad); bottom: 3rem } .fin-mot.m4 { right: var(--pad); bottom: 3rem }
  .fin-c { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(52rem, 38vw); margin: 0; background: var(--topo) }
}

/* Pied compact : aucun téléphone (deux liens d'appel au plus par page, en-tête et bandeau final) */
.pied { padding: 5rem var(--pad) 2.4rem; background: var(--encre); color: var(--menthe) }
.pied-g { display: grid; gap: 3rem } .pied-logo img { width: 16rem; height: auto }
.pied-g > div { display: flex; flex-direction: column; gap: .8rem } .pied-g a { transition: opacity .3s } .pied-g a:hover { opacity: .65 } .pied-g span, .pied-g a.adr { color: var(--sauge) } .pied-g a.adr:hover { color: var(--menthe); opacity: 1 } .contact-a a:hover { color: var(--menthe) }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--sauge); color: var(--sauge) }
@media (min-width: 1024px) { .pied-g { grid-template-columns: 2fr 1fr 1fr; align-items: start } }

/* Pages intérieures */
.entete { padding: calc(var(--head) + 10rem) var(--pad) 8rem }
.entete .sqt { margin-bottom: 4rem } .entete .geant { font-size: clamp(6rem, 9vw, 14rem); overflow-wrap: anywhere; text-wrap: balance; line-height: .95; padding-top: .12em }
.entete-p { max-width: 64rem; margin-top: 3.2rem }
.entete .d48 { margin-top: 1.6rem }
.acc details { border-top: 1px solid var(--vert) } .acc details:last-child { border-bottom: 1px solid var(--vert) } .encre .acc details { border-color: var(--sauge) }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.4rem 0; cursor: pointer; list-style: none }
.acc summary::-webkit-details-marker { display: none }
.acc summary svg { width: 1.2rem; height: 1.2rem; flex: none; transition: rotate .5s var(--out) } .acc details[open] summary svg { rotate: 180deg }
.acc details > div { padding: 0 0 3rem; max-width: 72rem }

/* Note de proposition : filet sauge à gauche, texte atténué */
.note { margin-top: 2.4rem; padding: .2rem 0 .2rem 1.4rem; border-left: 1px solid var(--sauge); max-width: 60rem; font-size: 1.3rem; line-height: 1.45; color: var(--sauge) }
.note .m10 { color: inherit; margin-right: .6rem } .topo .note { color: var(--vert) }

/* Visionneuse des réalisations : photo entière, étiquette, titre et description */
.zoom { position: fixed; inset: 0; z-index: 200; display: none; padding: 7.2rem var(--pad) 2.4rem; background: var(--encre); color: var(--menthe) }
.zoom.on { display: flex } .zoom figure { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; width: 100%; margin: auto }
.zoom img { width: 100%; height: auto; max-height: calc(100svh - 20rem); object-fit: contain; cursor: zoom-out }
.zoom-l { max-width: 64rem; text-align: center } .zoom-l p { margin-top: .8rem }
.zoom button { position: fixed; top: var(--pad); right: var(--pad); z-index: 2; color: var(--menthe) }

/* Titres ajustés à la largeur (JS data-fit) */
.fitted { white-space: nowrap !important }

/* Titres animés (Splitting) */
.titre .word { display: inline-block; white-space: nowrap } .titre .char { display: inline-block; transform-origin: 50% 100% }

/* Prestations : défilement à photo collante, la photo suit la prestation lue */
.presta-t { min-height: 0 !important; padding-bottom: 4rem } .presta-i { max-width: 52rem; margin-top: -2rem }
.collante { display: grid; padding: 0 var(--pad) var(--air) }
.collante-f { position: sticky; top: var(--head); z-index: 1; height: 36svh; margin-inline: calc(var(--pad) * -1); overflow: hidden; background: var(--menthe) }
.collante-f figure { position: absolute; inset: 1.2rem; overflow: hidden; opacity: 0; clip-path: inset(0 0 0 100%); transition: opacity .6s var(--out), clip-path .9s var(--out) }
.collante-f figure.on { opacity: 1; clip-path: inset(0) } .collante-f img { position: absolute; inset: 0 }
.presta { display: flex; flex-direction: column; gap: 1.6rem; padding: 4.8rem 0; border-top: 1px solid var(--vert); scroll-margin-top: calc(var(--head) + 36svh) }
.presta-inc { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem } .presta-inc li { display: flex; align-items: center; gap: .8rem }
.presta-inc li::before { content: ""; width: .6rem; height: .6rem; border: 1.5px solid currentColor; border-radius: 50% }
.presta-cr { display: flex; align-items: center; gap: 1rem } .presta-cr .pastille { width: 3.2rem; height: 3.2rem } .presta-cr .pastille svg { width: 1.5rem; height: 1.5rem }
.presta-d { align-self: flex-start }
@media (min-width: 1024px) {
  .collante { grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start }
  .collante-f { top: calc(var(--head) + 4rem); height: calc(100svh - var(--head) - 8rem); margin: 0 } .collante-f figure { inset: 2rem }
  .presta { min-height: 56svh; justify-content: center; scroll-margin-top: var(--head) }
}

/* Réalisations : filtres et mosaïque, chaque photo une seule fois */
.reals-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2.4rem; margin-bottom: 4.8rem } .reals-h .bande-mot { margin: 0 }
.filtres { display: flex; flex-wrap: wrap; gap: .4rem 2.4rem }
.filtres button { padding: .8rem 0; border-bottom: 1px solid transparent; color: var(--sauge); text-transform: uppercase; transition: color .3s, border-color .3s }
.filtres button:hover, .filtres [aria-pressed="true"] { color: var(--menthe) } .filtres [aria-pressed="true"] { border-color: var(--menthe) }
.filtres small { margin-left: .3rem; font-size: 1.1rem }
.presta h2 a { display: inline-flex; align-items: center; gap: 1.2rem }
.presta h2 .fleche { flex: none; width: 3.2rem; height: 3.2rem; transition: translate .5s var(--out) } .presta h2 a:hover .fleche { translate: .8rem 0 }
.mosa { columns: 2; column-gap: 1.2rem } .mosa li { break-inside: avoid; margin-bottom: 1.2rem } .mosa li[hidden] { display: none }
.mosa-b { display: block; width: 100%; overflow: hidden; cursor: zoom-in } .mosa-b img { height: auto; transition: scale 1s var(--out), opacity .6s } .mosa-b:hover img { scale: 1.04 }
@media (min-width: 1024px) { .mosa { columns: 3; column-gap: 2rem } .mosa li { margin-bottom: 2rem } }

/* L'entreprise : compacte, les trois chiffres côte à côte */
.ent-i { max-width: 56rem; margin: -2rem 0 3.2rem }
.bande.ent { min-height: 0; padding-bottom: calc(var(--air) / 2) }
.ent .cascade { gap: 3.2rem; margin-top: 2.4rem }
.ent .cascade li { width: 100%; grid-template-columns: 40% 1fr; align-items: end }
.ent .cascade-i { width: 100% }
.horaires { --h-frise: 12rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-top: calc(var(--air) / 2); text-align: center }
.frise { position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 32rem); gap: 1.2rem; margin: 1.2rem 0 .4rem }
.frise::before { content: ""; position: absolute; left: 6.8rem; right: 0; top: 0; height: var(--h-frise); opacity: .3; background: linear-gradient(var(--vert), var(--vert)) 0 var(--d) / 100% 1px no-repeat, linear-gradient(var(--vert), var(--vert)) 0 var(--f) / 100% 1px no-repeat }
.axe { position: relative; height: var(--h-frise) } .axe span { position: absolute; right: 0; translate: 0 -50%; white-space: nowrap }
.semaine { display: grid; grid-template-columns: repeat(7, 1fr) } .semaine li { display: flex; flex-direction: column; align-items: center; gap: 1.2rem }
.piste { position: relative; display: block; width: 100%; height: var(--h-frise) } .piste::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--vert) }
.piste b { position: absolute; left: 50%; translate: -50% 0; width: 1.4rem; top: var(--d); height: calc(var(--f) - var(--d)); background: var(--vert) }
.semaine li:not(.ouvert) .m12 { text-decoration: line-through }
@media (min-width: 1024px) { .horaires { --h-frise: 16rem } .frise { grid-template-columns: 6.4rem minmax(0, 40rem); gap: 1.6rem } .frise::before { left: 8rem } .piste b { width: 1.8rem } }
@media (min-width: 1024px) {
  .ent .cascade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem }
  .ent .cascade li, .ent .cascade li:nth-child(n) { width: auto; margin: 0; grid-template-columns: 1fr; gap: 2rem; align-items: start }
  .ent .cascade li:nth-child(2) .cascade-i { order: 0 } .ent .cascade li:nth-child(2) .cascade-c { text-align: left; align-items: flex-start }
  .ent .cascade-i { aspect-ratio: 4 / 3 }
}

/* Contact : coordonnées à gauche, formulaire à filets à droite (aucune case) */
.contact { display: grid; gap: 6rem }
.contact-t .bande-mot { margin-bottom: 3.2rem }
.contact-c { display: flex; flex-direction: column; gap: .6rem; padding: 2rem 0; border-top: 1px solid rgba(132, 144, 127, .45) } .contact-c > * { transition: translate .5s var(--out) } .contact-c:hover > * { translate: 1.2rem 0 }
.contact-a { margin-top: 2.4rem; color: var(--sauge) }
.form { display: flex; flex-direction: column; gap: 2.8rem; scroll-margin-top: calc(var(--head) + 2rem) }
.champ { display: flex; flex-direction: column; gap: .6rem } .champ .m10, .travaux legend { color: var(--sauge) }
.champ input, .champ textarea { width: 100%; padding: .8rem 0 .9rem; border: 0; border-bottom: 1px solid var(--sauge); background: transparent; color: var(--menthe); font: 400 1.8rem/1.4 var(--txt); resize: vertical; transition: border-color .3s }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom: 2px solid var(--menthe); padding-bottom: .8rem }
.champ ::placeholder { color: var(--sauge); opacity: 1 }
.travaux { display: flex; flex-wrap: wrap; gap: .8rem; border: 0 } .travaux legend { margin-bottom: 1.2rem }
.puce { position: relative; cursor: pointer } .puce input { position: absolute; opacity: 0; pointer-events: none }
.puce span { display: inline-block; padding: 1rem 1.4rem; border: 1px solid var(--sauge); font-size: 1.4rem; transition: background .3s, color .3s, border-color .3s }
.puce:hover span { border-color: var(--menthe) } .puce input:checked + span { background: var(--menthe); border-color: var(--menthe); color: var(--encre) }
.puce input:focus-visible + span { outline: 3px solid var(--menthe); outline-offset: 3px }
.piege { position: absolute; left: -9999px }
.form .btn { align-self: flex-start } .form-ok { color: var(--menthe) } .form-err { color: var(--menthe) } .form-ok[hidden], .form-err[hidden] { display: none }
.champ-autre { display: none } .form:has([data-autre]:checked) .champ-autre { display: flex }
.form-info { color: var(--sauge); max-width: 52rem; text-transform: none; letter-spacing: 0; line-height: 1.5 }
@media (min-width: 1024px) { .contact { grid-template-columns: 5fr 7fr; gap: 8rem; align-items: start } }

/* Flèche dessinée (pas de caractère Unicode en guise d'icône) */
.fleche { display: block; width: 2.4rem; height: 2.4rem }

/* Surfaces du navigateur aux couleurs du site */
::selection { background: var(--menthe); color: var(--encre) } .topo ::selection, .fin ::selection { background: var(--vert); color: var(--topo) }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01s !important } .hero-s img { scale: 1 } }
