/* Dos Anjos Construction : feuille de style unique.
   Couleurs : mortier (fond), encre (texte), orange chantier (action), béton (sections sombres). */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --mortier: #f3efe7;
  --papier: #fbf9f5;
  --sable: #e9e1d3;
  --ligne: #d9cfbf;
  --encre: #1f1b17;
  --encre-2: #4d453d;
  --beton: #2b2723;
  --beton-2: #3a352f;
  --orange: #e8721c;
  --orange-texte: #a84a08;
  --orange-clair: #f6a35f;
  --ok: #2f6b3a;
  --erreur: #a3271b;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --callbar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--mortier);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--texte);
  padding-bottom: var(--callbar-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-texte); text-underline-offset: 0.18em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: 0.005em; text-transform: uppercase; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--encre-2); font-size: 0.95rem; }
.h-small { font-size: 1.35rem; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--encre); color: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; top: 8px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.6em 1.15em;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 700 1rem/1.1 var(--texte); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--encre); }
.btn-primary:hover { background: var(--encre); color: #fff; }
.btn-ghost { border-color: var(--encre); color: var(--encre); }
.btn-ghost:hover { background: var(--encre); color: #fff; }
.btn-lg { min-height: 54px; padding: 0.75em 1.4em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 700; color: var(--encre); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link-arrow::after { content: " →"; color: var(--orange-texte); }
.link-arrow:hover { color: var(--orange-texte); }

/* ── En-tête ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid var(--ligne); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.bm-bg { fill: var(--orange); }
.bm-brick { fill: var(--encre); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 1.45rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.brand-name span { color: var(--orange-texte); }
.brand-sub { font-size: 0.78rem; color: var(--encre-2); margin-top: 4px; }
.nav-main ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-main a { display: block; white-space: nowrap; padding: 10px 10px; color: var(--encre); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-bottom: 3px solid transparent; }
.nav-main a:hover { border-bottom-color: var(--ligne); }
.nav-main a[aria-current="page"] { border-bottom-color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-tel { font: 800 1.35rem/1 var(--display); color: var(--encre); text-decoration: none; white-space: nowrap; }
.header-tel-label { font: 600 0.75rem/1 var(--texte); text-transform: uppercase; letter-spacing: 0.08em; color: var(--encre-2); display: block; margin-bottom: 3px; }
.nav-mobile { display: none; }

@media (max-width: 1180px) {
  .nav-main { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
    min-height: 46px; padding: 0 14px; border: 2px solid var(--encre); border-radius: var(--radius); font-weight: 700;
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--encre); position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .nav-mobile[open] .burger { background: transparent; }
  .nav-mobile[open] .burger::before { top: 0; transform: rotate(45deg); }
  .nav-mobile[open] .burger::after { top: 0; transform: rotate(-45deg); }
  .nav-mobile nav {
    position: absolute; right: 0; top: calc(100% + 15px); width: min(320px, calc(100vw - 32px));
    background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(31, 27, 23, 0.18); padding: 8px;
  }
  .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
  .nav-mobile a { display: block; padding: 13px 12px; color: var(--encre); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
  .nav-mobile a:hover, .nav-mobile a[aria-current="page"] { background: var(--sable); }
  .nav-mobile-tel { margin: 8px 12px; font-size: 0.95rem; color: var(--encre-2); }
}
@media (max-width: 720px) {
  .header-cta { display: none; }
  .header-row { min-height: 64px; gap: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: 0.7rem; }
}

/* ── Fil d'Ariane ────────────────────────────────────────── */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 16px 0 0; font-size: 0.88rem; color: var(--encre-2); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--ligne); }
.crumbs a { color: var(--encre-2); }

/* ── Accueil : héros ─────────────────────────────────────── */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-texte); margin-bottom: 14px; }
.hero h1 { max-width: 17ch; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--encre-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; font-weight: 600; }
.hero-facts li::before, .ticks li::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--orange); margin-right: 8px; vertical-align: 1px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
figcaption { font-size: 0.86rem; color: var(--encre-2); margin-top: 8px; }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; margin: 0; background: var(--encre); color: #fff; padding: 8px 12px; border-radius: 0 var(--radius) 0 var(--radius); max-width: 90%; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sand { background: var(--sable); }
.section-dark { background: var(--beton); color: #f3efe7; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--encre-2); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

/* Liste des prestations (accueil) */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.svc-link {
  display: grid; grid-template-columns: 64px 1fr 220px 40px; gap: 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--ligne); color: var(--encre); text-decoration: none;
  transition: background-color 0.25s var(--ease);
}
.svc-link:hover { background: var(--papier); }
.svc-num { font: 800 1.1rem/1 var(--display); color: var(--orange-texte); letter-spacing: 0.04em; }
.svc-body { display: flex; flex-direction: column; gap: 6px; }
.svc-name { font: 800 clamp(1.5rem, 2.8vw, 2.1rem)/1 var(--display); text-transform: uppercase; }
.svc-resume { color: var(--encre-2); max-width: 60ch; }
.svc-img img { width: 220px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); filter: saturate(0.85); transition: filter 0.3s var(--ease); }
.svc-link:hover .svc-img img { filter: none; }
.svc-arrow { font-size: 1.6rem; color: var(--orange-texte); transition: transform 0.3s var(--ease); }
.svc-link:hover .svc-arrow { transform: translateX(6px); }
@media (max-width: 900px) {
  .svc-link { grid-template-columns: 44px 1fr 28px; gap: 14px; }
  .svc-img { display: none; }
}

/* Bloc en deux colonnes */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-text p { color: var(--encre-2); }
.split-zone { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.steps-inline { list-style: none; counter-reset: s; padding: 0; margin: 20px 0 26px; }
.steps-inline li { counter-increment: s; position: relative; padding: 10px 0 10px 44px; border-top: 1px solid var(--ligne); }
.steps-inline li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--encre); color: #fff; font: 800 1rem/1 var(--display); border-radius: 2px; }

.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.beforeafter figure { margin: 0; }
.beforeafter img { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; border-radius: var(--radius); }
.tag { display: inline-block; font: 700 0.72rem/1 var(--texte); text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 7px; background: var(--encre); color: #fff; border-radius: 2px; margin-right: 6px; }
.tag-done { background: var(--orange); color: var(--encre); }

/* Mosaïque photo */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 12px; }
.mosaic-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-item figcaption { position: absolute; left: 0; bottom: 0; margin: 0; padding: 6px 10px; background: rgba(31, 27, 23, 0.82); color: #fff; font-size: 0.84rem; border-radius: 0 var(--radius) 0 0; max-width: 92%; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mosaic-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .mosaic-item figcaption { font-size: 0.78rem; }
}

/* Méthode : le cordeau */
.cordeau { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.cordeau::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; border-top: 2px dashed var(--orange); }
.cordeau li { position: relative; }
.cordeau-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: var(--orange); color: var(--encre); font: 800 1.4rem/1 var(--display); border-radius: 2px; margin-bottom: 18px; }
.cordeau h3 { color: #fff; }
.cordeau p { color: #d8d0c4; margin: 0; }
@media (max-width: 860px) {
  .cordeau { grid-template-columns: 1fr; gap: 22px; }
  .cordeau::before { left: 21px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--orange); }
  .cordeau li { padding-left: 64px; }
  .cordeau-n { position: absolute; left: 0; top: 0; }
}

/* Étiquettes de communes */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 7px 12px; background: var(--papier); border: 1px solid var(--ligne); border-radius: 2px; font-size: 0.95rem; font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--ligne); }
.faq details:last-child { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 800 1.8rem/1 var(--display); color: var(--orange-texte); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--encre-2); padding-right: 40px; }

/* Bandeau d'appel */
.cta-band { background: var(--orange); padding: clamp(48px, 7vw, 88px) 0; }
.cta-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 48ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cta-phone { font: 800 clamp(2.4rem, 6vw, 3.8rem)/1 var(--display); color: var(--encre); text-decoration: none; letter-spacing: 0.01em; }
.cta-phone:hover { color: #fff; }
.cta-fixe { margin-bottom: 14px; }
.cta-fixe a { color: var(--encre); font-weight: 700; }
.cta-band .btn-primary { background: var(--encre); color: #fff; }
.cta-band .btn-primary:hover { background: #fff; color: var(--encre); }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } }

/* ── Pages intérieures ───────────────────────────────────── */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.page-hero-plain { padding-bottom: clamp(24px, 3vw, 40px); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-weight: 600; }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 960px) { .prose-layout { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--orange-texte); font-weight: 700; }

.side-card { position: sticky; top: 100px; background: var(--papier); border: 1px solid var(--ligne); border-top: 6px solid var(--orange); border-radius: var(--radius); padding: 24px; }
.side-title { font: 800 1.6rem/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.side-card p { color: var(--encre-2); font-size: 0.97rem; }
.side-tel { display: block; font: 800 2rem/1 var(--display); color: var(--encre); text-decoration: none; margin: 4px 0 14px; }
.side-card .btn { width: 100%; }
@media (max-width: 960px) { .side-card { position: static; } }
.id-card dl { margin: 0 0 12px; }
.id-card dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--encre-2); margin-top: 10px; }
.id-card dd { margin: 2px 0 0; font-weight: 600; }

.h-small + .other-svc { margin-top: 20px; }
.other-svc { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.other-svc a { display: block; text-decoration: none; color: var(--encre); }
.other-svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.other-svc span { display: block; font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; margin-top: 10px; }
.other-svc a:hover span { color: var(--orange-texte); }

/* Page Services */
.svc-cards { list-style: none; padding: 0; margin: 0 0 clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-cards li:first-child { grid-column: span 2; }
.svc-card { display: grid; grid-template-rows: auto 1fr; height: 100%; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--radius); overflow: hidden; color: var(--encre); text-decoration: none; }
.svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-cards li:first-child .svc-card { grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.svc-cards li:first-child .svc-card img { height: 100%; aspect-ratio: auto; min-height: 320px; }
.svc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px; align-items: flex-start; }
.svc-card-body .svc-resume { flex: 1; }
.svc-card:hover .svc-name { color: var(--orange-texte); }
@media (max-width: 760px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-cards li:first-child { grid-column: auto; }
  .svc-cards li:first-child .svc-card { grid-template-columns: 1fr; }
  .svc-cards li:first-child .svc-card img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filters[hidden] { display: none; }
.filters button { font: 600 0.95rem/1 var(--texte); min-height: 42px; padding: 0 14px; border: 1px solid var(--ligne); background: var(--papier); color: var(--encre); border-radius: 2px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.gallery-group { margin-bottom: clamp(40px, 6vw, 72px); }
.gallery-group[hidden] { display: none; }
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-top: 2px solid var(--encre); padding-top: 14px; margin-bottom: 18px; }
.gallery-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 45%), 1fr)); gap: 16px 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery-cap { font-size: 0.9rem; color: var(--encre-2); margin: 8px 0 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 17, 14, 0.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: #eee6da; text-align: center; max-width: 70ch; margin-top: 12px; font-size: 0.95rem; }
.lb-btn { position: fixed; background: rgba(255, 255, 255, 0.1); color: #fff; border: 0; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 2px; }
.lb-btn:hover { background: var(--orange); color: var(--encre); }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 8px; top: 8px; }
@media (max-width: 600px) { .lightbox figure { padding: 56px 8px 16px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* Zone */
.zone-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.zone-groups section + section { margin-top: 26px; }
.zone-groups h3 { font-size: 1.25rem; border-bottom: 2px solid var(--orange); padding-bottom: 6px; display: inline-block; }
@media (max-width: 900px) { .zone-layout { grid-template-columns: 1fr; } }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-direct .h-small { margin: 26px 0 8px; }
.contact-direct .h-small:first-child { margin-top: 0; }
.contact-direct p { margin-bottom: 4px; color: var(--encre-2); }
.contact-big { font: 800 2.6rem/1 var(--display); color: var(--encre); text-decoration: none; display: inline-block; }
.contact-mid { font: 800 1.8rem/1 var(--display); color: var(--encre); text-decoration: none; display: inline-block; margin-top: 14px; }
.contact-big:hover, .contact-mid:hover { color: var(--orange-texte); }
.contact-direct .muted { margin-top: 18px; }

.form-card { background: var(--papier); border: 1px solid var(--ligne); border-top: 6px solid var(--orange); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.form-card > h2 { font-size: 2rem; margin-bottom: 6px; }
.form { display: grid; gap: 18px; margin-top: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--encre-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--texte); color: var(--encre);
  background: #fff; border: 1.5px solid #b8ad9c; border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(232, 114, 28, 0.45); }
.field [aria-invalid="true"] { border-color: var(--erreur); }
.field-error { color: var(--erreur); font-size: 0.92rem; font-weight: 600; margin: 6px 0 0; }
.field-help { color: var(--encre-2); font-size: 0.9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
.form-legal { font-size: 0.86rem; color: var(--encre-2); margin: 0; }
.notice { border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; }
.notice p:last-child { margin: 0; }
.notice-ok { background: #e6f0e3; border: 1px solid #a9c8a2; }
.notice-ok h2 { color: var(--ok); font-size: 1.8rem; }
.notice-err { background: #f8e4e0; border: 1px solid #e0aaa1; color: var(--erreur); font-weight: 600; }

.legal { padding-top: 24px; padding-bottom: clamp(48px, 7vw, 88px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; }
.link-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 20px 0 60px; }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { background: var(--beton); color: #d8d0c4; padding: clamp(48px, 7vw, 80px) 0 0; font-size: 0.97rem; }
.site-footer a { color: #f3efe7; }
.site-footer a:hover { color: var(--orange-clair); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 800 1.5rem/1 var(--display); text-transform: uppercase; color: #fff; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-legal-id { font-size: 0.85rem; color: #b5ac9f; }
.footer-title { font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { text-decoration: none; }
.footer-contact p { margin-bottom: 6px; }
.footer-tel a { font: 800 1.8rem/1 var(--display); text-decoration: none; }
.footer-contact address { margin: 10px 0 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--beton-2); margin-top: 48px; padding-top: 18px; padding-bottom: 22px; font-size: 0.85rem; color: #a59c8f; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a59c8f; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Barre d'appel mobile ────────────────────────────────── */
.callbar { display: none; }
@media (max-width: 720px) {
  :root { --callbar-h: 64px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: calc(var(--callbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--encre); box-shadow: 0 -6px 20px rgba(31, 27, 23, 0.2);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
  .callbar-tel { color: #fff; }
  .callbar-tel::before { content: ""; width: 18px; height: 18px; margin-right: 8px; background: currentColor; -webkit-mask: url("../img/tel.svg") center / contain no-repeat; mask: url("../img/tel.svg") center / contain no-repeat; }
  .callbar-devis { background: var(--orange); color: var(--encre); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .callbar, .cta-band, .site-footer, .side-card { display: none; }
}
