/* Cabinet Claude Vignasse, géomètre-expert (Orthez, Salies-de-Béarn)
   DA « terroir béarnais » : vert basque, rouge brique, pierre des gaves ; Vollkorn (titres) + Fira Sans (texte). */

@font-face { font-family: 'Vollkorn'; src: url('/fonts/vollkorn-normal-400-800.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vollkorn'; src: url('/fonts/vollkorn-italic-400-600.woff2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-normal-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-normal-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-normal-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Vollkorn repli'; src: local('Georgia'); size-adjust: 104%; ascent-override: 92%; }
@font-face { font-family: 'Fira repli'; src: local('Arial'); size-adjust: 98%; }

:root {
  --blanc: #FFFFFF;
  --pierre: #EFECE6;          /* surfaces : galet clair */
  --pierre-2: #E1DCD2;        /* filets */
  --pierre-3: #B9B0A1;        /* bordures de champs (3,1:1 sur blanc) */
  --encre: #18231D;
  --texte: #2B3730;
  --gris: #546058;            /* texte secondaire : 6,4:1 sur blanc, 5,6:1 sur pierre */
  --vert: #1E5B3E;            /* vert basque profond : blanc dessus 8,1:1 */
  --vert-f: #133A28;
  --vert-txt: #1A5237;
  --vert-pale: #DCE8DF;
  --vert-clair: #A9D3B8;      /* liens sur fond vert : 5,1:1 */
  --brique: #A33A24;          /* CTA : blanc dessus 6,2:1 */
  --brique-f: #842D1A;
  --brique-txt: #9A3621;      /* brique lisible sur blanc */
  --brique-pale: #F4E2DC;
  --serif: 'Vollkorn', 'Vollkorn repli', Georgia, serif;
  --sans: 'Fira Sans', 'Fira repli', system-ui, sans-serif;
  --wrap: 1200px;
  --r: 6px;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;
  --ombre: 0 1px 2px rgba(24, 35, 29, .06), 0 8px 24px -8px rgba(24, 35, 29, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--texte); background: var(--blanc); font-kerning: normal; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--vert-txt); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brique-txt); }
:focus-visible { outline: 3px solid var(--brique); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--vert); color: var(--blanc); }
::marker { color: var(--brique); }
html { scrollbar-color: var(--pierre-3) var(--pierre); }
h1, h2, h3, .rassure strong, .note-g__n, .etapes li::before { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); color: var(--vert-f); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 var(--s4); font-weight: 650; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 700; letter-spacing: -.02em; }
.h2, h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.45rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; color: var(--encre); }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.petit { font-size: .9rem; color: var(--gris); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: var(--texte); max-width: 38em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--vert); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.a-completer { display: inline-block; background: #FFF4D6; color: #6A4A00; border: 1px dashed #B8860B; border-radius: 4px; padding: .05em .45em; font: 500 .88rem/1.45 var(--sans); }
p.a-completer { display: block; width: fit-content; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .6rem 1.15rem; border-radius: var(--r);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn--lg { min-height: 54px; padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn--brique { background: var(--brique); color: #fff; box-shadow: 0 1px 2px rgba(132, 45, 26, .25), 0 6px 16px -6px rgba(132, 45, 26, .45); }
.btn--brique:hover { background: var(--brique-f); color: #fff; }
.btn--brique:hover .ico { transform: translateX(3px); }
.btn .ico { transition: transform .2s; }
.btn--ligne { border-color: var(--vert); color: var(--vert-txt); background: transparent; }
.btn--ligne:hover { background: var(--vert); color: #fff; }
.btn--clair { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--clair:hover { background: #fff; color: var(--vert-f); }
.btn:disabled { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0; }
.lien-fl { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.lien-fl:hover { text-decoration: underline; }
.lien-fl .ico { transition: transform .2s; }
.lien-fl:hover .ico { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--pierre-2); }
.head::before { content: ''; display: block; height: 4px; background: linear-gradient(90deg, var(--vert) 0 70%, var(--brique) 70% 100%); }
.head__in { display: flex; align-items: center; gap: var(--s5); min-height: 74px; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--vert-f); margin-right: auto; }
.logo__mk { width: 38px; height: 38px; flex: none; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.logo__b { stroke: var(--vert); stroke-width: 2.6; fill: var(--vert-pale); }
.logo__s { stroke: var(--vert); stroke-width: 2.6; }
.logo__c { stroke: var(--brique); stroke-width: 2.6; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__nom { font: 700 1.42rem/1.05 var(--serif); letter-spacing: -.01em; }
.logo__sous { font: 500 .76rem/1.3 var(--sans); color: var(--gris); letter-spacing: .01em; margin-top: 2px; }
.nav__liste { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__liste a { display: block; padding: .5rem .65rem; border-radius: 4px; text-decoration: none; color: var(--encre); font-weight: 500; font-size: .98rem; }
.nav__liste a:hover { color: var(--brique-txt); background: var(--pierre); }
.nav__liste a[aria-current] { color: var(--vert-txt); box-shadow: inset 0 -2px 0 var(--brique); border-radius: 0; }
.nav__extra { display: none; }
.head__actions { display: flex; align-items: center; gap: var(--s3); }
.head__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--vert-f); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head__tel:hover { color: var(--brique-txt); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--pierre-2); border-radius: var(--r); background: #fff; color: var(--vert-f); cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }
.burger .ico-f, .burger[aria-expanded="true"] .ico-o { display: none; }
.burger[aria-expanded="true"] .ico-f { display: block; }

@media (max-width: 1140px) {
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--pierre-2); border-radius: var(--r); }
  .nav__liste a { padding: .5rem .5rem; font-size: .95rem; }
}
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .head__in { min-height: 66px; gap: var(--s3); }
  .nav { position: fixed; inset: 70px 0 0 0; background: #fff; padding: var(--s5) 1.25rem calc(var(--s7) + 70px); overflow-y: auto; display: none; }
  .nav.ouvert { display: block; }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__liste a { font: 600 1.3rem/1.3 var(--serif); padding: .85rem .25rem; border-bottom: 1px solid var(--pierre-2); border-radius: 0; color: var(--vert-f); }
  .nav__liste a[aria-current] { box-shadow: none; color: var(--brique-txt); }
  .nav__extra { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s5); }
  .nav__h { font-size: .95rem; color: var(--gris); }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 560px) {
  .logo__sous { font-size: .68rem; }
  .logo__nom { font-size: 1.22rem; }
  .logo__mk { width: 32px; height: 32px; }
  .head__devis { display: none; }
  .logo__sous-v { display: none; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { display: flex; flex-wrap: wrap; gap: .2rem .5rem; list-style: none; padding: var(--s4) 0 0; margin: 0; font-size: .9rem; color: var(--gris); }
.fil li + li::before { content: '/'; margin-right: .5rem; color: var(--pierre-3); }
.fil a { color: var(--gris); }

/* ---------- Accueil : hero ---------- */
.hero { background: var(--pierre); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s7); align-items: center;
  width: min(1320px, 100%); margin-inline: auto; padding: var(--s7) 0 var(--s7) max(1.25rem, (100% - var(--wrap)) / 2); }
.hero__txt { padding-block: var(--s5); }
.hero__txt h1 { max-width: 12em; }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r) 0 0 var(--r); box-shadow: var(--ombre); }
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s6) 1.25rem var(--s6); }
  .hero__photo img { border-radius: var(--r); aspect-ratio: 16 / 10; }
  .hero__txt { padding: 0; }
}

/* Photos et crédits */
.photo { margin: 0; }
.photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; padding-top: .45rem; font-size: .8rem; color: var(--gris); }
.photo__leg { font: italic 500 .95rem/1.3 var(--serif); color: var(--texte); }
.photo__credit { color: var(--gris); text-decoration: none; }
.photo__credit:hover { text-decoration: underline; }
.photo-vide { margin: 0; }
.photo-vide__cadre { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: var(--r);
  background: repeating-linear-gradient(135deg, var(--pierre) 0 14px, #E8E4DC 14px 28px); border: 1px solid var(--pierre-2); color: var(--pierre-3); }
.photo-vide__ico { width: 64px; height: 64px; }
.photo-vide figcaption { margin-top: .5rem; }

/* Réassurance */
.hero .rassure { border-color: var(--pierre-3); }
.rassure { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); list-style: none; padding: var(--s4) 0 0; margin: 0; border-top: 1px solid var(--pierre-2); }
.rassure li { display: flex; flex-direction: column; line-height: 1.3; }
.rassure strong { font: 650 1.08rem/1.25 var(--serif); color: var(--vert-f); }
.rassure span { font-size: .86rem; color: var(--gris); }
.rassure--cta { border-color: rgba(255, 255, 255, .25); }
.rassure--cta strong, .rassure--cta .note-g__n { color: #fff; }
.rassure--cta span, .rassure--cta .note-g__t, .rassure--cta small { color: #D3E3D8; }
.note-g { display: flex; align-items: center; gap: .55rem; margin: 0; }
.note-g__n { font: 700 1.5rem/1 var(--serif); color: var(--vert-f); }
.note-g__n small { font-size: .62em; font-weight: 500; }
.note-g__t { display: flex; flex-direction: column; font-size: .86rem; color: var(--gris); line-height: 1.3; }
.note-g__t small { font-size: .78rem; }
.note-g__l { display: inline-flex; align-items: center; gap: .3rem; }
.rassure .note-g__n { font-size: 1.25rem; }
.note-g__ico { width: 1em; height: 1em; color: #B07D10; fill: currentColor; }
.note-g__lien { font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
.section--pierre { background: var(--pierre); }
.section--serre { padding: var(--s7) 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s7); align-items: start; }
.duo--cab { align-items: center; }
.duo--faq { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
@media (max-width: 900px) { .duo, .duo--faq { grid-template-columns: 1fr; gap: var(--s6); } .section { padding: var(--s7) 0; } }

.intro__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s7); align-items: start; }
.intro__p { font-size: 1.12rem; max-width: 34em; }
.besoins { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--pierre-2); }
.besoins a { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4) var(--s2); border-bottom: 1px solid var(--pierre-2); text-decoration: none; color: var(--texte); transition: background .2s; }
.besoins a:hover { background: var(--pierre); color: var(--texte); }
.besoins a:hover strong { color: var(--brique-txt); }
.besoins .ico { width: 30px; height: 30px; color: var(--brique); margin-top: 2px; }
.besoins strong { display: block; font: 650 1.2rem/1.3 var(--serif); color: var(--vert-f); margin-bottom: 2px; }
@media (max-width: 900px) { .intro__grille { grid-template-columns: 1fr; gap: var(--s5); } }

/* Prestations en lignes */
.prest__liste { list-style: none; padding: 0; margin: var(--s5) 0 0; border-top: 2px solid var(--vert); }
.prest__item a { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr) 40px; gap: var(--s5); align-items: center;
  padding: var(--s5) 0; border-bottom: 1px solid var(--pierre-3); text-decoration: none; color: var(--texte); }
.prest__sc { background: var(--blanc); border-radius: var(--r); padding: 6px; border: 1px solid var(--pierre-2); }
.prest__nom { font: 650 clamp(1.3rem, 1.1rem + .6vw, 1.65rem)/1.2 var(--serif); color: var(--vert-f); }
.prest__res { color: var(--texte); }
.prest__fl { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--vert); color: var(--vert); transition: background .2s, color .2s; }
.prest__item a:hover .prest__nom { color: var(--brique-txt); }
.prest__item a:hover .prest__fl { background: var(--brique); border-color: var(--brique); color: #fff; }
@media (max-width: 860px) {
  .prest__item a { grid-template-columns: 96px minmax(0, 1fr); gap: var(--s2) var(--s4); }
  .prest__sc { grid-row: span 2; align-self: start; margin-top: .3rem; }
  .prest__fl { display: none; }
}

/* Schémas au trait */
.sc { width: 100%; height: auto; }
.sc text { font-family: var(--sans); }
.sc-f { fill: none; stroke: var(--encre); stroke-width: 2; }
.sc-f--fort { stroke-width: 3; }
.sc-pre { fill: var(--vert-pale); }
.sc-haie { fill: none; stroke: var(--vert); stroke-width: 3; stroke-linecap: round; }
.sc-bat { fill: var(--pierre-2); stroke: var(--encre); stroke-width: 2; }
.sc-r { fill: none; stroke: var(--brique); stroke-width: 5; stroke-linecap: round; }
.sc-new { stroke-dasharray: 16 9; }
.sc-borne rect { fill: var(--brique); stroke: #fff; stroke-width: 2; }
.sc-m { font-size: 15px; fill: var(--gris); }
.sc-mr { fill: var(--brique); font-weight: 600; }
.sc-n { font-size: 20px; font-weight: 600; fill: var(--encre); }
.sc-nr { fill: var(--brique); }
.sc-barre { text-decoration: line-through; fill: var(--gris); }
.sc-acces { fill: none; stroke: var(--gris); stroke-width: 2; stroke-dasharray: 5 5; }
.sc-courbe { fill: none; stroke: var(--vert); stroke-width: 1.6; opacity: .6; }
.sc-arbre circle, .sc-bois circle { fill: var(--vert-pale); stroke: var(--vert); stroke-width: 2; }
.sc-pt circle { fill: var(--brique); }
.sc-pre-l { stroke: var(--vert); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.prest__sc .sc text { display: none; }

/* Planches */
.planche { margin: 0; }
.planche__dessin { background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: var(--r); padding: var(--s4); }
.planche__leg { font-size: .85rem; color: var(--gris); padding-top: .55rem; }
.leg { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin: 0 .25rem 0 .6rem; }
.leg:first-child { margin-left: 0; }
.leg--lo { background: #CFE0D3; } .leg--bg { background: #E3DED3; } .leg--b { background: var(--brique); transform: rotate(45deg) scale(.85); }

/* Carte des intercommunalités */
.carte-svg .cs-c { stroke: #fff; stroke-width: 1; transition: fill .2s; }
.carte-svg .cs-lo .cs-c { fill: #CFE0D3; }
.carte-svg .cs-bg .cs-c { fill: #E3DED3; }
.carte-svg .cs-c:hover { fill: var(--vert-clair); }
.carte-svg .cs-bur { fill: var(--vert) !important; }
.carte-svg .cs-pt { fill: var(--encre); }
.carte-svg .cs-t { font: 500 12px var(--sans); fill: var(--encre); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.carte-svg .cs-b rect { fill: var(--brique); stroke: #fff; stroke-width: 2; }
.carte-svg .cs-tb { font: 700 16px var(--serif); fill: var(--encre); paint-order: stroke; stroke: #fff; stroke-width: 4px; }

/* Bureaux (bande verte) */
.bureaux { background: var(--vert); color: #E6F0E9; padding: var(--s8) 0; }
.bureaux h2, .bureaux h3 { color: #fff; }
.bureaux a { color: #fff; }
.bureaux a:hover { color: var(--vert-clair); }
.bureaux__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.bureaux__chapo { font-size: 1.1rem; max-width: 34em; }
.bureaux__liste { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s5); }
.bureau { border-top: 2px solid var(--vert-clair); padding-top: var(--s4); }
.bureau__t { font-size: 1.35rem; margin-bottom: .1rem; }
.bureau__t a { text-decoration: none; }
.bureau__role { font-size: .9rem; color: #C5DACB; margin-bottom: var(--s3); }
.bureau .coord .ico { color: var(--vert-clair); }
.bureau .lien-fl { font-size: .95rem; margin-top: var(--s3); }
.bureaux .a-completer { font-size: .8rem; }
.bureaux__carte .planche__dessin { border: 0; }
.bureaux__carte .planche__leg { color: #D3E3D8; }
@media (max-width: 960px) { .bureaux__in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bureaux__liste { grid-template-columns: 1fr; } .bureaux { padding: var(--s7) 0; } }

.coord { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: .55rem; }
.coord li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.45; }
.coord .ico { margin-top: .2em; color: var(--brique); }
.coord a { font-variant-numeric: tabular-nums; }
.coord small { font-size: .85rem; opacity: .85; }

/* FAQ */
.faq__liste { margin: var(--s5) 0 0; }
.faq__item { padding: var(--s4) 0; border-top: 1px solid var(--pierre-3); }
.faq__item dt { font: 650 1.2rem/1.3 var(--serif); color: var(--vert-f); margin-bottom: .35rem; }
.faq__item dd { margin: 0; max-width: 42em; }

.guides-l h2 { font-size: 1.5rem; }
.guides-l ul { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.guides-l a { display: flex; justify-content: space-between; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-top: 1px solid var(--pierre-3);
  text-decoration: none; color: var(--vert-f); font-weight: 500; }
.guides-l a .ico { color: var(--brique); transition: transform .2s; }
.guides-l a:hover { color: var(--brique-txt); }
.guides-l a:hover .ico { transform: translateX(3px); }

/* Bandeau CTA */
.cta { background: var(--vert-f); color: #E6F0E9; padding: var(--s8) 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; border: 2px solid rgba(169, 211, 184, .18); transform: rotate(12deg); pointer-events: none; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s7); align-items: end; position: relative; z-index: 1; }
.cta__t { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.cta__p { font-size: 1.12rem; max-width: 34em; }
.cta .rassure { flex-direction: column; border-top: 0; border-left: 2px solid var(--brique); padding: 0 0 0 var(--s5); }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; gap: var(--s5); } .cta { padding: var(--s7) 0; } }

/* ---------- Pages intérieures ---------- */
.phero { padding: var(--s6) 0 var(--s7); background: var(--blanc); border-bottom: 1px solid var(--pierre-2); }
.phero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7); align-items: center; }
.phero--seul { background: var(--blanc); padding-bottom: var(--s5); }
.phero--seul .phero__in { grid-template-columns: minmax(0, 1fr); max-width: 52rem; margin-inline: 0; }
.phero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--ombre); }
.phero h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
@media (max-width: 900px) { .phero__in { grid-template-columns: 1fr; gap: var(--s5); } .phero { background: var(--blanc); padding-bottom: var(--s5); } }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); align-items: start; }
@media (max-width: 1000px) { .page-grid { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s5); }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--brique); }
.prose .planche { margin: var(--s5) 0; max-width: 520px; }
.prose blockquote { margin: var(--s5) 0; padding: var(--s4) var(--s5); background: var(--pierre); border-radius: var(--r); font-style: italic; }

.etapes { list-style: none; padding: 0; margin: var(--s5) 0; counter-reset: e; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 var(--s5) 3.4rem; margin: 0; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: -.1rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--vert); color: #fff; font: 600 1.05rem/1 var(--sans); }
.etapes li:not(:last-child)::after { content: ''; position: absolute; left: 1.12rem; top: 2.4rem; bottom: .3rem; width: 2px; background: var(--pierre-2); }
.etapes strong { display: block; font: 650 1.15rem/1.3 var(--serif); color: var(--vert-f); margin-bottom: .15rem; }

.encart { background: var(--vert-pale); border-radius: var(--r); padding: var(--s5); margin: var(--s5) 0; }
.encart > :last-child { margin-bottom: 0; }
.encart__t { font: 650 1.2rem/1.3 var(--serif); color: var(--vert-f); margin-bottom: .4rem; }
.encart--brique { background: var(--brique-pale); }

.recoit { list-style: none; padding: 0; display: grid; gap: .6rem; }
.recoit li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; }
.recoit .ico { color: var(--vert); margin-top: .25em; }

/* Colonne latérale */
.aside { position: sticky; top: 100px; display: grid; gap: var(--s5); }
.boite { background: var(--pierre); border-radius: var(--r); padding: var(--s5); }
.boite__t { font: 650 1.2rem/1.3 var(--serif); color: var(--vert-f); margin-bottom: .5rem; }
.boite--devis { background: var(--vert-f); color: #E6F0E9; }
.boite--devis .boite__t { color: #fff; }
.boite--devis .btn { width: 100%; }
.boite__tel { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: var(--s3); color: #fff; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.boite__tel:hover { color: var(--vert-clair); }
.boite--liens ul { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.boite--liens li { border-top: 1px solid var(--pierre-2); }
.boite--liens a { display: block; padding: .45rem 0; text-decoration: none; font-size: .95rem; }
.boite--liens a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .aside { position: static; } }

/* Tableaux */
.trajets { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: var(--s4) 0 var(--s3); }
.trajets caption { text-align: left; font: 650 1.1rem/1.3 var(--serif); color: var(--vert-f); padding-bottom: .5rem; }
.trajets th, .trajets td { text-align: left; padding: .5rem .6rem .5rem 0; border-bottom: 1px solid var(--pierre-2); }
.trajets thead th { font-size: .82rem; font-weight: 600; color: var(--gris); text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--vert); }
.trajets tbody th { font-weight: 500; color: var(--encre); }
.trajets td:nth-child(n+3), .trajets thead th:nth-child(n+3) { text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .trajets td:nth-child(2), .trajets thead th:nth-child(2) { display: none; } }

.horaires { margin: var(--s3) 0; display: grid; gap: .3rem; }
.horaires div { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--s3); }
.horaires dt { font-weight: 600; color: var(--encre); }
.horaires dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Carte au clic */
.carte { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: repeating-linear-gradient(0deg, var(--pierre) 0 23px, var(--pierre-2) 23px 24px), var(--pierre); display: grid; place-items: center; }
.carte iframe { width: 100%; height: 100%; border: 0; }
.carte__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: var(--r); border: 1px solid var(--pierre-3); background: #fff; color: var(--vert-f); font: 600 1rem var(--sans); cursor: pointer; box-shadow: var(--ombre); }
.carte__btn small { font-weight: 400; color: var(--gris); }
@media (max-width: 560px) { .carte__btn { margin: 0 1rem; text-align: left; } .carte__btn small { display: none; } }
.carte__btn:hover { border-color: var(--vert); }

/* Liste des guides */
.liste-guides { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s6) var(--s5); }
.liste-guides a { display: block; text-decoration: none; color: var(--texte); }
.liste-guides img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); width: 100%; }
.liste-guides h2 { font-size: 1.35rem; margin: var(--s3) 0 .3rem; }
.liste-guides a:hover h2 { color: var(--brique-txt); }
.liste-guides p { color: var(--gris); font-size: .98rem; margin: 0; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s7); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: var(--s4); margin-top: var(--s5); background: var(--pierre); padding: var(--s5); border-radius: var(--r); }
.form label { display: grid; gap: .35rem; font-weight: 600; color: var(--encre); font-size: .97rem; }
.form label small { font-weight: 400; color: var(--gris); }
.form input, .form select, .form textarea { font: 400 1rem/1.4 var(--sans); color: var(--encre); background: #fff; border: 1.5px solid var(--pierre-3); border-radius: var(--r); padding: .7rem .8rem; min-height: 48px; width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6B746E; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(30, 91, 62, .2); }
.form [aria-invalid="true"] { border-color: var(--brique); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form { padding: var(--s4); } }
.form__rgpd { display: flex !important; grid-template-columns: none; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; }
.form__rgpd input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--vert); flex: none; }
.form__note { font-size: .88rem; color: var(--gris); margin: 0; }
.form__msg { padding: .8rem 1rem; border-radius: var(--r); font-weight: 500; }
.form__msg.ok { background: var(--vert-pale); color: var(--vert-f); }
.form__msg.err { background: var(--brique-pale); color: var(--brique-f); }
.hp { position: absolute !important; left: -9999px; }
.contact-side .boite { display: grid; gap: var(--s3); }
.contact-side .boite + .boite { margin-top: var(--s5); }
.adresse { display: flex; gap: .6rem; }

/* Plan du site, mentions */
.plan { columns: 2 18rem; gap: var(--s7); }
.plan li { break-inside: avoid; }

/* ---------- Pied de page ---------- */
.foot { background: #10261B; color: #C9D8CE; padding: var(--s8) 0 calc(var(--s5) + 0px); font-size: .95rem; }
.foot a { color: #E6F0E9; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--s6); }
.foot__logo { font: 700 1.6rem/1.1 var(--serif); color: #fff; margin-bottom: var(--s3); }
.foot__h { font: 600 .82rem/1.3 var(--sans); color: var(--vert-clair); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--s3); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.foot__nap { font-style: normal; display: grid; margin-bottom: var(--s4); line-height: 1.45; }
.foot__tel { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); border-top: 1px solid rgba(255, 255, 255, .14); margin-top: var(--s7); padding-top: var(--s5); font-size: .85rem; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s4); }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

.foot strong, .bureaux strong, .cta strong, .boite--devis strong { color: #fff; }

/* Barre d'appel mobile */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff;
    border-top: 1px solid var(--pierre-2); padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; box-shadow: 0 -6px 18px -8px rgba(24, 35, 29, .25); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
  .mbar__tel { border: 2px solid var(--vert); color: var(--vert-f); }
  .mbar__devis { background: var(--brique); color: #fff; }
  body { padding-bottom: 76px; }
}

/* 404 */
.p404 { padding: var(--s9) 0; }

.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 44rem; }
.wrap.prose > .plan { max-width: 52rem; }
