:root {
  --ink: #123f39;
  --green: #cbfc86;
  --paper: #fcfbf5;
  --line: #c6d1c5;
  --margin: max(6vw, calc((100vw - 1300px)/2));
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
header, footer { padding: 1.15rem var(--margin); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.8rem; font-weight: 850; letter-spacing: -.075em; }
.brand i { width: .9em; height: 1.15em; border: .22em solid currentColor; border-radius: 45%; transform: rotate(32deg); position: relative; }
.brand i::after { content: ''; position: absolute; width: .64em; height: .14em; background: var(--paper); left: -.12em; top: .27em; transform: rotate(-48deg); }
.button { display: inline-flex; min-height: 46px; gap: 1.25em; align-items: center; justify-content: center; padding: .8em 1.3em; background: var(--ink); color: white; font-weight: 650; text-decoration: none; border-radius: 100px; }
.button:hover { background: #256154; }
.button span { color: var(--green); }
:focus-visible { outline: 3px solid #ca672f; outline-offset: 4px; }
main > section { padding: clamp(48px,7vw,100px) var(--margin); }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 4%; }
h1, h2, strong { letter-spacing: -.058em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3rem,5.25vw,5.2rem); }
h1 em { font: italic 1.03em/1.03 Georgia, serif; color: #387563; }
p, li { font-size: 1.06rem; line-height: 1.58; }
.hero p { margin: 1.4rem 0 1.7rem; max-width: 46ch; }
figure { background-color: #e7eddf; background-image: radial-gradient(#a7bba8 1px, transparent 1px); background-size: 13px 13px; border: 1px solid var(--line); border-radius: 32px 32px 80px 32px; }
figure svg { width: 100%; height: auto; display: block; }
h2 { font-size: clamp(2rem,3.3vw,3.6rem); }
.problem, .faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: start; }
.problem { background: var(--ink); color: #eef4e6; }
.problem p { color: #d7e3d8; }
.solution h2 { max-width: 730px; }
ol { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; padding: 0; margin: 3rem 0 0; list-style: none; counter-reset: step; }
li { border-top: 1px solid var(--line); counter-increment: step; }
li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1.15rem; color: #477362; margin: 1rem 0; font-variant-numeric: tabular-nums; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 0; }
article { background: #e8eee1; border-radius: 22px; padding: clamp(24px,4vw,54px); }
article + article { background: var(--green); }
article h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 2rem; }
strong { display: block; font-size: 3rem; }
small { font: 550 1rem system-ui; letter-spacing: 0; }
article p { margin: 1rem 0; }
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1rem 0; font-weight: 650; }
details p { padding-bottom: 1rem; }
#liste-attente { background: var(--ink); color: white; }
#liste-attente h2 { max-width: 750px; }
#liste-attente p { margin-top: 1.5rem; color: var(--green); }
@media (max-width: 760px) {
  .hero, .problem, .faq, .prices, ol { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(2.4rem,9vw,3.9rem); }
  header .button { font-size: .79rem; gap: .45rem; }
  header .brand { font-size: 1.45rem; }
  main .button { width: 100%; }
  ol { margin-top: 1.5rem; }
}

/* Page de confirmation du paiement */
.thank-you {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 1.15rem;
  padding-top: clamp(72px, 8vw, 120px);
}
.thank-you p { max-width: 70ch; }
.thank-you .button { margin-top: .2rem; }
@media (max-width: 760px) {
  .thank-you { gap: 1.25rem; padding-top: 54px; }
  .thank-you h1 { line-height: 1.08; }
  .thank-you p { max-width: 38ch; }
}
