/* =========================================================
   BAB'S-BAT SARL — feuille de style commune
   ========================================================= */

/* ---------- Jetons ---------- */
:root {
  --ink: #16110D;
  --ink-2: #2A211B;
  --paper: #F3EDE4;
  --paper-2: #FBF8F3;
  --sand: #E7DDCF;
  --sand-2: #D9CDBB;
  --brick: #B5451B;
  --brick-dark: #9A3A15;
  --clay: #C77B4E;
  --orange: #F39200;
  --orange-light: #F7B44A;
  --green: #009A33;
  --green-dark: #00742A;
  --green-darker: #004D1B;
  --line-dark: #5A4C42;
  --muted: #5A4C42;
  --muted-light: #CDBFB2;
  --muted-lighter: #A8998C;

  --font-body: Barlow, system-ui, sans-serif;
  --font-display: Anton, 'Arial Narrow', sans-serif;
  --font-label: 'Barlow Condensed', sans-serif;

  --section-y: 104px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 0px) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--green-dark); }
a:hover { color: var(--green-darker); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 12px 16px; background: var(--ink); color: var(--paper);
}
.skip-link:focus { top: 8px; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typographie ---------- */
.dsp {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0;
  letter-spacing: .5px;
}
.mono {
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mono--plain { text-transform: none; }
.h-hero { font-size: clamp(64px, 12.6vw, 196px); line-height: 1.3; }
.h-section { font-size: clamp(44px, 6.4vw, 96px); }
.h-cta { font-size: clamp(40px, 5.4vw, 80px); flex: 1 1 520px; }
.lead { font-size: 21px; line-height: 1.5; font-weight: 500; }
.text-lg { font-size: 19px; line-height: 1.6; }
.dot-ink { color: var(--ink); }
.dot-orange { color: var(--orange); }

/* ---------- Mise en page ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-18 { gap: 18px; } .gap-24 { gap: 24px; }
.gap-28 { gap: 28px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; } .gap-56 { gap: 56px; }
.min0 { min-width: 0; }

/* Thèmes de section */
.t-brick { background: var(--brick); color: var(--paper); }
.t-ink { background: var(--ink); color: var(--paper); }
.t-green { background: var(--green-dark); color: #fff; }
.t-sand { background: var(--sand); }
.t-orange { background: var(--orange); }

/* Petit repère coloré devant les sur-titres */
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 11px; background: var(--sw, var(--brick)); flex: none; }
.sw-orange { --sw: var(--orange); } .sw-green { --sw: var(--green); }
.sw-ink { --sw: var(--ink); } .sw-clay { --sw: var(--clay); }

/* Titre de section standard */
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.section-head__title { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 17px 26px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: 0;
}
.btn--orange { background: var(--orange); color: var(--ink); border-color: var(--ink); }
.btn--orange:hover { background: var(--orange-light); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-2); color: var(--paper); }
.btn--outline-light { color: var(--paper); border-color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--outline-dark { color: var(--ink); border-color: var(--ink); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 2px solid var(--ink); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 0 rgba(22, 17, 13, .08); }
.site-header__inner {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__name { font-size: 26px; }
.brand__name small { font-size: 15px; }
.brand__tag { font-size: 13px; text-transform: none; letter-spacing: .2px; }

.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a {
  padding: 13px 16px; color: var(--ink); border: 2px solid var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav a.nav__cta { background: var(--orange); color: var(--ink); }
.nav a.nav__cta:hover { background: var(--orange-light); }
.nav a.nav__cta[aria-current="page"] { background: var(--ink); color: var(--orange); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a { color: var(--paper); }
.site-footer a.accent { color: var(--orange-light); }
.footer-big { padding-top: 88px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-big__claim { font-size: clamp(56px, 10.5vw, 164px); color: var(--orange); line-height: 1.05; }
.footer-cols {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  border-top: 1px solid var(--line-dark); padding-top: 32px; font-size: 16px; line-height: 1.55;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 8px; }
.footer-label { color: var(--muted-light); }
.footer-copy { color: var(--muted-lighter); font-size: 12px; }
.footer-small {
  padding-top: 48px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; justify-content: space-between;
}
.footer-small__claim { font-size: 40px; color: var(--orange); }

/* ---------- Bandeau d'appel (fin de page) ---------- */
.cta-band__inner {
  padding-top: 64px; padding-bottom: 64px;
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between;
}

/* ---------- Héros de page ---------- */
.page-hero__inner { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.page-hero__lead { max-width: 620px; }

/* =========================================================
   ACCUEIL
   ========================================================= */
.hero__inner { padding-top: 56px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 40px; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.hero__body { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-end; }
.hero__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Photo vue à travers un appareil de briques */
.wall { flex: 2 1 520px; min-width: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; }
.wall > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall__courses { position: absolute; inset: 0; display: flex; flex-direction: column; border-top: 6px solid var(--brick); border-right: 6px solid var(--brick); }
.course { flex: 1; border-bottom: 6px solid var(--brick); background-image: linear-gradient(90deg, var(--brick) 0 6px, transparent 6px); background-size: 25% 100%; }
.course.off { background-position: 16.667% 0; }
.wb {
  position: absolute; width: 25%; height: 16.667%;
  border-left: 6px solid var(--brick); border-bottom: 6px solid var(--brick); background-clip: padding-box;
  display: flex; flex-direction: column; justify-content: center; padding: 0 4%; line-height: 1;
}

/* Bandeau métiers */
.ticker { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: 22px; line-height: 1.2; }
.ticker i { width: 18px; height: 9px; background: var(--orange); }
.ticker i:nth-of-type(3n+2) { background: var(--clay); }
.ticker i:nth-of-type(3n) { background: var(--green); }

/* Recette de la brique */
.recipe { display: flex; gap: 6px; height: 96px; }
.recipe > div { display: flex; align-items: center; min-width: 0; }
.recipe__laterite { flex: 80 1 0; background: var(--brick); color: var(--paper); padding: 0 24px; gap: 14px; }
.recipe__sable { flex: 10 1 0; background: #E3D3B4; justify-content: center; }
.recipe__ciment { flex: 10 1 0; background: #8B8781; justify-content: center; }
.recipe__legend { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: flex-end; }
.recipe__legend span { display: flex; gap: 8px; align-items: center; }
.swatch { width: 14px; height: 14px; border: 1px solid var(--ink); }

/* Fiche technique */
.spec { flex: 1 1 460px; min-width: 0; border: 2px solid var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 28px; background: var(--paper-2); }
.spec__formats { display: flex; gap: 22px; align-items: flex-end; }
.spec__format { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.spec__brick { height: 120px; display: flex; flex-direction: column; justify-content: space-evenly; background: var(--b); }
.spec__brick span { height: 8px; background: var(--g); }
.spec__dim { height: 8px; border: 2px solid var(--ink); border-top: 0; }
.spec img { width: 100%; height: 240px; object-fit: cover; }

/* Liste numérotée (atouts) */
.numlist { flex: 1 1 460px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.numlist li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; border-top: 2px solid var(--ink); }
.numlist li:last-child { border-bottom: 2px solid var(--ink); }
.numlist .mono { color: var(--brick-dark); }
.numlist__text { font-size: 22px; font-weight: 600; line-height: 1.3; }

/* Comparateur plan / chantier */
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__clip { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; width: 4px; background: var(--orange); left: calc(50% - 2px); }
.compare__tag { position: absolute; top: 0; padding: 8px 12px; color: var(--ink); }
.compare__tag--left { left: 0; background: var(--orange); }
.compare__tag--right { right: 0; background: var(--paper); }
.compare-range { width: 100%; height: 44px; accent-color: var(--orange); margin: 0; }

.price__amount { font-size: clamp(56px, 6vw, 92px); color: var(--orange); }
.specs { margin: 0; display: flex; flex-direction: column; font-size: 17px; }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.specs > div:last-child { border-bottom: 1px solid var(--line-dark); }
.specs dt { color: var(--muted-light); }
.specs dd { margin: 0; text-align: right; font-weight: 600; }

/* Mur des métiers */
.bricks { display: flex; flex-direction: column; gap: 8px; }
.bricks__row { display: flex; flex-wrap: wrap; gap: 8px; }
.brick-card {
  flex: 2 1 280px; min-height: 190px; padding: 24px; text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  color: var(--ink); background: var(--sand); transition: transform .15s ease;
}
.brick-card:hover { color: inherit; transform: translateY(-3px); }
.brick-card__body { display: flex; flex-direction: column; gap: 8px; }
.brick-card__title { font-size: 36px; }
.brick-card__desc { font-size: 16px; line-height: 1.45; }
.brick-card--brick { background: var(--brick); color: var(--paper); }
.brick-card--clay { background: var(--clay); }
.brick-card--ink { background: var(--ink); color: var(--paper); }
.brick-card--orange { background: var(--orange); }
.brick-half { flex: 1 1 0; }
@media (max-width: 900px) { .brick-half { display: none; } }

/* Vidéos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px 8px; }
.videos figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.videos video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }

/* Parcours */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.steps li { flex: 1 1 220px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.steps strong { font-size: 30px; }
.steps span:last-child { font-size: 16px; line-height: 1.45; }
.steps li:nth-child(1) { min-height: 180px; background: var(--sand); }
.steps li:nth-child(2) { min-height: 250px; background: var(--clay); }
.steps li:nth-child(3) { min-height: 320px; background: var(--brick); color: var(--paper); }
.steps li:nth-child(4) { min-height: 390px; background: var(--green-dark); color: #fff; }

/* L'entreprise */
.about { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: stretch; }
.about__photos { flex: 1 1 380px; min-width: 0; display: flex; gap: 8px; }
.about__photos img { min-width: 0; height: 460px; object-fit: cover; }
.about__photos img:first-child { flex: 3 1 0; width: 60%; }
.about__photos img:last-child { flex: 2 1 0; width: 40%; margin-top: 48px; }
.about__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about__title { font-size: clamp(40px, 5vw, 72px); }
.quote { margin: 0; padding: 24px 0 0; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.quote p { font-size: 24px; line-height: 1.4; font-weight: 600; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.stats > div { flex: 1 1 140px; padding: 18px; background: var(--paper); display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-size: 40px; color: var(--brick-dark); }
.stats .mono { font-size: 12px; }

/* =========================================================
   MÉTIERS
   ========================================================= */
.trade {
  display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center;
  padding: 40px 0; border-top: 2px solid var(--ink);
}
.trade:last-child { border-bottom: 2px solid var(--ink); }
.trade__num { flex: 0 0 48px; color: var(--brick-dark); }
.trade__title { flex: 2 1 360px; font-size: clamp(40px, 5vw, 76px); }
.trade__body { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.trade__body p { font-size: 18px; line-height: 1.55; }
.trade__tags { color: var(--muted); }
.trade__visual { flex: 1 1 220px; min-width: 0; height: 170px; }
img.trade__visual { width: 100%; object-fit: cover; }
.trade__word { display: flex; align-items: flex-end; padding: 16px; }
.trade__word span { font-size: 44px; }
.plots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.plots span { background: #C9D8BF; }
.plots span:nth-child(1), .plots span:nth-child(3), .plots span:nth-child(8) { background: var(--green); }
.plots span:nth-child(6) { background: var(--orange); }
.panels { background: var(--orange); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 14px; }
.panels span { background: var(--ink); }

/* =========================================================
   CHANTIERS
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn {
  min-height: 46px; padding: 12px 18px; cursor: pointer;
  font: 600 16px var(--font-label); letter-spacing: 1px; text-transform: uppercase;
  border: 2px solid var(--paper); background: transparent; color: var(--paper); border-radius: 0;
}
.filter-btn[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.gallery { padding-bottom: var(--section-y); display: flex; flex-wrap: wrap; gap: 8px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; height: 320px; min-width: 0; flex: var(--grow, 2) 1 300px; background: var(--ink-2); }
.gallery figure[hidden] { display: none; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery__link { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.gallery__link:focus-visible { outline-offset: -4px; }
.gallery figcaption {
  pointer-events: none;
  position: absolute; left: 0; bottom: 0; max-width: 88%;
  background: var(--paper); color: var(--ink); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px;
}
.gallery figcaption .mono { font-size: 14px; color: var(--brick-dark); }
.gallery figcaption span:last-child { font-size: 17px; font-weight: 600; line-height: 1.25; }

/* Visionneuse */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(22, 17, 13, .96); color: var(--paper);
}
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(22, 17, 13, .96); }
body.lb-open { overflow: hidden; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px 16px; }
.lightbox__figure { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100% - 60px); object-fit: contain; touch-action: pan-y; user-select: none; }
.lightbox__figure img.is-loading { opacity: .3; }
.lightbox__caption { font-size: 18px; font-weight: 600; text-align: center; }
.lightbox__btn {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--paper); border: 2px solid var(--paper); border-radius: 0;
  font: 700 22px var(--font-body);
}
.lightbox__btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.lightbox__btn[hidden] { visibility: hidden; display: grid; }
@media (max-width: 640px) {
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__figure img { max-height: calc(100% - 140px); }
  .lightbox__figure { padding-bottom: 72px; }
}

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.testimonial-card {
  margin: 0; padding: 32px 28px 28px; background: var(--sand);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial-card p { font-size: 21px; line-height: 1.5; font-weight: 600; flex: 1; }
.testimonial-card footer { color: var(--brick-dark); }
.testimonial-card__mark { font-size: 72px; line-height: .6; color: var(--orange); height: 36px; }
.testimonial-card--brick { background: var(--brick); color: var(--paper); }
.testimonial-card--brick footer { color: var(--orange-light); }
.testimonial-card--brick .testimonial-card__mark { color: var(--ink); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { padding-top: 72px; padding-bottom: var(--section-y); display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.contact-main { flex: 3 1 560px; min-width: 0; }
.contact-aside { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.form { display: flex; flex-direction: column; gap: 32px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 8px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea {
  height: 54px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 0;
  background: var(--paper-2); font: 17px var(--font-body); color: var(--ink); width: 100%;
}
.field select { padding: 0 12px; }
.field textarea { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--brick); background: #FCEDE6; }
.field-error { color: var(--brick-dark); font-size: 15px; font-weight: 600; }
.req { color: var(--brick-dark); }

/* Choix du métier : radios déguisés en briques */
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 6px; }
.chip { position: relative; display: block; min-width: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; gap: 10px; height: 100%; min-height: 50px; padding: 8px 12px; cursor: pointer;
  font: 600 16px/1.15 var(--font-label); text-transform: uppercase; letter-spacing: .5px;
  border: 2px solid var(--ink); background: var(--paper-2); color: var(--ink);
}
/* Petite brique témoin */
.chip span::before {
  content: ""; flex: none; width: 14px; height: 9px; border: 2px solid currentColor; background: transparent;
}
.chip span:hover { background: var(--sand); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:checked + span::before { background: var(--orange); border-color: var(--orange); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 560px) {
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip span { min-height: 46px; font-size: 15px; padding: 6px 10px; gap: 8px; }
}

.form__foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.form__note { font-size: 15px; color: var(--muted); }
.form__submit { min-height: 58px; padding: 0 30px; font-size: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 18px 22px; border: 2px solid var(--brick); background: #FCEDE6; color: var(--brick-dark); font-weight: 600; margin-bottom: 24px; }
.thanks { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding: 32px; background: var(--green-dark); color: #fff; }
.thanks h2 { font-size: clamp(44px, 6vw, 88px); }
.thanks p { font-size: 19px; line-height: 1.55; }
.thanks .btn { color: #fff; border-color: #fff; }

.card { padding: 28px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink a { color: var(--paper); }
.card--sand { background: var(--sand); }
.card__label { color: var(--muted); }
.card--ink .card__label { color: var(--muted-light); }
.card__phone { font-size: 38px; color: var(--orange) !important; text-decoration: none; }
.quick { display: flex; gap: 8px; }
.quick a { flex: 1 1 0; padding: 18px; text-decoration: none; font-weight: 700; font-size: 20px; text-align: center; }
.quick__wa { background: var(--green); color: #fff; }
.quick__wa:hover { background: var(--green-dark); color: #fff; }
.quick__mail { background: var(--clay); color: var(--ink); }
.quick__mail:hover { background: #B66B40; color: var(--ink); }
.map { height: 260px; border: 0; width: 100%; background: var(--sand-2); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  :root { --section-y: 72px; }
  .about__photos img { height: 320px; }
  .recipe__laterite { padding: 0 14px; }
  .recipe__laterite .dsp { font-size: 40px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brick-card, .gallery img { transition: none; }
}

/* ---------- Bouton haut de page ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--orange); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--ink); background: var(--orange-light); transform: translateY(-2px); }
.to-top:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(3px, 3px); }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* ---------- Menu mobile ---------- */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .site-header__inner { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .brand svg { width: 46px; height: 40px; }
  .brand__name { font-size: 22px; }
  .brand__tag { display: none; }

  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; flex: none;
    min-height: 46px; padding: 0 14px; cursor: pointer;
    background: var(--ink); color: var(--paper); border: 2px solid var(--ink); border-radius: 0;
    font: 600 16px var(--font-label); letter-spacing: 1px; text-transform: uppercase;
  }
  .nav-toggle__icon { display: grid; gap: 4px; width: 18px; }
  .nav-toggle__icon i { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* Sans JS : menu toujours visible sous le logo */
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; }
  html:not(.js) .nav a { flex: 1 1 auto; text-align: center; }

  /* Avec JS : panneau déroulant */
  .js .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; gap: 6px;
    padding: 12px 16px 16px; background: var(--paper); border-bottom: 2px solid var(--ink);
    box-shadow: 0 12px 24px rgba(22, 17, 13, .15);
    max-height: calc(100dvh - var(--header-h, 64px)); overflow-y: auto;
  }
  .js .nav:not(.is-open) { display: none; }
  .js .nav a { padding: 15px 16px; font-size: 18px; }
}
