/* ============================================================================
   Maison Les Pins · direction artistique « Pinède »
   Couleurs, typographies et composants du site. Les couleurs de la marque sont
   les six variables ci-dessous : ne pas en ajouter.
   ========================================================================== */

:root {
  --pin: #2F4A3A;
  --lin: #FBF8F2;
  --sable: #EFE8DC;
  --beige: #D9C8A6;
  --encre: #2B2A22;
  --ecorce: #B98A5E;
  --radius: 14px;
  --maxw: 1200px;

  /* Derived, never new hues: tinted secondary ink and hairlines. */
  --encre-doux: #5A574B;
  --lin-doux: color-mix(in oklab, var(--lin) 82%, var(--pin));
  --filet: rgba(47, 74, 58, .15);
  --filet-fort: rgba(47, 74, 58, .28);
  --sable-fonce: #E6DDCC;
  --erreur: #94452C;

  --bar-h: 72px;

  /* Focus ring: pin on light grounds, lin on the pin-coloured ones. */
  --focus: var(--pin);

  /* Scrollcraft tokens mapped onto the brand. */
  --sc-canvas: var(--lin);
  --sc-surface: var(--sable);
  --sc-ink: var(--encre);
  --sc-ink-soft: var(--encre-doux);
  --sc-accent: var(--pin);
  --sc-accent-ink: var(--lin);
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text: "Hanken Grotesk", system-ui, sans-serif;
  --sc-maxw: var(--maxw);
  --sc-gutter: clamp(1rem, 4.6vw, 4rem);
  --sc-section: clamp(4.5rem, 9vw, 9.5rem);
  --sc-shadow-color: 145 22% 20%;
  --sc-r-md: var(--radius);
}
@media (max-width: 960px) { :root { --bar-h: 64px; } }

html { scroll-padding-top: calc(var(--bar-h) + 1rem); }
body { background: var(--lin); color: var(--encre); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6; letter-spacing: 0; }
.sc-wrap { max-width: calc(var(--maxw) + 2 * var(--sc-gutter)); }

/* Reveals: quicker and shorter than the engine default, reading is never held up. */
[data-sc-in], [data-sc-stagger] > * { transform: translate3d(0, 8px, 0); transition-duration: 420ms; }

/* No JS: never leave content invisible. */
.no-js [data-sc-in], .no-js [data-sc-stagger] > *, .no-js [data-sc-cue] { opacity: 1 !important; transform: none !important; }

/* ------------------------------------------------------------ typography -- */
.h1, .h2, .h3, .fcard__nom, .quote, .gestes__list, .gestes__line, .values__list {
  font-family: var(--sc-font-display);
  font-optical-sizing: auto;
  font-weight: 300;
  color: var(--pin);
  text-wrap: balance;
  margin: 0;
}
.h1 { font-size: clamp(2.25rem, 1.35rem + 3.9vw, 4rem); line-height: 1.04; letter-spacing: -.02em; }
.h1--hero { font-size: clamp(2.35rem, 1.2rem + 3.6vw, 4rem); max-width: 12.5em; }
.h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem); line-height: 1.1; letter-spacing: -.015em; }
.h3 { font-size: clamp(1.375rem, 1.22rem + .6vw, 1.75rem); line-height: 1.2; font-weight: 400; letter-spacing: -.01em; }
:is(.h1, .h2, .h3, .gestes__line, .fcard__nom) em { font-style: italic; font-weight: 300; }

.kicker {
  font: 500 .78rem/1.4 var(--sc-font-text);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pin);
  margin: 0 0 1.25rem;
}
.kicker--lin { color: var(--beige); }
.lede { font-size: clamp(1.125rem, 1.04rem + .4vw, 1.3rem); line-height: 1.55; color: var(--encre); max-width: 40ch; margin: 1.5rem 0 0; text-wrap: pretty; }
.body { color: var(--encre); max-width: 58ch; margin: 1.25rem 0 0; text-wrap: pretty; }
.fine { font-size: .9rem; color: var(--encre-doux); }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--pin); color: var(--lin); padding: .75rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

::selection { background: var(--beige); color: var(--pin); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.menu, .gestes, .fcard--pin, .foot, .report, .values, .acard--pin { --focus: var(--lin); }
[data-sc-progress] { height: 2px; background: var(--ecorce); z-index: 70; }

/* ----------------------------------------------------------------- icons -- */
.ico { width: 22px; height: 22px; flex: none; color: var(--pin); }
.ico--lg { width: 30px; height: 30px; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: 0 1.6rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 1rem/1 var(--sc-font-text); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--pin); color: var(--lin); }
.btn--ghost { border-color: var(--pin); color: var(--pin); background: transparent; }
.btn--light { background: var(--lin); color: var(--pin); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .btn--light:hover { background: var(--beige); color: var(--pin); }
  .btn--ghost:hover { background: var(--beige); border-color: var(--beige); }
}
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 2rem; }

.link {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-weight: 500; color: var(--pin);
  text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: .32em; text-decoration-thickness: 1px;
  transition: text-decoration-color 160ms var(--sc-ease-out);
}
.link .ico { width: 18px; height: 18px; transition: transform 200ms var(--sc-ease-out); color: currentColor; }
.link--lin { color: var(--lin); text-decoration-color: rgba(251, 248, 242, .35); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link:hover .ico { transform: translateX(4px); }
}

.pill {
  display: inline-block; align-self: flex-start;
  background: var(--beige); color: var(--pin);
  font: 600 .7rem/1 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase;
  padding: .55rem .8rem; border-radius: 999px; margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------------ logo -- */
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--pin); }
.logo__sym { width: 30px; height: auto; fill: currentColor; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__maison { font: 500 .58rem/1 var(--sc-font-text); letter-spacing: .38em; text-transform: uppercase; margin-bottom: .28rem; padding-left: .1em; }
.logo__pins { font: 300 1.38rem/1 var(--sc-font-display); letter-spacing: -.01em; }
.logo__pins em { font-style: italic; }
.logo--lin { color: var(--lin); }
.logo--lin .logo__sym { fill: var(--beige); }
.logo--lg .logo__sym { width: 42px; }
.logo--lg .logo__pins { font-size: 1.9rem; }
.logo--lg .logo__maison { font-size: .68rem; }

/* ---------------------------------------------------------------- header -- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h);
  background: var(--lin); border-bottom: 1px solid var(--filet);
  transition: background-color 240ms var(--sc-ease-out), border-color 240ms var(--sc-ease-out);
}
/* over the hero photo: the fade covers the border strip too, or it repeats there as a light line */
.bar--over:not(.is-solid) { background: linear-gradient(to bottom, rgba(251, 248, 242, .9), rgba(251, 248, 242, .55) 60%, rgba(251, 248, 242, 0)) border-box no-repeat; border-color: transparent; }
.bar__in { height: 100%; max-width: calc(var(--maxw) + 2 * var(--sc-gutter)); margin: 0 auto; padding: 0 var(--sc-gutter); display: flex; align-items: center; gap: 2rem; }
.bar__home { text-decoration: none; margin-right: auto; display: inline-flex; min-height: 44px; align-items: center; }
.bar__nav { display: flex; gap: 2rem; }
.bar__nav a { font-weight: 500; font-size: .98rem; color: var(--encre); text-decoration: none; padding: .6rem 0; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: var(--ecorce); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--sc-ease-out); }
.bar__nav a[aria-current]::after { transform: none; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover::after { transform: none; } }
.bar__cta .sm { display: none; }
.bar__burger { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 0; place-items: center; color: var(--pin); cursor: pointer; border-radius: 999px; }
.bar__burger .ico { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .bar__nav { display: none; }
  .bar__in { gap: .5rem; }
  .bar__burger { display: grid; }
  .bar__cta .lg { display: none; }
  .bar__cta .sm { display: inline; }
  .logo__pins { font-size: 1.22rem; }
  .logo__sym { width: 26px; }
}

/* ------------------------------------------------------------ mobile menu -- */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--pin); color: var(--lin);
  display: flex; flex-direction: column; padding: 0 var(--sc-gutter) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto; opacity: 0; transition: opacity 240ms var(--sc-ease-out);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__top { height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; }
.menu__top a { text-decoration: none; }
.menu__close { width: 46px; height: 46px; border: 0; background: none; color: var(--lin); display: grid; place-items: center; cursor: pointer; }
.menu__close .ico { color: var(--lin); width: 26px; height: 26px; }
.menu__nav { display: flex; flex-direction: column; margin: 2.5rem 0; }
.menu__nav a {
  font: 300 clamp(2rem, 8vw, 2.6rem)/1.15 var(--sc-font-display); color: var(--lin); text-decoration: none;
  padding: .55rem 0; border-bottom: 1px solid rgba(251, 248, 242, .12);
  opacity: 0; transform: translateY(10px); transition: opacity 360ms var(--sc-ease-out), transform 360ms var(--sc-ease-out);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 40ms; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 80ms; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 120ms; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 160ms; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: 200ms; }
.menu__foot { margin-top: auto; display: grid; gap: 1.25rem; }
.menu__foot .btn { width: 100%; }
.menu__foot a:not(.btn) { color: var(--lin); }
.menu__soc { display: flex; gap: .5rem; }
.soc { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(251, 248, 242, .25); color: var(--lin); }
.soc .ico { color: currentColor; width: 20px; height: 20px; }

/* ------------------------------------------------------------ placeholder -- */
.ph { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 4 / 5; background: var(--sable-fonce); }
.ph__sym { width: 26%; fill: var(--pin); opacity: .12; grid-area: 1 / 1; }
.ph__ini { grid-area: 1 / 1; font: italic 300 clamp(6rem, 14vw, 11rem)/1 var(--sc-font-display); color: var(--pin); opacity: .22; }
.ph:has(.ph__ini) .ph__sym { width: 14%; opacity: .1; align-self: end; margin-bottom: 9%; }

/* =================================================================== HOME == */

/* --- hero: three planes, the headline sits between photo and branch ------ */
.hero [data-sc-stage] { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; background: var(--sable); }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img {
  object-fit: cover; object-position: var(--hero-pos, 62% 50%);
  transform-origin: var(--hero-focus, 72% 58%);
  transform: scale(calc(1.04 + var(--sc-p, 0) * .16)) translate3d(0, calc(var(--sc-p, 0) * -1.5%), 0);
  will-change: transform;
}
/* Density only where the copy sits: the photo keeps its own light. */
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(251, 248, 242, .92) 0%, rgba(251, 248, 242, .76) 36%, rgba(251, 248, 242, .2) 56%, rgba(251, 248, 242, 0) 66%);
}
.hero__copy {
  position: absolute; z-index: 20; left: var(--sc-gutter);
  left: max(var(--sc-gutter), calc((100vw - var(--maxw)) / 2));
  bottom: clamp(3.5rem, 13vh, 8.5rem); width: min(41rem, 56vw);
}
.hero__sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--encre); max-width: 34rem; margin-top: 1.5rem; text-wrap: pretty; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__beat {
  position: absolute; z-index: 20;
  left: max(var(--sc-gutter), calc((100vw - var(--maxw)) / 2));
  top: 38%; margin: 0;
  font: 300 clamp(2.2rem, 1.2rem + 4vw, 4.4rem)/1.05 var(--sc-font-display); letter-spacing: -.02em; color: var(--pin);
}
.hero__beat em { font-style: italic; }
.hero__branch {
  position: absolute; z-index: 25; right: -6vw; bottom: -14vh;
  width: min(70vw, 1180px); height: auto; pointer-events: none;
  transform-origin: 85% 90%;
  transform: translate3d(calc(var(--sc-p, 0) * 3vw), calc(var(--sc-p, 0) * -30vh), 0) scale(calc(1 + var(--sc-p, 0) * .28)) rotate(calc(var(--sc-p, 0) * -4deg));
  filter: saturate(.8) brightness(.96) drop-shadow(0 28px 30px rgba(43, 42, 34, .22));
  will-change: transform;
}
.hero__mist { position: absolute; inset: auto 0 0; height: 22vh; z-index: 26; pointer-events: none; background: linear-gradient(to bottom, rgba(239, 232, 220, 0), var(--sable)); }

@media (max-width: 700px) {
  .hero__veil { background: linear-gradient(180deg, rgba(251, 248, 242, .94) 0%, rgba(251, 248, 242, .82) 42%, rgba(251, 248, 242, .25) 64%, rgba(251, 248, 242, 0) 76%); }
  .hero__bg img { object-position: 50% 50%; transform-origin: var(--hero-focus-m, 50% 50%); }
  .hero__copy { width: auto; right: var(--sc-gutter); top: calc(var(--bar-h) + 4.5vh); bottom: auto; }
  .hero__sub { font-size: 1.02rem; margin-top: 1rem; }
  .hero__btns { margin-top: 1.5rem; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__beat { top: calc(var(--bar-h) + 8vh); right: var(--sc-gutter); }
  .hero__branch { width: 135vw; right: -52vw; bottom: -8vh; }
  .h1--hero { font-size: clamp(2.2rem, 1.4rem + 4vw, 2.75rem); }
  .hero .kicker { font-size: .66rem; letter-spacing: .14em; }
}
@media (max-height: 640px) and (max-width: 700px) { .hero__sub { display: none; } }

/* --- three arguments --------------------------------------------------- */
.args { background: var(--sable); padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem); }
.args__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.arg { padding: .5rem clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--filet-fort); }
.arg:first-child { padding-left: 0; border-left: 0; }
.arg__t { font: 400 clamp(1.3rem, 1.2rem + .4vw, 1.55rem)/1.2 var(--sc-font-display); color: var(--pin); margin: 1.25rem 0 .6rem; }
.arg p { color: var(--encre); }
@media (max-width: 860px) {
  .args__grid { grid-template-columns: 1fr; }
  .arg { padding: 1.75rem 0; border-left: 0; border-top: 1px solid var(--filet-fort); display: grid; grid-template-columns: 2.75rem 1fr; column-gap: .5rem; }
  .arg:first-child { border-top: 0; padding-top: 0; }
  .arg .ico { grid-row: span 2; margin-top: .2rem; }
  .arg__t { margin: 0 0 .4rem; }
}

/* --- services: the list drives the photograph -------------------------- */
.svc { background: var(--sable); padding: var(--sc-section) 0; }
.svc__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.svc__media { position: sticky; top: calc(var(--bar-h) + 6vh); height: calc(100svh - var(--bar-h) - 12vh); max-height: 46rem; border-radius: var(--radius); overflow: hidden; background: var(--sable-fonce); }
.svc__frame { position: absolute; inset: 0; opacity: 0; transition: opacity 450ms var(--sc-ease-out); }
.svc__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 900ms var(--sc-ease-out); }
.svc__frame.is-on { opacity: 1; }
.svc__frame.is-on img { transform: none; }
.svc__list { list-style: none; margin: 0; padding: 0; }
.svc__item { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--filet); padding: 2rem 0; opacity: .32; transition: opacity 400ms var(--sc-ease-out); }
.svc__item:first-child { border-top: 0; }
.svc__item.is-on { opacity: 1; }
.svc__item p { color: var(--encre); margin-top: .75rem; max-width: 34ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.svc__item .h3 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 300; }
.svc__m { display: none; margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.svc__m img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: 1fr; }
  .svc__media { display: none; }
  .svc__m { display: block; }
  .svc__item { min-height: 0; opacity: 1; padding: 2.5rem 0; }
}

/* --- the peak: five gestures, five scales ------------------------------ */
.gestes { background: var(--pin); color: var(--lin); }
.gestes [data-sc-stage] { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: var(--bar-h) max(var(--sc-gutter), calc((100vw - var(--maxw)) / 2)) 0; }
.gestes__cone { display: grid; place-items: center; }
.cone { width: min(34vw, 420px, 52vh); height: auto; overflow: visible; }
.cone__s { fill: var(--beige); transform-box: fill-box; transform-origin: 50% 50%; will-change: transform, opacity; }
.gestes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(.6rem, 1.6vh, 1.2rem); font-size: clamp(1.3rem, .9rem + 1.3vw, 1.95rem); line-height: 1.2; color: var(--lin); }
.gestes__list li { display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline; opacity: .2; transition: opacity 360ms var(--sc-ease-out), transform 360ms var(--sc-ease-out); }
.gestes__list li.is-past { opacity: .5; }
.gestes__list li.is-on { opacity: 1; }
.gestes__tick { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 1px solid rgba(217, 200, 166, .5); align-self: center; transition: background-color 300ms var(--sc-ease-out), border-color 300ms; }
.gestes__tick .ico { width: .95rem; height: .95rem; color: var(--pin); opacity: 0; transform: scale(.7); transition: opacity 260ms var(--sc-ease-out), transform 260ms var(--sc-ease-out); }
.is-past .gestes__tick, .is-on .gestes__tick { background: var(--beige); border-color: var(--beige); }
.is-past .gestes__tick .ico, .is-on .gestes__tick .ico { opacity: 1; transform: none; }
.gestes__final { margin-top: clamp(1.75rem, 5vh, 3rem); padding-top: clamp(1.5rem, 4vh, 2.5rem); border-top: 1px solid rgba(217, 200, 166, .35); opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--sc-ease-out), transform 500ms var(--sc-ease-out); }
.gestes__final.is-on { opacity: 1; transform: none; }
.gestes__line { color: var(--lin); font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 1rem; }
.gestes__line em { color: var(--beige); }
.no-js .gestes__list li, .no-js .gestes__final { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .gestes [data-sc-stage] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 1.5rem; padding-top: calc(var(--bar-h) + 1rem); padding-bottom: 5rem; }
  .cone { width: min(40vw, 25vh); }
  .gestes__txt { position: relative; }
  .gestes__list { font-size: clamp(1.2rem, 1rem + 1.4vw, 1.5rem); }
  .gestes__final { margin-top: 1.25rem; padding-top: 1.25rem; }
}

/* --- you keep control --------------------------------------------------- */
.main-sec { padding: var(--sc-section) 0; }
.main-sec__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.owned { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.owned li { display: flex; align-items: center; gap: .75rem; padding: 1rem 0; border-top: 1px solid var(--filet); font: 400 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.2 var(--sc-font-display); color: var(--pin); }
.main-sec .body { margin: 2rem 0 2.25rem; }
.main-sec__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.main-sec__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .main-sec__grid { grid-template-columns: 1fr; }
  .main-sec__img { order: -1; aspect-ratio: 4 / 3; }
}
@media (max-width: 420px) { .owned { grid-template-columns: 1fr; } }

/* --- formulas ------------------------------------------------------------ */
.forms-sec { padding: var(--sc-section) 0; }
.sec-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.fcard {
  display: flex; flex-direction: column; border-radius: var(--radius); padding: clamp(1.5rem, 2.2vw, 2rem);
  background: var(--sable); color: var(--encre); min-height: 31rem;
}
.fcard__nom { font-size: clamp(1.9rem, 1.6rem + .8vw, 2.3rem); line-height: 1; padding-bottom: 1rem; border-bottom: 1px solid var(--ecorce); }
.fcard__acc { color: var(--encre); margin-top: 1rem; font-size: .98rem; }
.fcard__list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.fcard__list li { display: flex; gap: .65rem; align-items: flex-start; padding: .6rem 0; border-top: 1px solid var(--filet); }
.fcard__list li:first-child { border-top: 0; }
.fcard__list .ico { width: 18px; height: 18px; margin-top: .22rem; }
.fcard__base { margin-top: 1.5rem; padding: 1rem 1.1rem; border-radius: 10px; background: rgba(47, 74, 58, .08); border: 1px solid rgba(47, 74, 58, .14); }
.fcard__base-t { display: flex; gap: .55rem; align-items: center; font-weight: 600; color: var(--pin); }
.fcard__base-t .ico { width: 18px; height: 18px; }
.fcard__base ul { list-style: none; margin: .55rem 0 0; padding: 0 0 0 1.6rem; display: grid; gap: .15rem; font-size: .9rem; color: #4A4638; }
.fcard__base li::before { content: "·"; margin-right: .45rem; color: var(--pin); }
.fcard__plus-t { margin: 1.4rem 0 0; font: 600 .72rem/1 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--pin); }
.fcard__list--plus { margin-top: .6rem; }
.fcard__foot { margin-top: auto; padding-top: 1.75rem; display: grid; gap: .9rem; }
.fcard__foot .btn { width: 100%; }
.fcard__devis { font-size: .85rem; color: var(--encre-doux); }
.fcard__price { margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .45rem; }
.fcard__from { flex-basis: 100%; font: 500 .72rem/1 var(--sc-font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--encre-doux); margin-bottom: .45rem; }
.fcard__amount { font: 300 clamp(2.3rem, 1.9rem + 1.2vw, 2.9rem)/1 var(--sc-font-display); letter-spacing: -.02em; color: var(--pin); font-variant-numeric: lining-nums tabular-nums; }
.fcard__per { font-size: .9rem; color: var(--encre-doux); }
.fcard__price.is-quote .fcard__amount { font-size: clamp(1.8rem, 1.5rem + .8vw, 2.2rem); }
.fcard__price.is-quote :is(.fcard__from, .fcard__per) { visibility: hidden; }
.fcard__price.is-pop .fcard__amount { animation: pricePop 420ms var(--sc-ease-out); }
@keyframes pricePop { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fcard--pin .fcard__amount { color: var(--lin); }
.fcard--pin :is(.fcard__from, .fcard__per) { color: var(--lin-doux); }
.fcard--beige :is(.fcard__from, .fcard__per) { color: #4A4638; }
.fcard__top .fcard__price + .fcard__acc { margin-top: .9rem; }

/* size picker */
.sizer { margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); padding: 0; border: 0; min-width: 0; }
.sizer__label { padding: 0; margin-bottom: .9rem; font: 500 .78rem/1.3 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--pin); }
.sizer__opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.sizer__opt {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  min-height: 64px; padding: .8rem 1rem; border-radius: 12px; cursor: pointer;
  background: var(--sable); border: 1px solid var(--filet);
  transition: background-color 180ms var(--sc-ease-out), border-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.sizer__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sizer__nom { font: 400 1.2rem/1.1 var(--sc-font-display); color: var(--pin); }
.sizer__m2 { font-size: .85rem; color: var(--encre-doux); }
.sizer__opt:has(input:checked) { background: var(--pin); border-color: var(--pin); }
.sizer__opt:has(input:checked) .sizer__nom { color: var(--lin); }
.sizer__opt:has(input:checked) .sizer__m2 { color: var(--lin-doux); }
.sizer__opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.sizer__opt:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .sizer__opt:not(:has(input:checked)):hover { border-color: var(--pin); } }
@media (max-width: 760px) {
  .sizer__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sizer__opt--plus { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: .6rem; }
  .sizer__opt { min-height: 60px; padding: .7rem .9rem; }
  .sizer__nom { font-size: 1.1rem; }
}
.forms-sec__mention, .fine--prix { margin-top: 1.25rem; max-width: 70ch; }
.fine--prix { padding-bottom: var(--sc-section); }
.fcard__prix { margin: 1.5rem 0 0; display: grid; gap: .35rem; }
.fcard__prix div { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--filet); padding-top: .45rem; }
.fcard__prix dt { font-size: .92rem; }
.fcard__prix dd { margin: 0; font: 300 1.6rem/1 var(--sc-font-display); font-variant-numeric: lining-nums; }
.fcard--pin { background: var(--pin); color: var(--lin); }
.fcard--pin .fcard__nom { color: var(--lin); border-color: rgba(217, 200, 166, .55); }
.fcard--pin .fcard__acc, .fcard--pin .fcard__devis { color: var(--lin-doux); }
.fcard--pin .fcard__list li, .fcard--pin .fcard__prix div { border-color: rgba(251, 248, 242, .14); }
.fcard--pin .ico { color: var(--beige); }
.fcard--beige { background: var(--beige); }
.fcard--beige .fcard__nom { border-color: rgba(47, 74, 58, .35); }
.fcard--beige .fcard__acc, .fcard--beige .fcard__devis { color: #4A4638; }
.fcard--beige .fcard__list li { border-color: rgba(47, 74, 58, .16); }
.fcard--contour { background: var(--sable-fonce); }
.fcard--contour .fcard__nom { border-color: var(--filet-fort); }
.forms-sec__more { margin-top: 2rem; }
@media (max-width: 1100px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcard { min-height: 0; } }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; gap: 1rem; } }

/* --- three steps --------------------------------------------------------- */
.steps { background: var(--sable); padding: var(--sc-section) 0; }
.steps__list { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 1.9rem; height: 1px; background: var(--filet); }
.steps__line span { position: absolute; inset: 0; background: var(--ecorce); transform-origin: left; transform: scaleX(var(--steps-p, 0)); }
.step { position: relative; }
.step__n { display: inline-block; font: 300 3.6rem/1 var(--sc-font-display); color: var(--pin); background: var(--sable); padding-right: 1rem; margin-bottom: 1.25rem; position: relative; }
.step p { color: var(--encre); margin-top: .6rem; max-width: 30ch; }
@media (max-width: 760px) {
  .steps__list { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 4.5rem; }
  .steps__line { left: 1.2rem; right: auto; width: 1px; height: auto; top: .5rem; bottom: .5rem; }
  .steps__line span { transform-origin: top; transform: scaleY(var(--steps-p, 0)); }
  .step__n { position: absolute; left: -4.5rem; top: -.35rem; width: 2.4rem; text-align: center; padding: .2rem 0; font-size: 2.6rem; }
}

/* --- Prune --------------------------------------------------------------- */
.prune { padding: var(--sc-section) 0; }
.prune__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.prune__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.prune__img img { width: 100%; height: 100%; object-fit: cover; }
.quote { margin: 2rem 0 0; padding: 0; font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; max-width: 32ch; }
.prune__sig { margin: 1.5rem 0 1rem; font: 500 .78rem/1 var(--sc-font-text); letter-spacing: .22em; text-transform: uppercase; color: var(--encre-doux); }
@media (max-width: 860px) { .prune__grid { grid-template-columns: 1fr; } .prune__img { max-width: 26rem; aspect-ratio: 1 / 1; } }

/* --- zone + map ------------------------------------------------------------ */
.zone-sec { background: var(--sable); padding: var(--sc-section) 0; }
.zone-sec__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.towns { list-style: none; margin: 2rem 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.towns li { display: flex; gap: .6rem; align-items: center; padding: .8rem 0; border-top: 1px solid var(--filet); font-weight: 500; }
.towns .ico { width: 18px; height: 18px; }
.map { margin: 0; }
.map__frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #DED3BF; }
.map__base { display: block; width: 100%; height: auto; }
.map__over { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* the four communes we serve: outlined, drawn once when the map comes into view */
.map__zone path { fill: none; stroke: var(--pin); stroke-width: 1.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--sc-ease-out); }
.map.is-drawn .map__zone path { stroke-dashoffset: 0; }
.no-js .map__zone path { stroke-dashoffset: 0; }
/* labels keep a lin halo so they read over the coast and the salt pans */
.map__over text { paint-order: stroke; stroke: var(--lin); stroke-width: 4px; stroke-linejoin: round; }
.map__note { font: italic 400 14px var(--sc-font-display); fill: var(--encre-doux); }
.map__town text { font: 500 15px var(--sc-font-text); fill: var(--encre); }
.map__town--main text { font: 400 19px var(--sc-font-display); fill: var(--pin); }
.map__dot { fill: var(--pin); stroke: var(--lin); stroke-width: 2; }
.map__halo { fill: var(--beige); opacity: .6; transform-box: fill-box; transform-origin: center; animation: halo 3.2s var(--sc-ease-out) infinite; }
.map__sea-label, .map__ocean { font: italic 400 15px var(--sc-font-display); fill: var(--encre-doux); letter-spacing: .02em; stroke: #DED3BF; }
.map__src { margin-top: .6rem; font-size: max(.75rem, 12px); line-height: 1.4; color: var(--encre-doux); text-align: right; }
@keyframes halo { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 860px) { .zone-sec__grid { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------- */
.faq-sec { padding: var(--sc-section) 0; }
.faq-sec__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.faq-sec__grid .link { margin-top: 1.25rem; }
.faq { border-bottom: 1px solid var(--filet); }
.faq__item { border-top: 1px solid var(--filet); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; min-height: 44px;
  font: 400 clamp(1.15rem, 1.05rem + .4vw, 1.4rem)/1.3 var(--sc-font-display); color: var(--pin);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--pin); transition: transform 260ms var(--sc-ease-out); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 2.5rem 1.5rem 0; color: var(--encre); max-width: 62ch; }
.faq__item[open] .faq__a { animation: faqIn 360ms var(--sc-ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq-sec__grid { grid-template-columns: 1fr; } }

/* --- the close --------------------------------------------------------------- */
.call { background: var(--sable); padding: clamp(5rem, 11vw, 10rem) 0; text-align: center; }
.call__in { display: flex; flex-direction: column; align-items: center; }
.call__sym { width: 46px; fill: var(--pin); margin-bottom: 2rem; }
.call .h2 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); }
.call .lede { margin: 1.25rem auto 2.25rem; }

/* ================================================================ FOOTER == */
.foot { position: relative; overflow: hidden; background: var(--pin); color: var(--lin); padding: clamp(4rem, 8vw, 6.5rem) 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; position: relative; z-index: 1; }
.foot a { color: var(--lin); text-decoration: none; }
.foot__brand a { display: inline-flex; }
.foot__sig { margin-top: 1.5rem; font: italic 300 1.25rem/1.4 var(--sc-font-display); color: var(--lin-doux); max-width: 18ch; }
.foot__h { font: 500 .74rem/1 var(--sc-font-text); letter-spacing: .24em; text-transform: uppercase; color: var(--beige); margin-bottom: 1.25rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.foot li { color: var(--lin-doux); }
.foot li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--lin); }
.foot__more { display: inline-block; margin-top: .75rem; text-decoration: underline !important; text-underline-offset: .3em; text-decoration-color: rgba(251, 248, 242, .35) !important; min-height: 36px; }
.foot__soc { display: flex; gap: .5rem; margin-top: 1rem; }
@media (hover: hover) and (pointer: fine) { .foot li a:hover { text-decoration: underline; text-underline-offset: .3em; } }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid rgba(251, 248, 242, .14); font-size: .9rem; color: var(--lin-doux); position: relative; z-index: 1; }
.foot__base a { margin-left: 1.5rem; display: inline-flex; min-height: 44px; align-items: center; }
.foot__base p { display: flex; align-items: center; }
.foot__mark { position: absolute; right: -4%; bottom: -18%; width: min(36vw, 420px); fill: var(--beige); opacity: .06; }
@media (max-width: 960px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__in { grid-template-columns: 1fr; } .foot__base a:first-child { margin-left: 0; } .foot { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* floating quote button, phones and tablets */
.float-cta {
  display: none; position: fixed; z-index: 55; left: 1rem; right: 1rem; bottom: calc(.9rem + env(safe-area-inset-bottom));
  min-height: 54px; border-radius: 999px; background: var(--pin); color: var(--lin);
  align-items: center; justify-content: center; gap: .6rem; text-decoration: none; font-weight: 500;
  box-shadow: 0 6px 14px -4px rgba(31, 46, 37, .35), 0 18px 34px -12px rgba(31, 46, 37, .4);
  transition: transform 320ms var(--sc-ease-out), opacity 320ms var(--sc-ease-out);
}
.float-cta .ico { color: var(--beige); width: 18px; height: 18px; }
.float-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 960px) { .float-cta { display: flex; } }

/* ============================================================ INNER PAGES == */
.phead { padding-top: calc(var(--bar-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.phead__txt { max-width: 46rem; }
.phead--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.phead__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-height: 70vh; }
.phead__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .phead--split { grid-template-columns: 1fr; } .phead__img { aspect-ratio: 4 / 3; } }

/* prestations */
.fgrid--page { padding-bottom: var(--sc-section); }
.extras { padding: var(--sc-section) 0; }
.extras__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.25rem; }
.extra { background: var(--sable); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.extra .h3 { margin: 1.1rem 0 .5rem; }
.extra p { color: var(--encre); }
.extra--img { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: end; padding: 0; overflow: hidden; }
.extra--img figure { margin: 0; position: relative; align-self: stretch; min-height: 22rem; }
.extra--img figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.extra--img > div { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 0; }
.extra--img .h3 { margin-top: 0; }
.extras__side { display: grid; gap: 1.25rem; }
@media (max-width: 860px) {
  .extras__grid { grid-template-columns: 1fr; }
  .extra--img { grid-template-columns: 1fr; }
  .extra--img figure { min-height: 0; aspect-ratio: 4 / 3; }
  .extra--img > div { padding: 0 1.5rem 1.75rem; }
}

/* notre standard */
.check { padding: 0 0 var(--sc-section); }
.check__list { list-style: none; margin: clamp(2rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 5rem); }
.check__item { display: grid; grid-template-columns: 2.5rem 1fr 1.6rem; align-items: center; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--filet); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.check__tick { width: 1.5rem; height: 1.5rem; fill: none; stroke: var(--ecorce); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 700ms 260ms var(--sc-ease-out); }
.check__item.sc-in .check__tick, .no-js .check__tick { stroke-dashoffset: 0; }
@media (max-width: 760px) { .check__list { grid-template-columns: 1fr; } }
.report { background: var(--pin); color: var(--lin); padding: var(--sc-section) 0; overflow: hidden; }
.report .h2, .report .h3 { color: var(--lin); }
.report .lede { color: var(--lin); }
.report .ico { color: var(--beige); }
.report__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.report__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.report__imgs figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.report__imgs figure:nth-child(2) { margin-top: 4rem; }
.report__imgs img { width: 100%; height: 100%; object-fit: cover; }
.report__txt .h2 { margin-top: 1.25rem; }
.report__def { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(217, 200, 166, .35); }
.report__def p { color: var(--lin-doux); margin-top: .5rem; }
@media (max-width: 860px) { .report__grid { grid-template-columns: 1fr; } .report__imgs { order: 2; } }

/* équipe */
.team { padding-bottom: var(--sc-section); display: grid; gap: clamp(3rem, 6vw, 5rem); }
.member__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member__txt { margin-top: 1.5rem; }
.member__role { font: 500 .78rem/1.4 var(--sc-font-text); letter-spacing: .2em; text-transform: uppercase; color: var(--encre-doux); margin-top: .6rem; }
.member__q { font: italic 300 clamp(1.2rem, 1.05rem + .6vw, 1.5rem)/1.4 var(--sc-font-display); color: var(--pin); margin-top: 1.25rem; max-width: 30ch; }
.member--big { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.member--big .member__txt { margin: 0; }
.member--big .member__q { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }
.team__rest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); max-width: 54rem; margin-left: auto; }
@media (max-width: 760px) { .member--big { grid-template-columns: 1fr; } .team__rest { grid-template-columns: 1fr; } }
.values { background: var(--pin); color: var(--lin); padding: var(--sc-section) 0; }
.values__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .2em 0; color: var(--lin); font-style: italic; font-size: clamp(2.6rem, 1rem + 6.4vw, 6.5rem); line-height: 1.05; letter-spacing: -.02em; }
.values__list li:not(:last-child)::after { content: "·"; color: var(--beige); font-style: normal; margin: 0 .35em; }

/* zone */
.towns-sec { padding-bottom: var(--sc-section); }
.towns-sec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 5rem); }
.town { padding: 2rem 0; border-top: 1px solid var(--filet); }
.town .h3 { display: flex; gap: .7rem; align-items: center; }
.town p { color: var(--encre); margin-top: .75rem; max-width: 48ch; }
.zone-img { padding-bottom: var(--sc-section); }
.zone-img figure { margin: 0 auto; }
.zone-img__frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; }
.zone-img__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .towns-sec__grid { grid-template-columns: 1fr; } .zone-img__frame { aspect-ratio: 4 / 3; } }

/* faq page */
.faq-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); padding-bottom: var(--sc-section); align-items: start; }
.faq-page__aside { position: sticky; top: calc(var(--bar-h) + 2rem); background: var(--sable); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; justify-items: start; }
.faq-page__aside .h3 { margin: 0; }
@media (max-width: 860px) { .faq-page { grid-template-columns: 1fr; } .faq-page__aside { position: static; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); padding-bottom: var(--sc-section); align-items: start; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; min-width: 0; }
.form legend { padding: 0; margin-bottom: 1.25rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .45rem; color: var(--encre); }
.req { color: var(--pin); }
.opt { font-weight: 400; color: var(--encre-doux); font-size: .85rem; }
.field :is(input, select, textarea) {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 10px;
  border: 1px solid var(--filet-fort); background: #FFFDF9; color: var(--encre);
  font-size: 1rem; transition: border-color 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field select { appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F4A3A' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; }
.field :is(input, select, textarea):focus { outline: 2px solid transparent; border-color: var(--pin); box-shadow: 0 0 0 1px var(--pin), 0 0 0 4px rgba(47, 74, 58, .14); }
.field [aria-invalid="true"] { border-color: var(--erreur); border-width: 1.5px; }
.field__err { margin-top: .4rem; color: var(--erreur); font-size: .92rem; font-weight: 500; }
.consent .field__err { grid-column: 2; margin-top: -.25rem; }
.consent { display: grid; grid-template-columns: 1.6rem 1fr; gap: .75rem; align-items: start; margin: .5rem 0 1.75rem; font-size: .95rem; }
.consent input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--pin); }
.consent a { color: var(--pin); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--erreur); outline-offset: 2px; }
.form__err { color: var(--erreur); font-weight: 500; margin-bottom: 1rem; }
.form .fine { margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--bar-h) + 2rem); }
.acard { background: var(--sable); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .8rem; justify-items: start; }
.acard .h3 { margin-top: .4rem; }
.acard p { color: var(--encre); }
.acard--pin { background: var(--pin); color: var(--lin); }
.acard--pin .h3 { color: var(--lin); }
.acard--pin p { color: var(--lin-doux); }
.acard--pin .ico { color: var(--beige); }
.acard .btn { margin-top: .5rem; }
.coords { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.coords li { display: flex; align-items: center; gap: .7rem; min-height: 44px; }
.coords a { color: var(--pin); font-weight: 500; text-underline-offset: .3em; }
.coords .ico { width: 20px; height: 20px; }
.coords__who { color: var(--encre-doux); font-size: .9rem; }
.coords__who::before { content: "· "; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* merci / 404 */
.thanks { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--bar-h) + 4rem); padding-bottom: 4rem; }
.thanks__sym { width: 48px; fill: var(--pin); margin-bottom: 2rem; }
.thanks .h1 { max-width: 16em; }

/* legal */
.legal { max-width: calc(46rem + 2 * var(--sc-gutter)); margin-left: 0; padding-bottom: var(--sc-section); }
.legal .h3 { margin: 2.5rem 0 .75rem; }
.legal .h3:first-child { margin-top: 0; }
.legal p { color: var(--encre); line-height: 1.75; }
.legal a { color: var(--pin); }
.todo { background: var(--beige); color: var(--encre); padding: .05rem .35rem; border-radius: 4px; font-weight: 500; }

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__branch { transform: none !important; }
  .svc__frame img { transform: none !important; }
  .cone__s { transform: none !important; opacity: 1 !important; }
  .map__halo { animation: none; opacity: 0; }
  .map__zone path { transition: none; }
}
.form__err a { color: inherit; }

/* When the price note follows the cards, it carries the bottom space. */
.fgrid--page:has(+ .fine--prix) { padding-bottom: 1.5rem; }

/* The badge sits in the corner so every card's name and price line up. */
.fcard { position: relative; }
.fcard .pill { position: absolute; top: 0; left: clamp(1.5rem, 2.2vw, 2rem); transform: translateY(-50%); margin: 0; box-shadow: 0 2px 6px rgba(31, 46, 37, .18); }
.fgrid:has(.pill) { padding-top: .9rem; }
.ph__ini { white-space: nowrap; }
.prune .ph__ini { font-size: clamp(4.5rem, 9vw, 8rem); }

.zone-sec__ask { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.zone-sec__ask .h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.owned { display: flex; flex-wrap: wrap; gap: 0 2.25rem; border-top: 1px solid var(--filet); }
.owned li { border-top: 0; white-space: nowrap; }
@media (max-width: 560px) { .owned { display: grid; grid-template-columns: 1fr; border-top: 0; } .owned li { border-top: 1px solid var(--filet); } }

/* ------------------------------------------------------------ split text -- */
/* Words rise from a clipped line; the padding keeps descenders and italic
   overhang inside the clip. Only applies once split.js has run. */
[data-split].is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
[data-split].is-split .w__i { display: inline-block; transform: translateY(110%); transition: transform .85s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 45ms); }
[data-split].split-in .w__i { transform: none; }
