/* ==========================================================================
   Kenzo Nakagawa — landing + link-in-bio
   Tema dark fixo; a cor de destaque (--accent) muda conforme o produto.
   ========================================================================== */

:root {
  /* Cor de destaque global — trocada via JS (padrão: violeta) */
  --accent: #8b5cf6;
  --accent-soft: #a78bfa;
  --accent-contrast: #0d0b14;
  --accent-glow: rgba(139, 92, 246, 0.35);

  /* Fundos */
  --bg: #0d0b14;
  --bg-deep: #070510;
  --bg-raise: #100c1c;
  --bg-card: #14101f;

  /* Texto */
  --text: #f5f3fa;
  --text-body: #b0a8c8;
  --text-dim: #6f6590;

  --radius-card: 16px;
  --radius-btn: 12px;
  --header-h: 64px;
}

/* Cores fixas de cada card (fonte de verdade lida pelo JS) */
[data-accent="violet"] { --card: #8b5cf6; --card-soft: #a78bfa; --card-contrast: #0d0b14; --card-glow: rgba(139, 92, 246, 0.35); }
[data-accent="green"]  { --card: #10b981; --card-soft: #34d399; --card-contrast: #0d0b14; --card-glow: rgba(16, 185, 129, 0.35); }
[data-accent="yellow"] { --card: #facc15; --card-soft: #fde047; --card-contrast: #0d0b14; --card-glow: rgba(250, 204, 21, 0.35); }
[data-accent="blue"]   { --card: #38bdf8; --card-soft: #7dd3fc; --card-contrast: #0d0b14; --card-glow: rgba(56, 189, 248, 0.35); }
[data-accent="rose"]   { --card: #f43f5e; --card-soft: #fb7185; --card-contrast: #0d0b14; --card-glow: rgba(244, 63, 94, 0.35); }

/* Cores dos blocos de links (mesmo mecanismo: o JS copia --card* para --accent*) */
[data-accent="cyan"]   { --card: #22d3ee; --card-soft: #67e8f9; --card-contrast: #0d0b14; --card-glow: rgba(34, 211, 238, 0.35); }  /* TikTok + card PAPO AI */
[data-accent="red"]    { --card: #ef4444; --card-soft: #f87171; --card-contrast: #0d0b14; --card-glow: rgba(239, 68, 68, 0.35); }   /* YouTube */
[data-accent="pink"]   { --card: #ec4899; --card-soft: #f472b6; --card-contrast: #0d0b14; --card-glow: rgba(236, 72, 153, 0.35); }  /* Instagram */
[data-accent="indigo"] { --card: #6366f1; --card-soft: #818cf8; --card-contrast: #0d0b14; --card-glow: rgba(99, 102, 241, 0.35); }  /* Discord */

/* ============ Reset básico ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 85% -10%, #1b1430 0%, transparent 60%),
    radial-gradient(900px 600px at -15% 40%, #100c1c 0%, transparent 55%),
    radial-gradient(1000px 800px at 50% 110%, #070510 0%, transparent 60%);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-soft); transition: color 0.4s ease; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ============ Anéis decorativos ============ */
.rings {
  position: fixed;
  inset: 0;
  z-index: -1;
  color: var(--accent);
  transition: color 0.4s ease;
  pointer-events: none;
}

.rings-svg { position: absolute; opacity: 0.1; }

.rings-top {
  width: min(80vw, 560px);
  top: -18vh;
  right: -22vw;
  animation: spin 90s linear infinite;
}

.rings-bottom {
  width: min(90vw, 640px);
  bottom: -25vh;
  left: -28vw;
  animation: spin 120s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(13, 11, 20, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(139, 92, 246, 0.12);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

.brand-accent { color: var(--accent); transition: color 0.4s ease; }

/* ============ Hero ============ */
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 2.5rem;
  text-align: center;
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
  object-fit: cover;
  animation: avatarNeon 8s linear infinite;
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b1430, #100c1c);
}

.avatar-k {
  font-family: "UnifrakturCook", "Montserrat", serif;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--text);
  transform: translateY(2px);
  animation: kNeon 8s linear infinite;
}

.hero-title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== Glitch periódico (a cada 5s) no nome ===== */
.glitch {
  position: relative;
  animation: glitchShake 5s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  letter-spacing: inherit;
  text-transform: inherit;
  pointer-events: none;
  opacity: 0;
}

.glitch::before { color: #22d3ee; animation: glitchTop 5s infinite; }
.glitch::after  { color: #f0398b; animation: glitchBottom 5s infinite; }

@keyframes glitchShake {
  0%, 8%, 100% { transform: translate(0, 0); }
  1% { transform: translate(-2px, 1px); }
  2% { transform: translate(2px, -1px); }
  3% { transform: translate(-1px, -2px); }
  4% { transform: translate(2px, 1px); }
  5% { transform: translate(-2px, 0); }
  6% { transform: translate(1px, -1px); }
  7% { transform: translate(-1px, 1px); }
}

@keyframes glitchTop {
  0%   { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate(0, 0); }
  0.5% { opacity: 0.9; clip-path: inset(0 0 62% 0); transform: translate(-4px, -2px); }
  2%   { clip-path: inset(22% 0 40% 0); transform: translate(4px, 2px); }
  4%   { clip-path: inset(42% 0 20% 0); transform: translate(-5px, 0); }
  6%   { clip-path: inset(12% 0 68% 0); transform: translate(3px, -1px); }
  8%   { opacity: 0.9; clip-path: inset(58% 0 10% 0); transform: translate(-2px, 2px); }
  8.5%, 100% { opacity: 0; transform: translate(0, 0); }
}

@keyframes glitchBottom {
  0%   { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate(0, 0); }
  0.5% { opacity: 0.9; clip-path: inset(68% 0 0 0); transform: translate(4px, 2px); }
  2%   { clip-path: inset(40% 0 30% 0); transform: translate(-4px, -2px); }
  4%   { clip-path: inset(20% 0 50% 0); transform: translate(5px, 0); }
  6%   { clip-path: inset(60% 0 12% 0); transform: translate(-3px, 1px); }
  8%   { opacity: 0.9; clip-path: inset(10% 0 78% 0); transform: translate(2px, -2px); }
  8.5%, 100% { opacity: 0; transform: translate(0, 0); }
}

.hero-bio {
  margin-top: 0.5rem;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-soft);
  /* letter-spacing empurra o texto; compensa o recuo à direita */
  padding-left: 0.35em;
  min-height: 1.6em; /* evita "pulo" de layout durante a digitação */
  animation: textNeon 8s linear infinite;
}

/* cursor piscando após o Tèknolōdiæ */
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 0.02em;
  background: currentColor;
  vertical-align: -0.15em;
  animation: caretBlink 1.05s steps(1, end) infinite;
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== Neon ciclando pela paleta (violeta → verde → amarelo → azul) ===== */
@keyframes avatarNeon {
  0%,   100% { border-color: #a78bfa; box-shadow: 0 0 34px rgba(139, 92, 246, 0.5); }
  25%        { border-color: #34d399; box-shadow: 0 0 34px rgba(16, 185, 129, 0.5); }
  50%        { border-color: #fde047; box-shadow: 0 0 34px rgba(250, 204, 21, 0.5); }
  75%        { border-color: #7dd3fc; box-shadow: 0 0 34px rgba(56, 189, 248, 0.5); }
}

@keyframes kNeon {
  0%,   100% { text-shadow: 0 0 16px rgba(139, 92, 246, 0.95), 0 0 34px rgba(139, 92, 246, 0.55); }
  25%        { text-shadow: 0 0 16px rgba(16, 185, 129, 0.95), 0 0 34px rgba(16, 185, 129, 0.55); }
  50%        { text-shadow: 0 0 16px rgba(250, 204, 21, 0.95), 0 0 34px rgba(250, 204, 21, 0.55); }
  75%        { text-shadow: 0 0 16px rgba(56, 189, 248, 0.95), 0 0 34px rgba(56, 189, 248, 0.55); }
}

@keyframes textNeon {
  0%,   100% { color: #a78bfa; }
  25%        { color: #34d399; }
  50%        { color: #fde047; }
  75%        { color: #7dd3fc; }
}

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease,
              box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  transform: scale(1.03);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--accent);
}

.btn-ghost:hover {
  box-shadow: 0 0 18px var(--accent-glow);
  transform: scale(1.03);
}

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.8rem; }

/* CTA dos cards: usa a cor fixa do próprio produto */
.btn-cta {
  background: var(--card);
  color: var(--card-contrast);
  width: 100%;
  margin-top: auto;
}

.btn-cta:hover:not(:disabled) {
  box-shadow: 0 0 26px var(--card-glow);
  transform: scale(1.02);
}

.btn-cta:disabled { opacity: 0.55; cursor: not-allowed; }

/* ============ Seções ============ */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 1rem;
}

.section-title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 0.35rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ============ Produtos — carrossel de cards ============
   O slide ativo fica centralizado; os vizinhos aparecem "de amostra" nas
   laterais, translúcidos — o visitante VÊ que tem mais coisa pro lado. */
.section-products {
  --slide-w: min(600px, 74%); /* largura do slide; o resto vira peek */
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
  overflow: hidden;
}

/* Trilho horizontal com snap (swipe nativo no celular) */
.panels {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  /* padding lateral = o que sobra do slide, p/ 1º e último centralizarem */
  padding: 0.75rem calc((100% - var(--slide-w)) / 2);
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.panels::-webkit-scrollbar { display: none; }

.panel-row {
  flex: 0 0 var(--slide-w);
  display: flex;
  align-items: stretch;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* Vizinhos translúcidos; o ativo acende (.is-active vem do script.js) */
.js .panel-row {
  opacity: 0.32;
  transform: scale(0.94);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.js .panel-row.is-active { opacity: 1; transform: none; }

/* Card do produto: borda + glow na cor, canto arredondado */
.panel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: var(--radius-card);
  border: 1.5px solid color-mix(in srgb, var(--card) 55%, transparent);
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--card) 10%, var(--bg-card)), var(--bg-card) 60%);
  box-shadow: 0 12px 38px var(--card-glow);
}

.panel-soon .panel { opacity: 0.82; }

.panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.85rem;
  padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
}

.panel-title {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 1.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.panel-desc { font-size: 0.95rem; max-width: 46ch; }
.panel-desc strong { color: var(--card-soft); font-weight: 700; }

.panel-bullets {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.panel-bullets li::before { content: "✓ "; color: var(--card-soft); font-weight: 700; }

.panel .btn-cta {
  width: auto;
  align-self: flex-start;
  margin-top: 0.4rem;
  padding-inline: 1.8rem;
}

.panel-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.btn-cta-inline { margin-top: 0; }
.panel-note { font-size: 0.72rem; color: var(--text-dim); }

/* Cupom em destaque (estilo ticket, borda tracejada na cor do card) */
.panel-coupon {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border: 1.5px dashed color-mix(in srgb, var(--card, var(--accent)) 70%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card, var(--accent)) 10%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--card, var(--accent)) 22%, transparent);
}
.coupon-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.coupon-code {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--card-soft, var(--accent-soft));
}

/* Preço do produto no painel */
.panel-price {
  margin: 0.2rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--card, var(--accent));
}
.panel-price-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
}

/* Badge (compartilhado com outras seções) */
.badge {
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-soft);
  border: 1px solid color-mix(in srgb, var(--card) 45%, transparent);
  background: color-mix(in srgb, var(--card) 10%, transparent);
}

/* ============ Links — fragmentos pequenos em fileira (mesma linguagem facetada dos painéis) ============ */
.section-links {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.8rem, 2.4vw, 1.25rem);
}

/* Cada bloco: mini-card arredondado com borda + glow na cor da rede (mesma
   linguagem dos cards do carrossel). Glow via box-shadow — a receita antiga
   (filter: drop-shadow + clip-path) rendia um retângulo preto de composição
   no Chrome/Windows, com o sombreado cortado em bordas retas. */
.tile {
  position: relative;
  width: clamp(92px, 26vw, 124px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 0.45rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 14px;
  border: 1.5px solid color-mix(in srgb, var(--card) 55%, transparent);
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--card) 10%, var(--bg-card)), var(--bg-card) 65%);
  box-shadow: 0 8px 24px var(--card-glow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.tile-ic {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
  color: var(--card);
  transition: transform 0.3s ease;
}

.tile-ic svg { width: 100%; height: 100%; }

.tile-name {
  position: relative;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

/* Entrada em cascata ao carregar (fill backwards: depois da animação o hover volta a valer) */
@keyframes tileIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.js .tile { animation: tileIn 0.6s cubic-bezier(.22,.61,.36,1) backwards; }
.js .tiles .tile:nth-child(2) { animation-delay: 0.07s; }
.js .tiles .tile:nth-child(3) { animation-delay: 0.14s; }
.js .tiles .tile:nth-child(4) { animation-delay: 0.21s; }
.js .tiles .tile:nth-child(5) { animation-delay: 0.28s; }

/* Hover/foco: sobe, glow mais forte e o ícone cresce */
.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card) 85%, transparent);
  box-shadow: 0 12px 30px var(--card-glow), 0 0 18px var(--card-glow);
}

.tile:hover .tile-ic,
.tile:focus-visible .tile-ic { transform: scale(1.12); }

.tile:focus-visible { outline-offset: -3px; }

/* ============ FAQ ============ */
.faq-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: var(--radius-btn);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  text-align: left;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease, color 0.4s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 1.15rem 1rem;
  font-size: 0.9rem;
}

/* ============ Comunidade (Discord) — usado na home e nas páginas de produto ============ */
.v-community {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius-card);
  box-shadow: 0 0 34px var(--accent-glow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.v-community-ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  transition: color 0.4s ease, background-color 0.4s ease;
}
.v-community-ic svg { width: 30px; height: 30px; }

.v-community h3 {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.v-community p { font-size: 0.95rem; max-width: 520px; margin: 0 auto; }
.v-community strong { color: var(--accent-soft); transition: color 0.4s ease; }

/* ============ Disclaimer / Footer ============ */
.disclaimer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.25rem 1.5rem;
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(176, 168, 200, 0.12);
  padding-top: 1.5rem;
}

.footer {
  text-align: center;
  padding: 1.5rem 1.25rem 2.5rem;
  font-size: 0.85rem;
}

/* ---- Apoie (Pix) ---- */
.support {
  max-width: 480px;
  margin: 0 auto 2.25rem;
  padding: 1.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: var(--radius-card);
  transition: border-color 0.4s ease;
}

.support-ic {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  transition: color 0.4s ease, background-color 0.4s ease;
}
.support-ic svg { width: 20px; height: 20px; }

.support-title {
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-text {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-body);
}

.pix-box {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: var(--bg-raise);
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 10px;
  transition: border-color 0.4s ease;
}

.pix-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pix-key {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.footer-brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-links { margin-top: 0.5rem; font-size: 0.8rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--accent-soft); text-decoration: underline; }

.footer-copy { margin-top: 0.4rem; color: var(--text-dim); font-size: 0.75rem; }

/* ============ Mobile: slide mais largo (peek de ~7% em cada lado) ============ */
@media (max-width: 819px) {
  .section-products { --slide-w: 86%; }
  .panel-content { padding: 1.5rem 1.4rem; }
}

/* ============ Desktop ============ */
@media (min-width: 820px) {
  .hero { padding-top: calc(var(--header-h) + 3.5rem); }
}

/* ============ Preço promocional (home + páginas de produto) ============
   Markup: <span class="price-was">de <s>R$ 597</s> por</span> R$ 299 <span class="price-off">50% OFF</span>
   Usa --card (painéis da home) com fallback para --accent (hero das páginas de produto). */
.price-was {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.price-was s {
  text-decoration-thickness: 1.5px;
  text-decoration-color: color-mix(in srgb, var(--card, var(--accent)) 80%, transparent);
}

.price-off {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  vertical-align: 0.28em;
  color: var(--card-soft, var(--accent-soft));
  border: 1px solid color-mix(in srgb, var(--card, var(--accent)) 45%, transparent);
  background: color-mix(in srgb, var(--card, var(--accent)) 12%, transparent);
}

/* ==========================================================================
   HOME "TELA ÚNICA" (2026-08-29) — tudo cabe na dobra, sem rolagem:
   hero + blocos de links compactos, produtos em CARROSSEL (1 painel por vez,
   auto-avança; setas/bolinhas/swipe), disclaimer e footer enxutos.
   Escopo: body.home — NÃO afeta páginas de produto nem termos.html.
   ========================================================================== */

body.home {
  min-height: 100vh;   /* fallback */
  min-height: 100svh;  /* altura visível real no celular (barras do navegador) */
  display: flex;
  flex-direction: column;
}

/* O hero já carrega a marca — o header some e devolve ~64px para a dobra */
.home .header { display: none; }

.home main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* ---- Hero compacto ---- */
.home .hero { padding: clamp(0.9rem, 2.5vh, 2.25rem) 1.25rem 0.5rem; }
.home .avatar {
  width: clamp(58px, 9.5vh, 92px);
  height: clamp(58px, 9.5vh, 92px);
  margin-bottom: 0.55rem;
}
.home .avatar-k { font-size: clamp(1.9rem, 6vh, 3rem); }
.home .hero-title { font-size: clamp(1.15rem, 4.2vw, 1.85rem); }
.home .hero-bio {
  margin-top: 0.3rem;
  font-size: clamp(0.8rem, 2.4vw, 1.05rem);
  min-height: 1.45em;
}

/* ---- Blocos de links: sempre em UMA fileira ---- */
.home .section-links { padding: 0.4rem 1rem 0; }
.home .tiles {
  flex-wrap: nowrap; /* sempre em UMA fileira; nada de overflow aqui — clipava o glow */
  gap: clamp(0.35rem, 1.6vw, 1.1rem);
}
.home .tile {
  flex: 0 0 auto;
  width: clamp(58px, 17.5vw, 106px);
  gap: 0.35rem;
  padding: 0.4rem 0.35rem;
}
.home .tile-ic { width: clamp(18px, 3.2vh, 28px); height: clamp(18px, 3.2vh, 28px); }
.home .tile-name { font-size: clamp(0.5rem, 1.55vw, 0.62rem); }

/* ---- Carrossel de produtos ---- */
.home .section-products {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.25rem 0 0;
  overflow: visible;
}

.home .carousel { position: relative; min-height: 0; }

/* Painel compacto dentro da dobra (o layout do trilho/peek está na seção base) */
.home .panel-content {
  gap: 0.55rem;
  padding: clamp(1.1rem, 3vh, 2.1rem) clamp(1.4rem, 3.5vw, 2.5rem);
}
.home .panel-title { font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.home .panel-desc { font-size: clamp(0.8rem, 1.9vw, 0.92rem); line-height: 1.5; max-width: none; } /* o card já limita a largura */
.home .panel-bullets { font-size: clamp(0.74rem, 1.7vw, 0.86rem); gap: 0.22rem; }
.home .panel-price { margin: 0 0 0.15rem; font-size: clamp(1.25rem, 2.4vh, 1.5rem); }
.home .panel .btn-cta { padding: 0.6rem 1.5rem; font-size: 0.82rem; }

/* Setas ‹ › (injetadas pelo script.js) */
.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: rgba(13, 11, 20, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.4s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.car-arrow:hover { box-shadow: 0 0 18px var(--accent-glow); color: var(--accent-soft); }
.car-arrow svg { width: 20px; height: 20px; }
/* Setas sobre a faixa de peek, coladas no card ativo (herdam --slide-w) */
.car-prev { left: max(8px, calc((100% - var(--slide-w, 74%)) / 2 - 56px)); }
.car-next { right: max(8px, calc((100% - var(--slide-w, 74%)) / 2 - 56px)); }

/* No celular o swipe + bolinhas dão conta; as setas só atrapalham.
   Painel-slide também encolhe: sem bullets, descrição em até 3 linhas —
   o detalhe completo mora na página do produto. */
@media (max-width: 819px) {
  .car-arrow { display: none; }
  .home .panel-bullets { display: none; }
  .home .panel-title { font-size: 1.05rem; }
  .home .panel-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
  }
  .home .panel-content { padding: 0.95rem 1.3rem; gap: 0.4rem; }
  .home .panel-price { font-size: 1.3rem; }
  .home .footer-line { font-size: 0.64rem; }
}

/* Bolinhas de navegação (o slide ativo vira um traço na cor do produto) */
.car-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0 0.1rem;
}

.car-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-dim) 45%, transparent);
  cursor: pointer;
  transition: background-color 0.35s ease, width 0.35s ease, box-shadow 0.35s ease;
}
.car-dot:hover { background: var(--text-dim); }
.car-dot[aria-current="true"] {
  width: 24px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ---- Disclaimer + footer enxutos ---- */
.home .disclaimer { padding: 0.35rem 1.25rem 0; }
.home .disclaimer p {
  border-top: none;
  padding-top: 0;
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.6rem;
  line-height: 1.5;
  text-align: center;
}

.home .footer { padding: 0.5rem 1rem 0.9rem; }

.home .pix-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.35rem;
}
.home .pix-heart { width: 14px; height: 14px; color: var(--accent); transition: color 0.4s ease; }
.home .pix-inline .pix-key { font-size: 0.74rem; }
.home .pix-inline .btn { padding: 0.28rem 0.75rem; font-size: 0.66rem; }

.home .footer-line { color: var(--text-dim); font-size: 0.7rem; }
.home .footer-line a { color: var(--text-dim); }
.home .footer-line a:hover { color: var(--accent-soft); }
.home .footer-brand-inline { color: var(--text); font-weight: 800; letter-spacing: 0.1em; }

/* Abaixo de 1000px de altura os bullets saem para o card caber na dobra — o
   essencial (título, descrição, preço, CTA) fica. O limite é medido pelo card
   MAIS ALTO do carrossel (a altura do trilho é a dele): card novo ou bullet que
   quebra linha pede nova medição em 990–1000px. */
@media (max-height: 999px) {
  .home .panel-bullets { display: none; }
}

/* Mais baixo ainda: tudo encolhe mais um degrau para caber sem rolagem */
@media (max-height: 849px) {
  .home .hero { padding-top: 0.75rem; }
  .home .avatar { width: 54px; height: 54px; margin-bottom: 0.4rem; }
  .home .avatar-k { font-size: 1.8rem; }
  .home .hero-title { font-size: clamp(1.05rem, 3.8vw, 1.5rem); }
  .home .tile { width: clamp(56px, 16vw, 88px); }
  .home .panels { padding-block: 0.25rem; }
  .home .panel-content { padding-top: 0.85rem; padding-bottom: 0.85rem; gap: 0.45rem; }
  .home .panel-desc {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home .car-dots { padding: 0.25rem 0 0; }
  .home .disclaimer p { font-size: 0.56rem; }
}

/* Celular pequeno (≤699px de altura): aperto final para nada vazar da dobra */
@media (max-height: 699px) {
  .home .hero { padding-top: 0.5rem; }
  .home .hero-bio { min-height: 1.2em; margin-top: 0.15rem; }
  .home .section-links { padding-top: 0.25rem; }
  .home .panel-content { padding-top: 0.7rem; padding-bottom: 0.7rem; gap: 0.35rem; }
  .home .panel-price { font-size: 1.2rem; }
  .home .panel-price-note { font-size: 0.66rem; }
  .home .panel .btn-cta { padding: 0.45rem 1.1rem; font-size: 0.78rem; }
  .home .car-dots { padding-top: 0.25rem; }
  .home .tile { width: clamp(52px, 15.2vw, 84px); }
  .home .disclaimer p { font-size: 0.52rem; line-height: 1.45; }
  .home .pix-inline { margin-bottom: 0.1rem; }
  .home .footer { padding-bottom: 0.4rem; }
}

/* ============ Acessibilidade: reduzir movimento ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
