:root {
  --bg: #0a0b10;
  --bg-2: #11131b;
  --card: #151823;
  --line: #242838;
  --text: #eef0f6;
  --muted: #9097ab;
  --accent: #36e2c0;
  --accent-2: #8b6cff;
  --radius: 18px;

  /* Cores das telas do sistema (tema claro) */
  --app-bg: #f7f8fa;
  --app-card: #ffffff;
  --app-line: #e7e9ef;
  --app-text: #1d2130;
  --app-muted: #868c9c;
  --app-accent: #17a88b;
}

/* ============ Tema claro (botão ☀/🌙 no topo; a escolha vale também para o sistema) ============ */
:root[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: #e2e6ee;
  --text: #141824;
  --muted: #5b6375;
  --accent: #0e9f84;
  --accent-2: #6a4ee0;
  color-scheme: light;
}
:root[data-theme="light"] .topbar { background: rgba(255, 255, 255, .85); }
:root[data-theme="light"] .btn { color: #fff; }
:root[data-theme="light"] .btn-ghost { color: var(--text); }
:root[data-theme="light"] .tag { background: rgba(14, 159, 132, .08); border-color: rgba(14, 159, 132, .3); }
:root[data-theme="light"] .doc-front { box-shadow: 0 30px 60px -25px rgba(20, 30, 60, .35); }
:root[data-theme="light"] .l, :root[data-theme="light"] .doc-grid i { background: #e3e7ef; border-color: #d3d9e4; }
:root[data-theme="light"] .feats li, :root[data-theme="light"] .modal-close { background: #eef1f6; }
:root[data-theme="light"] .card:hover, :root[data-theme="light"] .feat:hover, :root[data-theme="light"] details[open] { border-color: #cfd5e0; }
:root[data-theme="light"] .card-kit { background: linear-gradient(180deg, #f1edff, var(--card) 60%); }
:root[data-theme="light"] .card-feature, :root[data-theme="light"] .plan-hot, :root[data-theme="light"] .kp-info { background: linear-gradient(180deg, #e6f8f3, var(--card) 55%); }
:root[data-theme="light"] .order-bar { background: rgba(255, 255, 255, .95); box-shadow: 0 20px 50px -15px rgba(20, 30, 60, .35); }
:root[data-theme="light"] .sheet-wrap { background: radial-gradient(400px 300px at 30% 10%, rgba(106, 78, 224, .08), transparent 70%), #eef1f6; }
:root[data-theme="light"] .app { border-color: #d5dae3; box-shadow: 0 40px 90px -35px rgba(20, 30, 60, .45); }
:root[data-theme="light"] .stk::after { background: #f5f7fb; }
:root[data-theme="light"] .plan-pill.pro { color: #6a4ee0; }
:root[data-theme="light"] .plan-badge, :root[data-theme="light"] .badge { color: #fff; }
:root[data-theme="light"] .select:has(input:checked) { color: #fff; }
:root[data-theme="light"] .filters label:hover, :root[data-theme="light"] .tabs label:hover { border-color: #c5ccd8; }
:root[data-theme="light"] .feat, :root[data-theme="light"] .plan, :root[data-theme="light"] .card, :root[data-theme="light"] .step { box-shadow: 0 1px 3px rgba(20, 30, 60, .06); }
:root[data-theme="light"] .t1, :root[data-theme="light"] .t5, :root[data-theme="light"] .t9 { background: linear-gradient(135deg, #d6f5ec, #eef3fb); }
:root[data-theme="light"] .t2, :root[data-theme="light"] .t8 { background: linear-gradient(135deg, #e7e0ff, #f1f2fb); }
:root[data-theme="light"] .t3, :root[data-theme="light"] .t6 { background: linear-gradient(135deg, #d8ecfb, #eef2f8); }
:root[data-theme="light"] .t4, :root[data-theme="light"] .t10 { background: linear-gradient(135deg, #fcebd0, #f6f1ec); }
:root[data-theme="light"] .t7 { background: linear-gradient(135deg, #fbdcea, #f6eff3); }
:root[data-theme="light"] .t11 { background: linear-gradient(135deg, #e7e0ff, #d8ecfb); }
:root[data-theme="light"] .t12 { background: linear-gradient(135deg, #d6f5ec, #e7e0ff); }
:root[data-theme="light"] .mini { box-shadow: 0 14px 26px -12px rgba(20, 30, 60, .35); }
:root[data-theme="light"] .kit-zoom .sheet, :root[data-theme="light"] .kit-page { box-shadow: 0 10px 25px -12px rgba(20, 30, 60, .35); }
.tema-btn {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; cursor: pointer; font-size: 17px;
  background: transparent; border: 1px solid var(--line); color: var(--text);
}
.tema-btn:hover { border-color: var(--accent); }
.topbar-acoes { display: flex; align-items: center; gap: 10px; }

/* Menu do celular: botão ☰ que vira ✕ e abre os links embaixo da barra do topo */
.menu-btn {
  display: none; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--text); place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-aberto .menu-btn span { background: transparent; }
.menu-aberto .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-aberto .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.nav .nav-extra { display: none; }

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  counter-reset: sel;
}

h1, h2, h3, .logo, .plan-price, .price { font-family: "Space Grotesk", sans-serif; }

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, var(--accent), #2bb8e0);
  color: #05140f;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(54, 226, 192, .55); }
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-block { display: block; width: 100%; }

.tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(54, 226, 192, .08);
  border: 1px solid rgba(54, 226, 192, .25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, .75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; }
.logo b { color: var(--accent); font-weight: 700; }
.logo-mark {
  width: 26px; height: 32px; border-radius: 6px;
  background: linear-gradient(160deg, var(--accent), var(--accent-2));
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 8px 6px auto;
  height: 2px; background: #0a0b10;
  box-shadow: 0 5px 0 #0a0b10, 0 10px 0 #0a0b10;
}
.nav { display: flex; gap: 32px; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(139, 108, 255, .22), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(54, 226, 192, .14), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 22px; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; gap: 40px; margin-top: 50px; }
.hero-stats strong { display: block; font-family: "Space Grotesk"; font-size: 1.7rem; }
.hero-stats span { color: var(--muted); font-size: .85rem; }
/* Topo: 3 telas empilhadas. A da frente vira como página de livro e vai para o fim da pilha.
   Uma volta completa leva 12s (4s por tela): Pacientes → Agenda → Financeiro. */
.hero-stack {
  position: relative; height: 430px;
}
.stk {
  position: absolute; left: 0; right: 64px; top: 56px;
  transform-origin: left center;
  backface-visibility: hidden;
  animation: stk-cycle 12s cubic-bezier(.65, 0, .35, 1) infinite both;
}
.stk .app-body { height: 300px; overflow: hidden; }
.stk::after { /* sombra que escurece as páginas de trás */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: #0a0b10; pointer-events: none;
  animation: stk-shade 12s cubic-bezier(.65, 0, .35, 1) infinite both;
}
.stk-1, .stk-1::after { animation-delay: 0s; }
.stk-2, .stk-2::after { animation-delay: -8s; }
.stk-3, .stk-3::after { animation-delay: -4s; }

@keyframes stk-cycle {
  /* na frente */
  /* Paradas sem escala e sem 3D: o navegador desenha a tela nítida, pixel por pixel.
     O 3D (perspectiva) só existe durante a virada da página. */
  0%, 26%   { transform: none; z-index: 3; opacity: 1; }
  /* vira a página para a esquerda */
  33%       { transform: perspective(1400px) translateX(-30px) rotateY(-115deg); z-index: 4; opacity: 0; }
  /* reaparece no fundo da pilha */
  33.4%     { transform: translate(64px, -56px); z-index: 1; opacity: 0; }
  38%, 60%  { transform: translate(64px, -56px); z-index: 1; opacity: 1; }
  /* sobe para o meio */
  66.6%, 93% { transform: translate(32px, -28px); z-index: 2; opacity: 1; }
  /* chega na frente */
  100%      { transform: none; z-index: 3; opacity: 1; }
}
@keyframes stk-shade {
  0%, 26%    { opacity: 0; }
  33%        { opacity: .35; }
  33.4%, 60% { opacity: .5; }
  66.6%, 93% { opacity: .25; }
  100%       { opacity: 0; }
}

.hero-stack .cx td:nth-child(n+3), .hero-stack .cx th:nth-child(n+3) { text-align: right; }

/* Para quem desativou animações no aparelho: pilha parada, Agenda na frente */
@media (prefers-reduced-motion: reduce) {
  .stk, .stk::after { animation: none; }
  .stk-2 { z-index: 3; }
  .stk-3 { z-index: 2; transform: translate(32px, -28px); }
  .stk-3::after { opacity: .25; }
  .stk-1 { z-index: 1; transform: translate(64px, -56px); }
  .stk-1::after { opacity: .5; }
}

/* ============ Janela do sistema (mock em CSS) ============ */
.app {
  background: var(--app-bg); color: var(--app-text);
  border-radius: 14px; overflow: hidden;
  border: 1px solid #2c3145;
  box-shadow: 0 40px 90px -25px rgba(0, 0, 0, .85);
  font-size: 12px; line-height: 1.4;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9ebf0; }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6159; }
.app-bar i:nth-child(2) { background: #ffbd2e; }
.app-bar i:nth-child(3) { background: #28c941; }
.app-bar span { margin-left: 10px; font-size: 10.5px; color: var(--app-muted); background: #fff; padding: 2px 12px; border-radius: 6px; }

.app-nav {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; background: var(--app-card);
  border-bottom: 2px solid var(--app-accent);
  overflow: hidden; white-space: nowrap;
}
.app-logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--app-accent), #7b5cf0); margin-right: 8px; flex-shrink: 0; }
.app-nav span:not(.app-logo) { padding: 5px 10px; border-radius: 7px; color: #5a6072; font-weight: 500; }
.app-nav span.on { background: #e3f6f1; color: var(--app-accent); font-weight: 600; }

.app-body { padding: 16px; }
.ag-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.ag-title b { font-family: "Space Grotesk"; font-size: 16px; }
.ag-title small { color: var(--app-muted); }
.mk-btn { margin-left: auto; background: var(--app-accent); color: #fff; font-weight: 600; font-size: 11px; padding: 6px 12px; border-radius: 7px; }
.search { margin-left: auto; border: 1px solid var(--app-line); background: #fff; color: var(--app-muted); padding: 5px 10px; border-radius: 7px; font-size: 11px; }
.search + .mk-btn { margin-left: 0; }

/* Agenda */
.agenda { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.ag-list { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; padding: 12px 12px 4px; }
.slot { display: flex; align-items: center; gap: 12px; min-height: 38px; border-top: 1px solid var(--app-line); }
.slot em { font-style: normal; font-size: 11px; color: var(--app-muted); width: 36px; flex-shrink: 0; }
.appt { flex: 1; display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-left: 3px solid; border-radius: 4px; margin: 3px 0; }
.appt b { font-size: 11.5px; }
.appt small { color: var(--app-muted); font-size: 10.5px; }
.appt small::before { content: "● "; }
.appt .acts { margin-left: auto; color: #9aa0ae; letter-spacing: 6px; font-size: 11px; }
.appt.new { border-color: #7b5cf0; background: #f3f0ff; }
.appt.new small::before { color: #7b5cf0; }
.appt.ret { border-color: #2d9be0; background: #ecf6fd; }
.appt.ret small::before { color: #2d9be0; }
.appt.done { border-color: var(--app-accent); background: #e9f8f4; }
.appt.done small::before { color: var(--app-accent); }

.ag-side { display: flex; flex-direction: column; gap: 12px; }
.cal { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; padding: 12px; }
.cal b { display: block; text-align: center; font-size: 12px; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid i { aspect-ratio: 1; border-radius: 5px; background: #f0f1f5; }
.cal-grid i.today { background: var(--app-accent); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis div { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; padding: 10px 12px; }
.kpis b { display: block; font-family: "Space Grotesk"; font-size: 20px; }
.kpis small { color: var(--app-muted); font-size: 10.5px; }
.legend { display: flex; flex-direction: column; gap: 5px; font-size: 10.5px; color: #5a6072; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.l-new::before { background: #7b5cf0; } .l-ret::before { background: #2d9be0; } .l-done::before { background: var(--app-accent); }

/* Tabela (pacientes / caixa) */
.mk-tbl { width: 100%; border-collapse: collapse; background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; overflow: hidden; }
.mk-tbl th { text-align: left; font-size: 10.5px; font-weight: 600; color: #5a6072; padding: 9px 10px; border-bottom: 1px solid var(--app-line); background: #fafbfc; }
.mk-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--app-line); font-size: 11.5px; white-space: nowrap; }
.mk-tbl tr:last-child td { border-bottom: 0; }
.av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-right: 8px; background: #e3f6f1; color: var(--app-accent); font-style: normal; font-weight: 600; font-size: 10.5px; }
.av.big { width: 42px; height: 42px; font-size: 16px; margin: 0; }

.cx-title { text-align: center; font-family: "Space Grotesk"; font-size: 17px; letter-spacing: .12em; margin: 4px 0 12px; }
.cx-title small { display: block; font-family: "Inter"; font-size: 10.5px; letter-spacing: 0; color: var(--app-muted); }
.cx th { background: var(--app-accent); color: #fff; }
.cx tr:nth-child(odd) td { background: #f6f8f8; }
.cx td:nth-child(n+4), .cx th:nth-child(n+4) { text-align: right; }
.cx .sum td { background: #e3f6f1 !important; font-weight: 700; }

/* Prontuário */
.pt-head { display: flex; align-items: center; gap: 12px; background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; padding: 12px; margin-bottom: 12px; }
.pt-head b { display: block; font-size: 14px; }
.pt-head small { color: var(--app-muted); }
.pt-models { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pt-models span { padding: 5px 11px; border-radius: 7px; border: 1px solid var(--app-line); background: #fff; color: #5a6072; font-size: 11px; }
.pt-models span.on { border-color: var(--app-accent); background: #e3f6f1; color: var(--app-accent); font-weight: 600; }
.pt-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--app-card); border: 1px solid var(--app-line); border-radius: 10px; padding: 14px; }
.pt-fields label { font-size: 10.5px; font-weight: 600; color: #5a6072; }
.pt-fields i { display: block; min-height: 34px; margin-top: 4px; padding: 7px 9px; border: 1px solid var(--app-line); border-radius: 7px; font-style: normal; font-weight: 400; color: var(--app-text); font-size: 11.5px; }

/* Cabeçalho de seção */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* Recursos */
.features { padding: 100px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: #353b55; transform: translateY(-3px); }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.4rem; margin-bottom: 18px; background: linear-gradient(135deg, rgba(54, 226, 192, .18), rgba(139, 108, 255, .18)); }
.feat h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: .93rem; }

.plan-pill {
  display: inline-block; font-style: normal; font-size: .72rem; font-weight: 600;
  padding: 2px 9px; border-radius: 999px; vertical-align: 1px;
  background: rgba(54, 226, 192, .12); color: var(--accent); border: 1px solid rgba(54, 226, 192, .3);
}
.plan-pill.pro { background: rgba(139, 108, 255, .14); color: #b3a1ff; border-color: rgba(139, 108, 255, .4); }

/* Tour (abas) */
.tour { padding: 110px 0; }
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tabs label {
  cursor: pointer; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-weight: 500;
  transition: all .2s;
}
.tabs label:hover { color: var(--text); border-color: #3a4058; }
#tab-agenda:checked ~ .tabs label[for="tab-agenda"],
#tab-pacientes:checked ~ .tabs label[for="tab-pacientes"],
#tab-prontuario:checked ~ .tabs label[for="tab-prontuario"],
#tab-financeiro:checked ~ .tabs label[for="tab-financeiro"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.screen { display: none; grid-template-columns: 1.7fr .8fr; gap: 40px; align-items: center; animation: fade .4s ease; }
#tab-agenda:checked ~ .screens .s-agenda,
#tab-pacientes:checked ~ .screens .s-pacientes,
#tab-prontuario:checked ~ .screens .s-prontuario,
#tab-financeiro:checked ~ .screens .s-financeiro { display: grid; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.screen .app { overflow-x: auto; }
.screen-info h3 { font-size: 1.6rem; margin: 12px 0 10px; }
.screen-info p { color: var(--muted); }

/* Planos */
.plans { padding: 100px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan { position: relative; padding: 32px 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.plan-hot {
  background: linear-gradient(180deg, #14302a, var(--card) 45%);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 70px -30px rgba(54, 226, 192, .5);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 999px; background: var(--accent); color: #05140f; white-space: nowrap;
}
.plan h3 { font-size: 1.5rem; }
.plan-for { color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }
.plan-price { font-size: 3rem; font-weight: 700; line-height: 1; }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 500; vertical-align: 1.3rem; margin-right: 4px; }
.plan-price em { font-style: normal; font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan-note { color: var(--muted); font-size: .82rem; margin: 6px 0 22px; }
.plan-demo { display: block; text-align: center; margin-top: 12px; font-size: .85rem; color: var(--accent); }
.plan-demo:hover { text-decoration: underline; }
.demo-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 48px; text-align: center; }
.demo-cta span { color: var(--muted); font-size: .88rem; }

.plan-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 26px; font-size: .92rem; }
.plan-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem;
  background: rgba(54, 226, 192, .15); color: var(--accent);
}
.plan-list li.all { padding-left: 0; font-weight: 600; color: var(--accent); }
.plan-list li.all::before { display: none; }

/* Comparativo */
.compare { margin-top: 40px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.compare summary { cursor: pointer; list-style: none; padding: 20px 26px; font-weight: 600; display: flex; justify-content: space-between; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.compare[open] summary::after { transform: rotate(45deg); }
.compare-wrap { overflow-x: auto; padding: 0 26px 24px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.compare th { text-align: center; font-family: "Space Grotesk"; font-size: 1rem; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare td:not(:first-child) { text-align: center; color: var(--accent); font-weight: 600; width: 120px; }
.compare tr.grp td { color: var(--muted) !important; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 22px; text-align: left !important; }

/* Especialidades */
.specs { padding: 100px 0 60px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; max-width: 820px; margin: 0 auto; }
.chips span { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }

/* FAQ */
.faq { padding: 60px 0 110px; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 20px 24px; }
.faq details[open] { border-color: #353b55; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: .95rem; }

/* CTA */
.cta { padding-bottom: 110px; }
.cta-box {
  text-align: center; padding: 70px 30px; border-radius: 28px;
  background:
    radial-gradient(400px 200px at 20% 0%, rgba(54, 226, 192, .25), transparent 70%),
    radial-gradient(400px 200px at 80% 100%, rgba(139, 108, 255, .3), transparent 70%),
    var(--card);
  border: 1px solid var(--line);
}
.cta-box h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }
.cta-box p { color: var(--muted); margin-bottom: 28px; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: .85rem; }

/* ============ Loja de fichas ============ */
/* Catálogo */
.catalog { padding: 100px 0; background: var(--bg-2); border-block: 1px solid var(--line); }

.filter-radio { position: absolute; opacity: 0; pointer-events: none; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters label {
  cursor: pointer; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: .92rem;
  transition: all .2s;
}
.filters label:hover { color: var(--text); border-color: #3a4058; }

#f-todos:checked ~ .filters label[for="f-todos"],
#f-prontuario:checked ~ .filters label[for="f-prontuario"],
#f-fichas:checked ~ .filters label[for="f-fichas"],
#f-atendimento:checked ~ .filters label[for="f-atendimento"],
#f-cadastro:checked ~ .filters label[for="f-cadastro"],
#f-termos:checked ~ .filters label[for="f-termos"],
#f-pessoal:checked ~ .filters label[for="f-pessoal"],
#f-kits:checked ~ .filters label[for="f-kits"] {
  background: var(--text); color: var(--bg); border-color: var(--text);
}

#f-prontuario:checked ~ .grid .card:not([data-cat~="prontuario"]),
#f-fichas:checked ~ .grid .card:not([data-cat~="ficha"]),
#f-atendimento:checked ~ .grid .card:not([data-cat~="atendimento"]),
#f-cadastro:checked ~ .grid .card:not([data-cat~="cadastro"]),
#f-termos:checked ~ .grid .card:not([data-cat~="termos"]),
#f-pessoal:checked ~ .grid .card:not([data-cat~="pessoal"]),
#f-kits:checked ~ .grid .card:not([data-cat~="kits"]) { display: none; }

/* Filtros em duas linhas: tipo (principal) e uso (secundário) */
.filters:has(.filters-main) { flex-direction: column; align-items: center; gap: 14px; }
.filters-main, .filters-sub { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters-main label { font-size: 1rem; font-weight: 600; padding: 11px 22px; }
.filters-sub label { font-size: .85rem; padding: 7px 14px; }
.filters-sub span { color: var(--muted); font-size: .82rem; margin-right: 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: #353b55; }
.card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -20px rgba(54, 226, 192, .4);
}
.card-kit { background: linear-gradient(180deg, #1a1631, var(--card) 60%); }

/* Miniatura do documento */
.thumb { position: relative; height: 170px; display: grid; place-items: center; }
.mini {
  width: 96px; height: 128px; border-radius: 8px;
  background: #f4f5fa;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .6);
  transform: rotate(-3deg);
  background-image:
    linear-gradient(var(--c, #36e2c0), var(--c, #36e2c0)),
    linear-gradient(#cfd3e0, #cfd3e0), linear-gradient(#cfd3e0, #cfd3e0),
    linear-gradient(#cfd3e0, #cfd3e0), linear-gradient(#cfd3e0, #cfd3e0),
    linear-gradient(#cfd3e0, #cfd3e0);
  background-size: 100% 18px, 70% 5px, 80% 5px, 60% 5px, 75% 5px, 40% 5px;
  background-position: 0 0, 12px 32px, 12px 46px, 12px 60px, 12px 74px, 12px 104px;
  background-repeat: no-repeat;
  transition: transform .3s;
}
.card:hover .mini { transform: rotate(0) scale(1.05); }

.t1  { background: linear-gradient(135deg, #123a35, #0f1a26); }
.t2  { background: linear-gradient(135deg, #2a1f4d, #13152a); --c: #8b6cff; }
.t3  { background: linear-gradient(135deg, #0f2c40, #10151f); --c: #3fb5ff; }
.t4  { background: linear-gradient(135deg, #3a2a14, #18141a); --c: #ffb547; }
.t5  { background: linear-gradient(135deg, #123a35, #0f1a26); }
.t6  { background: linear-gradient(135deg, #0f2c40, #10151f); --c: #3fb5ff; }
.t7  { background: linear-gradient(135deg, #3a1630, #16121c); --c: #ff6fae; }
.t8  { background: linear-gradient(135deg, #2a1f4d, #13152a); --c: #8b6cff; }
.t9  { background: linear-gradient(135deg, #123a35, #0f1a26); }
.t10 { background: linear-gradient(135deg, #3a2a14, #18141a); --c: #ffb547; }
.t11 { background: linear-gradient(135deg, #2a1f4d, #0f2c40); --c: #8b6cff; }
.t12 { background: linear-gradient(135deg, #123a35, #2a1f4d); }
.t11 .mini, .t12 .mini { box-shadow: 14px -10px 0 -2px rgba(244, 245, 250, .35), 28px -20px 0 -4px rgba(244, 245, 250, .15), 0 18px 30px -10px rgba(0, 0, 0, .6); }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font-size: .72rem; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  background: var(--accent); color: #05140f;
}

.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

.feats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.feats li {
  font-size: .75rem; color: var(--muted);
  padding: 3px 9px; border-radius: 6px; background: #1d2130;
}

.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.price small { font-size: .85rem; color: var(--muted); margin-right: 3px; font-weight: 500; }
.price s { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-bottom: 4px; }

/* Botão selecionar (checkbox) */
.select {
  cursor: pointer; user-select: none;
  padding: 10px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  border: 1px solid var(--accent); color: var(--accent);
  transition: all .2s;
}
.select:hover { background: rgba(54, 226, 192, .1); }
.select input { position: absolute; opacity: 0; pointer-events: none; }
.select .on { display: none; }
.select:has(input:checked) { background: var(--accent); color: #05140f; }
.select:has(input:checked) .on { display: inline; }
.select:has(input:checked) .off { display: none; }
.select input:checked { counter-increment: sel; }

/* Barra do pedido */
.order-bar {
  position: fixed; left: 50%; bottom: 20px; z-index: 60;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 24px;
  background: rgba(21, 24, 35, .92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .7);
  transition: transform .35s ease;
}
body:has(.select input:checked) .order-bar { transform: translate(-50%, 0); }
.order-count { font-size: .95rem; color: var(--muted); white-space: nowrap; }
.count::before { content: counter(sel); font-family: "Space Grotesk"; font-weight: 700; font-size: 1.1rem; color: var(--accent); }

/* Link "Ver prévia" nos cards */
.card { scroll-margin-top: 90px; }
.card h3 a:hover { color: var(--accent); }
.peek {
  position: absolute; bottom: 12px; right: 12px;
  font-size: .75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 11, 16, .75); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .12);
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.peek::before { content: "👁 "; }
.thumb:hover .peek { opacity: 1; transform: none; }
@media (hover: none) { .peek { opacity: 1; transform: none; } }

/* ============ Modal de prévia ============ */
body:has(.modal:target) { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal:target { opacity: 1; visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(5, 6, 10, .82); backdrop-filter: blur(6px); }

.modal-box {
  position: relative;
  width: min(1040px, 100%);
  height: min(900px, calc(100vh - 48px));
  display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9);
  transform: translateY(20px) scale(.98);
  transition: transform .35s ease;
}
.modal:target .modal-box { transform: none; }

.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem; line-height: 1;
  background: #1d2130; border: 1px solid var(--line); color: var(--muted);
}
.modal-close:hover { color: var(--text); border-color: var(--accent); }

.sheet-wrap {
  overflow-y: auto;
  padding: 32px;
  background:
    radial-gradient(400px 300px at 30% 10%, rgba(139, 108, 255, .15), transparent 70%),
    #0d0f16;
}

.modal-info { padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.modal-info .tag { align-self: flex-start; margin-bottom: 0; }
.modal-info h3 { font-size: 1.6rem; line-height: 1.2; }
.modal-info p { color: var(--muted); font-size: .95rem; }
.inc { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.inc li { font-size: .92rem; padding-left: 26px; position: relative; }
.inc li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem;
  background: rgba(54, 226, 192, .15); color: var(--accent);
}
.modal-info .price { font-size: 2rem; margin-top: 10px; }
.select-lg { text-align: center; padding: 14px 20px; font-size: .95rem; }
.back { text-align: center; color: var(--muted); font-size: .88rem; }
.back:hover { color: var(--text); }

/* Botão do modal acompanha o checkbox do card */
body:has(#s1:checked) #p1 .select, body:has(#s2:checked) #p2 .select,
body:has(#s3:checked) #p3 .select, body:has(#s4:checked) #p4 .select,
body:has(#s5:checked) #p5 .select, body:has(#s6:checked) #p6 .select,
body:has(#s7:checked) #p7 .select, body:has(#s8:checked) #p8 .select,
body:has(#s9:checked) #p9 .select, body:has(#s10:checked) #p10 .select,
body:has(#s11:checked) #p11 .select, body:has(#s12:checked) #p12 .select,
body:has(#s13:checked) #p13 .select { background: var(--accent); color: #05140f; }

body:has(#s1:checked) #p1 .select .off, body:has(#s2:checked) #p2 .select .off,
body:has(#s3:checked) #p3 .select .off, body:has(#s4:checked) #p4 .select .off,
body:has(#s5:checked) #p5 .select .off, body:has(#s6:checked) #p6 .select .off,
body:has(#s7:checked) #p7 .select .off, body:has(#s8:checked) #p8 .select .off,
body:has(#s9:checked) #p9 .select .off, body:has(#s10:checked) #p10 .select .off,
body:has(#s11:checked) #p11 .select .off, body:has(#s12:checked) #p12 .select .off,
body:has(#s13:checked) #p13 .select .off { display: none; }

body:has(#s1:checked) #p1 .select .on, body:has(#s2:checked) #p2 .select .on,
body:has(#s3:checked) #p3 .select .on, body:has(#s4:checked) #p4 .select .on,
body:has(#s5:checked) #p5 .select .on, body:has(#s6:checked) #p6 .select .on,
body:has(#s7:checked) #p7 .select .on, body:has(#s8:checked) #p8 .select .on,
body:has(#s9:checked) #p9 .select .on, body:has(#s10:checked) #p10 .select .on,
body:has(#s11:checked) #p11 .select .on, body:has(#s12:checked) #p12 .select .on,
body:has(#s13:checked) #p13 .select .on { display: inline; }

/* ============ Folha do documento (prévia) ============ */
.sheet {
  --c: #1fb89a;
  width: 100%; max-width: 560px; margin: 0 auto;
  aspect-ratio: 1 / 1.414;
  background: #fff; color: #2b2f3a;
  border-radius: 6px;
  padding: 34px 36px 26px;
  font-family: "Inter", sans-serif; font-size: 10.5px; line-height: 1.5;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  border-top: 6px solid var(--c);
}
.s-violet { --c: #7b5cf0; }
.s-blue   { --c: #2d9be0; }
.s-amber  { --c: #e69a1e; }
.s-pink   { --c: #e0558f; }

.sh-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--c); }
.sh-logo {
  width: 50px; height: 50px; flex-shrink: 0;
  border: 1.5px dashed #b9bfcc; border-radius: 8px;
  display: grid; place-items: center; text-align: center;
  font-size: 7.5px; font-weight: 600; color: #9aa1b0; line-height: 1.2;
}
.sh-title b { display: block; font-family: "Space Grotesk"; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: #1a1d26; }
.sh-title small { color: #8a90a0; font-size: 9.5px; }

.sheet h4 {
  font-family: "Space Grotesk"; font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--c); margin: 14px 0 4px;
}
.sh-row { display: flex; gap: 12px; }
.f {
  flex: 1; min-width: 0;
  font-size: 8.5px; color: #8a90a0;
  padding-top: 12px; border-bottom: 1px solid #c9cdd8;
}
.f.w2 { flex: 2; } .f.w3 { flex: 3; }

.sh-lines i { display: block; height: 17px; border-bottom: 1px solid #c9cdd8; }

.sh-checks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0; }
.sh-checks.col { flex-direction: column; }
.sh-checks span { display: inline-flex; align-items: flex-start; gap: 6px; }
.sh-checks span::before { content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-top: 2px; border: 1.2px solid #8a90a0; border-radius: 2px; }

.sh-tbl { width: 100%; border-collapse: collapse; margin-top: 4px; }
.sh-tbl th {
  background: color-mix(in srgb, var(--c) 14%, #fff);
  color: #3a3f4c; font-size: 8.5px; text-transform: uppercase; letter-spacing: .04em;
  text-align: left; padding: 5px 6px; border: 1px solid #d6dae3;
}
.sh-tbl td { height: 18px; border: 1px solid #d6dae3; padding: 2px 6px; }
.sh-tall td { height: 24px; }
.sh-small th, .sh-small td { font-size: 8px; }
.sh-yn th:nth-child(n+2), .sh-yn td:nth-child(n+2) { width: 34px; text-align: center; }
.sh-week th:nth-child(n+2), .sh-week td:nth-child(n+2) { width: 30px; text-align: center; }

.sh-scale { display: flex; gap: 4px; margin: 4px 0; }
.sh-scale i {
  flex: 1; height: 20px; display: grid; place-items: center;
  font-style: normal; font-size: 8.5px; color: #6b7180;
  border: 1px solid #c9cdd8; border-radius: 4px;
}

.sh-p { margin: 8px 0 4px; color: #3a3f4c; }
.sh-p u { display: inline-block; width: 150px; border-bottom: 1px solid #9aa1b0; text-decoration: none; vertical-align: bottom; height: 12px; }
.sh-p u.s { width: 90px; }

.sh-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 8.5px; color: #6b7180; }

.sh-sign { display: flex; gap: 30px; margin-top: auto; padding-top: 30px; }
.sh-sign span { flex: 1; text-align: center; font-size: 8.5px; color: #8a90a0; border-top: 1px solid #6b7180; padding-top: 4px; }

.sh-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid #eceef3; text-align: right; font-size: 8px; color: #a5abb8; }
.sh-sign + .sh-foot { margin-top: 14px; }

/* Card de destaque: Prontuário Completo */
.card-feature {
  grid-column: span 2;
  flex-direction: row;
  background: linear-gradient(120deg, #13241f, var(--card) 55%);
  border-color: rgba(54, 226, 192, .35);
}
.card-feature .thumb { width: 42%; height: auto; min-height: 260px; flex-shrink: 0; }
.card-feature .card-body { padding: 28px; }
.card-feature h3 { font-size: 1.4rem; }
.t13 { background: radial-gradient(circle at 50% 60%, #1c4a40, #0f1a26 75%); }
.book { position: relative; }
.book::before, .book::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 8px; background: #dfe3ec;
}
.book::before { transform: translate(14px, -10px) rotate(4deg); opacity: .35; }
.book::after  { transform: translate(7px, -5px) rotate(1deg); opacity: .6; }
.t13 .mini {
  display: block; position: relative; z-index: 1;
  width: 120px; height: 160px;
  border-left: 8px solid var(--accent);
  background-size: 100% 0, 70% 5px, 80% 5px, 60% 5px, 75% 5px, 40% 5px;
  background-position: 0 0, 14px 50px, 14px 64px, 14px 78px, 14px 92px, 14px 130px;
}
.t13 .mini::before {
  content: "PRONTUÁRIO"; position: absolute; top: 18px; left: 12px;
  font: 700 10px "Space Grotesk"; letter-spacing: .08em; color: #1a1d26;
}

/* Prévia de várias páginas */
.sheet + .sheet { margin-top: 24px; }
.sh-cover {
  text-align: center; padding: 18px 0 22px; margin-bottom: 6px;
  border-bottom: 2px solid var(--c);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.sh-cover .sh-logo { margin-bottom: 10px; }
.sh-kicker { font-size: 8.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--c); font-weight: 600; }
.sh-cover b { font-family: "Space Grotesk"; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; color: #1a1d26; line-height: 1.1; }
.sh-cover small { color: #8a90a0; font-size: 9px; }
.sh-toc { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.sh-toc li { counter-increment: toc; display: flex; align-items: baseline; gap: 6px; font-size: 10.5px; }
.sh-toc li::before { content: counter(toc) "."; color: var(--c); font-weight: 700; width: 14px; }
.sh-toc li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #b9bfcc; }
.sh-toc em { order: 2; font-style: normal; font-weight: 600; color: #6b7180; }

.page-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; margin: 24px auto 0; }
.page-strip span {
  aspect-ratio: 1 / 1.414; border-radius: 4px;
  background: #fff; border-top: 4px solid #1fb89a;
  padding: 8px; font: 600 8.5px "Space Grotesk"; text-transform: uppercase; color: #1a1d26;
  background-image:
    linear-gradient(#e3e6ee, #e3e6ee), linear-gradient(#e3e6ee, #e3e6ee),
    linear-gradient(#e3e6ee, #e3e6ee), linear-gradient(#e3e6ee, #e3e6ee);
  background-size: 80% 4px, 60% 4px, 75% 4px, 50% 4px;
  background-position: 8px 34px, 8px 44px, 8px 54px, 8px 64px;
  background-repeat: no-repeat;
}

/* Prévia dos kits */
.kit-pages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 560px; margin: 0 auto; }
.kit-10 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kit-page {
  --c: #1fb89a;
  aspect-ratio: 1 / 1.414;
  background: #fff; border-radius: 6px; border-top: 5px solid var(--c);
  padding: 14px; display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
  transition: transform .25s;
}
.kit-page:hover { transform: translateY(-4px) rotate(-1deg); }
.kit-page b { font-family: "Space Grotesk"; font-size: 12px; color: #1a1d26; text-transform: uppercase; letter-spacing: .02em; padding-bottom: 6px; border-bottom: 2px solid var(--c); }
.kit-10 .kit-page b { font-size: 10px; }
.kit-page i { display: block; height: 6px; border-radius: 3px; background: #e3e6ee; }
.kit-page i:nth-of-type(2n) { width: 70%; }
.kit-hint { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 18px; }

/* Fichas: blocos extras (anotações, duas colunas, rótulos) */
.sh-checks b { font-weight: 600; color: #3a3f4c; margin-left: 4px; }
.sh-checks b:first-child { margin-left: 0; }
.sh-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.sh-box { border: 1px solid #d6dae3; border-radius: 6px; padding: 2px 10px 8px; margin-top: 4px; background: #fbfbfd; }
.sh-box i { display: block; height: 17px; border-bottom: 1px dashed #c9cdd8; }
.sh-tbl th.det { width: 38%; }
.sheet .sh-p { line-height: 1.6; }

/* Prévias: rolam normalmente, mas sem a barra lateral aparecendo */
.modal-box, .sheet-wrap, .modal-info { scrollbar-width: none; }
.modal-box::-webkit-scrollbar, .sheet-wrap::-webkit-scrollbar, .modal-info::-webkit-scrollbar { display: none; }

/* ============ Página do Kit Completo ============ */
.kp { padding: 50px 0 90px; }
.kp-layout { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.kp-info {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: 22px;
  background: linear-gradient(180deg, #14302a, var(--card) 45%);
  border: 1px solid var(--accent);
}
.kp-info .back { text-align: left; }
.kp-info .tag { align-self: flex-start; margin-bottom: 0; }
.kp-info h1 { font-size: 1.7rem; line-height: 1.15; }
.kp-info p { color: var(--muted); font-size: .93rem; }
.kp-info .price { font-size: 2.2rem; }
.kp-save { font-size: .82rem !important; color: var(--accent) !important; }
.kp-nav { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.kp-nav b { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.kp-nav a { font-size: .88rem; color: var(--muted); padding: 4px 0; }
.kp-nav a:hover { color: var(--accent); }

.kp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.kp-item { scroll-margin-top: 100px; min-width: 0; }
.kp-item h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin-bottom: 12px; }
.kp-item h3 span { font-size: .75rem; color: var(--accent); border: 1px solid rgba(54, 226, 192, .35); border-radius: 999px; padding: 2px 8px; }
.kp-sheet .sheet { width: 560px; max-width: none; zoom: .68; }

@media (max-width: 1180px) { .kp-sheet .sheet { zoom: .56; } }
@media (max-width: 1000px) {
  .kp-layout { grid-template-columns: 1fr; }
  .kp-info { position: static; }
  .kp-nav { display: none; }
  .kp-sheet .sheet { zoom: .72; }
}
@media (max-width: 760px) { .kp-list { grid-template-columns: 1fr; } .kp-sheet .sheet { zoom: 1; max-width: 100%; width: 100%; } }
@media (max-width: 600px) { .kp-sheet .sheet { width: 560px; max-width: none; zoom: .61; } }

/* Kits: miniatura da ficha de verdade */
.kit-pages:has(.kit-real) { align-items: start; }
.kit-real { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kit-label { display: flex; justify-content: space-between; gap: 8px; font: 600 .8rem "Space Grotesk"; color: var(--text); }
.kit-label em { font-style: normal; font-weight: 500; color: var(--accent); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.kit-real:hover .kit-label em { opacity: 1; }
.kit-zoom { border-radius: 6px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.kit-real:hover .kit-zoom { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--accent); }
.kit-zoom .sheet { width: 560px; max-width: none; zoom: .47; pointer-events: none; }
.kit-10 .kit-zoom .sheet { zoom: .3; }
.kit-10 .kit-label { font-size: .72rem; }
.kit-10 .kit-label em { display: none; }
@media (max-width: 1080px) { .kit-zoom .sheet { zoom: .4; } .kit-10 .kit-zoom .sheet { zoom: .26; } }
@media (max-width: 900px)  { .kit-zoom .sheet { zoom: .47; } .kit-10 .kit-zoom .sheet { zoom: .3; } }
@media (max-width: 600px)  { .kit-pages { gap: 12px; } .kit-zoom .sheet, .kit-10 .kit-zoom .sheet { zoom: .28; } .kit-label em { display: none; } }

@media (max-width: 900px) {
  .modal { padding: 0; }
  .modal-box { grid-template-columns: 1fr; grid-template-rows: auto; height: 100%; border-radius: 0; overflow-y: auto; }
  .sheet-wrap, .modal-info { overflow: visible; }
  .sheet-wrap { padding: 60px 16px 24px; }
  .modal-info { padding: 24px 20px 40px; }
}
@media (max-width: 560px) {
  .sheet { padding: 22px 18px 18px; font-size: 9px; }
  .sh-title b { font-size: 12px; }
  .sh-row { flex-wrap: wrap; gap: 4px 10px; }
  .sh-row .f { flex-basis: 40%; }
  .kit-10 { grid-template-columns: repeat(2, 1fr); }
  .order-bar { width: calc(100% - 32px); justify-content: space-between; gap: 12px; }
}
/* Responsivo */
@media (max-width: 1000px) {
  .hero-inner, .faq-inner, .screen { grid-template-columns: 1fr; }
  .hero-stack { transform: none; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-for { min-height: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  /* Menu aberto: lista de links que desce logo abaixo da barra do topo */
  .topbar.menu-aberto .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 6px 16px 18px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .55);
    animation: menu-desce .18s ease-out;
  }
  .topbar.menu-aberto .nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.05rem; font-weight: 500; }
  .topbar.menu-aberto .nav .nav-extra { display: block; }
  .topbar.menu-aberto .nav .nav-destaque {
    margin-top: 14px; border: 0; border-radius: 999px; text-align: center; font-weight: 600;
    background: linear-gradient(135deg, var(--accent), #2bb8e0); color: #05140f;
  }
  :root[data-theme="light"] .topbar.menu-aberto .nav .nav-destaque { color: #fff; }
}
@keyframes menu-desce { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .hero { padding: 60px 0 80px; }
  .hero-stats { gap: 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .topbar .btn-small { display: none; }
  .agenda { grid-template-columns: 1fr; }
  .hero-stack .ag-side { display: none; }
  .hero-stack .hide-sm { display: none; }
  .pt-fields { grid-template-columns: 1fr; }
  .appt .acts { display: none; }
}

/* Botão de compra ainda não disponível (fichas) */
.btn.btn-off { opacity: .55; cursor: not-allowed; pointer-events: none; filter: grayscale(.4); }

/* Botões de compra (são <button>, não links) */
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
button.btn:disabled { opacity: .7; cursor: wait; transform: none; }
