/* ==========================================================================
   Turpin Carrelage
   ========================================================================== */

:root {
  /* Blanc cassé, noir et laiton */
  --bg: #F2F0EC;
  --surface: #FAF9F7;
  --ink: #191817;
  --ink-soft: #57534D;
  --line: #DEDAD3;
  --grout: #C6C1B8;
  --dark: #1F1E1C;
  --accent: #C2A066;
  --accent-soft: #F0E8D8;
  --accent-deep: #7D5F26;
  --second: #8A8D84;
  --focus: #5B4A1E;
  --error: #A32D1B;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(25, 24, 23, .06), 0 12px 32px -12px rgba(25, 24, 23, .22);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: min(100% - 40px, 1160px);
  margin-inline: auto;
}

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

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: currentColor;
  border-radius: 2px;
}

/* Boutons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }

.btn--ghost { border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }

.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { background: var(--accent); }

.btn--text { padding-inline: 8px; background: none; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; }
.btn--text:hover { color: var(--ink); }

.btn--small { min-height: 44px; padding-inline: 18px; font-size: .9375rem; }

.btn[disabled] { opacity: .65; cursor: progress; }

/* En-tête
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__mark .m-bg { fill: var(--ink); }
.brand__mark .m-a { fill: var(--accent); }
.brand__mark .m-b { fill: var(--bg); }
.brand__mark .m-c { fill: var(--second); }
.brand__text span { font-weight: 500; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a:not(.btn) {
  font-weight: 600;
  font-size: .9688rem;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover { border-bottom-color: var(--accent); }
.site-nav__tel { font-variant-numeric: tabular-nums; white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, background-color .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Accueil
   ========================================================================== */

.hero { padding: clamp(24px, 3.5vw, 48px) 0 clamp(56px, 7vw, 88px); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.hero__lead {
  max-width: 34em;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: .9688rem;
}
.hero__points li { display: flex; align-items: center; gap: 10px; }
.hero__points li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* La photo se cale sur la hauteur de l'écran : titre, boutons et image
   tiennent ensemble dans le premier écran, même sur un portable. */
.hero__visual {
  position: relative;
  width: clamp(280px, min(38vw, (100vh - var(--header-h) - 130px) * .8), 460px);
  width: clamp(280px, min(38vw, (100svh - var(--header-h) - 130px) * .8), 460px);
}
.hero__call { display: none; }

.hero__arch {
  position: relative;
  margin: 0;
}
.hero__arch::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--accent);
  border-radius: 999px 999px 10px 10px;
}
.hero__arch-clip {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 8px 8px;
  background: var(--grout);
  box-shadow: var(--shadow);
}
.hero__arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Entrée animée de l'accueil (GSAP). Sans GSAP, tout reste visible. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-gsap) .hero__text > *,
  .js:not(.no-gsap) .hero__arch,
  .js:not(.no-gsap) .hero__badge {
    opacity: 0;
    animation: hero-failsafe 0s linear 3s forwards;
  }
  @keyframes hero-failsafe { to { opacity: 1; } }
}

.hero__badge {
  position: absolute;
  left: -28px; bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
}
.hero__badge strong {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent);
}

/* Sections
   ========================================================================== */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--paper { background: var(--surface); }
.section--tint { background: var(--accent-soft); }
.section--ink { background: var(--dark); color: var(--surface); }

.section__head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head > p:not(.eyebrow) { margin-top: 18px; font-size: 1.125rem; color: var(--ink-soft); }

/* Prestations : une grille posée comme un carrelage, joints compris */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  background: var(--grout);
  border-radius: 8px;
}
.service {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}
.service__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--grout); }
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.service:hover .service__media img { transform: scale(1.04); }
.service__body { padding: clamp(20px, 2.4vw, 30px); }
.project-card svg {
  fill: none;
  stroke: var(--accent-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }

/* Types de pose */

.poses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.pose svg {
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius);
  background: var(--line);
}
.pose svg .t-light { fill: var(--line); }
.pose svg .t-wood { fill: #B9A592; }
.pose svg .t-dark { fill: var(--dark); }
.pose svg .t-accent { fill: var(--accent); }
.pose svg .t-accent-2 { fill: color-mix(in srgb, var(--accent) 88%, #000); }
.pose svg .t-second { fill: var(--second); }
.pose svg .t-ink { fill: var(--ink); }
.pose svg .t-bg { fill: var(--bg); }
.pose svg .joint { fill: none; stroke: var(--surface); }
.pose h3 { margin-top: 18px; }
.pose p { margin-top: 6px; color: var(--ink-soft); font-size: 1rem; }

/* Réalisations (section masquée par défaut) */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 10px; font-weight: 600; font-size: .9375rem; }

/* Bandeau photo */

.band {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(360px, 46vw, 560px);
  color: #fff;
  background: var(--dark);
  isolation: isolate;
  overflow: hidden;
}
.band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(25, 24, 23, .82), rgba(25, 24, 23, .15) 70%);
}
.band__inner { padding-block: clamp(32px, 5vw, 64px); }
.band h2 { max-width: 18em; }
.band .btn { margin-top: 28px; }

/* Déroulement */

.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.method li {
  counter-increment: step;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.method li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--accent-deep);
}
.method p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

/* Secteur */

.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.zone__number {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--accent);
}
.section--ink .eyebrow { color: var(--accent); }
.zone__intro > p:not(.eyebrow):not(.zone__number) { margin: 18px 0 30px; color: #CFCBC4; font-size: 1.0625rem; max-width: 32em; }

.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  padding: 9px 16px;
  border: 1px solid rgba(245, 243, 240, .22);
  border-radius: 4px;
  font-weight: 500;
  font-size: .9688rem;
}
.towns li:nth-child(-n+4) { background: var(--surface); color: var(--ink); border-color: var(--surface); font-weight: 700; }
.towns .towns__more { border-color: var(--accent); color: var(--accent); font-weight: 700; }

/* Devis
   ========================================================================== */

.quote {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.quote__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.quote__intro > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); font-size: 1.0625rem; }

.quote__points { margin-top: 28px; display: grid; gap: 12px; font-weight: 600; }
.quote__points li { display: flex; gap: 12px; align-items: baseline; }
.quote__points li::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 2px;
}
.quote__tel a { font-weight: 700; white-space: nowrap; }
.quote__photo { margin: 36px 0 0; max-width: 300px; }
.quote__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 8px 8px;
  background: var(--grout);
}

.quote__card {
  padding: clamp(22px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Progression : quatre carreaux qui se remplissent */

.progress ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 32px;
}
.progress li {
  padding-top: 12px;
  border-top: 6px solid var(--line);
  font-size: .8125rem;
  font-weight: 600;
  color: #76726B;
  transition: border-color .25s, color .25s;
}
.progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
.progress li.is-current { border-top-color: var(--accent-deep); color: var(--ink); }
html:not(.js) .progress { display: none; }

/* Étapes */

.js .step { display: none; }
.js .step.is-active { display: block; }
html:not(.js) .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
html:not(.js) [data-next],
html:not(.js) [data-prev] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .step.is-active { animation: step-in .3s ease both; }
  @keyframes step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}

.step__title {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.step__title:focus { outline: none; }
.step__title small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.step__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.step__nav > :only-child { margin-left: auto; }

/* Cartes de projet */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.project-card { position: relative; display: block; cursor: pointer; }
.project-card input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.project-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 18px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .15s, background-color .15s;
}
.project-card__body svg { margin-bottom: 10px; width: 30px; height: 30px; }
.project-card__body strong { font-size: 1rem; line-height: 1.25; }
.project-card__body small { font-size: .8438rem; line-height: 1.35; color: var(--ink-soft); }
.project-card:hover .project-card__body { border-color: var(--ink); }
.project-card input:checked + .project-card__body {
  border-color: var(--accent-deep);
  background: var(--accent-soft);
}
.project-card input:checked + .project-card__body::after {
  content: "";
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 4px;
  background: var(--accent-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.5 3.5L16 7.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.project-card input:focus-visible + .project-card__body { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Champs */

.field { margin-top: 24px; }
.step__title + .field,
.recap + .field { margin-top: 0; }
.field > label:not(.consent),
.field > legend {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1rem;
}
.optional { margin-left: 6px; font-weight: 500; font-size: .875rem; color: var(--ink-soft); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 24px; }
.field-row .field { margin-top: 0; }

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1.0625rem;
  transition: border-color .15s, background-color .15s;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
input:hover, textarea:hover { border-color: #B3AEA5; }
input:focus, textarea:focus { outline: none; border-color: var(--focus); background: #fff; }
::placeholder { color: #8A867F; opacity: 1; }
[aria-invalid="true"] { border-color: var(--error) !important; }

.input-unit { position: relative; max-width: 220px; }
.input-unit input { padding-right: 56px; }
.input-unit span {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--ink-soft);
  pointer-events: none;
}
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.field-hint { margin-top: 8px; font-size: .9063rem; color: var(--ink-soft); }
.field-error,
.form-error { margin-top: 10px; font-size: .9375rem; font-weight: 600; color: var(--error); }
.form-error { margin-top: 24px; padding: 14px 16px; background: #FBEAE6; border-radius: var(--radius); }

/* Choix (pastilles) */

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
  font-size: .9688rem;
  transition: border-color .15s, background-color .15s, color .15s;
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Consentement */

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent-deep); cursor: pointer; }

/* Récapitulatif */

.recap {
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9688rem;
}
.recap strong { font-weight: 700; }

/* Confirmation */

.quote__success { padding: clamp(16px, 4vw, 40px) 0; text-align: center; }
.quote__success:focus { outline: none; }
.quote__success svg { width: 64px; height: 64px; margin: 0 auto 24px; }
.quote__success rect { fill: var(--focus); }
.quote__success path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.quote__success h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.quote__success p { max-width: 30em; margin: 14px auto 0; color: var(--ink-soft); }

/* Pied de page
   ========================================================================== */

.site-footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: #CFCBC4;
  font-size: .9688rem;
  border-top: 1px solid rgba(245, 243, 240, .12);
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.site-footer__brand {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -.02em;
  color: var(--surface);
}
.site-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; align-content: start; }
.site-footer a { text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: var(--surface); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(245, 243, 240, .12); font-size: .875rem; }

/* Barre d'action mobile */

.mobile-cta { display: none; }

/* Mentions légales
   ========================================================================== */

.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.legal p, .legal ul { margin-top: 12px; color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--accent-deep); text-underline-offset: 3px; }
.legal mark { padding: 1px 6px; background: #FBE7B8; color: var(--ink); border-radius: 3px; }

/* Adaptation aux écrans
   ========================================================================== */

@media (max-width: 1000px) {
  .site-nav { gap: 20px; }
  .site-nav__tel { display: none; }
  .method { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 32px -24px rgba(25, 24, 23, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .site-nav__tel { display: block; }
  .site-nav .btn { margin-top: 20px; min-height: 52px; }

  /* Accueil sur une colonne : texte, boutons, photo, puis points forts */
  .hero { padding-top: 28px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__text { display: contents; }
  .hero__visual { width: 100%; max-width: 520px; margin: 40px auto 0; }
  .hero__arch::before { inset: -8px 8px 8px -8px; }
  .hero__arch img { aspect-ratio: 1 / 1; }
  .hero__badge { left: auto; right: -6px; bottom: -18px; }
  .hero__points { order: 1; margin-top: 48px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .poses { grid-template-columns: repeat(2, 1fr); }
  .zone { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote__intro { position: static; }
  .quote__photo { display: none; }

  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--surface);
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    border-top: 1px solid var(--line);
    transition: transform .25s;
  }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta .btn--ghost { flex: 0 1 auto; }
  .js .mobile-cta:not(.is-visible) { transform: translateY(110%); }
  .site-footer { padding-bottom: 104px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, 1160px); }

  .hero__lead { margin-top: 18px; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 26px; }
  .hero__actions .btn { padding-inline: 16px; }
  .hero__actions .btn--primary { flex: 1; }
  .hero__actions .btn--ghost:not(.hero__call) { display: none; }
  .hero__call { display: inline-flex; }
  .hero__points { flex-direction: column; }
  .hero__badge strong { font-size: 2rem; }

  .services { grid-template-columns: 1fr; }
  .poses { gap: 28px 16px; }
  .method { grid-template-columns: 1fr; }

  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 24px 0; }
  .choice { flex: 1 1 auto; }
  .choice span { justify-content: center; }
  .progress li span { display: none; }
  .progress li { padding-top: 0; }
  .progress ol { margin-bottom: 24px; }
  .step__nav .btn--primary { flex: 1; }

  .site-footer nav { grid-template-columns: 1fr; }
}
