/* ============================================================
   siteDivulgacao — landing do grupo (identidade dos criativos)
   ============================================================ */
:root {
  --bg-deep: #050b24;
  --bg-navy: #0c1b4d;
  --bg-purple: #1f1466;
  --yellow: #ffd000;
  --yellow-soft: rgba(255, 208, 0, 0.15);
  --wa: #25d366;
  --wa-dark: #128c7e;
  --white: #ffffff;
  --muted: #cbd5e1;
  --chat-bg: #0b141a;
  --bubble: #1f2c34;
}

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

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

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 50% 8%, rgba(60, 40, 170, 0.55) 0%, transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(255, 208, 0, 0.07) 0%, transparent 45%),
    linear-gradient(180deg, #120d4a 0%, #071135 45%, #04081c 100%);
  background-attachment: fixed;
  color: var(--white);
  font-family: 'Montserrat', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 22px 16px calc(96px + env(safe-area-inset-bottom));
}

/* ── Fundo ─────────────────────────────────────────────────── */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.o1 { width: 320px; height: 320px; background: #3b2bbf; top: -80px; left: -100px; }
.o2 { width: 260px; height: 260px; background: #0e3fa8; bottom: 10%; right: -90px; }
.o3 { width: 180px; height: 180px; background: rgba(255, 208, 0, .35); top: 40%; left: -80px; }
.stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px #fff; opacity: .5;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 34px;
}
.hero { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }

/* Estado inicial só com JS ativo (index.js revela) */
.js .reveal, .js .reveal-io { opacity: 0; }
.no-anim .reveal, .no-anim .reveal-io { opacity: 1 !important; transform: none !important; }

/* ── Avatar ───────────────────────────────────────────────── */
.avatar-wrap { position: relative; width: 120px; height: 120px; margin-bottom: 6px; }
.avatar {
  position: relative; z-index: 2;
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--yellow); background: var(--bg-navy);
}
.avatar-glow {
  position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 0, .45) 0%, transparent 65%);
  z-index: 0;
}
.avatar-ring {
  position: absolute; inset: -8px; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, var(--yellow), transparent 30%, var(--wa) 50%, transparent 70%, var(--yellow));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.status-badge {
  position: absolute; z-index: 3; bottom: -8px; left: 50%; transform: translateX(-50%);
  background: #16a34a; color: #fff; font-size: .68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 20px; border: 2px solid var(--bg-deep);
  white-space: nowrap; display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}
.status-dot { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ── Textos ───────────────────────────────────────────────── */
.brand-tag {
  background: var(--yellow); color: #071135; font-weight: 900; font-size: .78rem;
  padding: 4px 12px; border-radius: 6px; letter-spacing: .8px; margin-top: 8px;
  box-shadow: 0 4px 0 #b39200;
}
.headline {
  font-size: 1.62rem; font-weight: 900; line-height: 1.18; text-align: center;
  letter-spacing: -.3px; text-wrap: balance;
}
.headline .hl {
  color: var(--yellow);
  background: linear-gradient(90deg, var(--yellow), #fff6b0, var(--yellow));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.sub-title { font-size: .95rem; line-height: 1.45; text-align: center; color: var(--muted); max-width: 400px; }
.sub-title strong { color: #fff; }

/* ── Categorias ───────────────────────────────────────────── */
.categories-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  width: 100%; max-width: 380px;
}
.category-pill {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 208, 0, .35);
  color: #f8fafc; font-size: clamp(.68rem, 3.2vw, .76rem); font-weight: 700; padding: 6px 4px; border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap;
}
.category-pill i { color: var(--yellow); }
.category-pill.active {
  background: var(--yellow); color: #071135; border-color: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 208, 0, .5);
}
.category-pill.active i { color: #071135; }
/* Página de nicho: poucas pílulas, centralizadas e com quebra de linha */
.categories-row.niche { display: flex; flex-wrap: wrap; justify-content: center; }
.categories-row.niche .category-pill { padding: 6px 12px; }

/* ── Botões ───────────────────────────────────────────────── */
.cta-block { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; }
.point { font-size: 1.9rem; line-height: 1; display: inline-block; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; text-decoration: none; cursor: pointer; border: 0;
  -webkit-tap-highlight-color: transparent; font-family: inherit;
}
.btn-whatsapp {
  background: linear-gradient(180deg, #2ee66f 0%, var(--wa) 55%, #1ebe5a 100%);
  color: #fff; padding: 17px 18px; border-radius: 16px;
  box-shadow: 0 6px 0 #0f8a43, 0 12px 30px rgba(37, 211, 102, .45);
  animation: pulse-green 1.8s infinite;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-whatsapp:active { transform: translateY(4px); box-shadow: 0 2px 0 #0f8a43, 0 6px 16px rgba(37, 211, 102, .4); }
@keyframes pulse-green {
  0%   { box-shadow: 0 6px 0 #0f8a43, 0 0 0 0 rgba(37, 211, 102, .6); }
  70%  { box-shadow: 0 6px 0 #0f8a43, 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 0 #0f8a43, 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-icon { font-size: 1.9rem; flex-shrink: 0; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-main { font-size: clamp(.85rem, 3.9vw, 1.08rem); white-space: nowrap; font-weight: 900; letter-spacing: .3px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.btn-sub { font-size: .72rem; font-weight: 600; opacity: .92; }
.btn-arrow { margin-left: auto; font-size: 1rem; opacity: .9; }
.shine {
  position: absolute; z-index: -1; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }

.micro-proof { list-style: none; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .74rem; color: var(--muted); font-weight: 600; }
.micro-proof i { color: var(--wa); margin-right: 3px; }

.btn-telegram {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(148, 163, 184, .25);
  color: #cbd5e1; font-size: .8rem; font-weight: 700; padding: 12px 16px; border-radius: 14px;
  text-decoration: none;
}
.btn-telegram i { color: #38bdf8; font-size: 1.1rem; }

/* ── Seções ───────────────────────────────────────────────── */
.section-title {
  font-size: 1.05rem; font-weight: 800; text-align: center; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.tag-ex {
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: #94a3b8; border: 1px solid rgba(148, 163, 184, .35); padding: 2px 6px; border-radius: 6px;
}
.preview, .steps { width: 100%; }

/* ── Prévia do grupo (mock WhatsApp) ──────────────────────── */
.phone {
  width: 100%; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255, 208, 0, .3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03);
  background: var(--chat-bg);
}
.wa-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #1f2c34; }
.wa-header > i { color: #aebac1; }
.wa-header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.wa-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.wa-title strong { font-size: .9rem; }
.wa-title span { font-size: .7rem; color: #8696a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-title span.typing { color: var(--wa); }
.wa-body {
  height: 540px; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain;
  padding: 12px 10px 14px; display: flex; flex-direction: column; gap: 10px;
  background-color: var(--chat-bg);
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-body::-webkit-scrollbar { display: none; }
.msg {
  flex-shrink: 0; align-self: flex-start; max-width: 86%; background: var(--bubble); border-radius: 0 10px 10px 10px;
  padding: 5px 5px 6px; font-size: .82rem; line-height: 1.38; color: #e9edef;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .3); transform-origin: top left;
}
.msg:has(img) { width: 76%; }
.msg img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #111b21; border-radius: 7px; margin-bottom: 5px; }
.msg p { padding: 0 5px; }
.msg .author { color: var(--yellow); font-weight: 700; font-size: .74rem; padding: 0 5px 2px; }
.msg .link { color: #53bdeb; }
.msg .meta { display: flex; justify-content: flex-end; gap: 4px; font-size: .64rem; color: #8696a0; padding: 2px 5px 0; }
.msg-typing { flex-shrink: 0; align-self: flex-start; background: var(--bubble); border-radius: 0 10px 10px 10px; padding: 10px 14px; display: flex; gap: 4px; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: dots 1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .5; } }

/* ── Passos ───────────────────────────────────────────────── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(12, 27, 77, .65); border: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem; line-height: 1.35; color: #e2e8f0;
}
.step-n {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: #071135; font-weight: 900;
}

/* ── Confiança ────────────────────────────────────────────── */
.trust-box {
  width: 100%; background: rgba(12, 27, 77, .65); border: 1px solid rgba(255, 208, 0, .25);
  border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: #e2e8f0; line-height: 1.3; }
.trust-item i { color: #4ade80; font-size: .95rem; flex-shrink: 0; width: 18px; text-align: center; }

.cta-final { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-final-text { text-align: center; font-size: .95rem; color: var(--muted); }
.cta-final-text strong { color: var(--yellow); }

.footer { width: 100%; text-align: center; color: #94a3b8; font-size: .74rem; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-notice { display: block; margin-top: 8px; line-height: 1.5; color: #cbd5e1; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.footer-link { display: flex; width: fit-content; align-items: center; min-height: 44px; padding: 0 8px; color: #cbd5e1; text-decoration: underline; text-underline-offset: 2px; }
.footer-link:hover, .footer-link:focus-visible { color: var(--yellow); }

.preview-note { margin-top: 10px; font-size: .72rem; line-height: 1.45; color: #94a3b8; text-align: center; }

/* ── Aviso de cookies (no fluxo da página: nunca cobre CTA nem a barra fixa) ── */
.cookie-bar {
  position: relative; z-index: 2; width: 100%; max-width: 460px; margin: -8px auto 18px;
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px;
  background: rgba(12, 27, 77, .75); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  font-size: .72rem; line-height: 1.4; color: #cbd5e1;
}
.cookie-bar p { flex: 1; }
.cookie-bar a { color: var(--yellow); text-underline-offset: 2px; display: inline-block; padding: 4px 0; }
.cookie-ok-btn {
  display: none; flex-shrink: 0; min-height: 40px; min-width: 44px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  font: 700 .74rem 'Montserrat', system-ui, sans-serif;
}
.js .cookie-ok-btn { display: block; }  /* sem JS o botão não teria efeito: fica só o texto e o link */
.cookie-ok .cookie-bar { display: none; }
.cookie-bar a:focus-visible, .cookie-ok-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ── Página de política de privacidade (privacidade.html) ── */
.policy-page { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.policy { width: 100%; max-width: 680px; margin: 0 auto; color: var(--muted); font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.policy-head { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; }
.policy-head img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--yellow); background: var(--bg-navy); flex-shrink: 0; }
.policy h1 { color: var(--white); font-size: 1.5rem; font-weight: 900; line-height: 1.2; margin-top: 6px; }
.policy-date { font-size: .8rem; color: #94a3b8; }
.policy section { margin-top: 26px; }
.policy h2 { color: var(--yellow); font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.policy p + p, .policy ul + p, .policy p + ul { margin-top: 10px; }
.policy ul { padding-left: 20px; }
.policy li + li { margin-top: 4px; }
.policy strong { color: var(--white); }
.policy code { font-size: .85em; background: rgba(255, 255, 255, .08); padding: 1px 5px; border-radius: 4px; }
.policy a { color: var(--yellow); text-underline-offset: 2px; }
.policy a:focus-visible, .footer-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.policy-back { display: inline-block; padding: 10px 0; font-weight: 700; text-decoration: none; }
.policy-back + .footer, .policy > .policy-back:last-of-type { margin-top: 28px; }
.policy .footer { margin-top: 18px; }
.policy .footer-link { color: #cbd5e1; }

/* ── Barra fixa ───────────────────────────────────────────── */
.sticky-cta {
  position: fixed; z-index: 20; left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(4, 8, 28, .92) 35%);
  transform: translateY(120%); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.sticky-cta.show { transform: translateY(0); }
.btn-sticky { max-width: 460px; margin: 0 auto; padding: 14px 18px; }
.btn-sticky .btn-main { font-size: 1rem; }

/* ── Sheet de ajuda ───────────────────────────────────────── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-backdrop[hidden] { display: none; }
.sheet {
  position: relative; width: 100%; max-width: 480px;
  background: #0c1b4d; border-top: 2px solid var(--yellow); border-radius: 20px 20px 0 0;
  padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.sheet h3 { font-size: 1.1rem; font-weight: 900; }
.sheet p { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.sheet-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #94a3b8; font-size: 1.2rem; padding: 6px; cursor: pointer; }
.btn-copy {
  background: none; border: 1px solid rgba(255, 255, 255, .2); color: #e2e8f0; border-radius: 12px;
  padding: 11px; font: 700 .85rem 'Montserrat', sans-serif; cursor: pointer;
}

/* ── Responsivo / acessibilidade ──────────────────────────── */
@media (max-width: 380px) {
  .headline { font-size: 1.36rem; }
  .wa-icon { font-size: 1.6rem; }
  .btn-arrow { display: none; }
  .btn-whatsapp { padding: 16px 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-io { opacity: 1; }
}
