/* ==========================================================================
   Studio Sol · feuille de style
   Charte : crème #F3F0EA, noir chaud #1A1A1A, Cormorant Garamond + Montserrat
   Rythme : base 8 px (8 · 16 · 24 · 40 · 64 · 104)
   ========================================================================== */

:root {
  --cream: #F3F0EA;
  --cream-deep: #EAE6DE;
  --paper: #F8F6F2;
  --ink: #1A1A1A;
  --muted: #5C574F;
  --line: rgba(26, 26, 26, .14);
  --line-strong: rgba(26, 26, 26, .42);
  --error: #8A3626;           /* seul accent, réservé aux messages d’erreur */

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: 64px;
  --s6: 104px;

  --gutter: 24px;
  --max: 1240px;
  --section: 104px;
  --header-h: 72px;
  --track: .2em;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 767px) {
  :root { --section: 72px; }
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --section: 96px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 64px; --section: 120px; --header-h: 88px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: .9375rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 400; }
[hidden] { display: none !important; }

::selection { background: var(--ink); color: var(--cream); }

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}
[tabindex="-1"]:focus { outline: none; }

.sr-only {
  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: var(--s2); top: -100px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: .75rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: var(--s2); }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typographie ---------- */
.label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .6875rem;
  line-height: 1.6;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.label--lg {
  font-weight: 300;
  font-size: .8125rem;
  letter-spacing: .24em;
}
@media (min-width: 768px) {
  .label--lg { font-size: .9375rem; }
}

.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color .3s var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; }

.label-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 1em) / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.label-link:hover { background-size: calc(100% - var(--track)) 1px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 52px;
  padding: 0 calc(32px - var(--track)) 0 32px;   /* compense l’espacement de la dernière lettre */
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: .6875rem;
  line-height: 1.3;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--quiet:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 calc(18px - var(--track)) 0 18px; }
@media (max-width: 559px) {
  .btn--sm { padding: 0 calc(14px - .16em) 0 14px; font-size: .625rem; letter-spacing: .16em; }
}
.nowrap { white-space: nowrap; }
.btn[aria-disabled="true"] { cursor: progress; opacity: .75; }
.btn[aria-disabled="true"]:hover { background: var(--ink); color: var(--cream); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand { display: inline-flex; flex: none; padding: 4px 0; }
.brand img { width: auto; height: 44px; }
@media (min-width: 1200px) {
  .brand img { height: 52px; }
}

.site-header__actions { display: flex; align-items: center; gap: var(--s1); }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0 10px;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
.burger__line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.burger__line + .burger__line { width: 16px; }
.burger[aria-expanded="true"] .burger__line { width: 22px; }
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Navigation : panneau plein écran sur mobile */
.nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.site-header.menu-open .nav {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease), visibility 0s;
}
.nav__list { display: grid; }
.nav__list li { border-bottom: 1px solid var(--line); }
.nav__link {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding: 14px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.2;
  text-decoration: none;
}
.nav__num {
  min-width: 2.2em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: var(--track);
  color: var(--muted);
}
.nav__extra { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }

@media (min-width: 1100px) {
  .burger { display: none; }
  .nav {
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav__list { display: flex; gap: clamp(20px, 2.4vw, 40px); }
  .nav__list li { border: 0; }
  .nav__link {
    position: relative;
    align-items: center;
    min-height: 44px;
    padding: 0;
    font-family: var(--sans);
    font-weight: 400;
    font-size: .6875rem;
    letter-spacing: var(--track);
    text-transform: uppercase;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: var(--track); bottom: 10px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
  }
  .nav__link:hover::after,
  .nav__link[aria-current="true"]::after { transform: scaleX(1); }
  .nav__num, .nav__extra { display: none; }
}

/* ---------- Hero ---------- */
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--s5) var(--s6);
  text-align: center;
}
.hero__eyebrow {
  display: block;
  margin-bottom: var(--s3);
  padding-left: var(--track);
  color: var(--muted);
  font-style: normal;
  text-wrap: wrap;
}
.hero__title {
  margin: 0 0 var(--s4);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.25rem, 1.9rem + 6.2vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; font-variant-numeric: oldstyle-nums; }   /* « 7 » elzévirien, comme sur Instagram */
.hero__sub { padding-left: .24em; margin-bottom: var(--s5); }
.hero__from {
  margin-top: var(--s3);
  padding-left: var(--track);
  font-size: .75rem;
  letter-spacing: var(--track);
  color: var(--muted);
}
@media (max-width: 419px) {
  .hero__sub { font-size: .6875rem; letter-spacing: .17em; padding-left: .17em; }
}
@media (min-width: 768px) {
  .hero__title { max-width: none; }
  .hero__line { display: block; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section > .container,
.contact__inner { position: relative; }
.section > .container::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--section));
  left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
}

.section-head {
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-head__eyebrow { margin-bottom: var(--s3); color: var(--muted); }
.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.375rem, 1.7rem + 2.9vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.section-head__text { max-width: 34em; color: var(--muted); text-wrap: pretty; }

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: var(--s5);
    margin-bottom: var(--s5);
  }
  .section-head__text { padding-bottom: .6em; }
}

/* ---------- Offres ---------- */
.offers {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1360px) {
  .offers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.offer {
  display: flex;
  flex-direction: column;
  padding: var(--s4) var(--s3);
  background: var(--cream);
  transition: background-color .5s var(--ease);
}
.offer:hover { background: var(--paper); }
@media (min-width: 768px) {
  .offer { padding: var(--s5) var(--s4) var(--s4); }
}
@media (min-width: 1360px) {
  .offer { padding: var(--s5) 32px var(--s4); }
}

.offer__kicker { color: var(--muted); margin-bottom: var(--s4); }
.offer__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  text-wrap: balance;
}
.offer__scope { margin-top: var(--s1); color: var(--muted); }
.offer__price {
  margin: var(--s4) 0 var(--s3);
  padding-bottom: var(--s3);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: .02em;
}
.offer__star { font-size: .55em; vertical-align: .7em; margin-left: .1em; }
.offer__price--text { font-size: 1.75rem; }

.offer__facts { display: grid; gap: var(--s2); }
.offer__facts dt { color: var(--muted); }
.offer__facts dd { line-height: 1.6; }
.offer__text { color: var(--ink); text-wrap: pretty; }
.offer__cta { margin-top: var(--s4); align-self: stretch; padding-inline: calc(16px - var(--track)) 16px; white-space: normal; }
.offer__facts, .offer__text { margin-bottom: auto; }

/* Alignement des lignes (nom, prix, détails, bouton) d’une carte à l’autre */
@media (min-width: 768px) {
  @supports (grid-template-rows: subgrid) {
    .offer { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
    .offer--custom .offer__name { grid-row: span 2; align-self: start; }
    .offer__cta { align-self: end; }
  }
}

.offers__note {
  max-width: 46em;
  margin-top: var(--s3);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--muted);
}

.extras {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s6);
}
.extras__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  line-height: 1.1;
}
.extras__price { margin-top: var(--s2); color: var(--muted); }
.extras__list { border-top: 1px solid var(--line); }
.extras__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px var(--s2);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.3;
}
.extras__detail {
  font-family: var(--sans);
  font-size: .6875rem;
  font-weight: 400;
  letter-spacing: var(--track);
  color: var(--muted);
}
@media (min-width: 900px) {
  .extras { grid-template-columns: 5fr 7fr; gap: var(--s5); }
  .extras__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); border-top: 0; }
  .extras__list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
}

/* ---------- Réalisations ---------- */
.works {
  display: grid;
  gap: var(--s5);
}
/* Mise en page éditoriale : premier projet en grand, les deux suivants côte à côte */
@media (min-width: 768px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
  .work:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .works { gap: var(--s5) var(--s4); }
}

.work__frame {
  position: relative;
  aspect-ratio: 7 / 4;          /* format des captures */
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-deep);
}
.work__frame picture { display: contents; }
.work__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* jamais coupée, jamais déformée */
  background: var(--cream-deep);
}
.work__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px var(--s2);
  margin-top: var(--s2);
}
.work__type {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ---------- Comment ça marche ---------- */
.steps {
  display: grid;
  gap: var(--s4);
  counter-reset: step;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
}
.step { padding-top: var(--s3); border-top: 1px solid var(--line-strong); }
.step__num {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 3.5rem;
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.step__title {
  margin: var(--s3) 0 var(--s1);
  font-family: var(--sans);
  font-weight: 400;
  font-size: .75rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.step__text { max-width: 22em; color: var(--muted); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s5); }
.faq__head .section-head__text { margin-top: var(--s3); }
@media (min-width: 1024px) {
  .faq { grid-template-columns: 5fr 7fr; gap: var(--s5); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + var(--s4)); }
}

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  width: 100%;
  min-height: 64px;
  padding: 20px 0;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.3;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
  .accordion__trigger { font-size: 1.5rem; padding: 24px 0; }
}
.accordion__trigger:focus-visible { outline-offset: 2px; }
.accordion__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0deg); }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.accordion__content {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .45s;
}
.accordion__content p {
  max-width: 38em;
  padding: 0 var(--s4) var(--s3) 0;
  color: var(--muted);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__item.is-open .accordion__content { visibility: visible; transition: visibility 0s; }
html:not(.js) .accordion__panel { grid-template-rows: 1fr; }
html:not(.js) .accordion__content { visibility: visible; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; gap: var(--s5); }
@media (min-width: 1024px) {
  .contact__inner { grid-template-columns: 5fr 7fr; gap: var(--s5); align-items: start; }
  .contact__head { position: sticky; top: calc(var(--header-h) + var(--s4)); }
}
.contact__lead {
  margin-top: var(--s3);
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.45;
  max-width: 22em;
}
.contact__direct { margin-top: var(--s5); padding-top: var(--s3); border-top: 1px solid var(--line); }
.contact__direct .label { color: var(--muted); }
.contact__links { display: flex; flex-wrap: wrap; gap: 0 var(--s3); margin-top: 4px; }
.contact__links .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.contact__panel {
  padding: var(--s4) var(--s3);
  border: 1px solid var(--line);
  background: var(--paper);
}
@media (min-width: 768px) {
  .contact__panel { padding: var(--s5); }
}
.contact__noscript { color: var(--muted); }

/* ---------- Parcours de devis ---------- */
.flow__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.flow__count { color: var(--muted); white-space: nowrap; }
.flow__bar { display: flex; gap: 6px; width: min(160px, 40%); }
.flow__bar span {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  opacity: .5;
  transition: background-color .4s var(--ease), opacity .4s var(--ease);
}
.flow[data-current="1"] .flow__bar span:nth-child(-n+1),
.flow[data-current="2"] .flow__bar span:nth-child(-n+2),
.flow[data-current="3"] .flow__bar span { background: var(--ink); opacity: 1; }

.flow__step { animation: flow-in .5s var(--ease); }
@keyframes flow-in { from { opacity: 0; } to { opacity: 1; } }

.flow__title {
  margin-bottom: var(--s4);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.7rem + 1.4vw, 2.75rem);
  line-height: 1.1;
  text-wrap: balance;
}
.flow__note { margin: calc(-1 * var(--s3)) 0 var(--s4); font-size: .8125rem; color: var(--muted); }
.flow__lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; margin-bottom: var(--s3); }
.flow__step--done .flow__note { margin: 0 0 var(--s4); max-width: 32em; }

.choices { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .choice--wide { grid-column: 1 / -1; }
}
.choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 18px 22px;
  border: 1px solid var(--line-strong);
  background: transparent;
  text-align: left;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.choice:hover { border-color: var(--ink); background: var(--cream); }
.choice__name { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.choice__meta { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.choice[aria-pressed="true"] .choice__meta { color: rgba(243, 240, 234, .78); }
.choice--wide { min-height: 72px; }

.flow__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--s4);
}
.flow__actions--end { justify-content: flex-end; }
.flow__actions--center { justify-content: flex-start; }
.flow__actions--end:not(:has(> :not([hidden]))) { display: none; }
.flow__submit { flex: 1 1 auto; }
@media (min-width: 560px) {
  .flow__submit { flex: 0 1 auto; min-width: 240px; }
}

.flow__recap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
}
.flow__recap .label { color: var(--muted); }
.flow__recap-value { font-family: var(--serif); font-size: 1.25rem; }
.flow__recap-edit { min-height: 44px; font-size: .8125rem; margin-left: auto; }

.fields { display: grid; gap: var(--s3); }
@media (min-width: 640px) {
  .fields { grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s3); }
  .field--full { grid-column: 1 / -1; }
  /* Libellé, champ et erreur alignés d’une colonne à l’autre, même si un libellé passe sur deux lignes */
  @supports (grid-template-rows: subgrid) {
    .field:not(.field--full) { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
    .field:not(.field--full) > .field__label { align-self: end; }
  }
}
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label {
  display: block;
  margin-bottom: var(--s1);
  padding: 0;
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field__optional { color: var(--muted); letter-spacing: .08em; text-transform: none; font-weight: 300; font-size: .75rem; }
.field__input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;              /* 16 px : pas de zoom automatique sur iOS */
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.modal .field__input { background: var(--paper); }
.field__input:hover { border-color: var(--ink); }
.field__input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field__input--area { min-height: 128px; resize: vertical; }
.field__input--date { min-height: 52px; }
.field__input--date::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.field__input--date::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__input[aria-invalid="true"]:focus { box-shadow: inset 0 0 0 1px var(--error); }
.field__error { margin-top: 6px; font-size: .8125rem; line-height: 1.5; color: var(--error); font-weight: 400; }
.field__error:empty { display: none; }

.pills { display: flex; gap: 12px; }
.pill, .check { position: relative; display: flex; cursor: pointer; }
.pill input, .check input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill input:focus-visible + span,
.check input:focus-visible + span::before { outline: 1px solid var(--ink); outline-offset: 3px; }
.pills[data-invalid="true"] .pill span { border-color: var(--error); }

.checks { display: grid; gap: 0 var(--s3); }
@media (min-width: 640px) {
  .checks { grid-template-columns: 1fr 1fr; }
}
.check span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 8px 0;
  font-size: .9375rem;
  line-height: 1.4;
}
.check span::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.check span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid var(--cream);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-62%) rotate(45deg);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.check:hover span::before { border-color: var(--ink); }
.check input:checked + span::before { background: var(--ink); border-color: var(--ink); }
.check input:checked + span::after { opacity: 1; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.flow__alert {
  display: grid;
  gap: var(--s2);
  justify-items: start;
  margin-top: var(--s4);
  padding: var(--s3);
  border: 1px solid var(--error);
}
.flow__alert-text { color: var(--error); font-weight: 400; font-size: .875rem; }

/* ---------- Modale ---------- */
.modal {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
}
.modal[open] { animation: modal-in .45s var(--ease); }
.modal::backdrop { background: rgba(26, 26, 26, .42); }
.modal[open]::backdrop { animation: backdrop-in .45s var(--ease); }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }

.modal__inner { display: flex; flex-direction: column; height: 100%; }
.modal__bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex: none;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
}
.modal__logo { width: auto; height: 36px; }
.modal__title { margin-right: auto; padding-left: var(--s2); border-left: 1px solid var(--line); color: var(--muted); line-height: 36px; }
.modal__close {
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  -webkit-tap-highlight-color: transparent;
}
.modal__close span,
.modal__close::before,
.modal__close::after { content: none; }
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease);
}
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__close:hover::before { transform: translate(-50%, -50%) rotate(135deg); }
.modal__close:hover::after { transform: translate(-50%, -50%) rotate(45deg); }

.modal__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--s4) var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
  .modal {
    width: min(760px, calc(100% - 2 * var(--gutter)));
    height: fit-content;
    max-height: calc(100vh - 2 * var(--s4));
    max-height: calc(100dvh - 2 * var(--s4));
    margin: auto;
    border: 1px solid var(--line);
  }
  .modal__inner { height: auto; max-height: inherit; }
  .modal[open] .modal__inner { max-height: calc(100dvh - 2 * var(--s4)); }
  .modal__bar { height: 76px; padding: 0 var(--s5); }
  .modal__body { padding: var(--s5); }
}

/* ---------- Pied de page ---------- */
.site-footer { padding: 0 0 calc(var(--s6) + env(safe-area-inset-bottom)); }
.site-footer > .container { position: relative; padding-top: var(--s6); }
.site-footer > .container::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line);
}
.site-footer__top {
  display: grid;
  justify-items: center;
  gap: var(--s3);
  text-align: center;
}
.brand--footer img { height: 72px; }
.site-footer__place { padding-left: var(--track); color: var(--muted); }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s4); }
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1fr auto 1fr; justify-items: stretch; align-items: center; text-align: left; }
  .site-footer__place { justify-self: center; padding-left: var(--track); }
  .site-footer__links { justify-self: end; justify-content: flex-end; }
}

.legal { margin-top: var(--s5); border-top: 1px solid var(--line); }
.legal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.legal__summary::-webkit-details-marker { display: none; }
.legal__summary::after { content: "+"; font-size: 1rem; font-weight: 300; letter-spacing: 0; }
.legal[open] .legal__summary::after { content: "−"; }
.legal__body {
  display: grid;
  gap: var(--s2);
  max-width: 48em;
  padding-bottom: var(--s3);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--muted);
}
.legal__body strong { color: var(--ink); }
.site-footer__copy {
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--muted);
}

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 calc(18px - var(--track)) 0 18px;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-weight: 400;
  font-size: .625rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .4s var(--ease), visibility 0s, background-color .3s var(--ease), color .3s var(--ease);
}
.wa-float:hover { background: var(--ink); color: var(--cream); }
.wa-float.is-hidden,
html.is-locked .wa-float { opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s; }
@media (min-width: 1200px) {
  .wa-float { right: 32px; bottom: 32px; }
}

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transition: opacity 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Téléphone : rythme resserré, sans vides inutiles ---------- */
@media (max-width: 767px) {
  .hero__inner { min-height: 0; padding-block: var(--s5) 80px; }
  .hero__title { margin: 0 0 var(--s3); }
  .hero__eyebrow { margin-bottom: var(--s2); text-wrap: balance; }
  .hero__line { display: block; max-width: 11ch; margin-inline: auto; text-wrap: balance; }
  .hero__sub { margin-bottom: var(--s4); }
  .hero__from { margin-top: var(--s2); }

  .section-head { gap: var(--s2); margin-bottom: var(--s4); }
  .section-head__title { line-height: 1.12; }
  .section-head__eyebrow { margin-bottom: var(--s2); }

  .offer { padding: 32px var(--s3); }
  .offer__kicker { margin-bottom: var(--s3); }
  .offer__price { margin: var(--s3) 0 var(--s2); padding-bottom: var(--s2); }
  .offer__cta { margin-top: var(--s3); }
  .extras { gap: var(--s3); margin-top: var(--s5); }
  .extras__list li { padding: 14px 0; font-size: 1.25rem; }

  .works { gap: var(--s4); }

  .steps { gap: var(--s3); }
  .step { padding-top: var(--s2); }
  .step__num { font-size: 2.75rem; }
  .step__title { margin: var(--s2) 0 4px; }

  .faq { gap: var(--s4); }
  .faq__head .section-head__text { margin-top: var(--s2); }
  .accordion__trigger { padding: 16px 0; min-height: 56px; }

  .contact__inner { gap: var(--s4); }
  .contact__lead { margin-top: var(--s2); }
  .contact__direct { margin-top: var(--s4); padding-top: var(--s2); }
  .contact__panel { padding: 32px 20px; }
  .flow__progress { margin-bottom: var(--s3); }
  .flow__title { margin-bottom: var(--s3); }
  .choice { min-height: 76px; padding: 14px 18px; }

  .site-footer > .container { padding-top: var(--s5); }
  .site-footer { padding-bottom: calc(var(--s5) + env(safe-area-inset-bottom)); }
  .site-footer__top { gap: var(--s2); }
  .brand--footer img { height: 60px; }
  .legal { margin-top: var(--s4); }
}

/* ---------- Ordinateur et tablette : rythme resserré ---------- */
@media (min-width: 768px) {
  .hero__inner { min-height: min(calc(100svh - var(--header-h)), 720px); padding-block: var(--s5) var(--s6); }
  .hero__sub { margin-bottom: var(--s4); }
  .offer { padding: var(--s4) var(--s4) 32px; }
  .offer__kicker { margin-bottom: var(--s3); }
  .offer__price { margin: var(--s3) 0 var(--s2); padding-bottom: var(--s2); }
  .offer__cta { margin-top: var(--s3); }
  .extras { margin-top: var(--s5); }
  .extras__list li { padding: 14px 0; }
  .steps { row-gap: var(--s4); }
  .step__num { font-size: 3rem; }
  .step__title { margin: var(--s2) 0 4px; }
  .contact__direct { margin-top: var(--s4); }
  .contact__panel { padding: var(--s4) var(--s5); }
  .flow__progress, .flow__title { margin-bottom: var(--s3); }
  .site-footer > .container { padding-top: var(--s5); }
  .site-footer { padding-bottom: var(--s5); }
  .legal { margin-top: var(--s4); }
}
@media (min-width: 1360px) {
  .offer { padding: var(--s4) 32px 32px; }
}

/* ---------- Page Mentions légales ---------- */
.legal-page > .container::before { content: none; }
.legal-page .section-head__title { margin-bottom: var(--s5); }
.legal-page__body {
  display: grid;
  gap: var(--s3);
  max-width: 44em;
  color: var(--muted);
}
.legal-page__body strong { color: var(--ink); }
.legal-page + .site-footer .site-footer__copy { border-top: 0; padding-top: 0; }
