/* Amortiz : tokens de charte */
:root {
  --paper: #F7F5F0;
  --ink: #16171B;
  --white: #FFFFFF;
  --green: #1F3D2B;
  --green-on-ink: #4A7A5C;
  --sage: #6B7A6E;
  --filet: #D9D5CB;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-hero: 16px;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.tab, .num, .price-num, .fig-value, .result-value { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* Typo */
.h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
  text-wrap: balance;
}
.lede { color: var(--sage); max-width: 52ch; font-size: 18px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-md);
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  transition: transform .35s var(--ease), background-color .25s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.98) !important; }
.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: #18321F; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  transition: box-shadow .3s ease;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(16px, 2.4vw, 32px);
}
.wordmark {
  position: relative;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.01em;
  padding-bottom: 7px;
}
.ligne { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink); opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--filet); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 767px) {
  .nav { display: none; }
  .site-header { justify-content: space-between; gap: 12px; }
  .site-header .btn-sm { font-size: 13.5px; padding: 0 14px; min-height: 40px; }
}

/* ============ HERO ============ */
.hero { padding: 0 clamp(16px, 1.6vw, 24px); }
.hero-frame {
  position: relative;
  height: calc(100dvh - var(--header-h) - clamp(16px, 1.6vw, 24px));
  min-height: 560px;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  transform-origin: 50% 0%;
  isolation: isolate;
}
.hero-fallback, .hero-poster, .hero-video, .hero-scrim {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-poster, .hero-video { object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-scrim { background: linear-gradient(90deg, rgba(22,23,27,.66) 0%, rgba(22,23,27,.38) 55%, rgba(22,23,27,.22) 100%), linear-gradient(0deg, rgba(22,23,27,.5) 0%, rgba(22,23,27,0) 55%); }
.hero-curve { width: 100%; height: 100%; }
.hero-curve-grid { stroke: var(--green-on-ink); stroke-opacity: .16; stroke-width: 1; fill: none; }
.hero-curve-line {
  fill: none; stroke: var(--green-on-ink); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 3.2s .3s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-curve-line { animation: none; stroke-dashoffset: 0; }
}

.hero-content {
  position: absolute;
  left: clamp(20px, 4.4vw, 72px);
  bottom: clamp(24px, 6vh, 72px);
  max-width: min(880px, 64%);
  z-index: 2;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 72;
  color: var(--paper);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line-a, .hero-title .line-b { display: inline-block; vertical-align: top; }
.hero-sub {
  margin: 22px 0 30px;
  max-width: 44ch;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--paper);
}

.hero-figure {
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 2;
  width: 330px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 22px 24px 20px;
}
.fig-label { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.fig-value { margin-top: 8px; font-size: 15px; color: var(--ink); line-height: 1.1; }
.fig-value .num { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; }
.fig-value span:last-child { font-size: 30px; font-weight: 500; }
.fig-caption { margin-top: 6px; font-size: 14px; color: var(--sage); }
.fig-hyp { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--filet); font-size: 13px; line-height: 1.45; color: var(--sage); }

@media (max-width: 1023px) {
  .hero-content { max-width: calc(100% - 40px); bottom: auto; top: clamp(28px, 6vh, 56px); }
}
@media (max-width: 767px) {
  .hero-frame { min-height: 0; }
  .hero-content { left: 20px; right: 20px; top: 28px; }
  .hero-title { font-size: clamp(40px, 11vw, 52px); }
  .hero-sub { margin: 14px 0 20px; font-size: 16px; }
  .hero-figure { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 18px; }
  .fig-value .num { font-size: 34px; }
  .fig-value span:last-child { font-size: 24px; }
  .fig-hyp { margin-top: 10px; padding-top: 10px; font-size: 12px; }
}

/* ============ MÉDIAS + FALLBACK ============ */
.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--ink);
}
.media-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.media img, .media-video {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  color: transparent;
}
.media-video { opacity: 0; transition: opacity 1s ease; }
.media-video.is-playing { opacity: 1; }

/* ============ COMPARATEUR : même loyer, deux impôts ============ */
.compare {
  max-width: var(--max);
  margin: clamp(96px, 14vw, 200px) auto 0;
  padding: 0 var(--gutter);
}
.compare-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(24px, 4vw, 56px);
}
.compare-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.compare-head .h2 { font-size: clamp(34px, 4.4vw, 64px); }
.compare-rent { color: var(--sage); font-size: 16px; }
.cmp {
  --base: 50%; --tax: 23.6%;
  margin-top: clamp(24px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px clamp(24px, 5vw, 80px);
  align-items: end;
}
.cmp[data-state="reel"] { --base: 1.5%; --tax: 0%; }
.cmp-toggle { grid-column: 1 / -1; }
.cmp-rows { display: grid; gap: 18px; }
.cmp-row { display: grid; grid-template-columns: 92px 1fr 104px; align-items: center; gap: 14px; }
.cmp-name { font-size: 14px; color: var(--sage); }
.cmp-track { height: 22px; background: #F1EEE6; border-radius: 4px; overflow: hidden; }
.cmp-bar { display: block; height: 100%; border-radius: 4px; width: 100%; transition: width .9s var(--ease), background-color .5s ease; }
.cmp-bar-rent { background: var(--filet); }
.cmp-bar-base { background: var(--sage); width: var(--base); }
.cmp-bar-tax { background: var(--green); width: var(--tax); }
.cmp-val { text-align: right; font-size: 15px; font-weight: 600; white-space: nowrap; }
.cmp-result {
  container-type: inline-size;
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 6px;
  justify-items: start;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--filet);
}
.cmp-result-label { font-size: 14px; color: var(--sage); }
.cmp-result-num {
  display: block;
  max-width: 100%;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 17cqw, 104px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--ink);
  transition: color .4s ease;
}
.cmp[data-state="reel"] .cmp-result-num { color: var(--green); }
.compare-note { margin-top: 28px; font-size: 12.5px; line-height: 1.5; color: #5C6A5F; max-width: 80ch; }
@media (max-width: 899px) {
  .cmp { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 78px 1fr 88px; gap: 10px; }
  .cmp-result { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--filet); }
  .cmp-result-num { font-size: clamp(40px, 18cqw, 88px); }
}

/* ============ RYTHME : frise annuelle ============ */
.rhythm {
  max-width: var(--max);
  margin: clamp(120px, 16vw, 220px) auto 0;
  padding: 0 var(--gutter);
}
.rhythm-title { max-width: 24ch; font-size: clamp(30px, 3.8vw, 54px); }
.year { margin-top: clamp(48px, 6vw, 80px); }
.year-months, .year-track {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.year-months { margin-left: 240px; font-size: 13px; color: var(--sage); padding-bottom: 12px; border-bottom: 1px solid var(--filet); }
.year-row { display: grid; grid-template-columns: 240px 1fr; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--filet); }
.year-name { font-size: 16px; font-weight: 500; padding-right: 24px; }
.year-row:not(.year-row-amortiz) .year-name { color: var(--sage); }
.year-track { position: relative; min-height: 40px; align-items: center; }
.mark {
  grid-column: calc(var(--m) + 1) / span 3;
  border: 1px solid var(--green);
  grid-row: 1;
  justify-self: start;
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.mark-muted { background: transparent; color: var(--sage); border-color: var(--sage); font-weight: 500; }
.track-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--green); opacity: .9; }
.rhythm-note { margin-top: 22px; color: var(--sage); font-size: 15px; }

@media (max-width: 899px) {
  .year-months { display: none; }
  .year-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .year-track { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 4px 0 4px 18px; border-left: 2px solid var(--green); }
  .year-row:not(.year-row-amortiz) .year-track { border-left-color: var(--filet); }
  .mark { grid-column: auto; grid-row: auto; border: 0; background: none; padding: 0; font-size: 15px; color: var(--ink); font-weight: 500; }
  .mark-muted { color: var(--sage); }
  .track-line { display: none; }
}

/* ============ MÉTHODE (épinglée) ============ */
.method { margin-top: clamp(120px, 16vw, 220px); }
.method-pin {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  min-height: calc(100dvh - var(--header-h));
}
.verbs { list-style: none; margin: 28px 0 0; padding: 0; }
.verb { padding: 16px 0; }
.verb + .verb { border-top: 1px solid var(--filet); }
.verb-word {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72;
}
.verb p { margin-top: 6px; max-width: 46ch; color: var(--sage); font-size: 16px; }
.method-note {
  margin-top: 28px;
  font-size: 15px;
  padding: 14px 16px;
  border-left: 2px solid var(--green);
  background: var(--white);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  max-width: 52ch;
}
.media-method { aspect-ratio: 4 / 5; max-height: 78dvh; width: 100%; }

@media (min-width: 768px) {
  .js-motion .verb { opacity: .3; }
  .js-motion .verb.is-active { opacity: 1; }
  .js-motion .verb { transition: opacity .5s var(--ease); }
}
@media (max-width: 767px) {
  .method-pin { grid-template-columns: 1fr; min-height: 0; }
  .media-method { aspect-ratio: 16 / 9; order: -1; }
}

/* ============ PREUVE CHIFFRÉE ============ */
.proof {
  max-width: var(--max);
  margin: clamp(120px, 16vw, 220px) auto 0;
  padding: 0 var(--gutter);
}
.proof-num {
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(88px, 18vw, 280px);
  line-height: .95;
  letter-spacing: -0.05em;
  color: var(--green);
}
.proof-line { margin-top: 12px; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; max-width: 28ch; font-family: var(--serif); font-weight: 350; }
.proof-note { margin-top: 18px; font-size: 13px; color: #5C6A5F; }

/* ============ BANDE VIDÉO ============ */
.media-band { aspect-ratio: 21 / 8; width: 100%; border-radius: 0; margin-top: clamp(96px, 12vw, 180px); }
@media (max-width: 767px) { .media-band { aspect-ratio: 4 / 3; } }

/* ============ TARIFS ============ */
.pricing {
  max-width: var(--max);
  margin: clamp(120px, 16vw, 220px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.price { margin-top: 20px; display: flex; align-items: baseline; gap: 14px; }
.price-num { font-size: clamp(72px, 9vw, 132px); font-weight: 500; letter-spacing: -0.04em; line-height: .9; color: var(--green); }
.price-unit { font-size: 18px; color: var(--sage); white-space: nowrap; }
.pricing-copy { margin-top: 20px; max-width: 34ch; }
.ledger {
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 44px);
  display: grid;
  gap: 28px;
}
.ledger dl { margin: 0; }
.ledger-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; }
.ledger-row + .ledger-row { border-top: 1px solid var(--filet); }
.ledger dt { color: var(--sage); font-size: 15px; }
.ledger dd { margin: 0; font-size: 16px; }
.ledger dd .tab { font-weight: 600; font-size: 18px; }
.ledger dd small { display: block; margin-top: 4px; color: var(--sage); font-size: 13.5px; line-height: 1.45; }
.ledger-included { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.ledger-included li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.ledger-included li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--green); }

@media (max-width: 899px) {
  .pricing { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 1fr; gap: 4px; }
  .ledger-included { grid-template-columns: 1fr; }
}

/* ============ ESTIMATION ============ */
.estimate {
  max-width: var(--max);
  margin: clamp(120px, 16vw, 200px) auto 0;
  padding: clamp(32px, 5vw, 72px) var(--gutter);
  border-top: 1px solid var(--filet);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 6vw, 96px);
}
.estimate-intro .lede { margin-top: 18px; }
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; align-content: start; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.help { font-size: 13.5px; color: #5C6A5F; }
.input-unit { position: relative; }
.input-unit span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--sage); }
input[type=number], select {
  width: 100%;
  height: 52px;
  padding: 0 40px 0 16px;
  font: 500 17px var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #B9B4A8;
  border-radius: var(--r-sm);
  appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
fieldset.field { grid-column: 1 / -1; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label { position: relative; font-weight: 500; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid #B9B4A8; border-radius: var(--r-sm); background: var(--white); cursor: pointer; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.result {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--green);
}
.result-label { font-size: 14px; color: var(--sage); }
.result-value { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.result-note { font-size: 13.5px; color: #5C6A5F; max-width: 62ch; }

@media (max-width: 899px) {
  .estimate { grid-template-columns: 1fr; }
  .estimate-form { grid-template-columns: 1fr; }
  .result-value { font-size: 21px; }
}

/* ============ FAQ ============ */
.faq {
  max-width: var(--max);
  margin: clamp(96px, 12vw, 180px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-title { position: sticky; top: calc(var(--header-h) + 32px); max-width: 14ch; }
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 44px 24px 0; color: #4A564C; max-width: 62ch; }
@media (max-width: 899px) {
  .faq { grid-template-columns: 1fr; }
  .faq-title { position: static; }
}

/* ============ CLÔTURE ============ */
.closing { margin-top: clamp(120px, 16vw, 220px); position: relative; }
.media-closing { aspect-ratio: 21 / 9; border-radius: 0; width: 100%; }
.closing-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.closing-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 16ch;
  background: var(--paper);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 clamp(20px, 2.4vw, 36px);
  margin-top: calc(-1 * clamp(80px, 9vw, 140px));
  margin-left: calc(-1 * clamp(20px, 2.4vw, 36px));
  position: relative;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
@media (max-width: 767px) {
  .media-closing { aspect-ratio: 4 / 3; }
  .closing-title { margin-top: -56px; padding: 22px 22px 0 16px; margin-left: -16px; }
}

/* ============ FOOTER ============ */
.site-footer {
  max-width: var(--max);
  margin: clamp(96px, 12vw, 160px) auto 0;
  padding: 36px var(--gutter) 48px;
  border-top: 1px solid var(--filet);
}
.footer-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-mark { font-family: var(--serif); font-size: 24px; }
.footer-top nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-top nav a { font-size: 14px; color: #4A564C; }
.legal { margin-top: 24px; font-size: 13px; line-height: 1.6; color: #5C6A5F; max-width: 110ch; }

/* =====================================================================
   TUNNEL CLIENT (estimer.html) ET PAGE CONFIDENTIALITÉ
   Bloc ajouté : réutilise les tokens et composants existants.
   ===================================================================== */
.funnel {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 120px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.funnel-title { font-size: clamp(34px, 4.2vw, 56px); max-width: 12ch; }
.funnel-intro .lede { margin-top: 18px; }
.funnel-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: clamp(22px, 3vw, 40px);
}
.field-wide { grid-column: 1 / -1; }
.funnel-form[hidden], .funnel-form [hidden] { display: none; }
.optional { font-weight: 400; color: var(--sage); }
.funnel-form input[type=text],
.funnel-form input[type=email],
.funnel-form input[type=tel] {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font: 500 17px var(--sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #B9B4A8;
  border-radius: var(--r-sm);
  appearance: none;
}
.funnel-form select { padding-right: 40px; }
.funnel-form input:focus-visible, .funnel-form select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.funnel-form [aria-invalid="true"] { border: 2px solid var(--ink); }
.field-error { font-size: 14px; font-weight: 600; color: var(--ink); }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.consent-row input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.consent-row label { font-weight: 400; font-size: 15px; line-height: 1.5; }
.consent .help a { color: var(--green); }
.funnel-actions .btn { width: 100%; font-size: 16px; border: 0; cursor: pointer; }
.funnel-actions .btn[disabled] { opacity: .6; cursor: progress; }
.funnel-status { font-size: 15px; min-height: 1.5em; }
.funnel-status:empty { display: none; }
.funnel-status a { color: var(--green); font-weight: 600; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.funnel-success {
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--green);
  padding: clamp(24px, 3vw, 40px);
  font-size: 17px;
  max-width: 60ch;
}
.funnel-success:focus { outline: none; }
.funnel-success-title { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 10px; }

@media (min-width: 900px) {
  .funnel-actions .btn { width: auto; }
}
@media (max-width: 899px) {
  .funnel { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .funnel-form { grid-template-columns: 1fr; }
}

.doc {
  max-width: 760px;
  margin: clamp(48px, 8vw, 120px) auto 0;
  padding: 0 var(--gutter);
}
.doc > .lede { margin-top: 18px; }
.doc-section { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--filet); }
.doc-section h2 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.doc-section h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
.doc-section p { max-width: 65ch; }
.doc-section a { color: var(--green); }
.placeholder { background: var(--white); color: var(--ink); border: 1px dashed var(--ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Légende sur la bande vidéo */
.media-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(22,23,27,.55) 0%, rgba(22,23,27,0) 55%); }
.media-caption { position: absolute; z-index: 2; left: clamp(20px, 4.4vw, 72px); bottom: clamp(18px, 3.4vw, 48px); right: 20px; margin: 0; font-family: var(--serif); font-weight: 350; font-size: clamp(24px, 3.4vw, 52px); line-height: 1.08; letter-spacing: -0.01em; color: var(--paper); }
@media (max-width: 767px) { .hero-scrim { background: linear-gradient(180deg, rgba(22,23,27,.72) 0%, rgba(22,23,27,.40) 55%, rgba(22,23,27,.55) 100%); } }


/* ============ AJOUTS 09/10 : clarté des chiffres, garantie, calculateur ============ */
[hidden] { display: none !important; }
.fig-caption strong { color: var(--green); font-weight: 600; }
.proof-line strong { font-weight: 500; color: var(--green); }
.proof-detail { margin-top: 14px; font-size: 15px; color: var(--sage); max-width: 52ch; }
.em-annual { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--green); }
.field .help strong { color: var(--ink); }
.result-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 4px; padding-top: 14px; border-top: 1px solid var(--filet); }
.result-year { display: grid; gap: 2px; align-content: start; }
.ry-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.ry-val { font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; line-height: 1.3; color: var(--green); }
@media (max-width: 599px) { .result-years { grid-template-columns: 1fr; } }

/* Garantie */
.guarantee { max-width: var(--max); margin: clamp(120px, 16vw, 200px) auto 0; padding: 0 var(--gutter); }
.guarantee-head { max-width: 62ch; }
.guarantee-head .h2 { margin-top: 12px; }
.guarantee-head .lede { margin-top: 18px; }
.guarantee-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guarantee-card { background: var(--white); border-radius: var(--r-md); border-left: 3px solid var(--green); padding: clamp(24px, 3vw, 40px); }
.guarantee-step { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.guarantee-card h3 { margin-top: 10px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 400; text-wrap: balance; }
.guarantee-card p:not(.guarantee-step) { margin-top: 14px; color: #4A564C; }
.guarantee-card strong { color: var(--ink); font-weight: 600; }
.guarantee-note { margin-top: 18px; font-size: 13.5px; color: #5C6A5F; }
@media (max-width: 899px) { .guarantee-grid { grid-template-columns: 1fr; } }
