:root {
  --ink: #14213D;
  --ink-2: #3A4560;
  --accent: #B84A31;
  --accent-soft: #C8553D;
  --paper: #FFFFFF;
  --warm: #F6F4F0;
  --line: #E3DED5;
  --head: Bahnschrift, "DIN Alternate", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3 {
  font-family: var(--head);
  font-stretch: 85%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
p { margin: 0 0 1em; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1240px, 100% - 40px, (100vh - 150px) * 1.6667); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 26px; line-height: 1; display: flex; flex-direction: column; }
.brand-name span { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--ink-2); margin-top: 3px; letter-spacing: .01em; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.top-tel {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 26px; line-height: 1;
  color: var(--accent);
}
.top-tel span { font-family: var(--body); font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 4px;
  font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--accent); font-family: var(--body);
}
.btn-main { background: var(--accent); color: #fff; }
.btn-main:hover { background: #9E3E28; border-color: #9E3E28; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Haut de page */
.hero { padding: 36px 0 24px; background: linear-gradient(var(--paper) 0 60%, var(--warm) 60% 100%); }
.hero-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; margin-bottom: 26px; }
.kicker, .eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--accent); margin-bottom: 14px;
}
h1 { font-size: clamp(2.5rem, 4.2vw, 3.7rem); }
.ba.ba-hero { margin-inline: auto; }
.hero-side p { font-size: 17px; color: var(--ink-2); }
.hero-side .btn { min-height: 48px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Curseur avant / après */
.ba { margin: 0; }
.ba-frame {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: 1200 / 720; background: #EEE;
  box-shadow: 0 1px 0 rgba(20,33,61,.08), 0 18px 40px -24px rgba(20,33,61,.45);
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.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;
  border-left: 3px solid #fff; transform: translateX(-1.5px);
  box-shadow: 0 0 0 1px rgba(20,33,61,.25);
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -27.5px;
  border-radius: 50%; background: var(--accent-soft); border: 3px solid #fff;
  box-shadow: 0 6px 16px -6px rgba(20,33,61,.6);
}
.ba-knob::before, .ba-knob::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -7px;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.ba-knob::before { left: 9px; border-right: 9px solid #fff; }
.ba-knob::after { right: 9px; border-left: 9px solid #fff; }
.ba-tag {
  position: absolute; top: 14px; padding: 5px 12px; border-radius: 3px;
  font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(20,33,61,.86); color: #fff; pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--accent); }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none;
}
.ba-frame:has(.ba-range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }

.ba-cap {
  display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline;
  padding: 18px 4px 0;
}
.ba-cap .cap-text { flex-basis: 100%; max-width: 820px; }
.cap-place { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-2); }
.cap-nums { display: flex; gap: 22px; }
.cap-nums b { font-family: var(--head); font-stretch: 85%; font-size: 30px; color: var(--accent); white-space: nowrap; }
.cap-text { color: var(--ink-2); font-size: 16px; }

.promises {
  list-style: none; padding: 0; margin-top: 36px; margin-bottom: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 2px solid var(--ink);
}
.promises li { padding: 16px 20px 6px 0; display: flex; flex-direction: column; gap: 4px; }
.promises li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.promises b { font-family: var(--head); font-stretch: 85%; font-size: 21px; line-height: 1.1; }
.promises span { font-size: 15px; color: var(--ink-2); }

/* Blocs */
.block { padding: 88px 0; }
.block-warm { background: var(--warm); }
.block-ink { background: var(--ink); color: #fff; }
.block-ink a { color: #fff; }
.block-head { max-width: 760px; margin-bottom: 44px; }
.block-head h2, .lucas h2, .visit h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 16px; }
.lede { font-size: 19px; color: var(--ink-2); }

/* Chantiers */
.case { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); }
.case-flip { grid-template-columns: 1fr 1.55fr; }
.case-flip .ba { order: 2; }
.case-n { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.case h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 0 0 18px; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--accent); white-space: nowrap; }
.case-text p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin-top: 40px; }
.recap { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 620px; }
.recap caption { text-align: left; font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 22px; padding-bottom: 12px; }
.recap th, .recap td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.recap thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.recap td:last-child, .recap th:last-child { text-align: right; padding-right: 0; }
.recap td:last-child { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* L'ordre des travaux */
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.days li { background: var(--paper); padding: 18px 18px 20px; font-size: 15px; color: var(--ink-2); display: flex; flex-direction: column; }
.days .d { font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 15px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.days b { font-family: var(--head); font-stretch: 85%; font-size: 24px; color: var(--ink); margin: 2px 0 8px; }
.during { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; margin-top: 40px; }
.during h3 { font-size: 26px; grid-column: 1 / -1; }
.during ul { margin: 0; padding-left: 20px; }
.during li { margin-bottom: 6px; }
.short { font-size: 17px; align-self: start; border-left: 3px solid var(--accent); padding-left: 18px; }

/* Prix */
.price-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; }
.price-col h3 { font-size: 26px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plist span { display: flex; flex-direction: column; font-size: 15px; color: var(--ink-2); }
.plist span b { font-size: 17px; color: var(--ink); margin-bottom: 3px; }
.plist em { font-style: normal; font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 30px; color: var(--accent); white-space: nowrap; line-height: 1.1; }
.plist-small li { align-items: baseline; padding: 11px 0; }
.plist-small span { font-size: 16px; color: var(--ink); }
.plist-small em { font-size: 22px; }
.terms { margin: 26px 0 0; display: grid; gap: 14px; }
.terms div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--ink-2); }
.price-notes { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; font-size: 15px; color: var(--ink-2); }
.price-notes b { color: var(--ink); }

/* Lucas */
.lucas { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.block-ink .eyebrow { color: #F0A58F; }
.atelier { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; color: #E4E8F0; font-size: 15px; max-width: 360px; }
.atelier b { display: block; font-family: var(--head); font-stretch: 85%; font-size: 22px; color: #fff; margin-bottom: 4px; }
section[id] { scroll-margin-top: 72px; }
.lucas .big { font-family: var(--head); font-stretch: 85%; font-weight: 600; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.15; }
.lucas-text p { color: #E4E8F0; }
.guar { list-style: none; padding: 0; margin: 28px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.guar li { padding: 16px 16px 0 0; display: flex; flex-direction: column; font-size: 15px; color: #E4E8F0; }
.guar b { font-family: var(--head); font-stretch: 85%; font-size: 40px; line-height: 1; color: #fff; margin-bottom: 6px; }
.small { font-size: 15px; }

/* Visite */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { margin: 8px 0 24px; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
}
.callout { font-size: 18px; }
.callout a { font-weight: 700; color: var(--accent); white-space: nowrap; }
.form { background: var(--warm); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 14px; }
.form h3 { font-size: 28px; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select {
  font: inherit; font-weight: 400; min-height: 48px; padding: 0 12px; border-radius: 4px;
  border: 1.5px solid #B9B3A8; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus { border-color: var(--ink); outline: 3px solid rgba(184,74,49,.35); outline-offset: 0; }
.form input[aria-invalid="true"] { border-color: var(--accent); }
.form .btn { margin-top: 6px; }
.form-note { font-size: 14px; color: var(--ink-2); margin: 0; }
.form-ok { margin: 0; padding: 14px 16px; background: #fff; border-left: 4px solid #4D7A5A; font-weight: 600; }

/* Pied de page */
.foot { background: #0E1830; color: #D9DEE8; padding: 64px 0 28px; font-size: 15px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand { font-family: var(--head); font-stretch: 85%; font-weight: 700; font-size: 24px; color: #fff; }
.foot-h { font-weight: 700; color: #fff; margin-bottom: 6px; text-transform: uppercase; font-size: 13px; letter-spacing: .07em; }
.foot-end { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; }

/* Barre d'appel, téléphone */
.callbar { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .top-tel { margin-left: auto; }
  .days { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-head, .case, .price-grid, .lucas, .visit, .during, .price-notes { grid-template-columns: 1fr; }
  .hero-head { gap: 20px; }
  .case { gap: 22px; }
  .case-flip .ba { order: 0; }
  .promises { grid-template-columns: 1fr 1fr; }
  .promises li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .top-in { min-height: 60px; gap: 12px; }
  .brand-name { font-size: 22px; }
  .brand-name span { font-size: 12px; }
  .top-tel { font-size: 19px; }
  .top-tel span { display: none; }
  .hero { padding-top: 28px; }
  .block { padding: 60px 0; }
  .wrap-wide { width: 100%; }
  .ba-hero .ba-frame { border-radius: 0; }
  .ba-cap { padding: 14px 20px 0; }
  .cap-nums b, .facts dd { font-size: 25px; }
  .ba-knob { width: 46px; height: 46px; margin: -23px 0 0 -24.5px; }
  .ba-tag { font-size: 14px; top: 10px; padding: 4px 9px; }
  .ba-tag-before { left: 10px; } .ba-tag-after { right: 10px; }
  .terms div { grid-template-columns: 1fr; gap: 2px; }
  .guar b { font-size: 32px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-end { flex-direction: column; }
  .callbar {
    display: grid; grid-template-columns: 1.35fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    box-shadow: 0 -6px 18px -8px rgba(20,33,61,.45);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 60px; padding: 6px 10px; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; }
  .callbar-tel { background: var(--accent); color: #fff; }
  .callbar-visit { background: var(--ink); color: #fff; }
}

@media (max-width: 480px) {
  .promises { grid-template-columns: 1fr; }
  .promises li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .days { grid-template-columns: 1fr; }
  .facts { gap: 6px 18px; }
  .plist em { font-size: 24px; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 760px) {
  .callbar-tel { flex-direction: column; }
  .callbar-tel .sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .callbar-tel .num { font-family: var(--head); font-stretch: 85%; font-size: 20px; letter-spacing: .02em; }
}


/* Site complet : menu, page en cours, en-têtes de page, place pour le bandeau de l'hébergeur */
.top-in { position: relative; }
.menu-btn {
  display: none; align-items: center; min-height: 42px; padding: 0 14px;
  border: 2px solid var(--ink); border-radius: 4px; background: #fff;
  font: 700 15px/1 var(--body); color: var(--ink); cursor: pointer;
}
.nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--accent); }
.foot-pages { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-end { flex-wrap: wrap; }
body { padding-bottom: var(--band, 0px); }

.page-head { padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--ink-2); margin: 0 0 16px; }
.crumbs a { color: inherit; }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 18ch; }
.page-head .lede { margin-top: 18px; max-width: 62ch; font-size: 19px; color: var(--ink-2); }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .top-tel { margin-left: 0; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: -20px; right: -20px; z-index: 25;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px -12px rgba(20,33,61,.35); padding: 4px 20px 14px;
  }
  .nav.open a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + var(--band, 0px)); }
  .callbar { bottom: var(--band, 0px); }
  .page-head { padding: 32px 0 28px; }
  .page-head .lede { font-size: 17px; }
}
@media (max-width: 420px) {
  .top-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 20px; }
  .brand-name span { display: none; }
  .menu-btn { padding: 0 10px; }
  .top-tel { font-size: 17px; }
}

.more { margin: 40px 0 0; font-weight: 700; }
.more a, .case-link a { color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more a::after, .case-link a::after { content: " \2192"; }
.block-ink .more a { color: #fff; }
.case-link { margin: 14px 0 0; font-weight: 700; }
.visit > * { min-width: 0; }
.form input, .form select { width: 100%; min-width: 0; }
.offer-grid > *, .one > *, .case > *, .lucas > *, .price-grid > * { min-width: 0; }
