/* Pages secondaires de Fanion : achat, merci, conditions, confidentialité */
:root {
  --pine: #14231b; --fairway: #1f6b46; --flag: #e3a90b; --mist: #eef1ec;
  --ink: #16201a; --pencil: #5c6862; --line: #d6ddd7; --white: #ffffff;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
a { color: var(--fairway); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; border-radius: 4px; }
.top { background: var(--pine); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.mark { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.top nav a { color: #c9d4cc; text-decoration: none; font-weight: 500; }
.top nav a:hover { color: var(--white); }
main { padding: 56px 0 80px; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 64px); line-height: .98; margin: 0 0 16px; letter-spacing: -.01em; }
h2 { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; margin: 40px 0 10px; }
.lead { font-size: 21px; color: var(--pencil); max-width: 640px; margin: 0 0 36px; }

/* Achat */
.buy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.box { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 32px; }
.box.order { border: 2.5px solid var(--fairway); position: sticky; top: 24px; }
.box h3 { font-family: var(--display); font-weight: 700; font-size: 28px; margin: 0 0 4px; }
.box .sub { color: var(--pencil); margin: 0 0 20px; }
.incl { list-style: none; padding: 0; margin: 0; }
.incl li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; }
.incl li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--flag); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pine); color: var(--flag); font-family: var(--display); font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.steps b { display: block; }
.steps span { color: var(--pencil); font-size: 17px; }
table.bill { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-variant-numeric: tabular-nums; }
.bill td { padding: 8px 0; border-top: 1px solid var(--line); }
.bill td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.bill tr.total td { border-top: 2px solid var(--ink); font-weight: 700; font-size: 21px; }
.bill small { color: var(--pencil); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; margin: 0 0 18px; }
.agree input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--fairway); flex: none; }
.pay { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 56px; border: 0; border-radius: 10px; background: var(--fairway); color: var(--white); font: 600 19px var(--body); text-decoration: none; cursor: pointer; }
.pay:hover { background: #185a3a; }
.pay[aria-disabled="true"] { background: #a9b6ae; cursor: not-allowed; pointer-events: none; }
.secure { color: var(--pencil); font-size: 15px; margin: 12px 0 0; text-align: center; }
.soon { background: #fff7df; border: 1.5px solid #ecd28b; border-radius: 10px; padding: 14px 16px; font-size: 16px; margin: 0 0 18px; }
.note { color: var(--pencil); font-size: 16px; }

/* Texte long (conditions, confidentialité, merci) */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin-top: 36px; }
.prose li { margin: 6px 0; }
.draft { background: #fff7df; border: 1.5px solid #ecd28b; border-radius: 10px; padding: 14px 16px; font-size: 16px; margin: 0 0 28px; }
.big-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--fairway); display: grid; place-items: center; margin: 0 0 20px; }

.foot { background: var(--pine); color: #b9c5bd; padding: 28px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: #b9c5bd; margin-left: 18px; }
.foot a:first-child { margin-left: 0; }

@media (max-width: 820px) {
  .buy { grid-template-columns: 1fr; }
  .box.order { position: static; order: -1; }
  .box { padding: 24px; }
  main { padding: 36px 0 56px; }
  .foot a { margin: 0 14px 0 0; }
}
