/* ==========================================================================
   IDENTIDADE VISUAL — troque aqui (cores, fontes, raios). Logo: assets/brand/logo.webp
   Nome, WhatsApp e planos: config.js
   ========================================================================== */
:root {
  --brand: #ff2d3d;          /* vermelho do TikTak */
  --brand-hover: #ff4b59;
  --brand-deep: #b5101d;
  --brand-glow: rgba(255, 45, 61, .32);
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #151518;
  --surface-2: #1c1c20;
  --line: #26262c;
  --text: #f5f5f6;
  --muted: #a2a2ab;
  --gold: #f5c04a;
  --wa: #1fae5b;
  --wa-hover: #24c466;
  --font-display: 'TikTak Display', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@font-face {
  font-family: 'TikTak Display';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn svg { font-size: 18px; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-red { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.btn-red:hover { background: var(--brand-hover); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3a3a42; background: var(--surface); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top-in { display: flex; align-items: center; height: 68px; gap: 16px; }
.logo img { height: 34px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
.menu a:not(.btn):hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { font-size: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 45, 61, .22), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 var(--brand-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 61, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 45, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 61, 0); } }
.hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-pts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.hero-pts li { display: flex; align-items: center; gap: 8px; }
.hero-pts svg { color: var(--brand); }

.dl-card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 28px 24px; text-align: center;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 45, 61, .06);
}
.dl-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), transparent); }
.dl-mark { width: 64px; height: 64px; margin: 0 auto 14px; }
.dl-card h2 { font-size: 26px; }
.dl-meta { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 22px; font-variant-numeric: tabular-nums; }
.dl-facts { list-style: none; padding: 0; margin: 20px 0 14px; display: grid; gap: 8px; text-align: left; font-size: 14px; color: var(--muted); }
.dl-facts li { padding-left: 22px; position: relative; }
.dl-facts li::before { content: ''; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.dl-all { font-size: 13px; color: var(--muted); }
.dl-all:hover { color: var(--text); }

/* ---------- seções ---------- */
.sec { padding: 80px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.kicker { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 44px); }
.sub { color: var(--muted); margin-top: 14px; }

/* ---------- carrossel ---------- */
.destaques { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px;
  overscroll-behavior-x: contain;
}
.car-track::-webkit-scrollbar { display: none; }
.slide { margin: 0; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #0b0b0d; padding: 16px; }
.slide.app img { padding: 0; object-fit: cover; object-position: left top; }
.slide figcaption { padding: 16px 18px 20px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.slide figcaption b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.car-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background-color .15s; }
.car-btn:hover { border-color: var(--brand); }
.car-btn.prev svg { transform: rotate(180deg); }
.car-dots { display: flex; gap: 8px; }
.car-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: #3a3a42; cursor: pointer; transition: width .25s var(--ease), background-color .25s; }
.car-dots button[aria-selected="true"] { width: 24px; background: var(--brand); }

/* ---------- abas de recursos ---------- */
.tab-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 auto 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { flex: none; height: 40px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--font-body); cursor: pointer; transition: background-color .18s, color .18s; }
.tab-list button:hover { color: var(--text); }
.tab-list button[aria-selected="true"] { background: var(--brand); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px; animation: fadeUp .35s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tp-text h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.tp-text > p { color: var(--muted); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: #d8d8de; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 45, 61, .14); box-shadow: inset 0 0 0 1px rgba(255, 45, 61, .45); }
.ticks li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 9px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--text); font-weight: 600; }
.tp-img { width: 100%; max-height: 380px; object-fit: contain; background: #0b0b0d; border-radius: var(--r); border: 1px solid var(--line); padding: 16px; }
.tp-img.tp-shot { padding: 0; object-fit: cover; object-position: left top; aspect-ratio: 16 / 10; max-height: none; }
.tp-art { background: #0b0b0d; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; min-height: 260px; align-content: center; }
.bubble { max-width: 85%; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.bubble.l { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.r { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }

/* ---------- 3 passos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.steps .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font: 700 20px/1 var(--font-display); margin-bottom: 18px; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1040px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 22px 22px; }
.plan.hl { border-color: var(--brand); background: linear-gradient(180deg, rgba(255, 45, 61, .10), var(--surface) 45%); box-shadow: 0 24px 60px -30px var(--brand-glow); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; letter-spacing: .02em; }
.plan h3 { font-size: 20px; }
.plan .phrase { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan .price { font: 700 36px/1 var(--font-display); letter-spacing: -.02em; margin: 20px 0 6px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-right: 4px; }
.plan .per { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.plan .save { display: inline-block; margin-top: 10px; color: var(--gold); font-weight: 700; font-size: 13px; }
.plan .btn { margin-top: auto; }
.plan .sp { flex: 1; min-height: 20px; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* ---------- aviso do Windows ---------- */
.warn { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(90deg, rgba(245, 192, 74, .08), transparent 60%), var(--surface); border: 1px solid rgba(245, 192, 74, .35); border-radius: var(--r-lg); padding: 28px 32px; }
.warn-ic { font-size: 36px; color: var(--gold); margin-top: 2px; }
.warn h2 { font-size: 24px; margin-bottom: 10px; }
.warn p { color: #d0d0d6; }
.warn p + p { margin-top: 10px; }
.warn-strong { color: var(--text) !important; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .18s; }
.faq details[open] { border-color: #3a3a42; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- chamada final ---------- */
.final { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 45, 61, .28), transparent 55%), var(--surface); border: 1px solid rgba(255, 45, 61, .3); }
.final h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 620px; }
.final p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.final-cta { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; margin-top: 40px; }
.foot-in { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.foot-in img { height: 28px; width: auto; }
.foot-in p { flex: 1; min-width: 240px; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--text); }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .dl-card { max-width: 460px; width: 100%; }
  .car-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .tab-panel { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 20px; background: rgba(10, 10, 11, .97); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 10px; height: 44px; }
  .hero { padding: 40px 0 32px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .sec { padding: 56px 0; }
  .car-track { grid-auto-columns: 86%; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; row-gap: 24px; max-width: 440px; }
  .tab-list { width: 100%; }
  .tab-panel { padding: 22px; gap: 24px; }
  .warn { flex-direction: column; padding: 22px; gap: 12px; }
  .final { flex-direction: column; align-items: stretch; padding: 28px 22px; }
  .final-cta .btn { width: 100%; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .btn-lg { padding: 0 16px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
