:root{
  --navy:#050F1E;
  --navy2:#081628;
  --navy3:#0A1E35;
  --blue:#0078FF;
  --blue2:#0EA5E9;
  --cyan:#00D4FF;
  --green:#10B981;
  --amber:#F59E0B;
  --red:#EF4444;
  --text:#E2E8F0;
  --muted:#94A3B8;
  --border:#1E3A5F;
  --card:#0F2744;
  --wa:#25D366;
  --shadow:0 16px 50px rgba(0,0,0,.28);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:var(--navy);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.section{padding:84px 0}
.section.alt{background:var(--navy2)}
.label{
  display:inline-block;
  color:var(--cyan);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:700;
  margin-bottom:12px
}
h1,h2,h3{line-height:1.15}
.section-title{
  font-size:clamp(26px,4vw,46px);
  color:#fff;
  margin-bottom:14px
}
.section-sub{
  font-size:17px;
  color:var(--muted);
  max-width:760px
}
.gradient{
  background:linear-gradient(135deg,var(--cyan),var(--blue2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* ── TOPBAR ── */
.topbar{
  position:sticky;top:0;z-index:999;
  background:rgba(5,15,30,.95);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(30,58,95,.6);
  /* Cria contexto de posicionamento para o menu mobile */
  isolation:isolate
}
.nav{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.logo{
  font-size:26px;
  font-weight:900;
  color:#fff;
  flex-shrink:0
}
.logo span{color:var(--cyan)}
.menu{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap
}
.menu a{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
  padding:6px 2px;
  white-space:nowrap
}
.menu a:hover,.menu a.active{color:#fff}
.nav-actions{display:flex;gap:10px;align-items:center}

/* ── HAMBURGER ── */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background:none;
  border:1px solid rgba(30,58,95,.6);
  border-radius:8px;
  cursor:pointer;
  padding:10px 11px;
  width:44px;
  height:44px;
  flex-shrink:0;
  /* Remove delay de 300ms no iOS Safari */
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent
}
/* Usa margin em vez de gap — compatível com Safari iOS < 14.5 */
.hamburger span{
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  border-radius:2px;
  margin-bottom:4px;
  transition:transform .25s ease, opacity .2s ease
}
.hamburger span:last-child{margin-bottom:0}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 22px;
  border-radius:10px;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  transition:.2s ease;
  cursor:pointer;
  min-height:44px;
  white-space:nowrap
}
@media (hover:hover){
  .btn:hover{transform:translateY(-1px)}
}
.btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--blue2));
  color:#fff;
  box-shadow:0 10px 30px rgba(0,120,255,.25)
}
.btn-secondary{
  background:rgba(255,255,255,.04);
  color:#fff;
  border-color:var(--border)
}
.btn-wa{
  background:var(--wa);
  color:#fff;
  box-shadow:0 10px 30px rgba(37,211,102,.24)
}

/* ── HERO ── */
.hero{
  padding:94px 0 74px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0,120,255,.18) 0%, transparent 60%),
    linear-gradient(180deg,var(--navy),var(--navy2))
}
.hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:42px;
  align-items:center
}
.badge{
  display:inline-block;
  padding:8px 14px;
  border:1px solid rgba(0,212,255,.25);
  border-radius:999px;
  color:var(--cyan);
  background:rgba(0,212,255,.08);
  font-size:13px;
  font-weight:700;
  margin-bottom:18px
}
.hero h1{
  font-size:clamp(32px,5vw,58px);
  margin-bottom:16px
}
.hero p{
  font-size:18px;
  color:var(--muted);
  max-width:680px
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:26px;
  margin-bottom:22px
}
.trust{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px
}
.trust span::before{content:"✓ ";color:var(--green);font-weight:900}

/* ── CARD (mockup funil) ── */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow)
}
.mock-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  color:#fff;
  margin-bottom:18px;
  font-weight:800
}
.mock-badge{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:var(--green);
  border:1px solid rgba(16,185,129,.2);
  background:rgba(16,185,129,.1)
}
.bar{margin-bottom:10px}
.bar-head{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:13px;
  margin-bottom:5px
}
.bar-track{
  height:10px;
  background:rgba(255,255,255,.06);
  border-radius:999px;
  overflow:hidden
}
.bar-fill{
  height:10px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--blue),var(--cyan))
}
.kpis{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px
}
.mini{
  background:rgba(0,0,0,.18);
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
  text-align:center
}
.mini strong{
  display:block;
  color:#fff;
  font-size:20px
}
.mini span{
  color:var(--muted);
  font-size:12px
}

/* ── STATS ── */
.stats{
  background:var(--navy3);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border)
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr)
}
.stats-item{
  padding:28px 18px;
  text-align:center;
  border-right:1px solid var(--border)
}
.stats-item:last-child{border-right:none}
.stats-item strong{
  display:block;
  font-size:32px;
  color:#fff
}
.stats-item span{
  font-size:13px;
  color:var(--muted)
}

/* ── GRIDS ── */
.grid-2,.grid-3,.grid-4{
  display:grid;
  gap:20px;
  margin-top:36px
}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

/* ── BOX ── */
.box{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px
}
.box h3{
  color:#fff;
  font-size:19px;
  margin-bottom:10px
}
.box p{
  color:var(--muted);
  font-size:15px
}
.pain{border-left:4px solid var(--red)}
.icon{
  width:52px;height:52px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(0,120,255,.16),rgba(14,165,233,.16));
  border:1px solid rgba(14,165,233,.25);
  display:flex;align-items:center;justify-content:center;
  font-size:24px;margin-bottom:16px
}

/* ── CHECKS ── */
.checks{display:grid;gap:12px;margin-top:28px}
.check{
  padding:16px 18px;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(255,255,255,.03)
}
.check strong{display:block;color:#fff}
.check span{font-size:14px;color:var(--muted)}
.check strong::before{content:"✓ ";color:var(--green)}

/* ── CONTENT ── */
.content p{
  margin-bottom:16px;
  color:var(--muted);
  font-size:16px
}
.content strong{color:#fff}

/* ── CTA BOX ── */
.cta-box{
  margin-top:38px;
  padding:42px 28px;
  text-align:center;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(0,120,255,.16),rgba(14,165,233,.08));
  border:1px solid rgba(14,165,233,.22)
}
.cta-box h2{
  font-size:clamp(24px,4vw,42px);
  margin-bottom:12px
}
.cta-box p{
  max-width:760px;
  margin:0 auto 24px;
  color:var(--muted);
  font-size:17px
}
.cta-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap
}

/* ── PRICE ── */
.price{
  position:relative;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:28px
}
.price.featured{
  border-color:var(--blue2);
  box-shadow:0 12px 36px rgba(14,165,233,.12)
}
.ribbon{
  position:absolute;
  top:-12px;left:24px;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  color:#fff;
  font-size:12px;
  font-weight:900;
  padding:7px 12px;
  border-radius:999px
}
.amount{
  font-size:42px;
  line-height:1;
  color:#fff;
  font-weight:900;
  margin:12px 0
}
.amount small{
  font-size:15px;
  color:var(--muted)
}
.price ul{
  list-style:none;
  margin:18px 0 22px
}
.price li{
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
  color:var(--muted);
  font-size:14px
}
.price li::before{content:"✓ ";color:var(--green);font-weight:900}
.price li:last-child{border-bottom:none}

/* ── FORM ── */
.form{display:grid;gap:16px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-label{font-size:14px;font-weight:600;color:var(--muted)}
.req{color:var(--red);margin-left:1px}
.req-opt{color:var(--muted);font-weight:400;font-size:12px}
.form-intro{
  font-size:14px;
  color:var(--muted);
  margin-bottom:20px;
  line-height:1.5
}
.input,.textarea,.select{
  width:100%;
  background:rgba(0,0,0,.2);
  border:1px solid var(--border);
  color:#fff;
  border-radius:12px;
  padding:14px 16px;
  font-size:16px;   /* 16px previne zoom automático no iOS */
  font-family:inherit;
  transition:border-color .2s
}
.input:focus,.textarea:focus,.select:focus{
  outline:none;
  border-color:var(--blue2)
}
.input.input-error,.textarea.input-error,.select.input-error{
  border-color:var(--red)
}
.field-error{
  font-size:12px;
  color:var(--red);
  margin-top:2px
}
.textarea{min-height:100px;resize:vertical}
.small{font-size:13px;color:var(--muted)}
.btn-submit{width:100%;margin-top:4px;font-size:15px}
.form-disclaimer{
  font-size:12px;
  color:var(--muted);
  text-align:center;
  margin-top:8px
}

/* ── CONTACT ASIDE ── */
.contact-aside{display:flex;flex-direction:column;gap:0}
.trust-block{
  display:grid;
  gap:16px;
  margin-bottom:4px
}
.trust-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:12px;
  background:rgba(255,255,255,.02)
}
.trust-icon{
  flex-shrink:0;
  width:28px;height:28px;
  border-radius:50%;
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.25);
  display:flex;align-items:center;justify-content:center;
  color:var(--green);
  font-weight:900;
  font-size:13px
}
.trust-item strong{display:block;color:#fff;font-size:14px;margin-bottom:2px}
.trust-item span{font-size:13px;color:var(--muted)}

/* ── FAQ ── */
.faq{display:grid;gap:14px;margin-top:34px}
.faq-item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:18px 20px
}
.faq-item strong{display:block;color:#fff;margin-bottom:8px}
.faq-item p{color:var(--muted);font-size:15px}

/* ── BREADCRUMB ── */
.breadcrumb{
  font-size:13px;
  color:var(--muted);
  margin-bottom:18px
}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:#fff}

/* ── FOOTER ── */
.footer{
  background:var(--navy3);
  border-top:1px solid var(--border);
  padding:34px 0
}
.footer-row{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  align-items:center
}
.footer p,.footer a{
  color:var(--muted);
  font-size:14px
}
.footer a:hover{color:#fff}

/* ── WA FLOAT ── */
.wa-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:998;
  background:var(--wa);
  color:#fff;
  padding:14px 18px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  box-shadow:0 10px 24px rgba(37,211,102,.4);
  min-height:48px;
  display:flex;
  align-items:center
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

/* ── TABLET: 640px – 980px ── */
@media (max-width:980px){

  /* Hamburger visível, menu desktop oculto */
  .hamburger{display:flex}

  /*
   * POSICIONAMENTO DO MENU MOBILE
   * Usa position:absolute relativo ao .topbar (position:sticky)
   * em vez de position:fixed — evita bugs do iOS Safari com fixed
   * dentro de elemento sticky e com a URL bar aparecendo/sumindo.
   */
  .menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;right:0;
    background:rgba(5,15,30,.99);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    flex-direction:column;
    z-index:997;
    border-bottom:1px solid var(--border);
    box-shadow:0 8px 32px rgba(0,0,0,.4);
    /* Scroll interno no menu se tiver muitos itens */
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    max-height:calc(100svh - 68px);
    max-height:calc(100vh - 68px)   /* fallback para browsers sem svh */
  }
  .menu.open{display:flex}
  .menu a{
    padding:16px 24px;
    font-size:16px;
    border-bottom:1px solid rgba(30,58,95,.4);
    color:var(--text);
    /* Alvo de toque confortável no iOS */
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation
  }
  .menu a:last-child{border-bottom:none}
  .menu a.active{color:#fff}

  /* Hero: empilha coluna esquerda/direita */
  .hero-grid{grid-template-columns:1fr}

  /* Stats: 2x2 no tablet */
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stats-item{border-right:none;border-bottom:1px solid var(--border)}
  .stats-item:nth-child(odd){border-right:1px solid var(--border)}
  .stats-item:last-child{border-bottom:none}

  /* Grids: 2 colunas no tablet */
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}

/* ── MOBILE: até 640px ── */
@media (max-width:640px){

  .container{padding:0 16px}
  .section{padding:52px 0}

  /* Hero */
  .hero{padding:52px 0 36px}
  .hero h1{font-size:clamp(26px,8vw,38px)}
  .hero p{font-size:16px}
  .hero-actions{gap:10px}
  .hero-actions .btn{width:100%}
  .trust{gap:10px;font-size:12px}

  /* Grids: 1 coluna no mobile */
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}

  /* Stats: mantém 2x2 até 400px */
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stats-item{padding:20px 12px}
  .stats-item strong{font-size:26px}

  /* Textos */
  .section-title{font-size:clamp(22px,6vw,34px)}
  .section-sub{font-size:15px}
  .cta-box{padding:28px 16px}
  .cta-box p{font-size:15px}
  .cta-actions .btn{width:100%}

  /* Planos */
  .amount{font-size:34px}

  /* WA flutuante */
  .wa-float{right:14px;bottom:16px;padding:12px 16px;font-size:13px}

  /* Nav */
  .nav-actions .btn-wa{display:none}   /* esconde botão WA do nav no mobile — já tem o flutuante */
}

/* ── VERY SMALL: até 400px ── */
@media (max-width:400px){
  .stats-grid{grid-template-columns:1fr}
  .stats-item{border-right:none}
  .stats-item:nth-child(odd){border-right:none}
}
