:root {
  --cream: #F4EEE3;
  --paper: #FAF6EF;
  --sand: #EBE2D3;
  --roast: #2B1E16;
  --copper: #9A5A2E;
  --copper-text: #95542B;
  --copper-light: #D49262;
  --copper-dot: #B06A3B;
  --ink-soft: #5E4E42;
  --ink-mute: #6E5D50;
  --on-dark: #CDBFB0;
  --rule: rgba(43, 30, 22, .2);
  --rule-soft: rgba(43, 30, 22, .1);
  --rule-dark: rgba(244, 238, 227, .2);
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--roast);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--copper-text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--roast); }
input, textarea, button { font: inherit; color: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
ol { list-style: none; margin: 0; padding: 0; }
img { display: block; }
[hidden] { display: none !important; }

.page { min-height: 100vh; background: var(--cream); overflow-x: clip; }

/* ── Shared ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-text);
}
.eyebrow--light { color: var(--copper-light); }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.balance { text-wrap: balance; }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}
.section--narrow { max-width: 1040px; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head--flush { margin-bottom: 0; }
.section-head--faq { margin-bottom: 40px; }

.band {
  background: var(--paper);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--header {
  background: var(--roast);
  color: var(--paper);
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.btn--header:hover { background: var(--copper); color: var(--paper); }
.btn--primary {
  background: var(--copper);
  color: var(--paper);
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 600;
}
.btn--primary:hover { background: var(--roast); color: var(--paper); }
.btn--primary:disabled { opacity: .6; cursor: progress; }
.btn--copper {
  align-self: flex-start;
  background: var(--copper-light);
  color: var(--roast);
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 600;
  margin-top: 8px;
}
.btn--copper:hover { background: var(--cream); color: var(--roast); }

.media { background: var(--sand); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { aspect-ratio: 4 / 5; border-radius: 4px; }
.media--square { aspect-ratio: 1 / 1; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 238, 227, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  text-decoration: none;
  color: var(--roast);
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .02em;
}
.logo:hover { color: var(--roast); }
.logo__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-dot);
  margin-left: 3px;
}

/* ── 1. Hero ────────────────────────────────────────── */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--gutter) clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--copper); }
.hero__lead {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.hero__places { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.hero__places-num { font-family: var(--serif); font-size: 28px; color: var(--roast); }
.hero__visual { position: relative; }
.hero__chips {
  position: absolute;
  top: 22px;
  right: -12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chip {
  background: var(--paper);
  border: 1px solid rgba(43, 30, 22, .12);
  padding: 10px 14px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}
.chip--dark { background: var(--roast); color: var(--paper); border: 0; }
.caption { margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); }

/* ── 2. Problème ────────────────────────────────────── */
.problem { background: var(--roast); color: var(--cream); }
.problem__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.problem__text {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.18;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.problem__text em { color: var(--copper-light); }

/* ── 3. Étapes ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.step { display: flex; flex-direction: column; gap: 18px; }
.step__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.step__num { font-family: var(--serif); font-size: 20px; color: var(--copper); }
.step__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.step__text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }

/* ── 4. Paramètres ──────────────────────────────────── */
.params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  border-top: 1px solid var(--rule);
}
.param {
  padding: 32px 28px 36px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.param__head { display: flex; justify-content: space-between; align-items: center; }
.param__label { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.param svg { fill: var(--copper); flex: none; }
.param svg .stroke { fill: none; stroke: var(--copper); stroke-width: 1.5; }
.param__value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 80px);
  line-height: .9;
  letter-spacing: -.02em;
}
.param__value span { font-size: .4em; margin-left: 8px; color: var(--ink-mute); }
.note { margin: 24px 0 0; font-family: var(--mono); font-size: 12px; color: var(--ink-mute); }

/* ── 5. Bénéfices ───────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(40px, 6vw, 80px);
}
.benefit-list { display: flex; flex-direction: column; }
.benefit { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.benefit:last-child { border-bottom: 1px solid var(--rule); }
.benefit__num { font-family: var(--serif); font-size: 20px; color: var(--copper); min-width: 28px; }
.benefit p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }

/* ── 6. Offre ───────────────────────────────────────── */
.offer-wrap { padding: 0 clamp(12px, 2vw, 24px); }
.offer {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--roast);
  color: var(--cream);
  border-radius: 6px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(48px, 6vw, 88px);
}
.offer__main { display: flex; flex-direction: column; gap: 28px; }
.offer__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.counter { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.counter__row { display: flex; align-items: baseline; gap: 12px; }
.counter__num { font-family: var(--serif); font-size: clamp(64px, 7vw, 96px); line-height: .9; color: var(--copper-light); }
.counter__label { font-size: 16px; color: var(--on-dark); }
.ticks { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; max-width: 420px; }
.ticks span { height: 22px; border-radius: 2px; background: var(--copper-light); border: 1px solid rgba(244, 238, 227, .25); }
.ticks span.taken { background: transparent; }
.offer__list { margin: 0; display: flex; flex-direction: column; }
.offer__item {
  padding: 24px 0;
  border-top: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.offer__item--last { border-bottom: 1px solid var(--rule-dark); }
.offer__item dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-light);
}
.offer__item dd { margin: 0; font-size: 17px; line-height: 1.55; }
.offer__item strong { font-weight: 600; }
.offer__free { margin: 0; font-family: var(--serif); font-size: 26px; font-style: italic; }

/* ── 7. Calendrier ──────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 0 28px;
}
.milestone { display: flex; flex-direction: column; gap: 14px; padding: 0 0 32px; }
.milestone__track { display: flex; align-items: center; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--copper); flex: none; }
.dot--filled { background: var(--copper); border: 0; }
.dot--muted { border-color: rgba(43, 30, 22, .4); }
.line { flex: 1; height: 1px; background: rgba(43, 30, 22, .25); }
.line--dashed { background: repeating-linear-gradient(90deg, rgba(43, 30, 22, .25) 0 4px, transparent 4px 8px); }
.milestone__when { font-family: var(--serif); font-size: 28px; }
.milestone__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ── 8. Formulaire ──────────────────────────────────── */
.band--form { scroll-margin-top: 60px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.form-intro { display: flex; flex-direction: column; gap: 18px; }
.form-intro__text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.tally-embed {
  display: block;
  width: 100%;
  min-height: 200px;
  border: 0;
}

/* ── 9. FAQ ─────────────────────────────────────────── */
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.faq__sign { font-family: var(--sans); font-size: 26px; color: var(--copper); flex: none; }
.faq__sign::before { content: '+'; }
.faq details[open] .faq__sign::before { content: '−'; }
.faq details p { margin: 0 0 28px; max-width: 44em; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }

/* ── 10. Footer ─────────────────────────────────────── */
.site-footer { background: var(--roast); color: var(--on-dark); }
.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.logo--footer { font-size: 32px; color: var(--cream); gap: 0; }
.logo--footer .logo__dot { width: 7px; height: 7px; background: var(--copper-light); }
.site-footer__tagline { font-family: var(--serif); font-style: italic; font-size: 17px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.site-footer__nav a { color: var(--on-dark); }
.site-footer__nav a.site-footer__mail { color: var(--cream); }
.site-footer__nav a:hover { color: var(--copper-light); }
.site-footer__legal {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter) 32px;
  font-family: var(--mono);
  font-size: 11px;
  color: #9C8B7C;
}

/* ── Legal pages ────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter); }
.legal h1 { margin: 14px 0 32px; font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5vw, 56px); line-height: 1.08; letter-spacing: -.015em; }
.legal h2 { margin: 40px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.legal .todo { background: var(--sand); padding: 0 4px; border-radius: 2px; color: var(--roast); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
