/* Simulateur A.C.E. - NestMe Partners
   Tokens de marque repris a l'identique de la page de reference. */

:root {
  --violet: #8f14d6;
  --violet-2: #7a19d1;
  --bleu: #3730c4;
  --bleu-2: #2c2ba8;
  --ink: #1a1230;
  --ink-soft: #5b5470;
  --line: #ece8f4;
  --bg: #faf9fd;
  --card: #ffffff;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--bleu) 100%);
  --grad-soft: linear-gradient(100deg, rgba(143, 20, 214, .08), rgba(55, 48, 196, .08));
  --shadow: 0 20px 60px -24px rgba(55, 48, 196, .28);
  --shadow-sm: 0 8px 24px -12px rgba(55, 48, 196, .22);
  --r: 20px;
  --r-sm: 14px;
  --ok: #12a150;
  --warn: #d97706;
  --bad: #dc2626;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display { font-family: Sora, Inter, system-ui, sans-serif; letter-spacing: -.02em; }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Vues ---------- */

.view { display: none; }
.view.is-active { display: block; }

/* La LP et le quiz occupent exactement la hauteur visible, jamais plus.
   100svh (small viewport height) : la barre d'URL mobile ne fait plus deborder. */
.view--fullscreen.is-active {
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

/* ---------- Fond ---------- */

.halo {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60vw 40vh at 12% -8%, rgba(143, 20, 214, .13), transparent 62%),
    radial-gradient(55vw 38vh at 92% 4%, rgba(55, 48, 196, .12), transparent 60%);
}

/* ---------- LP ---------- */

.lp {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2.4vh, 26px) 20px clamp(16px, 2.6vh, 28px);
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.lp__logo { flex: 0 0 auto; }
.lp__logo img { height: clamp(30px, 5vh, 46px); width: auto; display: block; margin: 0 auto; }

/* Le bloc central absorbe toute la place restante : aucune hauteur fixe nulle part,
   c'est ce qui garantit le zero-scroll sur tous les ecrans. */
.lp__body {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.8vh, 20px);
}

.lp__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(143, 20, 214, .16);
  font-size: clamp(11px, 1.5vh, 13px);
  font-weight: 600;
  color: var(--violet-2);
}

.lp__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 0 rgba(143, 20, 214, .5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(143, 20, 214, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(143, 20, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(143, 20, 214, 0); }
}

.lp h1 {
  font-size: clamp(27px, 5.2vh, 52px);
  line-height: 1.08;
  font-weight: 800;
}

.lp h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lp__sub {
  font-size: clamp(14px, 2.1vh, 18px);
  color: var(--ink-soft);
  max-width: 30em;
  margin: 0 auto;
}

.lp__foot { flex: 0 0 auto; display: flex; flex-direction: column; gap: clamp(9px, 1.5vh, 16px); }

.reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  font-size: clamp(11px, 1.5vh, 13px);
  color: var(--ink-soft);
}

.reassure span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.reassure svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--violet); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(14px, 2.1vh, 19px) clamp(20px, 4vw, 34px);
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 1.9vh, 17px);
  font-family: Sora, Inter, sans-serif;
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
  text-decoration: none;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.25;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 26px 64px -22px rgba(55, 48, 196, .42); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn--ghost {
  background: none;
  color: var(--ink-soft);
  box-shadow: none;
  font-weight: 600;
  padding: 10px 16px;
  width: auto;
  font-size: 14px;
}
.btn--ghost:hover { transform: none; color: var(--ink); }

/* ---------- Quiz ---------- */

.quiz {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(12px, 2vh, 22px) 20px clamp(16px, 2.4vh, 26px);
  min-height: 0;
}

.quiz__top { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }

.quiz__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quiz__count { font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.quiz__count b { color: var(--violet-2); }

.progress { display: flex; gap: 5px; flex: 1 1 auto; }

.progress__seg {
  flex: 1 1 0;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress__seg i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--grad);
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.progress__seg.is-done i, .progress__seg.is-current i { width: 100%; }
.progress__seg.is-current i { background: var(--grad); }

/* Le corps de la question absorbe la place restante et scrolle en interne
   sur les tres petits ecrans, sans jamais faire scroller la page. */
.quiz__body {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 1.6vh, 18px) 2px;
}

.quiz__foot { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: clamp(8px, 1.4vh, 14px); }

.step { display: none; animation: slideIn .38s cubic-bezier(.16, 1, .3, 1); }
.step.is-active { display: block; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(26px); }
  to   { opacity: 1; transform: translateX(0); }
}

.step__q {
  font-size: clamp(21px, 3.4vh, 30px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 8px;
}

.step__hint { font-size: clamp(13px, 1.8vh, 15px); color: var(--ink-soft); margin-bottom: clamp(14px, 2.4vh, 26px); }

/* ---------- Champ montant ---------- */

.amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: clamp(10px, 1.8vh, 18px) 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}

.amount input {
  border: 0;
  outline: 0;
  background: none;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(28px, 5vh, 44px);
  font-weight: 800;
  text-align: right;
  width: 100%;
  max-width: 6.5em;
  letter-spacing: -.02em;
  color: var(--ink);
  -moz-appearance: textfield;
}
.amount input::-webkit-outer-spin-button,
.amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.amount .unit { font-family: Sora, Inter, sans-serif; font-size: clamp(20px, 3.4vh, 30px); font-weight: 700; color: var(--ink-soft); }

.slider { width: 100%; margin: 4px 0 14px; }

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  outline: 0;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  box-shadow: 0 4px 14px -4px rgba(55, 48, 196, .55);
  cursor: grab;
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
  cursor: grab;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .16s ease;
}
.chip:hover { border-color: rgba(143, 20, 214, .4); color: var(--violet-2); }
.chip.is-on { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Curseur de rendement ---------- */

.rate-val {
  text-align: center;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(34px, 6vh, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.rate-scale { position: relative; height: 34px; margin-top: 12px; font-size: 10.5px; color: var(--ink-soft); }
.rate-scale i {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  font-style: normal;
  white-space: nowrap;
  line-height: 1.25;
}
.rate-scale i::before {
  content: '';
  display: block;
  width: 1px; height: 7px;
  background: var(--line);
  margin: 0 auto 3px;
}

/* ---------- Cartes de choix ---------- */

.cards { display: grid; gap: 9px; }

.card-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: clamp(12px, 1.9vh, 17px) 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  text-align: left;
  transition: all .16s ease;
  width: 100%;
}
.card-opt:hover { border-color: rgba(143, 20, 214, .45); transform: translateX(3px); }
.card-opt.is-on { border-color: var(--violet); background: var(--grad-soft); }

.card-opt__mark {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  transition: all .16s ease;
}
.card-opt.is-on .card-opt__mark { border-color: var(--violet); background: var(--violet); }
.card-opt__mark::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .16s; }
.card-opt.is-on .card-opt__mark::after { opacity: 1; }

.card-opt__txt b { display: block; font-size: clamp(14px, 1.9vh, 15.5px); font-weight: 700; }
.card-opt__txt span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Formulaire ---------- */

.fields { display: grid; gap: 10px; }
.fields .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

.field input {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  outline: 0;
  font-size: 15px;
  transition: border-color .16s ease;
  width: 100%;
}
.field input:focus { border-color: var(--violet); }
.field input[aria-invalid="true"] { border-color: var(--bad); }

.field__err { font-size: 11.5px; color: var(--bad); min-height: 0; }

.phone-wrap { display: grid; grid-template-columns: auto 1fr; gap: 8px; }

.phone-wrap select {
  padding: 12px 8px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  outline: 0;
  font: inherit;
  font-size: 14px;
  max-width: 118px;
}

.consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 2px;
}
.consent svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--violet); margin-top: 1px; }

/* ---------- Ecran de calcul ---------- */

.computing { text-align: center; padding: 14vh 20px; }
.computing__ring {
  width: 62px; height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--violet);
  animation: spin .85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.computing__line { font-size: 15px; color: var(--ink-soft); min-height: 1.6em; }

/* ---------- Resultat ---------- */

.res { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 22px 18px 90px; }

.res__head { text-align: center; margin-bottom: 26px; }
.res__logo { height: 34px; margin: 0 auto 20px; display: block; }

.badge-verdict {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(143, 20, 214, .18);
  font-size: 12px;
  font-weight: 700;
  color: var(--violet-2);
  margin-bottom: 12px;
}

.res__head h1 { font-size: clamp(25px, 5.6vw, 38px); line-height: 1.14; font-weight: 800; margin-bottom: 12px; }
.res__head h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.res__head p { color: var(--ink-soft); font-size: 15.5px; max-width: 34em; margin: 0 auto; }

/* Récapitulatif des réponses : le prospect doit voir d'un coup d'oeil que le
   diagnostic reprend exactement ce qu'il vient de saisir. */
.recap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 22px;
  text-align: left;
}

.recap__it {
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.recap__it span {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 4px;
  line-height: 1.3;
}
.recap__it b {
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(15px, 3.8vw, 20px);
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.recap__it--goal { background: var(--grad-soft); border-color: rgba(143, 20, 214, .22); }
.recap__it--goal b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Bloc pédagogique : sous-location professionnelle et clé en main */
.explain { display: grid; gap: 20px; text-align: left; }
.explain__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.explain__n {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: Sora, sans-serif; font-size: 14px; font-weight: 800;
  flex: 0 0 auto;
}
.explain__item b { display: block; font-size: 16px; margin-bottom: 5px; font-family: Sora, Inter, sans-serif; }
.explain__item p { font-size: 14.2px; color: var(--ink-soft); line-height: 1.62; }
.explain__item strong { color: var(--ink); font-weight: 700; }

/* CTA intermédiaire qui renvoie vers la réservation en bas de page */
.cta-mid { text-align: center; }
.cta-mid__sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

.section { margin: 40px 0; }
.section__title { font-size: clamp(19px, 4.4vw, 25px); font-weight: 800; margin-bottom: 7px; }
.section__sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* Classement */
.rank { display: grid; gap: 11px; }

.rk {
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: rise .5s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.rk--win { border-color: transparent; box-shadow: var(--shadow); position: relative; }
.rk--win::before {
  content: '';
  position: absolute; inset: 0;
  padding: 2px;
  border-radius: var(--r);
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.rk__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  width: 100%;
  text-align: left;
}

.rk__pos {
  width: 27px; height: 27px;
  border-radius: 8px;
  background: var(--bg);
  display: grid; place-items: center;
  font-family: Sora, sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--ink-soft);
  flex: 0 0 auto;
}
.rk--win .rk__pos { background: var(--grad); color: #fff; }

.rk__name { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.rk__euros { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.rk__euros b { color: var(--ink); }
.rk__euros .latent { color: var(--warn); font-weight: 600; }

.rk__score { text-align: right; flex: 0 0 auto; }
.rk__score b { font-family: Sora, sans-serif; font-size: 19px; font-weight: 800; display: block; line-height: 1; }
.rk--win .rk__score b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rk__score span { font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }

.rk__body { display: none; padding: 0 17px 16px; border-top: 1px solid var(--line); }
.rk.is-open .rk__body { display: block; padding-top: 14px; }
.rk__body h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; color: var(--bad); }
.rk--win .rk__body h4 { color: var(--ok); }
.rk__body p { font-size: 13.8px; color: var(--ink-soft); line-height: 1.6; }
.rk__src { font-size: 11px; color: var(--ink-soft); opacity: .8; margin-top: 9px; }
.rk__src a { color: var(--violet-2); }

.tag-win {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}

/* Duel graphique */
.chart-wrap { position: relative; height: 290px; }

.duel-legend { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 14px; font-size: 13px; }
.duel-legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); }
.duel-legend i { width: 12px; height: 12px; border-radius: 4px; display: block; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 11px; margin-top: 18px; }
.kpi { padding: 14px 15px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--line); }
.kpi b { display: block; font-family: Sora, sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.kpi span { font-size: 11.5px; color: var(--ink-soft); }
.kpi--hl { background: var(--grad-soft); border-color: rgba(143, 20, 214, .2); }
.kpi--hl b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Curseur d'objectif */
.goal { display: flex; flex-direction: column; gap: 10px; }
.goal__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.goal__val { font-family: Sora, sans-serif; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.goal__apts { font-size: 14px; color: var(--ink-soft); }
.goal__apts b { color: var(--violet-2); font-size: 17px; }

/* Matrice */
.matrix { position: relative; height: 320px; }

/* Piliers A.C.E. */
.pillars { display: grid; gap: 11px; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.pillar__l {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-family: Sora, sans-serif; font-size: 19px; font-weight: 800;
  flex: 0 0 auto;
}
.pillar b { display: block; font-size: 15.5px; margin-bottom: 3px; }
.pillar p { font-size: 13.6px; color: var(--ink-soft); line-height: 1.55; }

.proofs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.proof {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(143, 20, 214, .16);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--violet-2);
}

/* CTA final */
.cta-final { text-align: center; padding: 30px 0 0; }
.scarcity {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(217, 119, 6, .09);
  border: 1px solid rgba(217, 119, 6, .22);
  color: var(--warn);
  font-size: 12.5px; font-weight: 700;
  margin-bottom: 14px;
}

#calendly-embed { min-width: 320px; height: 760px; margin-top: 18px; border-radius: var(--r); overflow: hidden; }

.booked {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: var(--card);
  border: 1.5px solid var(--ok);
  border-radius: var(--r);
  margin-top: 18px;
}
.booked.is-on { display: block; }
.booked__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.booked h3 { font-size: 21px; margin-bottom: 8px; }
.booked p { color: var(--ink-soft); font-size: 14.5px; }

/* Footer */
.foot { text-align: center; font-size: 11.5px; color: var(--ink-soft); padding: 34px 20px 0; line-height: 1.7; }
.foot a { color: var(--violet-2); }

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .fields .row { grid-template-columns: 1fr; }
  .recap { grid-template-columns: repeat(2, 1fr); }
  .rk__head { grid-template-columns: auto 1fr auto; gap: 10px; padding: 13px 14px; }
  .rk__name { font-size: 14.5px; }
  .chart-wrap { height: 250px; }
  .matrix { height: 290px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rk { opacity: 1; transform: none; }
}
