/* ============================================================
   Jarecki — clone estrutural do template Gridly (home-v1)
   Tokens extraídos da referência; o laranja (#f6721b) foi
   trocado pelo dourado do app (#c9a84c).
   ============================================================ */

:root {
  --bg:      #040404;
  --card:    #161616;
  --card-2:  #1d1d1d;
  --card-3:  #222222;
  --line:    rgba(255,255,255,0.10);
  --line-2:  rgba(255,255,255,0.20);

  --white:   #ffffff;
  --muted:   #878685;
  --dim:     #ddd;

  --accent:      #c9a84c;
  --accent-2:    #e8cc8a;
  --accent-ink:  #0a0a0a;

  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --container: 1296px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 100px 0; }
.center { text-align: center; }

h1, h2, h3, h4 { color: var(--white); font-weight: 500; }
h1 { font-size: 48px; line-height: 1.3; }
h2 { font-size: 38px; line-height: 1.4; }
h3 { font-size: 20px; line-height: 1.4; }
h4 { font-size: 17px; line-height: 1.45; }
p  { font-size: 16px; line-height: 1.7; color: var(--muted); }
.soft { color: var(--muted); }

/* título em dois tons, como na referência */
.two-tone { color: var(--muted); }
.two-tone b { color: var(--white); font-weight: 500; }

/* ── pill ──────────────────────────────────────────────────── */
.pill {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); padding: 7px 18px; font-size: 14px; color: var(--white);
  line-height: 1.5;
}

/* ── botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 8px; font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--card); }
.btn--plain { padding: 14px 4px; color: var(--white); background: none; }
.btn--plain:hover { color: var(--accent); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ── navbar ────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(4,4,4,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__inner { display: flex; align-items: center; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.brand b { color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: .12em; }
.nav__links { display: flex; gap: 34px; margin: 0 auto; }
.nav__links a { font-size: 15px; color: var(--white); }
.nav__links a:hover { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__login { font-size: 15px; color: var(--white); }
.nav__login:hover { color: var(--accent); }
.nav__burger { display: none; width: 38px; height: 36px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--card); cursor: pointer; }

/* ── hero ──────────────────────────────────────────────────── */
.hero { padding: 86px 0 0; text-align: center; }
.hero h1 { max-width: 30ch; margin: 26px auto 0; }
.hero > .wrap > p { max-width: 62ch; margin: 22px auto 0; }
.hero__actions { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 34px; }

/* moldura do print principal, com o brilho da referência */
.hero__frame {
  margin-top: 70px; border: 1px solid rgba(201,168,76,.45); border-radius: var(--radius-lg);
  padding: 10px; background: var(--card); overflow: hidden;
  box-shadow: 0 0 90px rgba(201,168,76,.09);
}
.hero__frame img, .hero__video { border-radius: 9px; display: block; width: 100%; height: auto; }
.hero__frame { position: relative; }

/* botao de play: aparece quando o autoplay nao entra (mobile, dados economicos,
   prefers-reduced-motion) */
.hero__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  background: rgba(10,10,10,.82); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); font-size: 15px; font-weight: 500; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .15s ease, border-color .15s ease;
}
.hero__play:hover { background: rgba(10,10,10,.94); border-color: var(--accent); }
.hero__play[hidden] { display: none; }
.hero__play-icon { color: var(--accent); font-size: 12px; }

.hero__caption {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 16px; font-size: 13.5px; color: var(--muted);
}
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: #e0605c; flex: none; }

/* ── faixa de confiança ────────────────────────────────────── */
.trust { padding: 78px 0 10px; }
.trust__title { font-size: 16px; color: var(--white); text-align: center; margin-bottom: 42px; }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 10px; color: #4e4d4c; font-size: 19px; font-weight: 500; }
.trust__item svg { width: 24px; height: 24px; flex: none; }

/* ── cabeçalho de seção ────────────────────────────────────── */
.head { text-align: center; margin-bottom: 52px; }
.head h2 { margin-top: 18px; }
.head p { max-width: 60ch; margin: 16px auto 0; }
.head--left { text-align: left; }
.head--left p { margin-left: 0; }

/* ── bento de recursos ─────────────────────────────────────── */
.bento { display: grid; gap: 22px; }
.bento__wide { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0;
  background: var(--card); border-radius: var(--radius-xl); overflow: hidden; }
.bento__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bento__card { background: var(--card); border-radius: var(--radius-xl); padding: 40px; }
.bento__text { padding: 46px 44px; }
.bento__media { padding: 34px; display: flex; align-items: center; background: var(--card-2); }
.bento__media .frame { width: 100%; }

.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--card-3);
  display: grid; place-items: center; margin-bottom: 26px; }
.ico svg { width: 22px; height: 22px; color: var(--white); }
.bento h3 { margin-bottom: 12px; }
.bento p { font-size: 15px; }
.bento .frame { margin-top: 28px; }

/* lista com check */
.checks { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--dim); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--accent); }

/* moldura menor reaproveitada */
.frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0c0c0c; }
.frame--bar { }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-bottom: 1px solid var(--line);
  background: #111; }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.frame__bar span { margin-left: 7px; font-size: 11px; letter-spacing: .1em; color: #5c5b5a; }

/* ── split (texto + imagem) ────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--rev .split__text { order: 2; }
.split h2 { margin-bottom: 20px; }

/* ── estatísticas ──────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.stat { display: flex; gap: 18px; align-items: flex-start; }
.stat__ico { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex: none; }
.stat__ico svg { width: 22px; height: 22px; color: var(--white); }
.stat h4 { margin-bottom: 4px; }
.stat p { font-size: 15px; line-height: 1.55; }

/* ── painel claro (módulos) ────────────────────────────────── */
.panel { background: #0e0e0e; padding: 86px 0; }
/* carrossel de modulos: duas fileiras em sentidos opostos */
.marquee {
  margin: 0 calc(var(--gutter) * -1) 54px; overflow: hidden;
  /* a borda some nas laterais, como na referencia */
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 18px; }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: desliza 22s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 25s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes desliza { to { transform: translateX(calc(-100% / 3)); } }

.tile {
  flex: none; width: 148px; height: 148px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  display: grid; place-items: center; padding: 14px; text-align: center;
  font-size: 12px; line-height: 1.35; color: var(--muted);
}

/* ── comparação ────────────────────────────────────────────── */
.vs__heads { display: grid; grid-template-columns: 1fr 1fr; gap: 0; text-align: center; margin-bottom: 20px; }
.vs__heads h4 { font-size: 18px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: var(--radius-xl);
  overflow: hidden; }
.vs__col { padding: 44px 40px; }
.vs__col + .vs__col { border-left: 1px solid var(--line); background: #131313; }
.vs__col > p { color: var(--white); font-size: 16px; margin-bottom: 26px; }
.vs__col ul { display: flex; flex-direction: column; gap: 17px; }
.vs__col li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.vs__col li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.vs--good li { color: var(--dim); }
.vs--good li svg { color: var(--accent); }
.vs--bad li { color: var(--muted); }
.vs--bad li svg { color: #5b5a59; }

/* ── planos ────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.plan { position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer; color: inherit;
  background: var(--card); border: 1px solid transparent; border-radius: var(--radius-xl); padding: 32px 28px;
  transition: border-color .18s ease, background .18s ease; }
.plan:hover { background: var(--card-2); }
.plan.on { border-color: var(--accent); background: var(--card-2); }
.plan__name { display: block; font-size: 15px; color: var(--white); }
.plan__price { display: block; margin: 16px 0 6px; font-size: 34px; line-height: 1.2; color: var(--white); font-weight: 500; }
.plan__price i { font-style: normal; font-size: 16px; color: var(--muted); margin-right: 4px; }
.plan__per { display: block; font-size: 14px; margin-bottom: 20px; }
.plan__flag { align-self: flex-start; margin-top: auto; font-size: 12px; color: var(--accent);
  border: 1px solid rgba(201,168,76,.35); border-radius: 999px; padding: 4px 12px; }

/* ── ativação ──────────────────────────────────────────────── */
.activate { background: var(--card); border-radius: var(--radius-xl); padding: 46px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.activate h3 { margin-bottom: 10px; }
.tabs { display: flex; gap: 8px; margin: 26px 0 0; }
.tab { flex: 1; padding: 11px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card-2);
  font-size: 14px; color: var(--muted); cursor: pointer; transition: all .15s ease; }
.tab.on { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,.08); }
label { display: block; font-size: 13px; color: var(--white); margin: 22px 0 9px; }
input[type=text], input[type=email], input[type=password], select {
  width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 15px; font-size: 15px; outline: none; color: var(--white); transition: border-color .15s ease;
}
input[type=text] { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; }
input[type=email], input[type=password], input.plain { font-family: inherit; letter-spacing: normal; }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, select:focus { border-color: var(--accent); }
input::placeholder { color: #4e4d4c; }
.help { font-size: 13.5px; margin-top: 9px; line-height: 1.55; }
.error { display: none; margin-top: 16px; padding: 12px 15px; border-radius: 8px; font-size: 14px;
  background: rgba(224,96,92,.1); border: 1px solid rgba(224,96,92,.3); color: #e0807c; }
.error.show { display: block; }
textarea { width: 100%; height: 96px; background: var(--card-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 15px; color: var(--accent-2); font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; resize: none; outline: none; word-break: break-all; line-height: 1.6; }
.token-box { display: none; }
.token-box.show { display: block; }
.status { padding: 4px 0 20px; }
.status b { display: block; color: var(--white); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.status span { font-size: 15px; }
.spinner { width: 22px; height: 22px; margin-bottom: 18px; border-radius: 50%;
  border: 2px solid var(--card-3); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.notes li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; }
.notes li:first-child { border-top: none; padding-top: 0; }
.notes b { display: block; color: var(--white); font-weight: 500; margin-bottom: 5px; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; gap: 24px;
  font-size: 17px; color: var(--white); line-height: 1.5; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; margin-left: auto; font-size: 22px; color: var(--muted); line-height: 1; }
.qa[open] summary::after { content: '–'; color: var(--accent); }
.qa p { padding: 0 0 24px; font-size: 15.5px; max-width: 62ch; }

/* ── recuperação (faixa discreta, fluxo de suporte) ────────── */
.recuperar { border-top: 1px solid var(--line); padding: 64px 0; background: #0a0a0a; }
.recuperar__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.recuperar h3 { font-size: 19px; margin-bottom: 12px; }
.recuperar p { font-size: 15px; max-width: 46ch; }
.recuperar label:first-of-type { margin-top: 0; }

/* ── CTA final ─────────────────────────────────────────────── */
.final { position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 140% at 50% 0%, rgba(201,168,76,.16), transparent 62%), #0a0908; }
.final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 92px 0; }
.final h2 { font-size: 42px; }
.final__actions { display: flex; gap: 10px; align-items: center; margin-top: 32px; }

/* ── footer ────────────────────────────────────────────────── */
.footer { background: #0b0b0b; padding: 76px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px; }
.footer h5 { font-size: 15px; color: var(--muted); font-weight: 400; margin-bottom: 22px; }
.footer ul { display: flex; flex-direction: column; gap: 14px; }
.footer ul a { font-size: 15px; color: var(--white); }
.footer ul a:hover { color: var(--accent); }
.footer__about p { font-size: 14.5px; margin-top: 18px; max-width: 36ch; }
.footer__legal { margin-top: 56px; font-size: 13px; line-height: 1.7; color: #6a6968; }
.footer__bottom { margin-top: 30px; padding: 24px 0; border-top: 1px solid var(--line);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.age { font-weight: 700; font-size: 12px; color: #e0807c; border: 1px solid rgba(224,128,124,.35);
  border-radius: 999px; padding: 3px 10px; }

/* ── responsivo ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.is-open .nav__links a { padding: 16px var(--gutter); border-top: 1px solid var(--line); }
  .nav__login { display: none; }

}
@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .recuperar { padding: 48px 0; }
  .recuperar__grid { grid-template-columns: 1fr; gap: 28px; }
  h1 { font-size: 36px; }
  h2 { font-size: 29px; }
  .final h2 { font-size: 30px; }
  .bento__wide, .bento__pair, .split, .vs, .vs__heads, .activate, .faq-grid, .final__grid {
    grid-template-columns: 1fr;
  }
  .split { gap: 40px; }
  .split--rev .split__text { order: 0; }
  .bento__text { padding: 34px 28px; }
  .bento__card { padding: 30px 26px; }
  .vs__col { padding: 32px 26px; }
  .vs__col + .vs__col { border-left: none; border-top: 1px solid var(--line); }
  .vs__heads { display: none; }
  .activate { padding: 30px 26px; gap: 36px; }
  .stats, .plans { grid-template-columns: repeat(2, 1fr); }
  .final__grid { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__frame { margin-top: 48px; padding: 6px; }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .hero__play { padding: 12px 18px; font-size: 14px; }
  .hero__caption { font-size: 12.5px; text-align: center; }
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  .hero { padding-top: 56px; }
  .hero__actions, .final__actions { flex-direction: column; align-items: stretch; }
  .stats, .plans { grid-template-columns: 1fr; }
  .tile { width: 124px; height: 124px; font-size: 11.5px; }
  .trust__row { justify-content: center; gap: 16px 22px; }
  .trust__item { font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Fotografia editorial: contexto humano + capturas reais do produto. */
.editorial { min-width: 0; }
.editorial__eyebrow { display: block; margin-bottom: 16px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.editorial__photo { border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--card); }
.editorial__photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.editorial__panel { display: block; position: relative; width: 88%; margin: -38px auto 0; box-shadow: 0 18px 48px rgba(0,0,0,.35); }
.editorial__panel .frame__bar { padding: 12px; }
.editorial__panel .frame__bar span { color: var(--dim); margin-left: 0; font-size: 10px; }
.editorial__panel .frame__bar .editorial__expand { margin-left: auto; color: var(--accent); letter-spacing: 0; }
.editorial__caption { margin-top: 15px; text-align: center; font-size: 11px; color: var(--muted); }
.editorial__config-link { position: relative; display: flex; align-items: center; gap: 14px; width: 88%; margin: -28px auto 0; padding: 20px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 18px 48px rgba(0,0,0,.35); }
.editorial__config-link strong { display: block; color: var(--white); font-size: 14px; font-weight: 500; }
.editorial__config-link small { display: block; margin-top: 3px; font-size: 12px; }
.editorial__config-link > span:last-child { margin-left: auto; color: var(--accent); }
.editorial__config-icon { color: var(--accent); font-size: 26px; }
.editorial a:hover { border-color: var(--accent); }
.editorial a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (max-width: 600px) {
  .editorial__panel { width: 94%; margin-top: -16px; }
  .editorial__config-link { width: 94%; padding: 15px; margin-top: -16px; gap: 10px; }
}
