/* ==========================================================================
   Art Balland Couverture · landings Google Ads
   Système : 7 tailles de texte, 2 surfaces (page, panneau), 1 respiration,
   1 accent d'action (orange du logo), le bleu nuit du logo pour les fonds.
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --bg-2: #f3f3f6;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #3a3a3f;
  --mute: #6e6e73;
  --line: rgba(29, 29, 31, .12);

  --night: #0f1240;          /* bleu nuit, dérivé du bleu du logo */
  --night-ink: #f5f5f7;
  --night-2: rgba(245, 245, 247, .74);
  --night-line: rgba(245, 245, 247, .16);

  --brand: #2a2f9e;          /* bleu du logo : italiques sur fond clair */
  --action: #f39a35;         /* orange du logo : uniquement l'action */
  --action-hi: #f6a94e;
  --action-ink: #13163f;
  --warm: #f7b56a;           /* italiques sur fond nuit */

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  /* 7 tailles, chacune avec son interlignage et son approche */
  --t1: clamp(2.6rem, 1.4rem + 4.6vw, 4.75rem);   --t1-lh: 1.02; --t1-ls: -0.04em;
  --t2: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);      --t2-lh: 1.06; --t2-ls: -0.032em;
  --t3: 1.3125rem;                                --t3-lh: 1.25; --t3-ls: -0.016em;
  --t4: clamp(1.125rem, 1rem + .4vw, 1.3125rem);  --t4-lh: 1.45; --t4-ls: -0.012em;
  --t5: 1.0625rem;                                --t5-lh: 1.55; --t5-ls: -0.006em;
  --t6: .875rem;                                  --t6-lh: 1.45; --t6-ls: 0;
  --t7: .75rem;                                   --t7-lh: 1.35; --t7-ls: .01em;

  --gap: clamp(88px, 7vw + 40px, 148px);          /* la seule respiration entre sections */
  --pad: clamp(20px, 4vw, 44px);
  --wrap: 1200px;

  --r-field: 12px;
  --r-panel: 24px;
  --r-media: 28px;

  --shadow: 0 1px 1px rgba(0,0,0,.03), 0 4px 10px rgba(0,0,0,.04), 0 18px 40px rgba(0,0,0,.07);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t5)/var(--t5-lh) var(--sans); letter-spacing: var(--t5-ls);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--gap) 0 0; }

/* Titres : sans serré + second membre en serif italique */
h1 { font: 600 var(--t1)/var(--t1-lh) var(--display); letter-spacing: var(--t1-ls); text-wrap: balance; }
h2 { font: 600 var(--t2)/var(--t2-lh) var(--display); letter-spacing: var(--t2-ls); text-wrap: balance; }
h3 { font: 600 var(--t3)/var(--t3-lh) var(--display); letter-spacing: var(--t3-ls); }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.012em; color: var(--brand); display: block;
}
.dark h2 em { color: var(--warm); }

/* ---------------------------------------------------------------- boutons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 22px; border: 0; border-radius: 999px;
  font: 600 var(--t5)/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.972); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-call {
  background: var(--action); color: var(--action-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(120,60,0,.18), 0 6px 18px rgba(243,154,53,.28);
}
.btn-call:hover { background: var(--action-hi); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.72); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-sm { --h: 44px; padding: 0 16px; font-size: var(--t6); }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.125rem; }
.btn-block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  color: var(--brand); font-weight: 500; text-decoration: none;
}
.link-more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .link-more { color: var(--warm); }

/* ------------------------------------------------------------------ barre */
.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 251, 253, .78);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 34px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { display: flex; flex-direction: column; font: 700 1.0625rem/1.05 var(--display); letter-spacing: -0.02em; }
.brand-name span { font: 500 var(--t7)/1.3 var(--sans); letter-spacing: .02em; color: var(--mute); }
.bar-short { display: none; }

/* ------------------------------------------------------------------- hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.kicker { display: flex; align-items: center; gap: 10px; font: 500 var(--t6)/var(--t6-lh) var(--sans); color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.16); }
.hero h1 { max-width: 13ch; }
.lead { margin-top: 24px; max-width: 34em; font: 500 var(--t4)/var(--t4-lh) var(--sans); letter-spacing: var(--t4-ls); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }

.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.proof li { padding: 16px 16px 16px 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--t6); line-height: var(--t6-lh); }
.proof li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
.proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
.proof b { font: 600 1.25rem/1.15 var(--display); letter-spacing: -0.02em; }
.proof small { font-size: var(--t6); color: var(--mute); }
.proof .stars { font-size: .8rem; vertical-align: .12em; margin-left: 2px; }
/* Étoiles remplies au prorata de la note (4,4 = 88 %), jamais 5 pleines. */
.stars {
  --r: 5; display: inline-block; letter-spacing: .06em; font-size: .95rem; line-height: 1;
  background: linear-gradient(90deg, var(--action) calc(var(--r) / 5 * 100%), #d2d2d7 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-media { margin: 0 calc(-1 * var(--pad)); }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: stretch; }
  .hero-copy { padding: 24px 0 72px; }
  .hero-media {
    margin: 0 calc(-1 * var(--pad)) 0 0;
    margin-right: calc(-1 * (100vw - min(100vw, var(--wrap) + 2 * var(--pad))) / 2 - var(--pad));
  }
  .hero-img { height: 100%; min-height: 620px; max-height: 760px; aspect-ratio: auto; border-radius: var(--r-media) 0 0 var(--r-media); }
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 620px; }
  .proof li { padding: 18px 14px; border-top: 0 !important; }
  .proof li + li { border-left: 1px solid var(--line); padding-left: 16px; }
  .proof li:first-child { padding-left: 0; }
  .proof li:last-child { padding-right: 0; }
}

/* ------------------------------------------------------------------ devis */
.dark { background: var(--night); color: var(--night-ink); }
.devis { padding: var(--gap) 0; margin-top: 0; }
.devis-grid { display: grid; gap: 40px; }
.devis-copy > p { margin-top: 20px; max-width: 30em; font-size: var(--t4); line-height: var(--t4-lh); color: var(--night-2); }
.devis-list { margin-top: 28px; counter-reset: d; border-top: 1px solid var(--night-line); max-width: 30em; }
.devis-list li { counter-increment: d; display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--night-line); font-weight: 500; }
.devis-list li::before { content: "0" counter(d); font: italic 400 1.0625rem/1.4 var(--serif); color: var(--warm); min-width: 1.6em; }
.devis-or { margin-top: 24px; font-size: var(--t6); color: var(--night-2); }
.devis-or a { color: var(--night-ink); font-weight: 600; text-underline-offset: 3px; }

.panel { background: var(--panel); color: var(--ink); border-radius: var(--r-panel); box-shadow: var(--shadow); }
.form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; align-content: start; }
.row2 { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font: 600 var(--t6)/1.2 var(--sans); }
.opt { font-weight: 400; color: var(--mute); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid transparent; border-radius: var(--r-field);
  font-size: 1.0625rem; appearance: none; -webkit-appearance: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #8e8e93; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(42,47,158,.14);
}
.field .is-invalid { border-color: #d70015; background: #fff5f5; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.8px solid var(--ink-2); border-bottom: 1.8px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 40px; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.form .btn { margin-top: 4px; --h: 54px; }
.form-note { font-size: var(--t7); line-height: var(--t7-lh); color: var(--mute); text-align: center; }
.form-ok, .form-err { padding: 14px 16px; border-radius: var(--r-field); font-size: var(--t6); line-height: var(--t6-lh); }
.form-ok { background: #e9f8ee; color: #0b5c25; }
.form-err { background: #fff1f0; color: #8a1a12; }
.form-err a { font-weight: 600; }
.form.is-sent .field, .form.is-sent .row2, .form.is-sent button, .form.is-sent .form-note { display: none; }

@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .devis-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
}

/* ------------------------------------------------------------------ enjeu */
.enjeu-grid { display: grid; gap: 36px; }
.enjeu-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); }
.prose { margin-top: 24px; display: grid; gap: 16px; max-width: 34em; color: var(--ink-2); }
.rules { margin-top: 32px; border-top: 1px solid var(--line); }
.rules li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rules b { font-weight: 600; }
.rules span { color: var(--ink-2); }
@media (min-width: 700px) {
  .rules li { grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 900px) {
  .enjeu-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
  .enjeu-media { margin-left: calc(-1 * (100vw - min(100vw, var(--wrap) + 2 * var(--pad))) / 2 - var(--pad)); }
  .enjeu-media img { aspect-ratio: 4 / 5; border-radius: 0 var(--r-media) var(--r-media) 0; }
}

/* ------------------------------------------------------------------ étapes */
.h2-wide { max-width: 18ch; }
.steps { display: grid; margin-top: 48px; border-top: 1px solid var(--line); }
.steps li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: 8px; }
.steps .num { grid-row: span 2; font: italic 400 2rem/1 var(--serif); color: var(--brand); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .steps li { display: block; padding: 22px 26px 0; border-bottom: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
  .steps li:last-child { padding-right: 0; }
  .steps .num { display: block; font-size: 3rem; margin-bottom: 22px; }
}

/* --------------------------------------------------------------- chantiers */
.split-head { display: grid; gap: 14px; }
.split-head p { color: var(--ink-2); max-width: 26em; }
.shots { display: grid; gap: 16px; margin-top: 40px; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-media); }
.shot figcaption { margin-top: 12px; font-size: var(--t6); line-height: var(--t6-lh); color: var(--ink-2); max-width: 34em; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 72px; }
  .shots-3 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 24px; }
  .shots-3 .shot-1 { grid-row: span 2; display: flex; flex-direction: column; }
  .shots-3 .shot-1 img { flex: 1 1 auto; min-height: 0; height: 0; aspect-ratio: auto; }
  .shots-3 .shot-2 img, .shots-3 .shot-3 img { aspect-ratio: 16 / 10; }
  .shots-2 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
  .shots-2 .shot-2 img { aspect-ratio: 4 / 5; }
}

/* ------------------------------------------------------------------ budget */
.budget-grid { display: grid; gap: 40px; }
.budget-intro { margin-top: 20px; max-width: 32em; font-size: var(--t4); line-height: var(--t4-lh); letter-spacing: var(--t4-ls); }
.budget-card { padding: clamp(26px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.budget-card > p:not(.price) { color: var(--ink-2); }
.price { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.price-n { font: 600 clamp(3rem, 2rem + 3vw, 4.25rem)/1 var(--display); letter-spacing: -0.045em; }
.price-n--word { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--brand); }
.price-l { font-size: var(--t6); color: var(--mute); }
.budget-card .link-more { justify-self: center; }
@media (min-width: 900px) {
  .budget-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; }
  .budget-card { position: sticky; top: 96px; }
}

/* -------------------------------------------------------------------- avis */
.avis-grid { display: grid; gap: 40px; }
.score-n { font: 600 clamp(5rem, 3rem + 7vw, 8.5rem)/.9 var(--display); letter-spacing: -0.06em; }
.stars-lg { font-size: 1.5rem; margin-top: 14px; }
.score-l { margin-top: 8px; color: var(--ink-2); }
.quotes { border-top: 1px solid var(--line); }
.quote { padding: 28px 0; border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0; font: italic 400 clamp(1.25rem, 1.05rem + .7vw, 1.6rem)/1.38 var(--serif); letter-spacing: -0.01em; text-wrap: pretty; }
.quote figcaption { margin-top: 14px; font-weight: 600; font-size: var(--t6); }
.quote figcaption span { font-weight: 400; color: var(--mute); }
@media (min-width: 900px) {
  .avis-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .score { position: sticky; top: 110px; }
  .quote:first-child { padding-top: 0; }
  .quotes { border-top: 0; }
}

/* -------------------------------------------------------------------- zone */
.zone-grid { display: grid; gap: 40px; }
.zone-copy > p { margin-top: 20px; color: var(--ink-2); max-width: 32em; }
.communes { margin-top: 28px; columns: 2; column-gap: 24px; border-top: 1px solid var(--line); padding-top: 14px; }
.communes li { break-inside: avoid; padding: 5px 0; font-weight: 500; }
.communes li:first-child { font-weight: 700; }
.zone-more { font-size: var(--t6); }
.zone-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-media); }
.zone-media figcaption { margin-top: 12px; font-size: var(--t6); color: var(--mute); }
@media (min-width: 600px) { .communes { columns: 3; } }
@media (min-width: 900px) {
  .zone-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
}

/* --------------------------------------------------------------------- faq */
.faq { padding-bottom: var(--gap); }
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0; font: 600 1.125rem/1.35 var(--display); letter-spacing: -0.014em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink-2);
  transition: transform .25s var(--ease);
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 40em; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; }
  .faq h2 { position: sticky; top: 110px; align-self: start; }
}

/* ------------------------------------------------------------------- final */
.final { padding: var(--gap) 0; }
.final h2 { max-width: 16ch; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.038em; }
.final .actions { margin-top: 36px; }

/* -------------------------------------------------------------------- foot */
.foot { padding: 56px 0 120px; background: var(--bg-2); font-size: var(--t6); line-height: var(--t6-lh); color: var(--ink-2); }
.foot-grid { display: grid; gap: 28px; }
.foot-brand, .foot-h { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.legal summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.legal p { margin-top: 4px; max-width: 46em; }
.foot-copy { margin-top: 32px; color: var(--mute); font-size: var(--t7); }
@media (min-width: 900px) {
  .foot { padding-bottom: 56px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
}

/* ------------------------------------------------------------- dock mobile */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; padding: 8px;
  background: rgba(251, 251, 253, .8); border-radius: 999px;
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.14);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock .btn { --h: 50px; padding: 0 12px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ----------------------------------------------------------------- consent */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 520px; margin: 0 auto; padding: 14px 14px 14px 18px; border-radius: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.14); font-size: var(--t6);
}
.consent[hidden] { display: none; }
.consent div { display: flex; gap: 8px; }
@media (min-width: 900px) { .consent { bottom: 20px; } }

/* ----------------------------------------------------------- petit écran */
@media (max-width: 899px) {
  .bar-num { display: none; }
  .bar-short { display: inline; }
  .hero h1 { max-width: none; }
}
@media (max-width: 380px) {
  .btn-lg { padding: 0 22px; font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Mobile : le formulaire remonte juste sous le titre de la section devis
   (sinon le premier champ tombe à 1 750 px, plus de deux écrans). */
@media (max-width: 899px) {
  .devis { padding: 64px 0 72px; }
  .devis-grid { gap: 24px; }
  .devis-copy { display: contents; }
  .devis-copy h2 { order: 0; }
  .devis .form { order: 1; }
  .devis-copy > p, .devis-list { order: 2; margin-top: 8px; }
  .devis-or { order: 3; margin-top: 0; }
  .hero-img { aspect-ratio: 16 / 11; }
  .proof { margin-top: 32px; }
}

/* Liens tel: dans le texte : cible tactile de 44 px sans changer l'interligne. */
.devis-or a, .form-err a { display: inline-block; padding: 12px 0; margin: -12px 0; }

/* ==========================================================================
   Parcours de devis en trois réponses
   ========================================================================== */
.pick { margin-top: 30px; }
.pick-q { font: 600 var(--t6)/1.3 var(--sans); color: var(--ink); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px;
  background: var(--panel); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0,0,0,.04);
  font: 500 1rem/1.2 var(--sans); letter-spacing: -0.01em; text-align: left; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { box-shadow: inset 0 0 0 1px rgba(42,47,158,.45), 0 2px 8px rgba(0,0,0,.06); }
.chip:active { transform: scale(.97); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 3px solid var(--action); outline-offset: 2px; }
.chip:has(input:checked), .chip.is-on {
  background: rgba(42,47,158,.07); box-shadow: inset 0 0 0 1.5px var(--brand);
}
.chip:has(input:checked)::after {
  content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.2 2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

.actions-note { font-size: var(--t6); color: var(--mute); }
.hero .actions { margin-top: 22px; }

/* Formulaire : en-tête de progression */
.form-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; }
.form-step { font: 600 var(--t7)/1.3 var(--sans); letter-spacing: .02em; color: var(--mute); }
.form-recap { justify-self: end; text-align: right; font-size: var(--t7); color: var(--ink-2); min-height: 1em; }
.form-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; margin-top: 6px; }
.form-bar i { display: block; height: 100%; width: 33.4%; border-radius: inherit; background: var(--brand); transition: width .35s var(--ease); }
.form[data-step="2"] .form-bar i { width: 66.7%; }
.form[data-step="3"] .form-bar i, .form.is-sent .form-bar i { width: 100%; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.step legend { padding: 0; margin-bottom: 14px; font: 600 1.375rem/1.2 var(--display); letter-spacing: -0.022em; outline: none; }
.chips-form { display: grid; grid-template-columns: 1fr; gap: 8px; }
.chips-form .chip { min-height: 56px; border-radius: 14px; background: var(--bg-2); box-shadow: none; padding: 0 16px; }
.chips-form .chip:hover { box-shadow: inset 0 0 0 1px rgba(42,47,158,.35); }
@media (min-width: 560px) { .chips-form { grid-template-columns: 1fr 1fr; } }

.back {
  justify-self: start; min-height: 44px; padding: 0; border: 0; background: none;
  font-size: var(--t6); color: var(--mute); cursor: pointer;
}
.back:hover { color: var(--ink); }

.urgent { display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: #fff6ec; }
.urgent[hidden] { display: none; }
.urgent p { font-size: var(--t6); line-height: var(--t6-lh); color: var(--ink-2); }
.urgent b { color: var(--ink); }
.urgent .link-more { justify-self: center; border: 0; background: none; padding: 0; font: inherit; font-weight: 500; cursor: pointer; }

.more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; font-size: var(--t6); font-weight: 600; color: var(--brand); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more textarea {
  width: 100%; min-height: 88px; padding: 12px 14px; border: 1px solid transparent; border-radius: var(--r-field);
  background: var(--bg-2); font-size: 1.0625rem; resize: vertical;
}
.more textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(42,47,158,.14); }

.form-ok { display: grid; gap: 12px; padding: 4px 0 0; background: none; color: var(--ink); font-size: var(--t5); }
.form-ok[hidden] { display: none; }
.ok-h { font: 600 1.6rem/1.15 var(--display); letter-spacing: -0.025em; }
.devis-or .js-sms { color: var(--night-ink); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: 12px 0; margin: -12px 0; }

/* Avec JavaScript : une étape à la fois */
.js .form .step { display: none; }
.js .form[data-step="1"] .step[data-step="1"],
.js .form[data-step="2"] .step[data-step="2"],
.js .form[data-step="3"] .step[data-step="3"] { display: grid; animation: step-in .32s var(--ease) both; }
.js .form.is-sent .step { display: none !important; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
html:not(.js) .back, html:not(.js) .form-head { display: none; }
.form { min-height: 0; }

/* Zone : commune reconnue depuis l'annonce */
.zone-yes { margin-top: 14px; font-weight: 600; color: var(--ink); }
.zone-yes[hidden] { display: none; }
.communes li.is-here { color: var(--brand); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .js .form .step { animation: none !important; } }
.form .link-more { color: var(--brand); }
/* Le SMS n'a de sens que sur téléphone. */
@media (hover: hover) and (pointer: fine) { .sms-wrap, .btn.js-sms { display: none; } }
