/* TTPM, Transport Travaux Publics du Midi : papier vert sauge, ocre de terre, Fraunces douce + Figtree. */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-normal.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-normal.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --papier: #eef0e6;
  --papier-2: #e2e7d7;
  --papier-3: #d6ddc8;
  --tirage: #fbfbf5;
  --encre: #1d2a22;
  --encre-2: #47544b;
  --sauge: #7d927a;
  --sauge-fonce: #304638;
  --foret: #1f2f26;
  --ocre: #c08a2b;
  --ocre-clair: #e6c27a;
  --ocre-texte: #85580c;
  --trait: rgba(29, 42, 34, .16);
  --rayon: 6px;
  --ombre: 0 1px 2px rgba(29, 42, 34, .12), 0 14px 32px -14px rgba(29, 42, 34, .42);
  --wrap: 1200px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .22 0 0 0 0 .15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --f-titre: 'Fraunces', Georgia, serif;
  --f-texte: 'Figtree', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.62; color: var(--encre);
  background: var(--papier) var(--grain); font-feature-settings: 'kern'; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sauge-fonce); text-decoration-color: rgba(48, 70, 56, .45); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ocre-texte); text-decoration-color: currentColor; }
::selection { background: var(--ocre-clair); color: var(--encre); }
input, textarea, select { caret-color: var(--ocre-texte); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--sauge) var(--papier-2); }

h1, h2, h3 {
  font-family: var(--f-titre); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em;
  font-variation-settings: 'SOFT' 100, 'WONK' 0; text-wrap: balance; color: var(--encre);
}
h1 { font-size: clamp(2.05rem, 1.3rem + 3.1vw, 3.75rem); font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 1em; }
strong { font-weight: 650; }
sup { font-size: .65em; line-height: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.saut { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--encre); color: var(--papier); padding: .6rem 1rem; }
.saut:focus { left: 1rem; top: 1rem; }

/* ---------- Icônes & boutons ---------- */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: var(--rayon);
  background: var(--sauge-fonce); color: var(--papier); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--sauge-fonce); cursor: pointer; font-family: inherit;
  transition: background .2s cubic-bezier(.2, .8, .2, 1), color .2s, border-color .2s, transform .2s cubic-bezier(.2, .8, .2, 1);
}
.btn:hover { background: var(--foret); border-color: var(--foret); color: var(--papier); transform: translateY(-1px); }
.btn .ico { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--ocre { background: var(--ocre); border-color: var(--ocre); color: var(--encre); }
.btn--ocre:hover { background: var(--ocre-clair); border-color: var(--ocre-clair); color: var(--encre); }
.btn--ligne { background: transparent; color: var(--encre); border-color: rgba(29, 42, 34, .55); }
.btn--ligne:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.btn--papier { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.btn--papier:hover { background: var(--ocre-clair); border-color: var(--ocre-clair); color: var(--encre); }
.btn--petit { padding: .55rem .95rem; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
.lien-fleche { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; text-decoration: none; color: var(--sauge-fonce); }
.lien-fleche:hover .ico { transform: translateX(3px); }
.lien-fleche .ico { transition: transform .25s cubic-bezier(.2, .8, .2, 1); color: var(--ocre-texte); }

/* ---------- À compléter ---------- */
.a-completer {
  display: inline; padding: .08em .45em; border: 1.5px dashed var(--ocre); border-radius: 4px; color: var(--ocre-texte);
  background: repeating-linear-gradient(-45deg, rgba(192, 138, 43, .08) 0 6px, transparent 6px 12px); font-size: .92em; font-weight: 600;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--encre); }
.logo__disque { width: 44px; height: 44px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__sigle { font-family: var(--f-titre); font-weight: 750; font-size: 1.6rem; letter-spacing: .02em; font-variation-settings: 'SOFT' 100; }
.logo__nom { font-size: .72rem; letter-spacing: .02em; color: var(--encre-2); margin-top: .25rem; font-weight: 500; }
.logo:hover { color: var(--encre); }

/* ---------- En-tête ---------- */
.tete { position: sticky; top: 0; z-index: 50; background: var(--papier) var(--grain); border-bottom: 1px solid var(--trait); }
.tete__info { background: var(--sauge-fonce); color: #e3e9dc; font-size: .84rem; }
.tete__info-in { display: flex; gap: 2rem; justify-content: flex-end; padding: .4rem 0; }
.tete__info p { margin: 0; display: flex; align-items: center; gap: .4rem; }
.tete__info .ico { color: var(--ocre-clair); }
.tete__in { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.tete__act { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.tete__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--encre); white-space: nowrap; font-size: 1.05rem; }
.tete__tel .ico { color: var(--ocre-texte); }
.burger { display: none; }
.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__lien, .nav__btn {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .7rem; border-radius: var(--rayon); font: inherit; font-weight: 550;
  font-size: .98rem; color: var(--encre); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__lien:hover, .nav__btn:hover { background: var(--papier-2); color: var(--encre); }
.nav__lien[aria-current], .nav__btn[data-actif] { box-shadow: inset 0 -2px 0 var(--ocre); border-radius: 0; }
.nav__chev { transition: transform .2s; }
.nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__groupe { position: relative; }
.nav__sous {
  position: absolute; top: calc(100% + .5rem); left: -1rem; width: 430px; list-style: none; margin: 0; padding: .6rem;
  background: var(--tirage); border-radius: var(--rayon); box-shadow: var(--ombre); border: 1px solid var(--trait);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__groupe:hover .nav__sous, .nav__btn[aria-expanded="true"] + .nav__sous, .nav__groupe:focus-within .nav__sous { opacity: 1; visibility: visible; transform: none; }
.nav__sous a { display: flex; gap: .8rem; align-items: center; padding: .55rem; border-radius: var(--rayon); text-decoration: none; color: var(--encre); }
.nav__sous a:hover, .nav__sous a[aria-current] { background: var(--papier-2); }
.nav__sous strong { display: block; font-weight: 650; line-height: 1.3; }
.nav__sous small { display: block; color: var(--encre-2); font-size: .84rem; line-height: 1.4; }
.nav__vign { width: 64px; height: 64px; flex: none; border-radius: 4px; overflow: hidden; }
.nav__vign img { width: 100%; height: 100%; object-fit: cover; }
.nav__extra { display: none; }

/* ---------- Trait à la main ---------- */
.souligne { position: relative; display: inline-block; white-space: nowrap; }
.souligne svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.souligne path { fill: none; stroke: var(--ocre); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.souligne path + path { stroke-width: 2; opacity: .7; }

/* ---------- Tirage photo ---------- */
.tirage { margin: 0; background: var(--tirage); padding: 10px 10px 0; box-shadow: var(--ombre); border-radius: 2px; }
.tirage img { width: 100%; border-radius: 1px; }
.tirage figcaption { padding: .55rem .2rem .65rem; font-size: .86rem; line-height: 1.4; color: var(--encre-2); }
.credit { display: block; font-size: .72rem; color: #66706a; margin-top: .15rem; letter-spacing: .01em; }

/* ---------- Accueil : héros ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); max-width: 34em; color: var(--encre-2); margin-bottom: 1.6rem; }
.hero__act { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__faits { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--trait); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hero__faits li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; line-height: 1.35; color: var(--encre-2); }
.hero__faits .ico { width: 1.6rem; height: 1.6rem; color: var(--ocre-texte); margin-top: .1rem; }
.hero__faits strong { display: block; color: var(--encre); font-size: .98rem; }
.hero__photos { position: relative; padding-bottom: 3.5rem; }
.tirage--hero { transform: rotate(1.2deg); }
.tirage--hero img { aspect-ratio: 4 / 3; object-fit: cover; }
.tirage--petit { position: absolute; width: 36%; right: -3%; bottom: -.5rem; transform: rotate(3deg); }
.tirage--petit img { aspect-ratio: 1; object-fit: cover; object-position: 22% 40%; }
.tirage--petit figcaption .credit { display: none; }

/* ---------- Sections ---------- */
.entete { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.entete p { color: var(--encre-2); font-size: 1.1rem; }
.metiers { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--papier-2) var(--grain); }
.metier { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.metier + .metier { margin-top: clamp(3rem, 6vw, 5rem); }
.metier--inv .metier__photo { order: 2; }
.metier__photo { display: block; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.metier__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.metier__photo:hover img { transform: scale(1.03); }
.metier h3 { font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.2rem); }
.metier h3 a { color: inherit; text-decoration: none; }
.metier h3 a:hover { color: var(--ocre-texte); }
.metier__txt p { color: var(--encre-2); }

.bande-materiel { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--sauge-fonce) var(--grain); color: #e7ece1; }
.entete--clair h2 { color: var(--papier); }
.entete--clair p { color: #cfd8c9; }
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; margin-bottom: 2.2rem; }
.mosaique__item { display: block; overflow: hidden; border-radius: 3px; background: var(--foret); }
.mosaique__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.mosaique__item:hover img { transform: scale(1.04); }
.mosaique__item--0 { grid-column: span 2; grid-row: span 2; }
.mosaique__item--1 { grid-row: span 2; }

.implantation { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.implantation__in, .implantation--page { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.distances { list-style: none; margin: 0 0 1.2rem; padding: 0; columns: 2; column-gap: 2rem; max-width: 30rem; }
.distances li { display: flex; gap: .4rem; break-inside: avoid; padding: .3rem 0; font-size: .96rem; }
.distances li span:first-child { flex: 1; display: flex; gap: .4rem; white-space: nowrap; }
.distances li span:first-child::after { content: ''; flex: 1; border-bottom: 1.5px dotted rgba(29, 42, 34, .3); transform: translateY(-.35em); }
.distances li span:last-child { font-variant-numeric: tabular-nums; font-weight: 650; }
.note-petite { font-size: .92rem; color: var(--encre-2); }
.carte { margin: 0; background: var(--tirage); padding: 1rem; box-shadow: var(--ombre); transform: rotate(-.6deg); border-radius: 2px; }
.carte svg { width: 100%; height: auto; display: block; background: var(--papier) var(--grain); }
.carte figcaption { font-size: .78rem; color: #66706a; padding-top: .5rem; }
.carte__cercle { fill: none; stroke: var(--sauge); stroke-width: 1; stroke-dasharray: 3 5; }
.carte__km { font: 500 12px var(--f-texte); fill: #66706a; }
.carte__trajet { fill: none; stroke: var(--ocre); stroke-width: 1.6; stroke-dasharray: 5 4; opacity: .85; }
.carte__ville { fill: var(--sauge-fonce); }
.carte__nom { font: 600 15px var(--f-texte); fill: var(--encre); paint-order: stroke; stroke: var(--papier); stroke-width: 4px; stroke-linejoin: round; }
.carte__nom--depot { font: 700 18px var(--f-titre); }
.carte__depot { fill: var(--ocre); stroke: var(--tirage); stroke-width: 3; }

.rejoindre { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--papier-2) var(--grain); }
.rejoindre__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tirage--incline { transform: rotate(-2deg); max-width: 380px; }
.rejoindre p { color: var(--encre-2); max-width: 38em; }

.guides-accueil { padding: clamp(3rem, 6vw, 5rem) 0; }
.guides-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.guides-liste a { display: grid; grid-template-columns: 150px 1fr; gap: 1.1rem; align-items: center; text-decoration: none; color: var(--encre); padding: .8rem; background: var(--tirage); border-radius: var(--rayon); border: 1px solid var(--trait); transition: border-color .2s, transform .2s; }
.guides-liste a:hover { border-color: var(--ocre); transform: translateY(-2px); }
.guides-liste img { width: 150px; height: 120px; object-fit: cover; border-radius: 3px; }
.guides-liste strong { display: block; font-family: var(--f-titre); font-size: 1.18rem; font-weight: 600; line-height: 1.25; margin-bottom: .35rem; font-variation-settings: 'SOFT' 100; }
.guides-liste span { font-size: .93rem; color: var(--encre-2); line-height: 1.45; }
.guides-liste--page { margin: 1rem 0 4rem; }

/* ---------- CTA final ---------- */
.cta-fin { padding: clamp(3rem, 6vw, 4.5rem) 0; background: var(--papier-3) var(--grain); border-top: 1px solid var(--trait); }
.cta-fin__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: center; }
.cta-fin h2 { margin-bottom: .35em; }
.cta-fin p { color: var(--encre-2); margin: 0; }
.cta-fin__act { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.cta-fin__tel { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-titre); font-size: 1.7rem; font-weight: 650; text-decoration: none; color: var(--encre); font-variation-settings: 'SOFT' 100; }
.cta-fin__tel .ico { color: var(--ocre-texte); }
.cta-fin__h { font-size: .88rem; }

/* ---------- Pages intérieures ---------- */
.fil ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 1rem 0 0; font-size: .86rem; color: var(--encre-2); }
.fil li + li::before { content: '/'; margin-right: .3rem; color: var(--sauge); }
.fil a { color: var(--encre-2); }
.page-tete { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-tete__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.page-tete h1 { font-size: clamp(1.95rem, 1.3rem + 2.5vw, 3.2rem); }
.page-tete--court { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-tete--court .chapo { max-width: 46rem; }
.chapo { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--encre-2); margin-bottom: 1.6rem; }
.tirage--page { transform: rotate(1deg); }
.tirage--page img { aspect-ratio: 4 / 3; object-fit: cover; }

.texte-page { padding-bottom: 3rem; }
.texte-page > * { max-width: 47rem; }
.bloc { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.bloc h2 { margin-bottom: .6em; }
.bloc--photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 47rem; }
.bloc--photos .tirage:first-child { transform: rotate(-1.5deg); }
.bloc--photos .tirage:last-child { transform: rotate(1.2deg) translateY(1rem); }
.bloc--photos img { aspect-ratio: 4 / 3; object-fit: cover; }
.liste-coche { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.liste-coche li { position: relative; padding: .25rem 0 .25rem 1.9rem; }
.liste-coche .ico { position: absolute; left: 0; top: .55em; color: var(--ocre-texte); stroke-width: 2.4; }
.etapes ol { list-style: none; counter-reset: e; padding: 0; margin: 0; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 1.1rem 3.4rem; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: -.2rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: var(--ocre-clair); font: 650 1.15rem/1 var(--f-titre); color: var(--encre); }
.etapes li:not(:last-child)::after { content: ''; position: absolute; left: 1.13rem; top: 2.3rem; bottom: .1rem; border-left: 1.5px dashed var(--sauge); }

.faq { margin: 0 0 3.5rem; }
.faq details { border-top: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .2s; color: var(--ocre-texte); margin-top: .2rem; }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq__r { padding: 0 0 1rem; color: var(--encre-2); }

.autres h2 { font-size: 1.5rem; }
.autres ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.autres a { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; padding: .6rem; text-decoration: none; color: var(--encre-2); background: var(--tirage); border: 1px solid var(--trait); border-radius: var(--rayon); font-size: .93rem; line-height: 1.45; transition: border-color .2s; }
.autres a:hover { border-color: var(--ocre); }
.autres img { width: 96px; height: 72px; object-fit: cover; border-radius: 3px; }
.autres strong { display: block; color: var(--encre); font-size: 1.02rem; }
.autres .ico { color: var(--ocre-texte); }

.galerie { columns: 3; column-gap: 1.4rem; margin-bottom: 3rem; }
.galerie__item { break-inside: avoid; margin: 0 0 1.4rem; background: var(--tirage); padding: 10px; box-shadow: var(--ombre); border-radius: 2px; }
.galerie__item:nth-child(3n+1) { transform: rotate(-.7deg); }
.galerie__item:nth-child(3n+2) { transform: rotate(.6deg); }
.galerie__item a { display: block; overflow: hidden; }
.galerie__item img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.galerie__item a:hover img { transform: scale(1.03); }
.galerie figcaption { padding: .6rem .15rem 0; font-size: .9rem; color: var(--encre-2); line-height: 1.45; }
.galerie figcaption strong { display: block; color: var(--encre); font-family: var(--f-titre); font-size: 1.1rem; font-weight: 600; font-variation-settings: 'SOFT' 100; }

.fiche { margin: 0; }
.fiche div { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px dotted rgba(29, 42, 34, .3); }
.fiche dt { font-weight: 650; }
.fiche dd { margin: 0; color: var(--encre-2); }
.implantation--page { padding-bottom: 4rem; }

.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--ocre-texte); }
.tableau { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .98rem; background: var(--tirage); }
.tableau th, .tableau td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--trait); }
.tableau thead th { background: var(--sauge-fonce); color: var(--papier); font-weight: 650; }
.tableau td:last-child { font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.guide__corps { display: grid; grid-template-columns: minmax(0, 47rem) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.guide__corps .tirage--guide { grid-column: 1 / -1; }
.guide__aside { position: sticky; top: 120px; max-width: 20rem; padding: 1.4rem 1.5rem; background: var(--tirage); border-radius: var(--rayon); box-shadow: var(--ombre); font-size: .95rem; color: var(--encre-2); }
.guide__aside-t { font-family: var(--f-titre); font-weight: 650; font-size: 1.2rem; color: var(--encre); font-variation-settings: 'SOFT' 100; margin-bottom: .5rem; }
.guide__tel { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-titre); font-size: 1.45rem; font-weight: 650; text-decoration: none; color: var(--encre); }
.guide__tel .ico { color: var(--ocre-texte); }
.guide__h { font-size: .85rem; margin: .4rem 0 0; }
.tirage--guide { max-width: 47rem; margin-bottom: 2.5rem; transform: rotate(-.6deg); }
.tirage--guide img { aspect-ratio: 16 / 9; object-fit: cover; }
.guide__suite a { display: block; margin-top: .3rem; }
.plan { columns: 2; padding-left: 1.2rem; }

/* ---------- Contact & formulaire ---------- */
.contact { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: 4rem; align-items: start; }
.contact__info { background: var(--tirage); padding: 1.6rem; border-radius: var(--rayon); box-shadow: var(--ombre); }
.contact__info h2 { font-size: 1.5rem; }
.contact__info h3 { font-size: 1.1rem; margin: 1.3rem 0 .3rem; }
.contact__info address { font-style: normal; }
.contact__tel { display: flex; align-items: center; gap: .5rem; font-family: var(--f-titre); font-size: 1.75rem; font-weight: 650; text-decoration: none; color: var(--encre); margin-bottom: .6rem; font-variation-settings: 'SOFT' 100; }
.contact__tel .ico { color: var(--ocre-texte); }
.form__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form p { margin: 0 0 1rem; }
.form__large { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .3rem; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1.5px solid rgba(29, 42, 34, .3); border-radius: var(--rayon);
  background: var(--tirage); color: var(--encre); transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form ::placeholder { color: #6a736d; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sauge-fonce); box-shadow: 0 0 0 3px rgba(192, 138, 43, .35); }
.form [aria-invalid="true"] { border-color: #a33b1f; }
.form__pot { position: absolute; left: -9999px; }
.form__rgpd { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--encre-2); }
.form__rgpd input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--sauge-fonce); flex: none; }
.form__rgpd label { font-weight: 400; font-size: .9rem; }
.form__envoi { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form__etat { font-weight: 600; }
.form__etat.is-ok { color: var(--sauge-fonce); }
.form__etat.is-err { color: #a33b1f; }

/* ---------- Pied ---------- */
.pied { background: var(--foret) var(--grain); color: #cdd6c8; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.pied a { color: #e7ece1; text-decoration-color: rgba(231, 236, 225, .35); }
.pied a:hover { color: var(--ocre-clair); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; }
.pied .logo { color: var(--papier); }
.pied .logo__nom { color: #b9c4b3; }
.pied__marque p { margin-top: 1rem; max-width: 26rem; }
.pied__h { font-family: var(--f-texte); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ocre-clair); margin: 0 0 .9rem; font-weight: 700; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: .4rem; }
.pied address { font-style: normal; margin-bottom: .8rem; }
.pied__tel { font-weight: 700; font-size: 1.1rem; }
.pied .a-completer { color: var(--ocre-clair); border-color: var(--ocre-clair); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(231, 236, 225, .15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }
.pied__bas p { margin: 0; }
.pied__liens { display: flex; gap: 1.2rem; }

/* ---------- Barre mobile & visionneuse ---------- */
.mbar { display: none; }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20, 28, 23, .92); display: grid; place-items: center; padding: 1.5rem; }
.lb[hidden] { display: none; }
.lb img { max-height: 90vh; max-width: 100%; width: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb__fermer { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--papier); color: var(--encre); cursor: pointer; display: grid; place-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tete__tel span { display: none; }
  .nav__lien, .nav__btn { padding: .5rem .5rem; }
}
@media (max-width: 960px) {
  .tete__info { display: none; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; }
  .burger span { display: block; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tete__tel span { display: inline; }
  .nav {
    position: fixed; inset: 69px 0 0; background: var(--papier) var(--grain); padding: 1.2rem 1.25rem 6rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  body.nav-ouverte { overflow: hidden; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__lien, .nav__btn { width: 100%; padding: .9rem .2rem; font-size: 1.2rem; font-family: var(--f-titre); font-weight: 600; border-bottom: 1px solid var(--trait); border-radius: 0; justify-content: space-between; }
  .nav__lien[aria-current], .nav__btn[data-actif] { box-shadow: none; color: var(--ocre-texte); }
  .nav__sous { position: static; width: auto; box-shadow: none; border: 0; background: none; padding: .3rem 0 .6rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__btn[aria-expanded="true"] + .nav__sous { display: block; }
  .nav__groupe:hover .nav__sous { opacity: 1; }
  .nav__extra { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
  .nav__extra .btn { justify-content: center; }
  .nav__info { font-size: .9rem; color: var(--encre-2); text-align: center; }
  .guide__corps { grid-template-columns: minmax(0, 1fr); }
  .guide__aside { display: none; }
  .hero__in, .page-tete__in, .implantation__in, .implantation--page, .rejoindre__in, .cta-fin__in, .contact { grid-template-columns: 1fr; }
  .metier, .metier--inv { grid-template-columns: 1fr; }
  .metier--inv .metier__photo { order: 0; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .mosaique__item--0 { grid-column: span 2; }
  .mosaique__item--1 { grid-row: span 1; }
  .galerie { columns: 2; }
  .hero__photos { max-width: 640px; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .tete__devis { display: none; }
  .tete__tel { font-size: .98rem; }
  .logo__nom { display: none; }
  .logo__disque { width: 38px; height: 38px; }
  .hero { padding-top: 1.5rem; }
  .hero__faits { grid-template-columns: 1fr; gap: .8rem; }
  .hero__act .btn, .page-tete .hero__act .btn { flex: 1 1 100%; justify-content: center; }
  .hero__photos { padding-bottom: 2.5rem; }
  .tirage--petit { width: 40%; right: -2%; bottom: -1rem; }
  .tirage--hero figcaption { padding-right: 42%; }
  .distances { columns: 1; }
  .guides-liste { grid-template-columns: 1fr; }
  .guides-liste a { grid-template-columns: 100px 1fr; }
  .guides-liste img { width: 100px; height: 100px; }
  .bloc--photos { grid-template-columns: 1fr; }
  .bloc--photos .tirage:last-child { transform: rotate(1.2deg); }
  .autres a { grid-template-columns: 72px 1fr; }
  .autres a .ico { display: none; }
  .autres img { width: 72px; height: 64px; }
  .galerie { columns: 1; }
  .fiche div { grid-template-columns: 1fr; gap: .1rem; }
  .form__grille { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; gap: 2rem; }
  .plan { columns: 1; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -6px 20px rgba(29, 42, 34, .18); padding-bottom: env(safe-area-inset-bottom); background: var(--foret); transition: transform .25s; }
  .mbar.is-cachee { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px; font-weight: 700; text-decoration: none; }
  .mbar__tel { background: var(--ocre); color: var(--encre); }
  .mbar__devis { background: var(--sauge-fonce); color: var(--papier); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
