/* ==========================================================================
   Atelier Vernet — feuille de style unique
   Couleurs, polices et espacements : variables du bloc :root ci-dessous.
   Un seul thème, clair, sur tous les écrans.
   ========================================================================== */

/* ---------- Polices hébergées sur le site (licence SIL OFL, voir /fonts) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Réglages ---------- */
:root {
  --paper: #ffffff;
  --paper-2: #f3f2ef;       /* sections alternées */
  --ink: #22201e;           /* texte, graphite */
  --ink-2: #57534d;         /* texte secondaire */
  --line: #dedad3;          /* filets */
  --line-strong: #8a847b;   /* bordures des champs */
  --blue: #1f3f66;          /* bleu de travail : boutons et liens */
  --blue-hover: #152f4f;
  --blue-soft: #e8edf4;
  --oak: #b07a3e;           /* chêne : traits, étoiles, cotes */
  --oak-text: #855620;      /* chêne lisible en texte */
  --oak-soft: #f6eee3;
  --error: #b3261e;

  --font-title: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-text: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: 16px;
  --banner-h: 30px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--banner-h) + 16px);
}
@media (min-width: 1024px) { html { scroll-padding-top: calc(var(--banner-h) + var(--header-h) + 16px); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.04;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 1.35rem + .6vw, 1.85rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 12px 18px; background: var(--blue); color: #fff; font-weight: 600;
}
.skip-link:focus { top: calc(var(--banner-h) + 8px); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 96px; } }
.section--grey { background: var(--paper-2); }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head--row {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 12px 32px; max-width: none;
}
.section-head--row > div { max-width: 46rem; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.32rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--ink-2); }

/* Graduations de mètre ruban : séparateur maison */
.ruler {
  height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--oak) 0 1px, transparent 1px 50px) left bottom / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--oak) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat;
  opacity: .8;
}

/* ---------- Boutons et liens d'action ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 12px 24px; max-width: 100%;
  border: 2px solid transparent; border-radius: 0;
  font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .label { display: inline-flex; align-items: center; gap: .6em; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--oak-soft); color: var(--blue-hover); }
.btn:disabled { cursor: not-allowed; opacity: .75; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--blue); text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Bandeau de démonstration (toutes les pages) ---------- */
.demo-banner {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  height: var(--banner-h); padding-inline: 12px;
  background: var(--ink); color: #fff;
  font-family: var(--font-title); font-size: .97rem; letter-spacing: .01em; line-height: 1;
  white-space: nowrap; overflow: hidden; text-decoration: none;
}
.demo-banner:hover { background: #000; color: #fff; }
.demo-banner u { text-underline-offset: 2px; }
.demo-banner .long { display: none; }
@media (min-width: 760px) { .demo-banner .long { display: inline; } .demo-banner .short { display: none; } }

/* ---------- En-tête : fixe sur ordinateur seulement ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .site-header { position: sticky; top: var(--banner-h); } }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: block; font-family: var(--font-title); font-weight: 600; font-size: 1.55rem; line-height: 1; }
.brand-sub { display: block; margin-top: 3px; font-size: .78rem; color: var(--ink-2); }
.brand-city { display: none; }
@media (min-width: 480px) { .brand-city { display: inline; } }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 12px; color: var(--ink); font-weight: 500; text-decoration: none;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--oak); }
.header-phone {
  display: none; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--blue); }
.header-cta { display: none; white-space: nowrap; min-height: 46px; padding: 10px 18px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px;
  background: none; border: 2px solid var(--ink); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding-block: 4px 8px; }
.mobile-nav a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-family: var(--font-title); font-size: 1.6rem;
}
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav .btn { width: 100%; margin: 16px 0 24px; }
@media (min-width: 1024px) {
  .main-nav, .header-cta { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

/* ---------- Héros de l'accueil ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
.hero-media { order: -1; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media figcaption { padding: 8px var(--gutter) 0; font-size: .875rem; color: var(--ink-2); }
.hero-text { padding: 28px var(--gutter) 0; }
.hero-text h1 { max-width: 12ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-phone { display: none; }
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center; gap: 48px; padding-block: 48px 72px;
  }
  .hero-media { order: 0; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .hero-media figcaption { padding-inline: 0; }
  .hero-text { padding: 0 0 0 max(var(--gutter), calc((100vw - var(--container)) / 2)); }
}
@media (min-width: 1024px) { .hero-phone { display: inline-flex; } }

/* ---------- Chiffres clés ---------- */
.figures ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.figures li { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); }
.figures li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.figures li:nth-last-child(-n + 2) { border-bottom: 0; }
.figures .num { display: block; font-family: var(--font-title); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; }
.figures .label { display: block; margin-top: 6px; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 768px) {
  .figures ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figures li { padding: 32px 20px; border-bottom: 0; border-left: 1px solid var(--line); }
  .figures li:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Cartes de réalisations (accueil) ---------- */
.cards { display: grid; gap: 36px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 16px 0 4px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.after-cards { margin-top: 32px; }

/* ---------- Liste de prix (accueil) ---------- */
.price-list li {
  display: flex; flex-direction: column; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) { .price-list li { flex-direction: row; align-items: baseline; justify-content: space-between; } }
.price-list li:first-child { border-top: 2px solid var(--ink); }
.price-list .name { font-family: var(--font-title); font-size: 1.55rem; line-height: 1.1; }
.price-list .name a { color: inherit; text-decoration: none; }
.price-list .name a:hover { color: var(--blue); text-decoration: underline; }
.price-list .from { color: var(--ink-2); white-space: nowrap; }
.price-list .from strong { color: var(--ink); }
.price-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.price-foot p { margin: 0; font-size: .92rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

/* ---------- Avis ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--ink-2); }
.rating .score { font-family: var(--font-title); font-size: 2rem; line-height: 1; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--oak); }
.stars .icon { width: 18px; height: 18px; }
.stars .off { opacity: .3; }
.carousel-nav { display: none; gap: 8px; }
@media (min-width: 900px) { .carousel-nav { display: flex; } }
.carousel-btn {
  display: grid; place-items: center; width: 48px; height: 48px;
  background: transparent; border: 2px solid var(--ink); color: var(--ink); cursor: pointer;
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 14px; scrollbar-width: thin;
}
.review {
  display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 24px;
  background: var(--paper); border: 1px solid var(--line); scroll-snap-align: start;
}
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; }
.review figcaption { margin-top: auto; font-size: .92rem; color: var(--ink-2); }
.review figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.reviews-note { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .9rem; color: var(--ink-2); }

/* ---------- Zone d'intervention ---------- */
.zone-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.zone-map { display: block; width: 100%; max-width: 540px; height: auto; margin-inline: auto; font-family: var(--font-text); }
.map-zone { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 2; stroke-dasharray: 7 6; }
.map-hatch { stroke: var(--blue); stroke-width: 1; opacity: .18; }
.map-ring { fill: none; stroke: var(--blue); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 5; }
.map-river { fill: none; stroke: #7fa7b8; stroke-width: 3; stroke-linecap: round; opacity: .9; }
.map-river-label { font-size: 11px; font-style: italic; fill: #44707f; }
.map-rocade { fill: none; stroke: var(--ink-2); stroke-width: 1.5; opacity: .5; }
.map-dot { fill: var(--ink); }
.map-dot--small { fill: var(--ink-2); }
.map-label { font-size: 13px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.map-home { fill: var(--blue); fill-opacity: .2; stroke: var(--blue); stroke-width: 2; }
.map-home-core { fill: var(--blue); }
.map-city { font-family: var(--font-title); font-weight: 600; font-size: 19px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; }
.map-scale { font-size: 11px; font-weight: 600; fill: var(--blue); letter-spacing: .06em; }
@media (max-width: 640px) {
  .map-label { font-size: 21px; stroke-width: 6px; }
  .map-label--center, .map-label--minor, .map-river-label, .map-scale { display: none; }
  .map-city { font-size: 26px; }
}
.communes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 24px 0; }
.communes h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--oak-text); }
.communes li { font-size: .95rem; padding-block: 1px; }
.note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px;
  background: var(--paper-2); font-size: .95rem; color: var(--ink-2);
}
.note .icon { color: var(--blue); margin-top: 2px; }

/* ---------- Bande d'appel au devis ---------- */
.cta-band { padding-block: 56px; background: var(--blue); color: #fff; }
@media (min-width: 768px) { .cta-band { padding-block: 80px; } }
.cta-band .container { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.cta-band h2 { margin-bottom: .25em; color: #fff; }
.cta-band p { margin: 0; color: #dbe3ee; max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.cta-band .tel { color: #fff; font-weight: 600; }

/* ---------- En-tête des pages intérieures ---------- */
.page-head { padding-block: 40px 36px; }
@media (min-width: 768px) { .page-head { padding-block: 64px 48px; } }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { max-width: 52ch; margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc a { font-weight: 500; }

/* ---------- Fiches projet (réalisations) ---------- */
.project { padding-block: 48px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .project { padding-block: 72px; } }
.project-grid { display: grid; gap: 24px; }
.project-media { display: grid; gap: 10px; margin: 0; }
.project-media img { width: 100%; height: auto; object-fit: cover; }
.project-media .main { aspect-ratio: 3 / 2; }
.project-media .tall { aspect-ratio: 4 / 5; max-height: 760px; }
.project-media--duo .second { aspect-ratio: 3 / 2; object-position: 50% 45%; }
.project-media figcaption { grid-column: 1 / -1; font-size: .875rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .project-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .project:nth-of-type(even) .project-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .project:nth-of-type(even) .project-media { order: 2; }
}
.project-place { margin: 0 0 6px; font-weight: 600; color: var(--oak-text); }
.project h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); }
.project-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 0 0 20px; padding: 14px 0; border-block: 1px solid var(--line);
}
.project-meta dt { font-size: .82rem; color: var(--ink-2); }
.project-meta dd { margin: 2px 0 0; font-weight: 600; font-size: .97rem; line-height: 1.35; }
.project h3 { margin: 20px 0 4px; font-size: 1.35rem; }
.project p { color: var(--ink-2); }
/* Ligne de cote, comme sur un plan d'atelier */
.cote { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--oak-text); font-size: .9rem; font-weight: 600; }
.cote::before, .cote::after {
  content: ""; flex: 1; height: 11px;
  background: linear-gradient(var(--oak), var(--oak)) center / 100% 1.5px no-repeat;
}
.cote::before { border-left: 1.5px solid var(--oak); }
.cote::after { border-right: 1.5px solid var(--oak); }

/* ---------- Curseur avant / après ----------
   Composant conservé pour les chantiers qui disposent d'une vraie paire de photos
   (même pièce, même angle). Exemple d'utilisation : _travail/composants/avant-apres.html */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; outline: none;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .15); }
.ba-knob {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgb(0 0 0 / .25);
}
.ba-knob .icon { width: 26px; height: 26px; }
.ba-handle:focus-visible .ba-knob { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-label {
  position: absolute; top: 12px; padding: 4px 10px; background: rgb(34 32 30 / .8); color: #fff;
  font-size: .85rem; font-weight: 600; pointer-events: none;
}
.ba-label--before { left: 12px; }
.ba-label--after { right: 12px; }
.ba-hint { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .9rem; color: var(--ink-2); }
/* L'indication clavier ne s'affiche que sur les appareils avec souris (donc clavier) */
.ba-hint .keys { display: none; }
@media (hover: hover) and (pointer: fine) { .ba-hint .keys { display: inline; } }

/* ---------- Prestations ---------- */
.presta { display: grid; gap: 20px; padding-block: 40px; border-top: 1px solid var(--line); }
.presta:first-of-type { border-top: 2px solid var(--ink); }
.presta-media { margin: 0; }
.presta-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.presta h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); margin-bottom: .3em; }
.presta p { color: var(--ink-2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding-block: 4px; }
.checks .icon { color: var(--oak); margin-top: .22em; width: 1.1em; height: 1.1em; }
.presta-price { margin: 0 0 14px; color: var(--ink-2); }
.presta-price strong {
  display: block; font-family: var(--font-title); font-weight: 600; font-size: 2.4rem; line-height: 1.05; color: var(--ink);
}
.presta-price small { display: block; font-size: .85rem; }
@media (min-width: 900px) {
  .presta { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) minmax(0, 3fr); gap: 40px; align-items: start; padding-block: 48px; }
  .presta-side { padding-top: 8px; }
}
.included { display: grid; gap: 10px 32px; margin-top: 8px; }
@media (min-width: 768px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; font-size: 1.06rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 64ch; }

/* ---------- L'atelier ---------- */
.atelier-hero { margin: 0; }
.atelier-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .atelier-hero img { aspect-ratio: 21 / 9; } }
.atelier-hero figcaption, .photo-caption { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.two-col figure { margin: 0; }
.two-col figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.team li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.team li:first-child { border-top: 2px solid var(--ink); }
.team strong { font-family: var(--font-title); font-size: 1.4rem; line-height: 1.1; }
.team span { color: var(--ink-2); font-size: .97rem; }
.points li { display: flex; gap: 14px; align-items: flex-start; padding-block: 10px; }
.points .icon { color: var(--blue); width: 26px; height: 26px; margin-top: 2px; }
.points strong { display: block; }
.points span { color: var(--ink-2); font-size: .97rem; }
.steps-list { counter-reset: etape; display: grid; gap: 0; }
.steps-list > li {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 16px;
  padding: 26px 0; border-top: 1px solid var(--line); counter-increment: etape;
}
.steps-list > li:first-child { border-top: 2px solid var(--ink); }
.steps-list > li::before {
  content: counter(etape, decimal-leading-zero);
  font-family: var(--font-title); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--oak);
}
.steps-list h3 { margin: 4px 0 6px; }
.steps-list p { margin: 0; color: var(--ink-2); }
.steps-list .step-photo { grid-column: 2; margin: 18px 0 0; }
.steps-list .step-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .steps-list > li { grid-template-columns: 5rem minmax(0, 5fr) minmax(0, 4fr); gap: 0 40px; align-items: start; }
  .steps-list > li::before { font-size: 3rem; }
  .steps-list .step-photo { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
  .steps-list .step-text { grid-column: 2; }
}
.duo-photos { display: grid; gap: 12px; }
@media (min-width: 700px) { .duo-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.duo-photos figure { margin: 0; }
.duo-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.guarantees { display: grid; gap: 0; }
@media (min-width: 768px) { .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; } }
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.guarantee .icon { grid-row: span 3; width: 32px; height: 32px; color: var(--blue); }
.guarantee h3 { margin: 0; font-size: 1.4rem; }
.guarantee p { margin: 0; color: var(--ink-2); }
.guarantee .proof { font-size: .9rem; font-weight: 600; color: var(--oak-text); margin-top: 4px; }

/* ---------- Devis : page et formulaire ---------- */
.quote-grid { display: grid; gap: 40px; align-items: start; padding-bottom: 64px; }
@media (min-width: 768px) { .quote-grid { padding-bottom: 96px; } }
.quote-grid > * { min-width: 0; }          /* empêche une colonne de forcer la largeur de la page */
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
  .quote-aside { position: sticky; top: calc(var(--banner-h) + var(--header-h) + 24px); }
}
.contact-list { display: grid; gap: 16px; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.contact-list a { font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.contact-list span { display: block; color: var(--ink-2); font-size: .92rem; }
.next-steps { counter-reset: suite; margin-bottom: 28px; }
.next-steps li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); counter-increment: suite; }
.next-steps li::before { content: counter(suite); flex: none; font-family: var(--font-title); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--oak); width: 1.2rem; }
.quote-aside figure { margin: 0; }
.quote-aside figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.quote-form { border-top: 4px solid var(--blue); background: var(--paper); }
@media (min-width: 640px) { .quote-form { padding: 32px 36px 0; border: 1px solid var(--line); border-top: 4px solid var(--blue); } }
.demo-flag {
  display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 20px; padding: 12px 14px;
  background: var(--oak-soft); border-left: 3px solid var(--oak); font-size: .95rem; color: var(--ink);
}
@media (min-width: 640px) { .demo-flag { margin-top: 0; } }
.demo-flag .icon { color: var(--oak-text); margin-top: 2px; }
.noscript-contact { padding: 20px; border: 1px solid var(--line); background: var(--paper-2); }
.noscript-contact p:last-child { margin: 0; }

.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0 0 10px; }
.progress li { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.progress li::before { content: ""; display: block; height: 6px; margin-bottom: 8px; background: var(--line); transition: background-color .3s var(--ease); }
.progress li.is-done::before { background: var(--oak); }
.progress li[aria-current="step"]::before { background: var(--blue); }
.progress li[aria-current="step"] { color: var(--ink); }
.progress .step-name { display: none; }
@media (min-width: 560px) { .progress .step-name { display: inline; } .progress .step-num { display: none; } }
.step-count { margin: 0; font-size: .92rem; color: var(--ink-2); }

.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step[hidden] { display: none; }
.form-step > legend {
  padding: 0; margin: 14px 0 4px; font-family: var(--font-title); font-weight: 600;
  font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.4rem); line-height: 1.08;
}
.form-step > legend:focus { outline: none; }
.step-help { margin-bottom: 22px; color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-bottom: 20px; min-width: 0; }
.field > label, .field > .label { font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-2); }
.hint { margin: 0; font-size: .88rem; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; min-width: 0; min-height: 54px; padding: 12px 14px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(31 63 102 / .25); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { display: flex; gap: 6px; align-items: center; margin: 0; color: var(--error); font-size: .92rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-error .icon { width: 1.05em; height: 1.05em; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dims .field { margin: 0; }
.dims label { font-weight: 500; font-size: .9rem; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: block; min-width: 0; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice > span {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  height: 100%; min-height: 64px; padding: 14px; border: 1.5px solid var(--line-strong);
  background: var(--paper); font-weight: 600; line-height: 1.25; transition: border-color .15s, background-color .15s;
  min-width: 0; overflow-wrap: break-word;
}
.choice--row > span { flex-direction: row; align-items: center; }
.choice > span .icon { width: 28px; height: 28px; color: var(--blue); }
.choice > span::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--paper);
}
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.choice input:checked + span::after { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice--row > span { padding-right: 36px; }
.choice-group { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.choice-group > legend { margin-bottom: 10px; padding: 0; font-weight: 600; }
.choice-group .field-error { margin-top: 8px; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 30px 18px; text-align: center; cursor: pointer;
  border: 2px dashed var(--line-strong); background: var(--paper-2); transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: var(--blue-soft); }
.dropzone:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.dropzone .icon { width: 44px; height: 44px; color: var(--blue); }
.dropzone strong { font-size: 1.08rem; }
.dropzone span { color: var(--ink-2); font-size: .92rem; }
.dropzone input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 14px; }
.thumbs li { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button {
  position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: rgb(34 32 30 / .85); color: #fff; cursor: pointer;
}
.thumbs button .icon { width: 16px; height: 16px; }
.thumbs-status { margin: 12px 0 0; font-size: .92rem; color: var(--ink-2); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--blue); }

/* Barre d'actions du formulaire : collée en bas de l'écran pour rester sous le pouce */
.form-actions {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 28px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .form-actions { padding-bottom: 24px; } }
.form-actions .btn { min-width: 0; }
.form-actions [data-prev] { flex: 0 1 auto; padding-inline: 16px; }
.form-actions [data-next] { flex: 1 1 11rem; }
@media (min-width: 640px) { .form-actions [data-next] { flex: 0 1 auto; margin-left: auto; } }
.form-actions [hidden] { display: none; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: tourne .7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes tourne { to { transform: rotate(360deg); } }

.form-success { padding-bottom: 32px; }
.form-success[hidden] { display: none; }
.success-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 16px 0; background: var(--blue); color: #fff; }
.success-mark .icon { width: 30px; height: 30px; }
.form-success h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); }
.form-success h2:focus { outline: none; }
.recap { display: grid; gap: 0; margin: 18px 0 22px; border-top: 2px solid var(--ink); }
.recap div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.recap dt { color: var(--ink-2); }
.recap dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.recap-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.recap-thumbs img { width: 56px; height: 56px; object-fit: cover; }
.demo-result { display: flex; gap: 12px; margin: 0 0 22px; padding: 16px; background: var(--oak-soft); border-left: 3px solid var(--oak); }
.demo-result .icon { color: var(--oak-text); margin-top: 2px; }
.demo-result p { margin: 0; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.success-actions .btn { flex: 1 1 14rem; }

/* ---------- Pages simples ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose .warning { padding: 18px 20px; background: var(--oak-soft); border-left: 3px solid var(--oak); color: var(--ink); }
.prose address { font-style: normal; color: var(--ink-2); margin-bottom: 1em; }
.notfound { display: grid; gap: 32px; align-items: center; padding-block: 40px 72px; }
@media (min-width: 900px) { .notfound { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.notfound .code { margin: 0; font-family: var(--font-title); font-weight: 600; font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--oak); }
.notfound .links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 24px; }
.notfound figure { margin: 0; }
.notfound img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) { .notfound img { aspect-ratio: 3 / 2; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #d6d2cb; font-size: .97rem; }
.site-footer .ruler { opacity: 1; }
.footer-main { display: grid; gap: 32px; padding-block: 48px 32px; }
@media (min-width: 768px) { .footer-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 64px 40px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: #bdb8b0; }
.site-footer p { margin: 16px 0 0; max-width: 34ch; }
.site-footer h2 { margin: 0 0 12px; font-size: 1.35rem; color: #fff; }
.site-footer li { padding-block: 4px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 20px 28px; border-top: 1px solid #45413c; font-size: .9rem; color: #bdb8b0;
}
.footer-bottom p { margin: 0; }

/* ---------- Barre d'action fixe (téléphone) ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(34 32 30 / .08);
  transition: transform .25s var(--ease);
}
.mobile-bar .btn { min-height: 50px; padding-inline: 10px; font-size: 1rem; }
.mobile-bar.is-hidden { transform: translateY(115%); }
body { padding-bottom: 74px; }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Réduction des animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Impression ---------- */
@media print {
  .demo-banner, .site-header, .mobile-bar, .quote-form, .carousel-nav, .skip-link { display: none !important; }
  body { padding: 0; }
  .site-footer { background: none; color: #000; }
  .site-footer a, .site-footer h2, .site-footer .brand { color: #000; }
}
