/* ========================================================================
   Delemartp — Terrassement a Romazy
   Design system: Earth tones, warm, human
   Fonts: Lora (display) + Inter (body)
   ======================================================================== */

/* ---------- Design system ---------- */
:root {
  --bg: #FAF8F5;
  --bg-elev: #F0EBE3;
  --bg-deep: #2C1E14;
  --ink: #3D2B1F;
  --ink-soft: #5C4A3D;
  --mute: #8B7B6E;
  --line: #D9CCBE;
  --line-strong: #C4B5A3;
  --accent: #8B5E3C;
  --accent-2: #6B4A2E;
  --hl: #C67A4B;

  --font-display: 'Lora', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- Grain overlay (subtle texture) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.serif { font-family: var(--font-display); font-optical-sizing: auto; }
.italic { font-style: italic; }
.block { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-elev); }
.btn--inverse { background: var(--bg); color: var(--accent); }
.btn--inverse:hover { background: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(250, 248, 245, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(250, 248, 245, .88); }
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
}
.brand__name { font-weight: 400; }
.brand__name em { font-style: italic; font-weight: 500; }

.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .4s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all .3s var(--ease);
}
.nav__cta:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }

@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 480px) {
  .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__content { position: relative; z-index: 2; }
.hero__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 36px;
}
.hero__meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hl);
  box-shadow: 0 0 0 4px rgba(198, 122, 75, .15);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: .96;
  letter-spacing: -.025em;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero h1 .block { display: block; }
.hero__sub {
  margin-top: 32px;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero__cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-elev);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.03);
  transform: scale(1.05);
  transition: transform 1.6s var(--ease);
}
.hero__visual:hover img { transform: scale(1.08); }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(44, 30, 20, .35));
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  color: var(--bg);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__tag::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.hero__floating {
  position: absolute;
  right: calc(var(--gutter) - 8px);
  top: 160px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--mute);
  writing-mode: vertical-rl;
  letter-spacing: .04em;
}

@media (max-width: 960px) {
  .hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { aspect-ratio: 4 / 3; max-height: 60vh; }
  .hero__floating { display: none; }
}

/* ---------- Section base ---------- */
section { position: relative; }
.section { padding-block: clamp(80px, 12vw, 160px); }
.section__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.section__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.section__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42ch;
  padding-bottom: 8px;
}
@media (max-width: 860px) {
  .section__head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}

/* ---------- Confidence strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 36px;
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strip__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-inline: 4px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.02em;
}
.strip__num em { font-style: italic; color: var(--hl); }
.strip__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
@media (max-width: 760px) {
  .strip__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 420px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .strip__item:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 44px 36px 44px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  position: relative;
  transition: background .5s var(--ease);
}
.service:nth-child(odd) { padding-right: 44px; border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 44px; }
.service:hover { background: rgba(198, 122, 75, .04); }
.service__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  color: var(--line-strong);
  transition: color .5s var(--ease);
}
.service:hover .service__num { color: var(--accent); }
.service__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.service__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 42ch;
}
.service__arrow {
  position: absolute;
  top: 44px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--line-strong);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.service:nth-child(even) .service__arrow { right: 0; }
.service:hover .service__arrow { color: var(--accent); transform: translate(4px, -4px); }
@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .service { padding: 36px 0 !important; border-right: 0 !important; }
}

/* ---------- Methode ---------- */
.method {
  background: var(--bg-elev);
  padding-block: clamp(80px, 12vw, 160px);
}
.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.method__steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: var(--line-strong);
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%);
  background-size: 12px 1px;
}
.step { position: relative; padding-right: 16px; }
.step__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 35px;
  margin-bottom: 32px;
  box-shadow: 0 0 0 6px var(--bg-elev);
  position: relative;
  z-index: 1;
}
.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--hl);
  letter-spacing: .04em;
  margin-bottom: 8px;
  display: block;
}
.step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .method__steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .method__steps::before { display: none; }
}
@media (max-width: 520px) {
  .method__steps { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
}
.about__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.02);
}
.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(44, 30, 20, .25));
}
.about__caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: var(--bg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  z-index: 2;
}
.about__content h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.about__content h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.about__content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}
.about__content p + p { margin-top: 20px; }
.about__sig {
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  display: inline-block;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.about__sig small {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1100px;
  margin-inline: auto;
}
.gallery__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  min-height: 0;
}
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
}
.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.08) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.gallery__btn::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 248, 245, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M4 8h8M8 4v8' stroke='%23272420' stroke-width='1.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(.9) translateY(-4px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  z-index: 2;
}
.gallery__btn:hover::after,
.gallery__btn:focus-visible::after { opacity: 1; }
.gallery__btn:hover::before,
.gallery__btn:focus-visible::before { opacity: 1; transform: scale(1) translateY(0); }
.gallery__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.gallery__item > .gallery__btn > img,
.gallery__item > img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  filter: saturate(.92) contrast(1.02);
  transition: transform .8s var(--ease);
}
.gallery__item:hover > .gallery__btn > img,
.gallery__item:hover > img { transform: scale(1.025); }
.gallery__cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.gallery__kind {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.gallery__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .gallery__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, .92);
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  padding: 40px 60px 60px;
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 1100px;
  margin: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: scale(.98);
  transition: transform .4s var(--ease);
}
.lightbox[aria-hidden="false"] .lightbox__img { transform: scale(1); }
.lightbox__cap {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(250, 248, 245, .85);
  text-align: center;
  max-width: 60ch;
  line-height: 1.5;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(250, 248, 245, .08);
  border: 1px solid rgba(250, 248, 245, .18);
  color: var(--bg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(250, 248, 245, .18); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 640px) {
  .lightbox { padding: 24px 16px 40px; }
  .lightbox__close { top: 16px; right: 16px; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__img { max-height: 72vh; }
}
body.lightbox-open { overflow: hidden; }

/* ---------- Compare (Avant / Après) ---------- */
.compare__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.compare__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}
.compare__item figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  padding: 0 12px;
}
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba__after,
.ba__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  filter: saturate(.95) contrast(1.02);
}
.ba__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__label {
  position: absolute;
  top: 16px;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(250, 248, 245, .82);
  color: var(--ink);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(44, 30, 20, .12);
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: ew-resize;
  display: grid;
  place-items: center;
  touch-action: none;
}
.ba__handle::before,
.ba__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(44, 30, 20, .25);
}
.ba__handle::before { top: 0; bottom: calc(50% + 22px); }
.ba__handle::after  { top: calc(50% + 22px); bottom: 0; }
.ba__handle svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  box-shadow: 0 6px 20px rgba(44, 30, 20, .22);
  transition: transform .35s var(--ease);
}
.ba:hover .ba__handle svg,
.ba__handle:focus-visible svg {
  transform: scale(1.06);
}
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible svg {
  box-shadow: 0 0 0 4px rgba(198, 122, 75, .28), 0 6px 20px rgba(44, 30, 20, .22);
}

@media (max-width: 860px) {
  .compare__list { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--bg-elev);
  padding-block: clamp(80px, 12vw, 140px);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(198, 122, 75, .06), transparent 60%);
  pointer-events: none;
}
.testimonial__inner {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
}
.testimonial__inner > .eyebrow { margin-bottom: 32px; }
.testimonial__quote-wrap {
  position: relative;
  padding-left: 80px;
}
.testimonial__mark {
  position: absolute;
  left: 0;
  top: -28px;
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
  font-style: italic;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -.005em;
  color: var(--ink);
  border: 0;
  margin: 0;
  padding: 0;
}
.testimonial__meta {
  margin-top: 44px;
  padding-top: 28px;
  padding-left: 80px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.testimonial__detail {
  font-size: 13px;
  color: var(--mute);
  margin-top: 4px;
}
.testimonial__source { text-align: right; }
.testimonial__stars {
  display: inline-flex;
  gap: 3px;
  color: var(--hl);
}
.testimonial__platform {
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .testimonial__quote-wrap { padding-left: 0; padding-top: 56px; }
  .testimonial__mark { font-size: 96px; top: -16px; left: -4px; }
  .testimonial__meta { padding-left: 0; }
  .testimonial__source { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ''; }
.faq__item:hover summary { color: var(--accent); }
.faq__icon {
  flex: 0 0 auto;
  color: var(--accent);
  transition: transform .4s var(--ease);
}
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item p {
  padding: 0 4px 32px;
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- Coverage ---------- */
.coverage {
  padding-block: clamp(100px, 14vw, 180px);
  overflow: hidden;
}
.coverage__eyebrow { margin-bottom: 24px; }
.coverage__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 12vw, 192px);
  line-height: .88;
  letter-spacing: -.035em;
  color: var(--ink);
}
.coverage__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.coverage__title .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  font-weight: 400;
}
.coverage__divider {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.coverage__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
}
.coverage__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
}
.coverage__cities span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.coverage__cities span:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
@media (max-width: 760px) {
  .coverage__divider { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Final CTA ---------- */
.cta-final {
  background: var(--bg-deep);
  color: var(--bg);
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(198, 122, 75, .12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 100%, rgba(198, 122, 75, .08), transparent 60%);
  pointer-events: none;
}
.cta-final .wrap { position: relative; }
.cta-final__label {
  color: rgba(250, 248, 245, .6);
  margin-bottom: 32px;
}
.cta-final__label::before { background: rgba(250, 248, 245, .6); }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  line-height: .96;
  letter-spacing: -.025em;
  max-width: 14ch;
}
.cta-final h2 em { font-style: italic; color: var(--hl); font-weight: 400; }
.cta-final__row {
  margin-top: 56px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(250, 248, 245, .12);
}
.cta-final__line {
  font-size: 14px;
  color: rgba(250, 248, 245, .7);
  max-width: 40ch;
  flex: 1 1 280px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg);
  padding-top: 80px;
  padding-bottom: 40px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
}
.foot__brand em { font-style: italic; color: var(--accent); font-weight: 400; }
.foot__tagline {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.foot__col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 20px;
}
.foot__col ul { display: flex; flex-direction: column; gap: 12px; }
.foot__col a, .foot__col li {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .3s var(--ease);
}
.foot__col a:hover { color: var(--accent); }

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  font-size: 12px;
  color: var(--mute);
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; }
}

/* ---------- Legal page (mentions légales) ---------- */
.legal-hero {
  padding-top: clamp(120px, 18vw, 200px);
  padding-bottom: clamp(48px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-top: 18px;
}
.legal-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.legal-hero__sub {
  margin-top: 24px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal {
  padding-block: clamp(56px, 9vw, 112px);
}
.legal__section {
  max-width: 780px;
  margin-inline: auto;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.legal__section:last-of-type { border-bottom: 0; }
.legal__section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--ink);
}
.legal__section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 70ch;
}
.legal__section p:last-child { margin-bottom: 0; }
.legal__section strong { color: var(--ink); font-weight: 500; }
.legal__section a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.legal__section a:hover { border-bottom-color: var(--accent); }
.legal__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 4px;
}
.legal__list > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.55;
}
.legal__list > div:last-child { border-bottom: 0; }
.legal__list dt {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 2px;
}
.legal__list dd { color: var(--ink); font-weight: 400; }
.legal__back {
  max-width: 780px;
  margin: 56px auto 0;
  text-align: center;
}
.legal__back .btn { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 640px) {
  .legal__list > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .legal__list dt { font-size: 10px; }
  .legal__list dd { font-size: 15px; }
}

/* ---------- Reveal animation (JS-guarded) ---------- */
/* By default, content is fully visible — critical fallback if JS fails */
[data-reveal] { opacity: 1; transform: none; }

/* When JS is available, elements start hidden and animate in on view */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Hero stagger — elements are in view on load, delays create the sequence */
.js .hero .hero__meta[data-reveal]    { transition-delay: .10s; }
.js .hero .hero__visual[data-reveal]  { transition-delay: .18s; }
.js .hero h1[data-reveal]             { transition-delay: .22s; }
.js .hero .hero__sub[data-reveal]     { transition-delay: .38s; }
.js .hero .hero__cta[data-reveal]     { transition-delay: .52s; }

/* ---------- Prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
