/* Page de commande du Mentoring : mêmes couleurs et même typo (Lato) que la page de vente, en version checkout. */
:root {
  --cream: #F2EDEA;
  --sand: #E9E2DD;
  --paper: #FFFFFF;
  --ink: #111111;
  --muted: #5F5955;
  --line: #E2DBD6;
  --line-strong: #C9C1BB;
  --mint: #4ED2B4;
  --mint-hover: #43C6A8;
  --mint-pale: #CFF6EA;
  --mint-ink: #0B5E4C;
  --pink-pale: #FFD5EE;
  --pink: #C04A91;
  --danger: #B42318;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.55 Lato, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Bandeau et en-tête */
.topbar { background: #000; color: #fff; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 16px; }
.header { max-width: 1060px; margin: 0 auto; padding: 18px 16px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 900; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.header-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Mise en page : une colonne sur téléphone, récap à droite sur ordinateur */
.layout { max-width: 1060px; margin: 0 auto; padding: 0 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.summary { order: -1; }
@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: start; padding-top: 8px; }
  .summary { order: 0; position: sticky; top: 24px; }
}
.main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.loading { color: var(--muted); padding: 24px 0; }

/* Étapes */
.steps { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.steps .on { color: var(--ink); }
.steps .done { color: var(--mint-ink); }
.steps .sep { color: var(--line-strong); }

/* Intro */
.pill { display: inline-block; background: var(--pink-pale); color: #000; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.intro { display: flex; flex-direction: column; gap: 10px; padding: 6px 0 2px; }
.intro h1 { font-size: clamp(26px, 6vw, 34px); font-weight: 900; line-height: 1.12; }
.intro .lead { color: var(--muted); font-size: 16px; }
.includes { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.includes li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.includes svg { margin-top: 3px; color: var(--mint-ink); }
.bonus { color: var(--pink); font-weight: 700; font-style: italic; font-size: 15px; }

/* Cartes */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 600px) { .card { padding: 24px; } }
.card h2 { font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; letter-spacing: 0; }
.hint { font-size: 14px; color: var(--muted); }

/* Formules */
.plans { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.plan { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.plan:hover { border-color: var(--ink); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; background: #fff; }
.radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .15s; }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #FBFFFD; }
.plan:has(input:checked) .radio { border-color: var(--ink); }
.plan:has(input:checked) .radio::after { transform: scale(1); }
.plan:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.plan-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-title { font-weight: 900; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-sub { font-size: 13px; color: var(--muted); }
.plan-price { font-weight: 900; font-size: 16px; white-space: nowrap; text-align: right; }
.badge { background: var(--mint-pale); color: var(--mint-ink); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; }
.badge.test { background: var(--pink-pale); color: var(--pink); }

/* Option Transits Astro */
.upsell { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 16px; border: 1.5px dashed var(--line-strong); border-radius: 12px; cursor: pointer; background: #FFFBFD; }
.upsell:has(input:checked) { border-style: solid; border-color: var(--pink); background: #FFF4FA; }
.upsell input { position: absolute; opacity: 0; pointer-events: none; }
.upsell:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #fff; display: grid; place-items: center; margin-top: 2px; }
.box svg { opacity: 0; color: #fff; }
.upsell:has(input:checked) .box, .check:has(input:checked) .box { background: var(--ink); border-color: var(--ink); }
.upsell:has(input:checked) .box svg, .check:has(input:checked) .box svg { opacity: 1; }
.upsell-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-weight: 900; }
.upsell-price s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.upsell-pitch { font-size: 14px; color: var(--muted); margin-top: 4px; }
.upsell-note { font-size: 13px; font-weight: 700; color: var(--pink); margin-top: 6px; }

/* Formulaire */
.grid2 { display: grid; gap: 12px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select { width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-size: 16px; min-height: 50px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field-error { color: var(--danger); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 15px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check:has(input:focus-visible) .box { outline: 2px solid var(--ink); outline-offset: 2px; }
.check.invalid .box { border-color: var(--danger); }
.form-error { background: #FDECEC; color: var(--danger); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 700; }

/* Boutons */
.btn { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; background: var(--mint); color: #000; font-weight: 700; font-size: 17px; border: 0; border-radius: 999px; padding: 16px 22px; min-height: 56px; cursor: pointer; text-decoration: none; text-align: center; transition: background .15s, transform .05s; }
.btn:hover { background: var(--mint-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-outline { background: transparent; border: 1.5px solid var(--ink); }
.btn-outline:hover { background: rgba(0,0,0,.04); }
.btn-small { font-size: 15px; min-height: 46px; padding: 11px 18px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 14px; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }

/* Récapitulatif */
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.sum-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.sum-toggle .amount { font-size: 17px; font-weight: 900; text-transform: none; letter-spacing: 0; }
.sum-toggle svg { transition: transform .2s; }
.summary.open .sum-toggle svg { transform: rotate(180deg); }
.sum-body { display: none; padding: 0 18px 18px; flex-direction: column; gap: 14px; }
.summary.open .sum-body { display: flex; }
@media (min-width: 900px) {
  .sum-toggle { display: none; }
  .sum-body { display: flex; padding: 22px; }
}
.sum-title { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.product { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.thumb { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint) 0%, #9BFFDE 45%, var(--pink-pale) 100%); color: #000; }
.thumb.alt { background: linear-gradient(135deg, var(--pink-pale) 0%, #F7C9E4 100%); }
.product-name { font-weight: 900; font-size: 15px; line-height: 1.3; }
.product-sub { font-size: 13px; color: var(--muted); }
.product-price { font-weight: 900; white-space: nowrap; }
.rule { font-size: 14px; color: var(--muted); }
.divider { height: 1px; background: var(--line); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; }
.row strong { font-weight: 900; }
.row.total { font-size: 17px; }
.today { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--mint-pale); border-radius: 12px; padding: 14px 16px; }
.today span { font-weight: 700; font-size: 14px; }
.today strong { font-size: 24px; font-weight: 900; letter-spacing: -0.01em; }
.sched { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sched li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sched li:last-child { border-bottom: 0; }
.sched .when { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.sched .tag { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.sched .tag.now { background: var(--mint-pale); color: var(--mint-ink); }
.sched li.past { color: var(--muted); }
.sched .amt { font-weight: 700; white-space: nowrap; }
.operator { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Paiement */
.ref-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--mint-ink); }
.kv { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px; }
.kv-row + .kv-row { border-top: 1px solid var(--line); }
.kv-label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.kv-value { font-weight: 900; font-size: 17px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kv-value.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.kv-value.small { font-weight: 400; font-size: 14px; }
.kv-row.key { background: #FBFFFD; }
.copy { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.copy:hover { border-color: var(--ink); }
.copy.ok { background: var(--mint-pale); border-color: var(--mint); color: var(--mint-ink); }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; cursor: pointer; }
.method strong { font-weight: 900; font-size: 15px; }
.method span { font-size: 12px; color: var(--muted); }
.method[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: #FBFFFD; }
.howto { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.tip { background: var(--sand); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.tip strong { font-weight: 900; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.banner a { font-weight: 700; }

/* Pied de page */
.legal { max-width: 1060px; margin: 0 auto; padding: 22px 16px 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.legal strong { color: var(--ink); }
.legal-links a { font-weight: 700; }

/* Pages légales */
.doc { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
.doc .card { gap: 12px; }
.doc h1 { font-size: 30px; font-weight: 900; margin: 6px 0 4px; }
.doc h2 { font-size: 18px; margin-top: 10px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.todo { background: #FFF4D6; border-radius: 4px; padding: 0 4px; font-weight: 700; }
.notice { background: #FFF4D6; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
