/* Ateliers Montarou et Associés : terroir chaleureux, pierre calcaire, vert basque, brique.
   Titres Alegreya (humaniste à empattements), texte Fira Sans (humaniste, chiffres alignés). */

@font-face { font-family: 'Alegreya'; src: url('/fonts/alegreya-normal-400-800.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Alegreya'; src: url('/fonts/alegreya-italic-400-800.woff2') format('woff2'); font-weight: 400 800; 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-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-italic-400.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-normal-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fira Sans'; src: url('/fonts/fira-sans-normal-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --pierre: #EFECE4;        /* calcaire clair : fond principal */
  --pierre-2: #E2DDD0;      /* calcaire soutenu : sections alternées */
  --pierre-3: #F8F6F1;      /* papier : cartouches, planches */
  --filet: #CFC8B8;
  --encre: #17241E;
  --texte: #2B3731;
  --doux: #53605A;
  --vert: #1F4A3A;          /* vert basque profond */
  --vert-2: #2F6650;
  --vert-nuit: #163429;
  --vert-pale: #CFDDD3;
  --brique: #A13A24;
  --brique-f: #82301E;
  --brique-pale: #F2DCD3;
  --tuile: #D9967C;
  --r: 3px;
  --f-titre: 'Alegreya', 'Iowan Old Style', Georgia, serif;
  --f-texte: 'Fira Sans', 'Segoe UI', system-ui, sans-serif;
  --head: 82px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--pierre); color: var(--texte);
  font-family: var(--f-texte); font-size: 1.0625rem; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brique-f); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--vert); }
::selection { background: var(--vert); color: var(--pierre-3); }
:focus-visible { outline: 2px solid var(--brique); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--vert-2) var(--pierre-2); }
input, select, textarea { caret-color: var(--brique); }

h1, h2, h3 { font-family: var(--f-titre); color: var(--encre); line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; }
p, li { max-width: 70ch; }
strong { font-weight: 600; color: var(--encre); }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--pierre { background: var(--pierre-2); }
.section--serre { padding: clamp(40px, 5vw, 64px) 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Boutons et liens ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: var(--r);
  font: 500 1.03rem/1.2 var(--f-texte); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--brique { background: var(--brique); color: #fff; box-shadow: 0 8px 20px -10px rgb(130 48 30 / .7); }
.btn--brique:hover { background: var(--brique-f); color: #fff; }
.btn--trait { border-color: var(--vert); color: var(--vert); background: transparent; font-variant-numeric: tabular-nums; }
.btn--trait:hover { background: var(--vert); color: var(--pierre-3); }
.btn--trait .ico { width: 18px; height: 18px; }
.btn--clair { background: var(--pierre-3); color: var(--vert-nuit); }
.btn--clair:hover { background: #fff; color: var(--brique-f); }
.lien { font-weight: 500; }
.lien--clair { color: var(--pierre-3); }
.lien--clair:hover { color: var(--tuile); }

/* Information manquante : visible, jamais confondue avec du contenu */
.a-completer {
  display: inline-block; padding: 4px 10px; border: 1.5px dashed var(--brique); border-radius: var(--r);
  background: var(--brique-pale); color: var(--brique-f); font: 500 .9rem/1.4 var(--f-texte); max-width: 100%;
}
p.a-completer { display: block; width: fit-content; }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: var(--pierre); border-bottom: 1px solid transparent; transition: transform .3s ease, border-color .3s, box-shadow .3s; }
.head.is-scrolled { border-color: var(--filet); box-shadow: 0 8px 22px -14px rgb(23 36 30 / .35); }
.head__in { display: flex; align-items: center; gap: 24px; min-height: var(--head); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--encre); line-height: 1; margin-right: auto; }
.logo__nom { font: 700 1.5rem/1 var(--f-titre); letter-spacing: -.01em; }
.logo__suite { font: 500 .78rem/1 var(--f-texte); letter-spacing: .06em; text-transform: uppercase; color: var(--doux); margin-top: 6px; }
.logo__suite i { font: italic 600 1.05rem/0 var(--f-titre); color: var(--brique); text-transform: none; letter-spacing: 0; }
.logo:hover { color: var(--vert); }

.nav__liste { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__lien { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font: 500 1rem/1.2 var(--f-texte); color: var(--encre); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav__lien:hover, .nav__drop.is-open > .nav__lien { color: var(--vert); border-bottom-color: var(--vert-pale); }
.nav__lien[aria-current], .nav__btn[data-actif] { color: var(--brique-f); border-bottom-color: var(--brique); }
.nav__chev { width: 13px; height: 13px; transition: transform .2s; }
.nav__drop { position: relative; }
.nav__drop.is-open .nav__chev { transform: rotate(180deg); }
.nav__sous { position: absolute; top: calc(100% + 8px); left: 0; width: 330px; list-style: none; margin: 0; padding: 8px; background: var(--pierre-3); border: 1px solid var(--filet); border-top: 3px solid var(--vert); box-shadow: 0 22px 40px -18px rgb(23 36 30 / .35); opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
.nav__drop.is-open .nav__sous { opacity: 1; visibility: visible; }
@media (hover: hover) and (min-width: 1121px) { .nav__drop:hover .nav__sous { opacity: 1; visibility: visible; } .nav__drop:hover .nav__chev { transform: rotate(180deg); } }
.nav__sous::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__sous a { display: block; padding: 10px 12px; text-decoration: none; color: var(--encre); line-height: 1.35; }
.nav__sous a:hover, .nav__sous a[aria-current] { background: var(--pierre-2); color: var(--brique-f); }
.nav__mobile { display: none; }
.head__actions { display: flex; align-items: center; gap: 12px; }
.head__tel { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; color: var(--encre); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head__tel .ico { color: var(--brique); }
.head__tel:hover { color: var(--brique-f); }
.head__cta { min-height: 46px; padding: 10px 18px; }
.burger { display: none; }

/* ---------- Accueil : titre et photo des toits ---------- */
.une { padding-top: clamp(32px, 5vw, 72px); }
.une__tete { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(32px, 4vw, 56px); }
.une h1 { margin: 0; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.02em; }
.une__depuis { display: block; font-style: italic; font-weight: 500; color: var(--brique); }
.une__lead { font-size: 1.16rem; line-height: 1.6; color: var(--texte); }
.une__media { position: relative; }
.une__photo { margin: 0; }
.une__photo img { width: 100%; height: clamp(320px, 52vw, 640px); object-fit: cover; object-position: 50% 62%; }
.une__cartouche-pos { position: absolute; left: 0; right: 0; bottom: 0; translate: 0 38%; pointer-events: none; }
.fiche-id {
  pointer-events: auto; margin: 0; width: min(100%, 860px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--vert); color: var(--vert-pale); border: 1px solid var(--vert-nuit); box-shadow: 0 24px 44px -24px rgb(22 52 41 / .8);
}
.fiche-id > div { padding: 18px 20px 20px; border-left: 1px solid rgb(207 221 211 / .25); }
.fiche-id > div:first-child { border-left: 0; }
.fiche-id dt { font: italic 600 1.2rem/1.1 var(--f-titre); color: #fff; margin-bottom: 6px; }
.fiche-id dd { margin: 0; font-size: .95rem; line-height: 1.4; }

/* Crédit photo (petit, dans le coin) */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; }
.credit { position: absolute; right: 0; top: 0; padding: 3px 8px; font-size: .7rem; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; color: #fff; background: rgb(23 36 30 / .62); }
.credit a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- La rue des cinq domaines ---------- */
.rue-section { padding-top: clamp(120px, 12vw, 170px); }
.tete-ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.tete-ed h2 { margin: 0; }
.tete-ed p { margin: 0; color: var(--doux); }
.rue { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 230fr 260fr 240fr 270fr 230fr; grid-template-rows: auto auto auto; column-gap: 0; }
.rue__lot { display: grid; grid-row: span 3; grid-template-rows: subgrid; max-width: none; }
.rue__lot a { display: grid; grid-row: span 3; grid-template-rows: subgrid; text-decoration: none; color: inherit; }
.rue__dessin { align-self: end; padding: 0 10px; border-bottom: 2px solid var(--vert); color: var(--vert); }
.rue__dessin .dessin { width: 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); transform-origin: 50% 100%; }
.rue__t { padding: 16px 14px 4px; font: 700 1.28rem/1.15 var(--f-titre); color: var(--encre); text-wrap: balance; }
.rue__d { padding: 0 14px; font-size: .95rem; color: var(--doux); }
.rue__lot + .rue__lot .rue__t, .rue__lot + .rue__lot .rue__d { border-left: 1px solid var(--filet); }
.rue__lot a:hover .rue__dessin { color: var(--brique); }
.rue__lot a:hover .dessin { transform: translateY(-6px); }
.rue__lot a:hover .rue__t { color: var(--brique-f); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.rue__note { margin: 28px 0 0; font-size: .85rem; color: var(--doux); font-style: italic; }

/* Remplissages des croquis */
.dessin .f-pierre { fill: var(--pierre-3); }
.dessin .f-brique { fill: var(--tuile); }
.dessin .f-vitre { fill: #C3D6CC; }
.dessin .f-porte { fill: var(--vert-2); }
.dessin .f-volet { fill: var(--vert-2); }
.dessin .f-vert { fill: #9DBDA8; }

/* ---------- Neuf ou existant ---------- */
.neuf__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.neuf__photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.liste-trait { list-style: none; padding: 0; margin: 0 0 1.4em; }
.liste-trait li { padding: 14px 0; border-top: 1px solid var(--filet); }
.liste-trait li:last-child { border-bottom: 1px solid var(--filet); }

/* ---------- Bande verte (l'agence) ---------- */
.bande-verte { background: var(--vert); color: var(--vert-pale); }
.bande-verte h2 { color: #fff; }
.bande-verte p { line-height: 1.7; }
.agence-une { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.agence-une__equipe { border: 1px solid rgb(207 221 211 / .35); padding: 24px; }
.agence-une__h { font: italic 600 1.3rem/1.2 var(--f-titre); color: #fff; }
.bande-verte .a-completer { background: var(--brique-pale); }

/* ---------- Références et cartouche ---------- */
.refs__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cartouche { background: var(--pierre-3); border: 1.5px solid var(--vert); box-shadow: 0 26px 50px -30px rgb(23 36 30 / .45); }
.cartouche__photo {
  display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 220px; padding: 24px; text-align: center; color: var(--vert);
  background: repeating-linear-gradient(-45deg, transparent 0 11px, rgb(31 74 58 / .12) 11px 12px), var(--pierre-3);
  border-bottom: 1.5px solid var(--vert); font: italic 600 1.15rem/1.4 var(--f-titre);
}
.cartouche__photo .ico { width: 40px; height: 40px; }
.cartouche__photo .a-completer { margin-top: 8px; font-style: normal; }
.cartouche__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.cartouche__grille > div { padding: 12px 14px 14px; border-right: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.cartouche__grille > div:nth-child(3n + 1):not(.cartouche__titre) { border-right: 1px solid var(--filet); }
.cartouche__titre { grid-column: 1 / -1; }
.cartouche dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); margin-bottom: 6px; }
.cartouche dd { margin: 0; font: 600 1.05rem/1.3 var(--f-titre); color: var(--encre); }
.cartouche dd .a-completer { font-size: .82rem; padding: 2px 8px; }

/* ---------- Implantations ---------- */
.lieux__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.lieux__liste li { position: relative; display: flex; flex-direction: column; gap: 4px; max-width: none; }
.lieux__liste img { aspect-ratio: 4 / 3; object-fit: cover; transition: filter .3s; }
.lieux__liste li:hover img { filter: saturate(1.15) brightness(1.04); }
.lieux__t { margin-top: 14px; font: 700 1.4rem/1.15 var(--f-titre); color: var(--encre); text-decoration: none; }
.lieux__t::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.lieux__liste .credit { z-index: 2; }
.lieux__liste li:hover .lieux__t { color: var(--brique-f); text-decoration: underline; text-decoration-thickness: 1px; }
.lieux__d { color: var(--doux); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.faq__liste details { border-top: 1px solid var(--filet); }
.faq__liste details:last-child { border-bottom: 1px solid var(--filet); }
.faq__liste summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font: 700 1.25rem/1.3 var(--f-titre); color: var(--encre); }
.faq__liste summary::-webkit-details-marker { display: none; }
.faq__liste summary:hover { color: var(--brique-f); }
.faq__ico { color: var(--brique); transition: transform .2s; }
.faq__liste details[open] .faq__ico { transform: rotate(180deg); }
.faq__rep { padding: 0 0 18px; }

/* ---------- Bande d'appel (brique) ---------- */
.appel { background: var(--brique); color: #FBEDE7; padding: clamp(52px, 6vw, 84px) 0; }
.appel__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 80px); align-items: center; }
.appel h2 { color: #fff; margin-bottom: .35em; }
.appel__txt p { margin: 0; font-size: 1.1rem; }
.appel__act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.appel__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 1.6rem/1 var(--f-texte); text-decoration: none; font-variant-numeric: tabular-nums; }
.appel__tel:hover { color: var(--pierre-3); text-decoration: underline; text-decoration-thickness: 1px; }
.appel__h { margin: 0; font-size: .92rem; color: #F6D9CE; }

/* ---------- Pages intérieures : en-tête ---------- */
.entete { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--filet); }
.entete__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: center; }
.entete--seul .entete__grille { grid-template-columns: minmax(0, 1fr); }
.entete h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.chapo { font-size: 1.16rem; line-height: 1.6; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--doux); }
.fil li + li::before { content: '/'; margin: 0 10px; color: var(--filet); }
.fil a { color: var(--doux); }
.fil a:hover { color: var(--brique-f); }
.rassure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; font-size: .94rem; color: var(--doux); }
.rassure li { display: inline-flex; align-items: center; gap: 7px; }
.rassure .ico { width: 17px; height: 17px; color: var(--vert-2); }
.entete__visuel .photo img { aspect-ratio: 5 / 4; object-fit: cover; }
.planche {
  position: relative; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) 0; color: var(--vert);
  background-color: var(--pierre-3);
  background-image: linear-gradient(rgb(31 74 58 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(31 74 58 / .07) 1px, transparent 1px);
  background-size: 24px 24px; border: 1px solid var(--filet);
}
.planche .dessin--grand { width: 100%; max-height: 340px; margin-inline: auto; }
.planche__sol { display: block; height: 2px; background: var(--vert); margin: 0 calc(-1 * clamp(24px, 4vw, 48px)); }
.planche__leg { margin: 0; padding: 10px 0 12px; font-size: .8rem; font-style: italic; color: var(--doux); text-align: right; }

/* ---------- Contenu courant ---------- */
.titre-bloc { margin-bottom: clamp(28px, 3vw, 44px); }
.texte-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.texte-col + .texte-col { margin-top: clamp(48px, 6vw, 80px); }
.texte-col h2 { margin: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brique); }
.encart { background: var(--pierre-3); border: 1px solid var(--filet); padding: clamp(22px, 3vw, 34px); }
.encart h3 { margin-top: 0; }
.encart > :last-child { margin-bottom: 0; }

.domaines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid var(--filet); }
.domaines li { max-width: none; border-bottom: 1px solid var(--filet); }
.domaines a { display: grid; gap: 6px; padding: 22px 18px 26px; height: 100%; text-decoration: none; color: inherit; transition: background-color .2s; }
.domaines a:hover { background: var(--pierre-3); }
.domaines__dessin { display: flex; align-items: flex-end; height: 96px; color: var(--vert); border-bottom: 2px solid var(--vert); margin-bottom: 12px; }
.domaines__dessin .dessin { height: 88px; width: auto; }
.domaines a:hover .domaines__dessin { color: var(--brique); }
.domaines__t { font: 700 1.2rem/1.2 var(--f-titre); color: var(--encre); }
.domaines a:hover .domaines__t { color: var(--brique-f); }
.domaines__d { font-size: .95rem; color: var(--doux); }

/* Étapes de mission (séquence réelle : numérotée) */
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: e; }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 20px; padding: 22px 0; border-top: 1px solid var(--filet); max-width: none; }
.etapes li:last-child { border-bottom: 1px solid var(--filet); }
.etapes li::before { content: counter(e); grid-row: span 2; font: 500 2.6rem/1 var(--f-titre); color: var(--brique); }
.etapes h3 { margin: 0; font-size: 1.3rem; }
.etapes abbr { text-decoration: none; font: 600 .8rem/1 var(--f-texte); letter-spacing: .08em; color: var(--vert-2); margin-left: 8px; }
.etapes p { margin: 0; }

/* ---------- Contact ---------- */
.contact__grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: var(--pierre-3); border: 1px solid var(--filet); border-top: 4px solid var(--vert); padding: clamp(22px, 3vw, 40px); }
.form .plein { grid-column: 1 / -1; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 500; color: var(--encre); font-size: .97rem; }
.champ .opt { font-weight: 400; color: var(--doux); font-size: .88rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-texte); color: var(--encre); background: #fff;
  border: 1px solid #B9B09C; border-radius: var(--r); padding: 13px 14px; min-height: 50px;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--vert-2); outline-offset: 0; border-color: var(--vert-2); }
.champ ::placeholder { color: #6E756F; }
.rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--doux); }
.rgpd input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--vert); flex: none; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { margin: 0; font-weight: 500; }
.form__msg.is-ok { color: var(--vert); }
.form__msg.is-err { color: var(--brique-f); }
.form button[disabled] { opacity: .7; cursor: progress; }
.coord { display: grid; gap: 22px; }
.coord h2 { font-size: 1.6rem; margin: 0 0 .3em; }
.coord__bloc { padding-bottom: 20px; border-bottom: 1px solid var(--filet); }
.coord__tel { font: 700 1.8rem/1 var(--f-texte); color: var(--encre); text-decoration: none; font-variant-numeric: tabular-nums; }
.coord__tel:hover { color: var(--brique-f); }
.carte iframe { width: 100%; height: 280px; border: 1px solid var(--filet); display: block; }

/* ---------- Plan du site, mentions ---------- */
.plan { columns: 2 300px; column-gap: 48px; }
.plan section { break-inside: avoid; margin-bottom: 32px; }
.plan h2 { font-size: 1.4rem; }
.plan ul { padding-left: 1.1em; margin: 0; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Pied ---------- */
.foot { background: var(--vert-nuit); color: #C3D3C8; padding: clamp(56px, 6vw, 84px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot a { color: #E6EEE8; text-decoration: none; }
.foot a:hover { color: var(--tuile); text-decoration: underline; }
.foot__haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgb(195 211 200 / .2); }
.logo--pied { color: #fff; margin: 0 0 18px; }
.logo--pied .logo__suite { color: #AFC2B5; }
.logo--pied .logo__suite i { color: var(--tuile); }
.foot__phrase { font-size: .95rem; line-height: 1.6; max-width: 40ch; }
.foot__h { font: italic 600 1.2rem/1.2 var(--f-titre); color: #fff; margin: 0 0 14px; }
.foot address { font-style: normal; line-height: 1.6; margin-bottom: 10px; }
.foot__tel { font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.foot__h-txt { font-size: .9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .96rem; }
.foot__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .86rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; gap: 20px; flex-wrap: wrap; }
.mbar { display: none; }

/* ---------- 404 ---------- */
.introuvable { padding: clamp(72px, 10vw, 140px) 0; }
.introuvable .dessin { width: min(320px, 70%); color: var(--vert); border-bottom: 2px solid var(--vert); margin-bottom: 32px; }

/* ================= Responsive ================= */
@media (max-width: 1240px) {
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--filet); border-radius: var(--r); }
}
@media (max-width: 1120px) {
  :root { --head: 70px; }
  .burger { display: inline-grid; place-content: center; gap: 6px; width: 48px; height: 48px; border: 1px solid var(--filet); border-radius: var(--r); background: var(--pierre-3); cursor: pointer; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--encre); transition: transform .25s; }
  body.menu-ouvert .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-ouvert .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .head__cta { display: none; }
  .nav { position: fixed; inset: var(--head) 0 0; z-index: 49; background: var(--pierre); padding: 8px 24px 40px; overflow-y: auto; display: none; flex-direction: column; gap: 22px; }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .nav { display: flex; }
  body.menu-ouvert .head { transform: none !important; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste > li { border-bottom: 1px solid var(--filet); }
  .nav__lien { width: 100%; justify-content: space-between; padding: 16px 2px; border: 0; font: 700 1.55rem/1.2 var(--f-titre); }
  .nav__lien[aria-current], .nav__btn[data-actif] { border: 0; }
  .nav__chev { width: 18px; height: 18px; }
  .nav__sous { position: static; width: auto; box-shadow: none; border: 0; background: var(--pierre-2); padding: 6px; margin: 0 0 14px; display: none; opacity: 1; visibility: visible; }
  .nav__drop.is-open .nav__sous { display: block; }
  .nav__sous::before { display: none; }
  .nav__mobile { display: flex; flex-direction: column; gap: 10px; }
  .nav__adresse { text-align: center; color: var(--doux); font-size: .95rem; margin: 6px 0 0; }
}
@media (max-width: 1000px) {
  .rue { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 40px; grid-template-rows: none; }
  .rue__lot { grid-column: span 2; grid-row: auto; display: block; }
  .rue__lot a { display: flex; flex-direction: column; grid-row: auto; }
  .rue__dessin { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 150px; }
  .rue__dessin .dessin { height: 130px; width: auto; max-width: 100%; flex: none; }
  .rue__lot:nth-child(4) { grid-column: 2 / span 2; }
  .rue__lot + .rue__lot .rue__t, .rue__lot + .rue__lot .rue__d { border-left: 0; }
  .fiche-id { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche-id > div:nth-child(3) { border-left: 0; }
  .fiche-id > div:nth-child(n + 3) { border-top: 1px solid rgb(207 221 211 / .25); }
  .foot__haut { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .une__tete, .tete-ed, .neuf__grille, .agence-une, .refs__grille, .faq__grille, .appel__grille, .entete__grille, .texte-col, .contact__grille { grid-template-columns: minmax(0, 1fr); }
  .une__cartouche-pos { position: static; translate: none; width: 100%; padding: 0; }
  .fiche-id { width: 100%; box-shadow: none; }
  .rue-section { padding-top: clamp(64px, 8vw, 112px); }
  .lieux__liste { grid-template-columns: minmax(0, 1fr); }
  .lieux__liste li { display: grid; grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
  .lieux__liste .photo { grid-row: span 2; }
  .lieux__liste .credit { display: none; }
  .lieux__t { margin-top: 0; align-self: end; }
  .lieux__d { align-self: start; }
  .entete__visuel { order: -1; }
  .entete__visuel--dessin { order: 0; }
  .refs__grille .cartouche { order: 2; }
}
@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .head.is-cache { transform: translateY(-100%); }
  .logo__nom { font-size: 1.3rem; }
  .logo__suite { font-size: .7rem; letter-spacing: .04em; }
  .rue { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; }
  .rue__lot, .rue__lot:nth-child(4) { grid-column: auto; }
  .rue__lot:last-child { grid-column: 1 / -1; }
  .rue__dessin { padding: 0 4px; height: 118px; }
  .rue__dessin .dessin { height: 100px; }
  .rue__t { padding: 12px 0 4px; font-size: 1.15rem; }
  .rue__d { padding: 0; font-size: .9rem; }
  .fiche-id > div { padding: 14px 14px 16px; }
  .cartouche__grille { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .btns .btn { flex: 1 1 100%; }
  .foot__haut { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .etapes li { grid-template-columns: 48px minmax(0, 1fr); }
  .etapes li::before { font-size: 2rem; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--pierre-3); border-top: 1px solid var(--filet); box-shadow: 0 -10px 24px -16px rgb(23 36 30 / .4); transform: translateY(110%); transition: transform .3s ease; }
  .mbar.is-visible { transform: none; }
  body.menu-ouvert .mbar { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
  .mbar__tel { color: var(--vert); border: 1.5px solid var(--vert); }
  .mbar__rdv { color: #fff; background: var(--brique); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Fiches en liste (agence, mentions) ---------- */
.personnes { margin: 0 0 1.2em; display: grid; gap: 0; border-top: 1px solid var(--filet); }
.personnes > div { padding: 16px 0; border-bottom: 1px solid var(--filet); }
.personnes dt { font: 700 1.35rem/1.2 var(--f-titre); color: var(--encre); }
.personnes dd { margin: 2px 0 0; color: var(--doux); }
.fiche-txt { margin: 0 0 1.4em; border-top: 1px solid var(--filet); max-width: 760px; }
.fiche-txt > div { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.fiche-txt dt { font-weight: 500; color: var(--doux); font-size: .95rem; }
.fiche-txt dd { margin: 0; color: var(--encre); }
.legal .prose { max-width: 820px; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Réalisations par domaine ---------- */
.par-domaine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 40px; }
.par-domaine li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: end; padding: 22px 0; border-bottom: 1px solid var(--filet); max-width: none; }
.par-domaine__dessin { color: var(--vert); border-bottom: 2px solid var(--vert); }
.par-domaine__dessin .dessin { height: 70px; width: auto; margin-inline: auto; }
.par-domaine h3 { margin: 0 0 8px; font-size: 1.3rem; }
.par-domaine h3 a { color: var(--encre); text-decoration: none; }
.par-domaine h3 a:hover { color: var(--brique-f); text-decoration: underline; }
@media (max-width: 760px) {
  .fiche-txt > div { grid-template-columns: minmax(0, 1fr); }
  .par-domaine { grid-template-columns: minmax(0, 1fr); }
  .par-domaine li { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
}
