/* Bois&Co : terroir chaleureux, vert basque, brique et pierre. Typographies humanistes auto-hébergées. */

@font-face { font-family: 'Andada Pro'; src: url(/fonts/andada-pro-vf.woff2) format('woff2'); font-weight: 400 840; font-style: normal; font-display: swap; }
@font-face { font-family: 'Ysabeau Office'; src: url(/fonts/ysabeau-office-vf.woff2) format('woff2'); font-weight: 1 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Ysabeau Office'; src: url(/fonts/ysabeau-office-italic-vf.woff2) format('woff2'); font-weight: 1 1000; font-style: italic; font-display: swap; }

:root {
  --fond: #FAF9F6;
  --blanc: #FFFFFF;
  --pierre: #ECE8E1;
  --pierre-2: #DFD9CE;
  --ligne: #D3CCBF;
  --encre: #17241C;
  --texte: #2B382F;
  --doux: #56625A;
  --vert: #1F5A3C;
  --vert-f: #133A27;
  --vert-ff: #0E2C1D;
  --vert-c: #DCE7DE;
  --brique: #A5432B;
  --brique-f: #86351F;
  --brique-c: #F3E2DA;
  --brou: #4A2F1B;
  --or: #C99A3B;

  --titre: 'Andada Pro', 'Georgia', serif;
  --corps: 'Ysabeau Office', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --r: 6px;
  --ombre: 0 1px 2px rgba(23, 36, 28, .06), 0 10px 28px -12px rgba(23, 36, 28, .22);
  --ombre-forte: 0 2px 4px rgba(23, 36, 28, .08), 0 22px 48px -18px rgba(23, 36, 28, .35);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 1.0625rem/1.62 var(--corps); font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--vert); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brique); }
::selection { background: var(--vert); color: #fff; }
:focus-visible { outline: 2px solid var(--brique); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--pierre-2) var(--fond); }

h1, h2, h3 { font-family: var(--titre); color: var(--encre); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: clamp(2.05rem, 1.35rem + 3vw, 3.5rem); font-weight: 680; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 650; }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); font-weight: 640; line-height: 1.22; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; color: var(--encre); }
.nw { white-space: nowrap; }
.lead { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.28rem); line-height: 1.55; color: var(--texte); max-width: 62ch; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.wrap--etroit { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { left: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.cote { width: 112px; height: 12px; color: var(--brique); margin: -.1em 0 1.1em; }

/* ---------- Boutons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 650 1rem/1.1 var(--corps); letter-spacing: .01em; text-decoration: none;
  padding: .82em 1.25em; border-radius: var(--r); border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--lg { font-size: 1.06rem; padding: .95em 1.45em; }
.btn--brique { background: var(--brique); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 18px -10px rgba(134, 53, 31, .7); }
.btn--brique:hover { background: var(--brique-f); color: #fff; transform: translateY(-1px); }
.btn--trait { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn--trait:hover { background: var(--vert); color: #fff; }
.btn--clair { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn--clair:hover { background: #fff; color: var(--vert-f); border-color: #fff; }
.btn:active { transform: translateY(0); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.lien-fleche { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--vert); }
.lien-fleche .ico { transition: transform .25s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 246, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.head.is-scrolled { border-bottom-color: var(--ligne); box-shadow: 0 6px 20px -14px rgba(23, 36, 28, .35); }
.head__in { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--brou); flex: none; }
.logo__picto { width: 54px; height: auto; color: var(--brou); }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__nom { font: 760 1.5rem/1 var(--titre); color: var(--brou); letter-spacing: -.01em; }
.logo__sous { font: 600 .74rem/1.2 var(--corps); letter-spacing: .08em; text-transform: uppercase; color: var(--doux); margin-top: 5px; }
.logo:hover .logo__nom { color: var(--brique); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 8px; font-weight: 600; font-size: 1rem; white-space: nowrap; color: var(--encre); text-decoration: none; border-radius: 4px; position: relative; }
.nav ul a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 2px; background: var(--brique); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav ul a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav ul a:hover { color: var(--encre); }
.nav__mobile, .nav__extra { display: none !important; }
.head__actions { display: flex; align-items: center; gap: 12px; }
.head__tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--vert); text-decoration: none; white-space: nowrap; font-size: 1.02rem; font-variant-numeric: lining-nums; }
.head__tel:hover { color: var(--brique); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--ligne); border-radius: var(--r); background: var(--blanc); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1281px) and (max-width: 1420px) { .head .logo__sous { display: none; } }
@media (max-width: 1280px) {
  :root { --head-h: 66px; }
  .burger { display: block; }
  .head__tel span { display: none; }
  .head__tel { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--ligne); border-radius: var(--r); background: var(--blanc); }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--fond); padding: 18px clamp(18px, 4vw, 40px) 120px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--ligne); }
  .nav ul a { padding: 15px 2px; font: 650 1.2rem/1.2 var(--titre); }
  .nav ul a::after { display: none; }
  .nav ul a[aria-current] { color: var(--brique); }
  .nav__mobile { display: block !important; }
  .nav__extra { display: flex !important; flex-direction: column; gap: 12px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .head__devis { display: none; }
  .logo__picto { width: 44px; }
  .logo__nom { font-size: 1.32rem; }
  .logo__sous { font-size: .66rem; }
}

/* ---------- Fil d'Ariane ---------- */
.fil ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 14px 0 0; margin: 0; font-size: .92rem; color: var(--doux); }
.fil li + li::before { content: '/'; margin: 0 .55em; color: var(--ligne); }
.fil a { color: var(--doux); text-decoration: none; }
.fil a:hover { color: var(--brique); text-decoration: underline; }

/* ---------- Note Google et réassurance ---------- */
.note { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--texte); font-size: .97rem; }
.note strong { color: inherit; }
.note__stars { display: inline-flex; gap: 1px; color: var(--or); }
.note__stars .ico { width: 1em; height: 1em; }
.note:hover { color: var(--brique); }
.note--clair { color: #E9EFE9; }
.note--clair:hover { color: #fff; }
.rassure { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .97rem; font-weight: 600; }
.rassure li { display: inline-flex; align-items: center; gap: 7px; }
.rassure .ico { color: var(--brique); }

/* ---------- Premier écran (accueil) ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--vert-ff); min-height: min(80vh, 720px); display: grid; align-items: end; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 44, 29, .92) 0%, rgba(14, 44, 29, .8) 38%, rgba(14, 44, 29, .3) 70%, rgba(14, 44, 29, .12) 100%),
              linear-gradient(0deg, rgba(14, 44, 29, .55) 0%, rgba(14, 44, 29, 0) 40%); }
.hero__in { padding-block: clamp(64px, 9vw, 120px) clamp(44px, 6vw, 72px); }
.hero__txt { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: #F2C9B9; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: #E8EEE9; max-width: 56ch; }
.hero .btns { margin: 28px 0 26px; }
.hero .rassure { color: #E8EEE9; }
.hero .rassure .ico { color: #F0B9A5; }
.hero__note { margin-top: 14px; }
.hero__credit { position: absolute; right: 14px; bottom: 10px; font-size: .78rem; color: rgba(255,255,255,.75); margin: 0; }

@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: var(--vert-f); }
  .hero::before { display: none; }
  .hero__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .hero__in { padding-block: 34px 34px; }
  .hero__credit { display: none; }
}

/* ---------- Premier écran (pages internes) ---------- */
.phero { padding-block: clamp(26px, 4vw, 48px) clamp(48px, 6vw, 80px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero h1 { font-size: clamp(2rem, 1.45rem + 2.1vw, 2.9rem); }
.phero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); line-height: 1.58; max-width: 58ch; }
.phero .btns { margin: 26px 0 22px; }
.phero__media { position: relative; }
.phero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: var(--ombre-forte); }
.phero__media::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--brique); border-radius: var(--r); z-index: -1; }
.phero__media { isolation: isolate; }
@media (max-width: 860px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__media { order: -1; margin-right: 14px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--serre { padding-block: clamp(40px, 5vw, 64px); }
.section--pierre { background: var(--pierre); }
.section--blanc { background: var(--blanc); }
.h-sec { margin-bottom: .3em; }
.sec-tete { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-tete p { color: var(--doux); font-size: 1.1rem; max-width: 62ch; }
.sec-tete--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; }
.sec-tete--split > div { max-width: 720px; }

/* Bande zone (accueil) */
.zone { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.zone__liste { list-style: none; padding: 0; margin: 22px 0 26px; border-top: 1px solid var(--ligne); }
.zone__liste li { border-bottom: 1px solid var(--ligne); }
.zone__liste a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; text-decoration: none; color: var(--encre); font-weight: 650; }
.zone__liste a span { font-weight: 500; color: var(--doux); font-variant-numeric: tabular-nums; }
.zone__liste a:hover { color: var(--brique); }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }

/* Carte schématique */
.carte { margin: 0; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: clamp(10px, 2vw, 18px); box-shadow: var(--ombre); }
.carte svg { width: 100%; height: auto; overflow: visible; }
.carte__triangle { fill: var(--vert-c); fill-opacity: .55; stroke: var(--vert); stroke-width: 1.2; stroke-dasharray: 5 5; }
.carte__trajet { stroke: var(--brique); stroke-width: 1.2; stroke-opacity: .45; }
.carte__trajet.is-actif { stroke-opacity: 1; stroke-width: 2.2; }
.carte__ville { fill: var(--blanc); stroke: var(--vert); stroke-width: 2.5; }
.carte__ville.is-actif { fill: var(--brique); stroke: var(--brique); }
.carte a:hover .carte__ville { fill: var(--brique-c); }
.carte__repere { fill: var(--doux); }
.carte text { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.carte__nom { font: 700 17px var(--corps); fill: var(--encre); }
.carte__nom--atelier { fill: var(--brique-f); font-size: 16px; }
.carte__min { font: 500 14px var(--corps); fill: var(--doux); }
.carte__petit { font: 500 13px var(--corps); fill: var(--doux); }
.carte__atelier-fond { fill: var(--brique); }
.carte figcaption { font-size: .86rem; color: var(--doux); margin-top: 8px; }

/* Métiers (accueil) */
.metiers { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.metier { position: relative; display: block; text-decoration: none; color: var(--texte); background: var(--blanc); border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.metier:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); color: var(--texte); }
.metier__img { overflow: hidden; }
.metier__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.metier:hover .metier__img img { transform: scale(1.03); }
.metier__txt { padding: 20px 22px 22px; }
.metier h3 { margin-bottom: .3em; }
.metier p { margin: 0 0 12px; color: var(--doux); }
.metier .lien-fleche { color: var(--brique); }
.metier--grand { grid-column: span 6; }
.metier--grand .metier__img img { aspect-ratio: 3 / 2; }
.metier--grand h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); }
.metier--petit { grid-column: span 3; }
.metier--petit .metier__txt { padding: 16px 18px 18px; }
.metier--petit p { font-size: .97rem; }
@media (max-width: 960px) { .metier--grand { grid-column: span 12; } .metier--petit { grid-column: span 6; } }
@media (max-width: 520px) { .metier--petit { grid-column: span 12; } }

/* À la carte : du coup de main au clé hors d'eau */
.carte-lots { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lots { list-style: none; padding: 0; margin: 0; counter-reset: lot; }
.lots li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--ligne); }
.lots li:first-child { border-top: 1px dashed var(--ligne); }
.lots .ico { color: var(--vert); width: 22px; height: 22px; margin-top: 2px; }
.lots strong { display: block; }
.lots small { color: var(--doux); font-size: .95rem; }
.echelle { margin-top: 26px; background: var(--blanc); border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--ligne); }
.echelle__barre { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--vert-c), var(--vert)); margin: 10px 0 8px; }
.echelle__bornes { display: flex; justify-content: space-between; gap: 18px; font-size: .92rem; color: var(--doux); }
.echelle__bornes span:last-child { text-align: right; }
@media (max-width: 860px) { .carte-lots { grid-template-columns: 1fr; } }

/* Méthode : étapes */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 36px); counter-reset: e; }
.etapes li { counter-increment: e; position: relative; padding-top: 54px; }
.etapes li::before { content: counter(e); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font: 700 1.15rem/1 var(--titre); color: #fff; background: var(--vert); }
.etapes li::after { content: ''; position: absolute; top: 19px; left: 50px; right: -18px; border-top: 1.5px dashed var(--ligne); }
.etapes li:last-child::after { display: none; }
.etapes h3 { font-size: 1.18rem; }
.etapes p { color: var(--doux); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; } .etapes li::after { display: none; } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } .etapes li { padding: 0 0 0 54px; } }

/* Bande sombre (garanties, chiffres publiés) */
.bande { background: var(--vert-f); color: #DCE6DE; position: relative; overflow: hidden; isolation: isolate; }
.bande h2, .bande h3 { color: #fff; }
.bande .cote { color: #E7A891; }
.bande a { color: #fff; }
.bande__picto { position: absolute; right: -60px; bottom: -40px; width: 520px; color: rgba(255,255,255,.045); z-index: -1; }
.bande__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.garanties { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.garanties li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); }
.garanties .ico { width: 26px; height: 26px; color: #F0B9A5; }
.garanties strong { color: #fff; display: block; }
.garanties span { font-size: .97rem; color: #C9D6CD; }
@media (max-width: 860px) { .bande__grid { grid-template-columns: 1fr; } }

/* Contenu éditorial (pages de prestation, guides) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.5em; margin-bottom: .45em; }
.prose ul li::before { content: ''; position: absolute; left: .1em; top: .62em; width: .7em; height: 2px; background: var(--brique); }
.prose ol li { margin-bottom: .45em; }
.encart { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); box-shadow: var(--ombre); }
.encart h3 { margin-top: 0; }
.encart--vert { background: var(--vert-c); border-color: #C3D6C8; box-shadow: none; }
.deux-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.deux-col--egal { grid-template-columns: 1fr 1fr; }
.deux-col__cote { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 20px; }
@media (max-width: 900px) { .deux-col, .deux-col--egal { grid-template-columns: 1fr; } .deux-col__cote { position: static; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--inv > :first-child { order: 2; }
.split__media img { width: 100%; border-radius: var(--r); box-shadow: var(--ombre); aspect-ratio: 4 / 3; object-fit: cover; }
.split__media figcaption { font-size: .88rem; color: var(--doux); margin-top: 8px; }
.split__media { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--inv > :first-child { order: 0; } }

.coches { list-style: none; padding: 0; margin: 0 0 1.2em; }
.coches li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-bottom: .55em; }
.coches .ico { color: var(--vert); margin-top: .2em; }

/* Fiche technique (exemple de maison) */
.fiche { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.plan { background: #F4F1EA; border: 1px solid var(--ligne); border-radius: var(--r); padding: 18px; }
.plan svg { width: 100%; height: auto; }
.plan text { font-family: var(--corps); }
.tech { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tech th, .tech td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tech th { width: 42%; font-weight: 650; color: var(--encre); padding-right: 16px; }
.tech td { font-variant-numeric: lining-nums; }
.tech caption { text-align: left; font-size: .9rem; color: var(--doux); caption-side: bottom; padding-top: 10px; }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr; } }

/* Galerie */
.galerie { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.galerie a { display: block; position: relative; border-radius: var(--r); overflow: hidden; background: var(--pierre-2); text-decoration: none; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.galerie a:hover img { transform: scale(1.04); }
.galerie span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .9rem; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(14, 44, 29, .85), rgba(14, 44, 29, 0)); }
.galerie--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .galerie--3 { grid-template-columns: 1fr 1fr; } .galerie span { font-size: .82rem; padding: 22px 9px 8px; } }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; list-style: none; padding: 0; }
.filtres a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ligne); border-radius: 40px; text-decoration: none; color: var(--encre); font-weight: 600; font-size: .95rem; background: var(--blanc); }
.filtres a:hover { border-color: var(--vert); color: var(--vert); }
.realis + .realis { margin-top: clamp(44px, 6vw, 72px); }
.realis__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.realis__tete h2 { margin: 0; }

/* Liste des services (maillage) */
.liste-services { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.liste-services a { display: grid; grid-template-columns: 84px 1fr 20px; gap: 16px; align-items: center; padding: 10px; border-radius: var(--r); text-decoration: none; color: var(--texte); background: var(--fond); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.liste-services a:hover { border-color: var(--ligne); background: var(--blanc); color: var(--texte); }
.liste-services__img img { width: 84px; height: 64px; object-fit: cover; border-radius: 4px; }
.liste-services strong { display: block; font-family: var(--titre); font-size: 1.1rem; line-height: 1.25; }
.liste-services small { display: block; color: var(--doux); font-size: .93rem; line-height: 1.4; margin-top: 2px; }
.liste-services__fleche { color: var(--brique); transition: transform .25s var(--ease); }
.liste-services a:hover .liste-services__fleche { transform: translateX(3px); }
@media (max-width: 760px) { .liste-services { grid-template-columns: 1fr; } .liste-services a { grid-template-columns: 68px 1fr 18px; } .liste-services__img img { width: 68px; height: 54px; } }

/* Guides (cartes texte) */
.guides { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guides a { display: block; height: 100%; padding: 22px 24px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); text-decoration: none; color: var(--texte); transition: border-color .2s, transform .25s var(--ease); }
.guides a:hover { border-color: var(--vert); transform: translateY(-2px); color: var(--texte); }
.guides strong { display: block; font: 650 1.2rem/1.25 var(--titre); color: var(--encre); margin-bottom: 6px; }
.guides span { color: var(--doux); font-size: .98rem; }
@media (max-width: 760px) { .guides { grid-template-columns: 1fr; } }

/* FAQ */
.faq__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__tete p { color: var(--doux); }
.faq__list { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font: 650 1.12rem/1.35 var(--titre); color: var(--encre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--brique); border-bottom: 2px solid var(--brique); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: var(--brique); }
.faq__rep { padding: 0 0 18px; max-width: 66ch; }
.faq__rep p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq__in { grid-template-columns: 1fr; } }

/* Bandeau d'appel final */
.cta { background: var(--vert); color: #E4ECE6; position: relative; overflow: hidden; isolation: isolate; }
.cta__picto { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 460px; color: rgba(255,255,255,.06); z-index: -1; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta__txt { max-width: 640px; }
.cta h2 { color: #fff; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.coord { list-style: none; padding: 0; margin: 0 0 24px; }
.coord li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
.coord .ico { color: var(--brique); width: 22px; height: 22px; margin-top: 2px; }
.coord strong { display: block; }
.coord a { font-weight: 650; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); padding: clamp(20px, 3.4vw, 34px); box-shadow: var(--ombre); }
.form__titre { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); }
.form__ligne { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form__duo { grid-template-columns: 1fr; } }
.form label { font-weight: 650; font-size: .97rem; color: var(--encre); }
.form label span[aria-hidden] { color: var(--brique); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  font: 400 1.02rem/1.4 var(--corps); color: var(--encre); background: var(--fond); border: 1.5px solid var(--ligne); border-radius: var(--r);
  padding: 12px 13px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: #6E776F; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--vert); background: #fff; box-shadow: 0 0 0 3px rgba(31, 90, 60, .15); }
.form .is-erreur { border-color: var(--brique) !important; }
.form__hp { position: absolute; left: -9999px; }
.form__rgpd { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400 !important; font-size: .93rem !important; color: var(--doux) !important; margin: 4px 0 18px; }
.form__rgpd input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--vert); }
.form__envoi { width: 100%; }
.form__envoi[disabled] { opacity: .65; cursor: progress; transform: none; }
.form__statut { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form__statut.is-ok { color: var(--vert); }
.form__statut.is-err { color: var(--brique-f); }
.form__note { font-size: .88rem; color: var(--doux); margin: 6px 0 0; }

/* À compléter (emplacements visibles pour le client) */
.a-completer { display: flex; gap: 10px; align-items: flex-start; background: #FFF6E6; border: 1.5px dashed #C28A2C; color: #6A4A10; border-radius: var(--r); padding: 12px 14px; font-size: .95rem; margin: 0 0 1em; }
.a-completer .ico { margin-top: 2px; color: #A06F14; }
.a-completer strong { color: inherit; }

/* Pied de page */
.foot { background: var(--vert-ff); color: #C7D3CA; padding-top: clamp(48px, 6vw, 72px); font-size: .98rem; }
.foot a { color: #E6EDE7; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr 1fr; gap: 32px 40px; padding-bottom: 40px; }
.foot__marque p { margin: 16px 0; max-width: 34ch; }
.logo--clair, .logo--clair .logo__nom, .logo--clair .logo__picto { color: #fff; }
.logo--clair .logo__sous { color: #AFC0B4; }
.foot__h { font: 700 .82rem/1.2 var(--corps); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.foot__h--2 { margin-top: 26px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot address { font-style: normal; line-height: 1.75; }
.foot__horaires { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.foot__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* Barre d'appel mobile */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--fond);
    border-top: 1px solid var(--ligne); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 22px -14px rgba(23, 36, 28, .4); transition: transform .25s var(--ease); }
  .mbar.is-hidden { transform: translateY(110%); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r); font-weight: 700; text-decoration: none; font-size: 1.04rem; }
  .mbar__tel { border: 1.5px solid var(--vert); color: var(--vert); background: var(--blanc); }
  .mbar__devis { background: var(--brique); color: #fff; }
  body { padding-bottom: 72px; }
}

/* Agrandissement photo */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(10, 22, 15, .92); display: grid; place-items: center; padding: 56px 16px 24px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 1100px; }
.lb img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lb figcaption { color: #E4ECE6; text-align: center; margin-top: 10px; }
.lb__close { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb__close .ico { width: 24px; height: 24px; }

/* Pages simples (légal, plan) */
.simple h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-top: 1.6em; }
.plan-site { columns: 2 280px; column-gap: 40px; }
.plan-site h2 { break-after: avoid; font-size: 1.25rem; margin-top: 0; }
.plan-site ul { break-inside: avoid; margin-bottom: 1.6em; }

/* Apparition douce (unique moment animé) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (max-width: 520px) {
  .hero .btns .btn, .phero .btns .btn, .cta__btns .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; }
}

.guide__auteur { font-size: .95rem; color: var(--doux); margin: 0; }
.prose blockquote { margin: 1.2em 0; padding: 14px 18px; background: var(--pierre); border-radius: var(--r); }
