/* ═══════════════════════════════════════════════
   TOSHA PERSONAL · sistema visual compartilhado
   Usado pela árvore de links e pelas 4 páginas de venda.
   ═══════════════════════════════════════════════ */

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

:root {
  --ink:         #000000;
  --ink-2:       #0A0A0D;
  --ink-3:       #131318;
  --line:        rgba(255,255,255,0.11);
  --line-soft:   rgba(255,255,255,0.06);

  /* rosa: assinatura da marca (rótulos, destaque, etiquetas) */
  --brand:       #F962BF;
  --brand-deep:  #C43C93;
  --brand-soft:  rgba(249,98,191,0.13);

  /* ciano: cor de ação (botões, setas, marcações, números) */
  --action:      #5AE4E9;
  --action-deep: #22B4BA;
  --action-soft: rgba(90,228,233,0.13);

  --text:        #FFFFFF;
  --muted:       #9B9BA6;
  --paper:       #FFFFFF;

  --radius:     16px;
  --radius-lg:  24px;
  --wrap:       520px;
  --wrap-wide:  1080px;
}

html { background: var(--ink); scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── tipografia ─── */
.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
}

h1, h2, h3 { line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }

h1 {
  font-size: clamp(30px, 8.5vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, 6.2vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
}

h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }

p { font-size: 16px; color: var(--muted); }
strong { color: var(--text); font-weight: 700; }
.hl { color: var(--brand); }

/* ─── layout ─── */
/* Páginas de produto: a copy corre centralizada.
   Exceções deliberadas: o aviso legal e a legenda de arquivo, que pedem leitura corrida. */
.venda .hero .wrap,
.venda section > .wrap { text-align: center; }
.venda .notice { text-align: left; }
.venda .topbar .wrap { text-align: left; }
.venda section > .wrap.faq { text-align: left; }
.wrap.wide { max-width: var(--wrap-wide); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; }
section.tight { padding: 40px 0; }

.divider { height: 1px; background: var(--line-soft); border: 0; }

/* ─── botões ─── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--action);
  color: #04121A;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 10px 30px -12px rgba(90,228,233,.55);
}
.btn:hover { transform: translateY(-2px); background: #7CEEF2; }
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(230,237,233,.05); border-color: rgba(230,237,233,.22); }

.btn-brand { background: var(--brand); box-shadow: 0 10px 30px -12px rgba(249,98,191,.5); }
.btn-brand:hover { background: #FD82CE; }

/* ─── cartões ─── */
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.grid { display: grid; gap: 12px; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ─── faixa de prova ─── */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.proof div { background: var(--ink-2); padding: 16px 10px; text-align: center; }
.proof b {
  display: block;
  font-size: clamp(15px, 4.6vw, 22px);
  font-weight: 900;
  color: var(--action);
  letter-spacing: -0.02em;
  white-space: nowrap;
  hyphens: none;
}
.proof span {
  display: block;
  margin-top: 3px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── lista de entregas ─── */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  color: var(--muted);
}
.venda .checklist { gap: 18px; }
.venda .checklist li {
  display: block;
  max-width: 42ch;
  margin-inline: auto;
}
.venda .checklist li::before {
  display: inline-block;
  vertical-align: -5px;
  margin: 0 8px 0 0;
}
.checklist li::before {
  content: '';
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--action-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235AE4E9' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist li b { color: var(--text); font-weight: 700; }

/* ─── passos numerados ─── */
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps .card {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}
.venda .steps .card {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 12px;
  padding: 24px 20px;
}
.steps .card::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--action-soft);
  color: var(--action);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px; font-weight: 600;
}
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: 14.5px; }

/* ─── linha de credencial ─── */
.credential {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  line-height: 1.9;
}

/* ─── faq ─── */
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--action);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 15px; }

/* ─── rodapé ─── */
footer {
  padding: 40px 0 120px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
footer p, footer small { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ─── barra fixa de conversão ─── */
.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5,10,7,.86);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.sticky .wrap { padding: 0 4px; }

/* ─── topo das páginas de venda ─── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(5,10,7,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.topbar .mark {
  font-size: 14px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}
.topbar .mark span { color: var(--brand); }
.topbar a.back {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.topbar a.back:hover { color: var(--text); }

/* ─── hero das páginas de venda ─── */
.hero {
  position: relative;
  padding: 52px 0 48px;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--brand-soft) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero h1 { margin: 14px 0 16px; }
.hero p.lead { font-size: 17px; line-height: 1.6; }
.hero .btn { margin-top: 26px; }
.hero .assure {
  margin-top: 12px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(249,98,191,.30);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.tag.alt { background: var(--action-soft); border-color: rgba(90,228,233,.30); color: var(--action); }

/* ─── bloco de preço ─── */
.price {
  text-align: center;
  border: 1px solid rgba(90,228,233,.30);
  background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink-2) 100%);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
}
.price .value {
  font-size: 54px; font-weight: 900; letter-spacing: -0.04em; color: var(--text);
  line-height: 1;
}
.price .value small { font-size: 22px; font-weight: 700; color: var(--muted); }
.price .old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.price .btn { margin-top: 22px; }

/* ─── carrossel de provas sociais ─── */
.provas-texto { max-width: 560px; margin-inline: auto; }

.arraste {
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

.provas-painel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(249,98,191,.10) 0%, rgba(0,0,0,0) 62%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  padding: 20px 0 22px;
}

.provas {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 18px 4px;
}
.provas::-webkit-scrollbar { display: none; }

.prova { flex: 0 0 210px; margin: 0; scroll-snap-align: start; text-align: center; }

.prova img,
.prova .vazio {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: var(--ink-3);
}
.prova img { object-fit: cover; border: 1px solid var(--line); cursor: zoom-in; }

/* estado vazio: campo reservado, desenhado para não parecer erro */
.prova .vazio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 14px;
  border: 1px dashed rgba(249,98,191,.34);
  background: linear-gradient(180deg, rgba(249,98,191,.06) 0%, var(--ink-3) 100%);
}
.prova .vazio svg { width: 26px; height: 26px; color: var(--brand); opacity: .75; }
.prova .vazio .rotulo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.prova .vazio .arquivo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px; line-height: 1.6; color: var(--muted);
  word-break: break-all;
}

.prova figcaption { margin-top: 12px; }
.prova figcaption b { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.prova figcaption span {
  display: block; margin-top: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--action);
}
.prova.vazia figcaption b,
.prova.vazia figcaption span { color: var(--muted); }

@media (min-width: 860px) {
  .prova { flex: 0 0 252px; }
}

/* ─── ampliador da prova ─── */
.lupa {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lupa img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.lupa .fechar {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 20px; line-height: 1;
  cursor: pointer;
}
.lupa .fechar:hover { background: rgba(255,255,255,.14); }

/* ─── planos ─── */
.plans { display: grid; gap: 14px; }
@media (min-width: 860px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 18px; }
  .plan.best { transform: translateY(-10px); }
}

.plan {
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
  padding: 26px 20px 24px;
}
.plan.best {
  border-color: rgba(90,228,233,.38);
  background: linear-gradient(180deg, var(--ink-3) 0%, var(--ink-2) 100%);
}
.plan .badge {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--action);
  color: #04121A;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
}
.plan .name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand);
}
.plan .old { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: line-through; }
.plan .value {
  margin-top: 4px;
  font-size: 46px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--text);
}
.plan .value small { font-size: 19px; font-weight: 700; color: var(--muted); }
.plan .per { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.plan ul {
  list-style: none;
  margin: 18px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: grid; gap: 9px;
}
.plan li { text-align: center; }
.plan li { font-size: 13.5px; color: var(--muted); }
.plan .btn { font-size: 14px; padding: 15px 18px; }
.plan.mensal .btn { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.plan.mensal .btn:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.24); }

/* ─── entregáveis dentro do cartão de preço ─── */
.price .entrega {
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.price .entrega li { font-size: 14px; }
.price .old { display: block; }
.price .contexto {
  display: block;
  max-width: 34ch;
  margin: 16px auto 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── aviso ─── */
.notice {
  border-left: 2px solid var(--brand);
  background: rgba(249,98,191,.06);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
}
.notice p { font-size: 13px; line-height: 1.6; }

/* ─── acessibilidade ─── */
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
