:root{
  --container: 1120px;

  --bg: #ffffff;
  --text: #101827;
  --muted: #6b7280;
  --border: #e5e7eb;

  --brand: #7c3aed;
  --brand2:#a78bfa;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(16, 24, 39, .08);
  --shadow2: 0 20px 50px rgba(16, 24, 39, .12);

  --ease-cine: cubic-bezier(.16,1,.3,1);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.u-brand{ color: var(--brand); }

/* ===========================
   TOP
   =========================== */
.top{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top__inner{ height: 84px; display:flex; align-items:center; }
.top__logo{ height: 40px; width: auto; }

/* ===========================
   HERO
   =========================== */
.hero{
  position: relative;
  padding: 34px 0 10px;
  background: linear-gradient(90deg, #f7f7fb 0%, #ffffff 55%, #ffffff 100%);
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
  min-height: 560px;
  padding: 22px 0 36px;
}

/* BG grid e curva */
.hero__bgGrid{
  position:absolute;
  top: -40px;
  right: -140px;
  width: 720px;
  opacity: .35;
  pointer-events:none;
  transform: translateZ(0);
  animation: gridDrift 10s ease-in-out infinite;
}
@keyframes gridDrift{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(-10px, 10px, 0); }
}

.hero__curve{
  position:absolute;
  left: 0;
  top: 300px;
  width: 100%;
  opacity: .9;
  pointer-events:none;
}

/* TEXTO */
.hero__left h1{
  margin:0 0 18px;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero__form{
  display:grid;
  gap: 12px;
  max-width: 440px;
}
.hero__form input{
  width: 100%;
  height: 44px;
  border: 1px solid #e6e6f2;
  border-radius: 10px;
  padding: 0 12px;
  outline:none;
  background:#fff;
}
.hero__form input:focus{
  border-color: rgba(124,58,237,.55);
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}

.btn{
  height: 44px;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  cursor:pointer;
}

.btn--primary{
  background: var(--brand);
  color:#fff;
  box-shadow: 0 12px 30px rgba(124,58,237,.22);
  transition: transform .18s ease, filter .18s ease;
}
.btn--primary:hover{ transform: translateY(-1px); filter: brightness(.98); }
.btn--primary:active{ transform: translateY(0); }

/* ARTE */
.hero__right{ position:relative; }
.hero__art{
  position:relative;
  width: 100%;
  max-width: 520px;
  margin-left:auto;
  transform: translateZ(0);
}
.hero__phone{
  width: 100%;
  max-width: 430px;
  margin-left:auto;
  filter: drop-shadow(0 30px 60px rgba(16,24,39,.18));
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.hero__float{
  position:absolute;
  width: 126px;
  border-radius: 999px;
  filter: drop-shadow(0 18px 30px rgba(16,24,39,.18));
  transition: transform .25s ease;
}
.hero__float--1{ left: 60px; top: 190px; animation: bubble1 6.5s ease-in-out infinite; }
.hero__float--2{ left: 5px; top: 330px; animation: bubble2 7.5s ease-in-out infinite; }
@keyframes bubble1{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%{ transform: translateY(-12px) rotate(2deg); }
}
@keyframes bubble2{
  0%,100%{ transform: translateY(0) rotate(2deg); }
  50%{ transform: translateY(-10px) rotate(-2deg); }
}

.hero__pro{
  position:absolute;
  left: 140px;
  top: 128px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(16,24,39,.18);
  border: 3px solid rgba(255,255,255,.9);
  animation: proPop 5.5s ease-in-out infinite;
}
@keyframes proPop{
  0%,100%{ transform: translateY(0) scale(1); }
  50%{ transform: translateY(-6px) scale(1.02); }
}

/* ===========================
   CATEGORIES
   =========================== */
.cats{ padding: 26px 0 10px; }
.cats__grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.cat{
  display:block;
  position:relative;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow:hidden;
  background:#ddd;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.cat img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .35s ease;
}
.cat::after{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  opacity: .9;
  pointer-events:none;
  z-index: 1;
}
.cat span{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  text-align:center;
  color:#fff;
  font-weight: 800;
  font-size: 18px;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
  z-index: 2;
}
.cat:hover{ transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow2); }
.cat:hover img{ transform: scale(1.08); }

@media (max-width: 980px){ .cats__grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px){ .cats__grid{ grid-template-columns: repeat(2, 1fr); } .cat{ border-radius: 22px; } }

/* ===========================
   BENEFITS
   =========================== */
.benefits{ padding: 46px 0; }
.benefits__head{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:start;
  margin-bottom: 18px;
}
.benefits__head h2{ margin:0; font-size: 34px; line-height: 1.15; }
.benefits__desc{ margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.benefits__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.benefit{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 16px 18px;
  background:#fff;
  box-shadow: 0 10px 24px rgba(16,24,39,.05);
  transition: transform .22s ease, box-shadow .22s ease;
}
.benefit:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,24,39,.10); }
.benefit__dot{
  width: 30px; height: 30px;
  border-radius: 999px;
  display:inline-block;
  margin-bottom: 12px;
  background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #7c3aed 60%, #6d28d9 100%);
  opacity: .85;
}
.benefit h3{ margin:0 0 8px; font-size: 13px; }
.benefit p{ margin:0; color: var(--muted); font-size: 12px; line-height: 1.45; }

/* ===========================
   TITLES CENTER
   =========================== */
.hero__title, .section-title, .connect-title{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   STORE (badges imagens)
   =========================== */
.store{
  display:flex;
  gap: 12px;
  justify-content:center;
  align-items:center;
  flex-wrap: wrap;
}
.store__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0;
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.store__badge{
  height: 56px;
  width: auto;
  display: block;
  border-radius: 12px;
}
@media (max-width: 520px){
  .store__badge{ height: 50px; }
}

/* ===========================
   PRELAUNCH
   =========================== */
.prelaunch{ padding: 34px 0 0; }
.prelaunch__inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items:center;
}
.prelaunch__left{ position:relative; min-height: 420px; }
.prelaunch__circle{
  position:absolute;
  left: 40px;
  top: 90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: #7c3aed;
  opacity: .9;
}
.prelaunch__mockup{
  position:relative;
  width: 520px;
  max-width: 100%;
  filter: drop-shadow(0 30px 60px rgba(16,24,39,.18));
  animation: phoneFloat 7s ease-in-out infinite;
}
.prelaunch__right h2{ margin:0 0 10px; font-size: 32px; line-height: 1.12; }
.muted{ margin:0 0 18px; color: var(--muted); font-size: 13px; }

.tabs{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin: 12px 0 14px;
}
.tab{
  border: 1px solid #ececf7;
  background:#fff;
  color:#6b7280;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.tab.is-active{
  background: #7c3aed;
  border-color: #7c3aed;
  color:#fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(124,58,237,.18);
}

/* Checklist (✅ corrigido para Tabs) */
/* Antes: .checklist sempre aparecia (display:grid). Agora só aparece a ativa */
.prelaunch .checklist{
  list-style:none;
  padding:0;
  margin: 0;
  display:none; /* ✅ ESSA É A CORREÇÃO PRINCIPAL */
}
.prelaunch .checklist.is-active{
  display:grid; /* ✅ só o painel ativo aparece */
  gap: 14px;
}

.checklist li{
  display:grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items:start;
}
.check{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #7c3aed 55%, #6d28d9 100%);
  margin-top: 3px;
  box-shadow: 0 10px 22px rgba(124,58,237,.18);
}
.checklist strong{ font-size: 12px; }
.checklist p{ margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }

@media (max-width: 640px){
  .prelaunch .checklist.is-active{ gap: 10px; }
  .prelaunch .checklist p{ font-size: 12px; line-height: 1.5; }
}

/* Purple strip */
.purpleStrip{
  margin-top: 34px;
  background: #7c3aed;
}
.purpleStrip__inner{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 18px 0;
  color:#fff;
}
.stripItem{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 14px 14px;
}
.stripItem strong{ display:block; font-size: 13px; margin-bottom: 6px; }
.stripItem span{ display:block; font-size: 12px; opacity: .95; }

/* ===========================
   FINAL BANNER (✅ corrigido)
   =========================== */
.finalBanner__box{
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
  margin-top: 80px;
  border-radius: 28px;

  background: url("/images/backgrounds/bg-banner-pattern.svg") no-repeat;
  background-size: cover;
  background-position: center;

  box-shadow: var(--shadow2);
  padding: 18px;
  min-height: 360px;
}

.finalBanner__left{
  position: relative;
  z-index: 2;
  padding: 10px 16px;
  color: #fff;
}
.finalBanner__left h2{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.finalBanner__small{
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.5;
  opacity: .95;
  max-width: 520px;
}
.finalBanner__topics{ display: grid; gap: 14px; margin-top: 8px; }
.topic h4{ margin: 0 0 4px; font-size: 13px; font-weight: 900; }
.topic p{ margin: 0; font-size: 11.5px; line-height: 1.45; opacity: .95; }

/* ✅ trava o lado direito */
.finalBanner__right{
  position: relative;
  z-index: 3;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-height: 300px;
}

/* ✅ CORREÇÃO PRINCIPAL: modelo menor e bem posicionado */
.finalBanner__model{
  position: absolute;
  right: 5%;
  bottom: -8px;
  top: auto;
  height: 92%;
  max-height: 340px;
  width: auto;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

/* ===========================
   FOOTER
   =========================== */
.footer{
  padding: 28px 0 34px;
  background: #f6f6f8;
  border-top: 1px solid #ededf3;
}
.footer__inner{
  display:flex;
  flex-direction:column;
  gap: 14px;
  align-items:center;
  text-align:center;
}
.footer__logo{ height: 38px; width:auto; }
.footer__bottom{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  color:#6b7280;
  font-size: 11px;
}
.footer__links{ display:flex; gap: 12px; }
.footer__links a{ color:#6b7280; text-decoration:underline; text-underline-offset: 3px; }

/* WhatsApp floating */
.wa{
  position:fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 18px 40px rgba(34,197,94,.30);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 80;
  transition: transform .2s ease;
}
.wa:hover{ transform: translateY(-4px); }
.wa span{ width: 0; height: 0; overflow:hidden; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1050px){
  .hero__inner{ grid-template-columns: 1fr; min-height: auto; padding-bottom: 10px; }
  .hero__right{ order: 2; }
  .hero__left{ order: 1; }
  .hero__phone{ margin: 0 auto; }
  .hero__art{ margin: 0 auto; }

  .cats__grid{ grid-template-columns: repeat(3, 1fr); }
  .benefits__grid{ grid-template-columns: repeat(2, 1fr); }
  .benefits__head{ grid-template-columns: 1fr; }
  .prelaunch__inner{ grid-template-columns: 1fr; }
  .purpleStrip__inner{ grid-template-columns: 1fr; }

  .finalBanner__box{ grid-template-columns: 1fr; min-height: auto; padding: 16px; }
  .finalBanner__right{ justify-content:center; min-height: 240px; }
  .finalBanner__model{
    position: relative;
    right: 0;
    bottom: 0;
    height: 240px;
    max-height: 240px;
    margin: 0 auto 12px;
  }
}

@media (max-width: 640px){
  .hero__left h1{ font-size: 34px; }
  .cats__grid{ grid-template-columns: repeat(2, 1fr); }
  .cat{ height: 180px; }

  .store{ flex-direction:column; }
  .store__btn{ width: 100%; max-width: 320px; }

  .finalBanner__left h2{ font-size: 24px; }
  .finalBanner__right{ min-height: 220px; }
  .finalBanner__model{
    height: 220px;
    max-height: 220px;
  }
}

/* =========================================================
   HIGH COMPLEXITY EFFECTS (cinema + spotlight + tilt + wipe)
   ========================================================= */

/* Reveal cinema */
.fx-reveal{
  opacity: 0;
  transform: translate3d(0,22px,0) scale(.985);
  filter: blur(14px);
  transition:
    opacity 1.0s var(--ease-cine),
    transform 1.0s var(--ease-cine),
    filter 1.0s var(--ease-cine);
  will-change: transform, opacity, filter;
}
.fx-reveal.is-on,
.fx-reveal.is-visible{
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
.fx-d1{ transition-delay:.08s; }
.fx-d2{ transition-delay:.16s; }
.fx-d3{ transition-delay:.24s; }
.fx-d4{ transition-delay:.32s; }

/* Editorial wipe */
.fx-wipe{ position: relative; overflow:hidden; }
.fx-wipe::after{
  content:"";
  position:absolute;
  inset:-10%;
  background: linear-gradient(90deg, rgba(124,58,237,.0) 0%, rgba(124,58,237,.14) 50%, rgba(124,58,237,0) 100%);
  transform: translate3d(-110%,0,0);
  opacity: .9;
  pointer-events:none;
}
.fx-wipe.is-on::after{
  animation: wipePass 1.05s var(--ease-cine) both;
  animation-delay:.10s;
}
@keyframes wipePass{
  0%{transform:translate3d(-110%,0,0)}
  100%{transform:translate3d(110%,0,0)}
}

/* Spotlight dinâmico */
.fx-spot{ position:relative; overflow:hidden; }
.fx-spot::before{
  content:"";
  position:absolute;
  inset:-35%;
  pointer-events:none;
  background:
    radial-gradient(600px 420px at var(--mx, 50%) var(--my, 40%), rgba(255,255,255,.22), transparent 62%),
    radial-gradient(520px 380px at calc(var(--mx, 50%) + 10%) calc(var(--my, 40%) + 18%), rgba(124,58,237,.22), transparent 64%),
    radial-gradient(420px 320px at 70% 20%, rgba(255,255,255,.10), transparent 60%);
  filter: blur(14px);
  opacity: .95;
  transform: translateZ(0);
}

/* Tilt magnético */
.fx-tilt{ transform-style: preserve-3d; will-change: transform; }
.fx-tilt__layer{ transform: translateZ(26px); will-change: transform; }

/* Drift cinematográfico (loop) */
@keyframes deepDrift{
  0%{transform:translate3d(0,0,0) scale(1) rotate(-.25deg)}
  35%{transform:translate3d(-7px,-12px,0) scale(1.03) rotate(.22deg)}
  70%{transform:translate3d(6px,-7px,0) scale(1.015) rotate(-.12deg)}
  100%{transform:translate3d(0,0,0) scale(1) rotate(-.25deg)}
}
.fx-drift.is-on,
.finalBanner__box.is-visible .fx-drift{
  animation: deepDrift 7.2s var(--ease-cine) infinite;
  will-change: transform;
}

/* Badge 3D premium */
.fx-badge3d{
  box-shadow: 0 14px 28px rgba(124,58,237,.22);
  transform: perspective(1000px) rotateX(0) rotateY(0);
  transition: transform .35s var(--ease-cine), box-shadow .35s var(--ease-cine), filter .35s var(--ease-cine);
}
.fx-badge3d:hover{
  transform: perspective(1000px) rotateX(8deg) rotateY(-10deg) translateY(-4px) scale(1.03);
  box-shadow: 0 28px 70px rgba(124,58,237,.35);
  filter: brightness(1.03);
}

/* Mobile: reduz intensidade */
@media (max-width: 768px){
  .fx-spot::before{ filter: blur(18px); opacity:.9; }
  .fx-badge3d:hover{ transform: translateY(-2px) scale(1.02); }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce){
  .fx-reveal, .fx-reveal.is-on, .fx-reveal.is-visible{
    opacity:1 !important; transform:none !important; filter:none !important; transition:none !important;
  }
  .fx-wipe::after{ display:none !important; }
  .fx-drift.is-on{ animation:none !important; }
  .fx-badge3d, .fx-badge3d:hover{
    transform:none !important; transition:none !important; box-shadow:none !important;
  }
}

/* FUNDO CONTÍNUO (resolve a queda no mobile) */
main{
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(124,58,237,.22), transparent 60%),
    linear-gradient(180deg, #f7f4ff 0%, #ffffff 65%);
}

/* As sections internas NÃO devem quebrar o fundo */
.hero,
.centerCta,
.prelaunch{
  background: transparent;
}
