/* =============================================================================
   ULTRAPEP PEPTIDES — convite pro grupo do WhatsApp
   Base compartilhada pelas duas páginas (escura e clara).
   Modelagem fiel das landings de referência (layout, ritmo, breakpoints,
   comportamentos); cor vem dos TOKENS do tema (escuro.css / claro.css).
   Ordem: fontes > tokens > reset > tipografia > layout > componentes > seções
   ========================================================================== */

/* ---------------------------------------------------------------- 01 FONTES */

/* Arquivos variáveis (latin) servidos pelo Google Fonts, self-hosted aqui */
@font-face { font-family: "Sora"; src: url("../fonts/Sora-latin.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/IBMPlexSans-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

/* ---------------------------------------------------------------- 02 TOKENS */

:root {
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.06rem + 0.32vw, 1.25rem);
  --step-2:  clamp(1.375rem, 1.24rem + 0.66vw, 1.75rem);
  --step-3:  clamp(1.625rem, 1.42rem + 1.04vw, 2.25rem);
  --step-4:  clamp(2rem, 1.4rem + 2.1vw, 3rem);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shell:  1280px;
  --pad-section: clamp(3.75rem, 7vw, 6.5rem);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Verde WhatsApp: SOMENTE nos CTAs (igual à referência) */
  --action:        #18804F;
  --action-hover:  #198552;
  --action-active: #135F3B;
  --action-ink:    #FFFFFF;
  --shadow-action: 0 10px 30px -12px rgba(24,128,79,.8), 0 1px 0 rgba(255,255,255,.18) inset;

  --ease: cubic-bezier(.22,.61,.36,1);
  --sticky-h: 0px;
}

/* ----------------------------------------------------------------- 03 RESET */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }

a { color: var(--acc); text-decoration-color: rgb(var(--acc-rgb) / .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--acc); }

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

::selection { background: rgb(var(--acc-rgb) / .28); color: #fff; }

/* Atmosfera global (brilho no topo) e grade técnica: cores no tema */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--atmosfera);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grade) 1px, transparent 1px),
    linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70rem 50rem at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70rem 50rem at 50% 0%, #000 20%, transparent 78%);
}

main, header, footer, .topbar, .sticky-cta, .consent { position: relative; z-index: 1; }

/* ------------------------------------------------------------ 04 TIPOGRAFIA */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }

p { text-wrap: pretty; }

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 46ch;
}

/* Eyebrow: rótulo técnico, capitulares pequenas com tracking largo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--acc);
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px rgb(var(--acc-rgb) / .14);
  flex: none;
}

/* ---------------------------------------------------------------- 05 LAYOUT */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--pad-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head p { color: var(--text-muted); margin-top: 1rem; max-width: 54ch; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  padding: .75rem 1.125rem;
  background: var(--surface-2);
  border: 1px solid var(--line-acc);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 1rem; }

.icone { color: var(--acc); flex: none; }

/* ------------------------------------------------------------------- 06 CTA */

.cta {
  --cta-bg: var(--action);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 56px;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--action-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-action);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
  transition: background-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.cta:hover { background: var(--action-hover); }
.cta:active { background: var(--action-active); transform: translateY(1px); box-shadow: 0 4px 14px -8px rgba(24,128,79,.85); }
.cta svg { flex: none; }
.cta__label { text-wrap: balance; }

/* Passagem de luz: uma única vez, depois do carregamento */
.cta::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform: skewX(-18deg);
  animation: sheen 1.1s var(--ease) 1.15s 1 both;
}
@keyframes sheen { to { transform: skewX(-18deg) translateX(420%); } }

.cta--lg { min-height: 62px; padding: 1.125rem 2.25rem; font-size: var(--step-1); }

@media (max-width: 560px) {
  .cta-block > .cta { width: 100%; padding-inline: 1.25rem; }
  .cta--lg { min-height: 58px; }
}

.cta--ghost {
  background: var(--ghost-bg);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
  min-height: 44px;
  padding: .625rem 1.125rem;
  font-size: var(--step--1);
}
.cta--ghost:hover { background: var(--ghost-bg-hover); }
.cta--ghost:active { background: var(--ghost-bg); }
.cta--ghost::after { display: none; }

/* Estado: abrindo o WhatsApp */
.cta.is-loading { pointer-events: none; }
.cta.is-loading .cta__label { opacity: .55; }
.cta.is-loading .cta__spin { display: block; }
.cta.is-loading .cta__icon { display: none; }
.cta__spin {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cta-note {
  margin-top: 1rem;
  font-size: var(--step--1);
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}
.cta-note b { color: var(--text-muted); font-weight: 500; }
.cta-note b + b::before {
  content: "•";
  margin-right: .5rem;
  color: var(--text-faint);
}

.cta-block { display: flex; flex-direction: column; align-items: flex-start; }
.cta-block--center { align-items: center; text-align: center; }
.cta-block--center .cta-note { justify-content: center; }

@media (max-width: 560px) {
  .cta-note { font-size: .75rem; gap: .25rem .4375rem; }
}

/* Botão do vendedor: secundário de propósito (contorno, sem sombra, sem brilho) */
.cta--seller {
  min-height: 48px;
  margin-top: .875rem;
  padding: .75rem 1.5rem;
  background: var(--seller-bg);
  color: var(--text-muted);
  font-weight: 500;
  font-size: calc(var(--step-0) * .95);
  border: 1px solid var(--seller-line);
  box-shadow: none;
}
.cta--seller:hover { background: var(--seller-bg-hover); color: var(--text); border-color: var(--seller-line-hover); }
.cta--seller:active { background: var(--seller-bg); transform: translateY(1px); box-shadow: none; }
.cta--seller::after { display: none; }
.cta--seller .cta__icon { opacity: .75; }
.cta--seller:hover .cta__icon { opacity: 1; }
.cta-block .cta--seller { display: inline-flex; }
@media (max-width: 520px) {
  .cta-block .cta--seller { display: flex; width: 100%; }
}

/* ------------------------------------------------------- 06B BARRA DE ALERTA */

.topbar {
  z-index: 80;
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-line);
  color: var(--topbar-ink);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 40px;
  padding-block: .5rem;
  font-size: .75rem;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
}
.topbar svg { flex: none; color: var(--topbar-icon); }
.topbar b { color: var(--topbar-strong); font-weight: 600; }

/* ---------------------------------------------------------------- 07 HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color .28s var(--ease), border-color .28s var(--ease);
}
.site-header.is-stuck {
  background: var(--header-stuck);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
/* Distintivo redondo: o símbolo da marca num círculo (no lugar do avatar de pessoa) */
.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mark-bg);
  box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .32), 0 6px 18px -8px rgb(var(--acc-rgb) / .55);
}
.brand__mark img { width: 58%; height: auto; }
@media (max-width: 560px) { .brand__mark { width: 42px; height: 42px; } }

/* No mobile o distintivo do header só entra depois que o logo do hero sai de vista */
@media (max-width: 860px) {
  .brand__mark { transition: opacity .32s var(--ease), width .32s var(--ease), margin-right .32s var(--ease); }
  .site-header:not(.is-stuck) .brand__mark { opacity: 0; width: 0; margin-right: -.75rem; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.brand__name b { font-weight: inherit; color: var(--acc); }
.brand__tag {
  font-size: .5625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
@media (max-width: 400px) { .brand__name { font-size: 1rem; } }

.header-cta { display: none; }
@media (min-width: 860px) { .header-cta { display: inline-flex; } }

/* ------------------------------------------------------------------ 08 HERO */

.hero { position: relative; padding-block: clamp(1.25rem, 2.6vw, 3rem) clamp(3rem, 6vw, 5.5rem); }
.hero__grid { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 4vw, 3.75rem); }
}

.hero__copy { max-width: 44rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .accent {
  display: block;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title-main { display: block; }
.hero__lede { margin-bottom: 1.75rem; max-width: 42ch; }

.hero__points { display: grid; gap: .6875rem; margin-bottom: 2rem; max-width: 34rem; }
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: .6875rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.45;
}
.hero__points svg { flex: none; margin-top: .2rem; }

/* Logo da comunidade em destaque: símbolo da marca num círculo com respiração */
.hero__logo {
  display: grid;
  place-items: center;
  width: clamp(84px, 11vw, 116px);
  aspect-ratio: 1 / 1;
  margin-bottom: 1.125rem;
  border-radius: 50%;
  background: var(--mark-bg);
  box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .34), 0 0 44px -10px rgb(var(--acc-rgb) / .45), 0 18px 44px -22px rgba(0,0,0,1);
  animation: accBreath 6s ease-in-out infinite;
}
.hero__logo img { width: 56%; height: auto; }
.hero__logo--equipe { position: relative; overflow: hidden; }
.hero__logo--equipe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
@keyframes accBreath {
  0%, 100% { box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .30), 0 0 40px -12px rgb(var(--acc-rgb) / .36), 0 18px 44px -22px rgba(0,0,0,1); }
  50%      { box-shadow: 0 0 0 1px rgb(var(--acc-rgb) / .46), 0 0 56px -8px rgb(var(--acc-rgb) / .60), 0 18px 44px -22px rgba(0,0,0,1); }
}

/* Visual do hero (página escura): o próprio grupo, dentro do celular */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--acc-rgb) / .20), transparent 72%);
  filter: blur(16px);
  z-index: -1;
}
.hero__visual .preview-tag { display: flex; width: fit-content; margin-inline: auto; text-align: center; }

@media (min-width: 980px) { .phone { width: min(21rem, 100%); aspect-ratio: 9 / 18.4; } }
@media (max-width: 560px) {
  .phone { width: min(15.5rem, 100%); aspect-ratio: 9 / 16.8; }
  .hero__visual { margin-top: 1.5rem; }
}

@media (max-width: 400px) {
  .eyebrow__more { display: none; }
  .hero { padding-block: 1rem 2.5rem; }
  .hero__logo { width: 72px; margin-bottom: .75rem; }
  .hero h1 { font-size: 1.875rem; margin-bottom: 1rem; }
  .hero__lede { font-size: var(--step-0); margin-bottom: 1.375rem; }
  .hero__points { gap: .5rem; margin-bottom: 1.5rem; }
  .hero__points li { font-size: .9375rem; }
  .eyebrow { margin-bottom: .875rem; font-size: .625rem; letter-spacing: .14em; }
}
@media (max-width: 340px) {
  .hero__points { display: none; }
  .hero__logo { width: 62px; margin-bottom: .625rem; }
}

/* ------------------------------------------------- 08B HERO FOTOGRÁFICO (clara) */

/* Referência: arte 1920x700 com painel diagonal menta→azul atrás da mão.
   Aqui o painel é CSS e a mão é PNG transparente (imagens/hero-mao-celular.png). */
.hero--foto {
  overflow: hidden;
  background: var(--hero-foto-bg);
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-block: clamp(1.25rem, 2.35vw, 2.75rem);
}
.hero--foto .hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  display: flex;
  align-items: center;
  gap: 0;
}
.hero--foto .hero__copy { flex: 0 0 40%; width: 40%; max-width: 40%; }
.hero--foto h1 {
  width: 100%;
  max-width: 28rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 2.6vw, 3.1rem);
  line-height: .98;
  letter-spacing: -.052em;
}
.hero--foto h1 .accent { margin-top: .1em; }
.hero--foto .hero__lede { width: 100%; max-width: 28rem; margin-bottom: 1.5rem; font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.48; }
.hero--foto .hero__points { gap: .58rem; margin-bottom: 1.55rem; max-width: none; }
.hero--foto .hero__points li { font-size: clamp(.92rem, 1.02vw, 1.05rem); }
.hero--foto .cta-block .cta-note { margin-top: .85rem; }

/* A cena (painel + mão) cobre a SEÇÃO inteira (700 px), não a coluna de texto */
.hero__cena { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__painel {
  position: absolute;
  z-index: 0;
  left: 52.4%;
  top: -40%;
  width: 70%;
  height: 140%;
  border-bottom-left-radius: 64px;
  background: var(--painel-grad);
  transform: skewY(-16deg);
  transform-origin: 0 100%;
}
/* Mão: celular com ~550 px de altura na seção de 700; o pulso sai por baixo.
   v2 (02/10): topo do bisel com 48 px de respiro (antes encostava na faixa 18+). */
.hero__foto {
  position: absolute;
  z-index: 1;
  left: 49%;
  top: 48px;
  height: 118%;
  width: auto;
  aspect-ratio: 642 / 893;
  margin: 0;
}
.hero__foto img { width: 100%; height: 100%; object-fit: contain; object-position: left top; }

@media (min-width: 1600px) { .hero--foto .hero__copy { max-width: 40%; } }

@media (max-width: 979px) {
  .hero--foto {
    min-height: 0;
    display: block;
    padding-top: 0;
    padding-bottom: 40px;
  }
  .hero--foto .hero__grid { max-width: 100%; display: block; }
  .hero--foto .hero__copy { flex: none; width: 100%; max-width: 100%; text-align: center; }
  .hero--foto h1 { max-width: 16ch; margin-inline: auto; }
  .hero--foto .hero__lede { margin-inline: auto; }
  .hero--foto .hero__points { width: fit-content; margin-inline: auto; text-align: left; }
  .hero--foto .cta-block { align-items: center; width: 100%; }
  .hero--foto .cta-note { justify-content: center; }
  .hero--foto .cta-block > .cta { width: min(100%, 22rem); min-height: 52px; padding: .8rem 1.25rem; font-size: 1rem; }

  /* Mão no topo, painel atrás dela; texto centrado abaixo */
  .hero__cena { position: relative; inset: auto; height: 460px; margin: 0 0 1rem; overflow: hidden; }
  .hero__painel { left: 34%; top: -30%; width: 90%; height: 110%; border-bottom-left-radius: 48px; transform: skewY(-14deg); }
  .hero__foto { left: 50%; top: 44px; height: 560px; transform: translateX(-31%); }
}

/* ---------------------------------------------------- 09 FAIXA CREDIBILIDADE */

.trust { border-block: 1px solid var(--line); background: var(--trust-bg); }
.trust__list { display: grid; gap: var(--trust-gap, 1px); background: var(--trust-grid, var(--line)); }
@media (min-width: 760px) { .trust__list { grid-template-columns: repeat(3, 1fr); } }
.trust__item { display: flex; align-items: center; gap: 1rem; padding: 1.75rem clamp(1rem, 3vw, 2rem); background: var(--trust-item-bg); }
.trust__item svg { flex: none; }
.trust__title { font-weight: 600; font-size: var(--step-0); line-height: 1.3; }
.trust__desc  { font-size: var(--step--1); color: var(--text-faint); line-height: 1.45; margin-top: .1875rem; }

/* ----------------------------------------------------------------- 10 CARDS */

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); }
.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--card-line, var(--line));
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: border-color .24s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--card-top);
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (hover: hover) {
  .card:hover { border-color: var(--line-acc); transform: translateY(-3px); box-shadow: var(--shadow-card), 0 0 34px -20px rgb(var(--acc-rgb) / .65); }
}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--card-icon-line);
  background: var(--card-icon-bg);
  color: var(--card-icon-ink);
}
.card h3 { margin-bottom: .625rem; }
.card p { color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }

/* ------------------------------------------------------- 11 MOCKUP DO GRUPO */

.phone {
  position: relative;
  width: min(17rem, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 17.4;
  padding: 10px;
  border-radius: 40px;
  border: 1px solid var(--line-acc);
  background: var(--phone-bg);
  box-shadow: 0 40px 80px -44px rgba(0,0,0,1), 0 0 0 1px rgb(var(--acc-rgb) / .08) inset;
}
.phone::before {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 999px;
  background: #060505;
  z-index: 3;
}
.phone__screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: #0B141A; display: flex; flex-direction: column; }

.wa { --wa-in: #1F2C34; --wa-out: #12483C; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.wa__bar {
  display: flex; align-items: center; gap: .625rem;
  padding: 2.75rem .875rem .75rem;
  background: #1F2C34;
  border-bottom: 1px solid rgba(255,255,255,.05);
  flex: none;
}
.wa__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex: none; }
.wa__avatar img { width: 17px; height: auto; }
.wa__meta { min-width: 0; }
.wa__name { display: block; font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #E9EDEF; }
.wa__sub { font-size: .625rem; color: #8696A0; }
.wa__thread {
  flex: 1;
  padding: .875rem .75rem;
  display: flex; flex-direction: column; gap: .5rem;
  overflow: hidden;
  background: radial-gradient(28rem 28rem at 80% 12%, rgb(var(--acc-rgb) / .06), transparent 60%), #0B141A;
}
.wa__day {
  align-self: center;
  font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase;
  color: #8696A0; background: rgba(31,44,52,.9);
  padding: .1875rem .625rem; border-radius: 999px; margin-bottom: .125rem;
}
.wa__msg {
  max-width: 84%;
  padding: .5rem .625rem;
  border-radius: 10px;
  background: var(--wa-in);
  font-size: .75rem; line-height: 1.45; color: #E9EDEF;
  animation: waIn .5s var(--ease) both;
}
.wa__msg--out { align-self: flex-end; background: var(--wa-out); }
.wa__msg b { display: block; font-size: .625rem; color: var(--acc-bright); font-weight: 600; margin-bottom: .1875rem; }
.wa__msg time { display: block; text-align: right; font-size: .5625rem; color: #8696A0; margin-top: .1875rem; }
.wa__msg:nth-child(2) { animation-delay: .15s; }
.wa__msg:nth-child(3) { animation-delay: .55s; }
.wa__msg:nth-child(4) { animation-delay: .95s; }
.wa__msg:nth-child(5) { animation-delay: 1.35s; }
@keyframes waIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wa__composer { flex: none; padding: .625rem .75rem calc(.625rem + 12px); background: #1F2C34; border-top: 1px solid rgba(255,255,255,.05); }
.wa__field { display: block; padding: .5rem .75rem; border-radius: 999px; background: rgba(11,20,26,.85); color: #8696A0; font-size: .625rem; text-align: center; letter-spacing: .01em; }

.preview-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.25rem; padding: .4375rem .8125rem;
  border: 1px dashed var(--line-strong); border-radius: 999px;
  font-size: .6875rem; color: var(--text-faint); letter-spacing: .02em;
}

/* ---------------------------------------------------------- 12 COMO ENTRAR */

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: clamp(1.75rem, 3.5vw, 2.5rem); background: var(--step-bg); }
.step__index {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.125rem;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 600; letter-spacing: .1em;
  color: var(--acc);
}
.step__index::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-acc), transparent); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }

/* ------------------------------------------------------------ 13 REGRAS */

.principles__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .principles__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.principles__list { display: grid; gap: 0; }
.principles__list > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; padding-block: 1.375rem; border-top: 1px solid var(--line); align-items: baseline; }
.principles__list > div:last-child { border-bottom: 1px solid var(--line); }
.principles__list dt { font-family: var(--font-display); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.principles__list dd { color: var(--text-muted); font-size: var(--step--1); line-height: 1.65; margin: 0; }
@media (max-width: 560px) { .principles__list > div { grid-template-columns: 1fr; gap: .5rem; } }

/* ------------------------------------------------------- 13B A COMUNIDADE (clara) */

.team { overflow: hidden; padding-top: clamp(4.5rem, 8vw, 7rem); padding-bottom: 0; background: var(--team-bg); }
.team .shell { max-width: 1140px; }
.team__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4.25rem); text-align: center; }
.team__eyebrow { margin: 0 0 1rem; color: var(--acc); font-size: .6875rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.team__head h2 { max-width: 19ch; margin-inline: auto; font-size: clamp(2rem, 4.1vw, 3.75rem); line-height: .98; letter-spacing: -.055em; }
.team__head > p:last-child { max-width: 54ch; margin: 1.35rem auto 0; color: var(--text-muted); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.team__stage { position: relative; display: grid; min-height: clamp(21rem, 33vw, 31rem); align-items: end; }
.team__media { grid-area: 1 / 1; align-self: end; justify-self: center; width: min(50rem, 70vw); margin: 0; line-height: 0; }
.team__media img { display: block; width: 100%; height: auto; }
.team__badge {
  position: absolute; z-index: 1;
  display: inline-flex; align-items: center;
  min-height: 2.75rem; padding: .7rem 1rem;
  border: 1px solid rgb(var(--acc-rgb) / .08); border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px -22px rgba(21,56,91,.48);
  color: var(--badge-ink); font-size: .8125rem; font-weight: 600;
}
.team__badge::before { content: ""; width: .5rem; height: .5rem; margin-right: .55rem; border-radius: 50%; background: var(--acc-bright); box-shadow: 0 0 0 4px rgb(var(--acc-bright-rgb) / .13); }
.team__badge--one { left: 3%; top: 22%; }
.team__badge--two { right: 3%; top: 18%; }
.team__badge--three { left: 1%; top: 59%; }
.team__badge--four { right: 2%; top: 55%; }
@media (min-width: 741px) {
  .team__badge { max-width: calc(50% - 1.5rem); }
  .team__badge--one, .team__badge--three { left: clamp(.75rem, 3vw, 2.25rem); }
  .team__badge--two, .team__badge--four { right: clamp(.75rem, 3vw, 2.25rem); }
}
@media (max-width: 740px) {
  .team { padding-top: 4rem; padding-bottom: 0; }
  .team__head { margin-bottom: 2rem; }
  .team__head h2 { max-width: 14ch; font-size: clamp(2rem, 9vw, 2.75rem); }
  .team__stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; min-height: 0; padding-top: .25rem; }
  .team__badge { position: static; justify-content: center; min-height: 2.5rem; padding: .6rem .5rem; font-size: .6875rem; text-align: center; }
  .team__badge::before { width: .4rem; height: .4rem; margin-right: .4rem; }
  .team__media { grid-area: auto; grid-column: 1 / -1; width: min(42rem, 118%); margin: 1rem -9% 0; }
}

/* -------------------------------------------------------------------- 14 FAQ */

.faq-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; }
  .faq-layout__head { position: sticky; top: 6.5rem; }
}
.faq-layout__aside { margin-top: 1.25rem; color: var(--text-faint); font-size: var(--step--1); line-height: 1.65; max-width: 34ch; }

.faq { display: grid; gap: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.375rem .25rem;
  background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.012em; line-height: 1.35;
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
  transition: color .18s var(--ease);
}
.faq__q:hover { color: var(--acc); }
.faq__sign { position: relative; width: 18px; height: 18px; flex: none; }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px;
  background: var(--acc); border-radius: 2px;
  transition: transform .28s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--text-muted); font-size: var(--step-0); line-height: 1.65; max-width: 58ch; padding: 0 .25rem 1.5rem; }

/* ------------------------------------------------------------- 15 CTA FINAL */

.finale { position: relative; }
.finale__panel {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--finale-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: center;
}
.finale__panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--line-acc) 50%, transparent); }
.finale h2 { max-width: 20ch; margin-inline: auto; }
.finale p { color: var(--text-muted); max-width: 44ch; margin: 1.25rem auto 2.5rem; font-size: var(--step-1); }

/* ---------------------------------------------------------------- 16 FOOTER */

.site-footer {
  border-top: 1px solid var(--footer-line);
  padding-block: clamp(3rem, 6vw, 4rem) calc(clamp(3rem, 6vw, 4rem) + var(--sticky-h));
  background: var(--footer-bg);
  color: var(--footer-ink);
}
.site-footer__top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; margin-bottom: 2.5rem; }
.site-footer .brand { color: var(--footer-ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a, .footer-nav button {
  color: var(--footer-link);
  font-size: var(--step--1);
  text-decoration: none;
  background: none; border: 0; padding: .25rem 0;
  cursor: pointer;
  transition: color .18s var(--ease);
}
.footer-nav a:hover, .footer-nav button:hover { color: var(--footer-link-hover); }
.site-footer__legal { display: grid; gap: .875rem; max-width: 72ch; }
.site-footer__legal p { font-size: .8125rem; color: var(--footer-faint); line-height: 1.6; }
.site-footer__legal strong { color: var(--footer-strong); }
.site-footer__copy { font-size: .8125rem; color: var(--footer-faint); margin-top: 1.75rem; }
.footer__logo { display: block; width: min(18.75rem, 76vw); height: auto; }
@media (max-width: 560px) { .footer__logo { width: min(12rem, 68vw); } }

/* --------------------------------------------------------- 17 STICKY MOBILE */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom, 0px));
  background: var(--sticky-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .3s var(--ease);
  visibility: hidden;
}
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
.sticky-cta .cta { width: 100%; min-height: 52px; padding-inline: 1rem; }
.sticky-cta .cta::after { display: none; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* -------------------------------------------------------- 18 CONSENTIMENTO */

.consent {
  position: fixed;
  left: 0; right: 0;
  bottom: var(--sticky-h);
  z-index: 90;
  transition: transform .36s var(--ease), bottom .3s var(--ease);
  padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line-strong);
  border-inline: 0; border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--consent-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,1);
  transform: translateY(140%);
  visibility: hidden;
  overscroll-behavior: contain;
}
.consent.is-visible { transform: translateY(0); visibility: visible; }
@media (min-width: 720px) {
  .consent {
    left: auto; right: var(--gutter);
    bottom: calc(var(--gutter) + var(--sticky-h) + env(safe-area-inset-bottom, 0px));
    max-width: 32rem; padding: 1.375rem;
    border-inline: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
    border-radius: var(--radius);
  }
}
.consent h2 { font-size: var(--step--1); font-family: var(--font-display); margin-bottom: .375rem; letter-spacing: -0.01em; }
.consent p { font-size: .75rem; color: var(--text-muted); line-height: 1.55; margin-bottom: .875rem; }
@media (min-width: 720px) {
  .consent h2 { font-size: var(--step-0); margin-bottom: .5rem; }
  .consent p { font-size: .8125rem; line-height: 1.6; margin-bottom: 1.125rem; }
}
.consent__actions { display: flex; flex-wrap: wrap; gap: .625rem; }
.consent__btn {
  flex: 1 1 0; min-height: 44px; padding: .625rem 1.125rem;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--ghost-bg); color: var(--text);
  font-size: var(--step--1); font-weight: 600; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.consent__btn:hover { background: var(--ghost-bg-hover); }
/* Aceitar e recusar têm o mesmo peso visual (LGPD, sem dark pattern) */
.consent__btn--accept { border-color: var(--line-acc); background: rgb(var(--acc-rgb) / .12); color: var(--acc); }
.consent__btn--accept:hover { background: rgb(var(--acc-rgb) / .2); }

/* ------------------------------------------------------------- 20 UTILIDADES */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Entrada escalonada do hero, uma vez no carregamento */
.rise { animation: rise .7s var(--ease) both; }
.rise-1 { animation-delay: .05s; }
.rise-2 { animation-delay: .13s; }
.rise-3 { animation-delay: .21s; }
.rise-4 { animation-delay: .29s; }
.rise-5 { animation-delay: .37s; }
.rise-6 { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Reveal por seção (IntersectionObserver + fallback por rect no app.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------- 21 REDUCED MOTION / A11Y */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .hero__logo { animation: none; }
  .cta::after { display: none; }
  .wa__msg { animation: none; opacity: 1; transform: none; }
  .faq__a { transition: none; }
}

@media print {
  body::before, body::after, .sticky-cta, .consent, .site-header { display: none !important; }
  body { background: #fff; color: #000; }
}
