/* ===== Base ===== */
:root {
  --navy: #0B1020;
  --navy-2: #121a33;
  --laranja: #F08A24;
  --laranja-2: #FF6B2C;
  --creme: #F5E6CC;
  --azul: #2F6FED;
  --azul-2: #4F8EF7;
  --ceu: #EAF2FF;
  --texto: #1d2540;
  --suave: #5a6584;
  --raio: 28px;
  --sombra: 0 10px 30px rgba(20, 40, 90, .15);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--texto);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Poppins", sans-serif; line-height: 1.1; margin: 0; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.estreito { width: min(820px, 100% - 40px); }

/* ===== Botões em pílula ===== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none; text-align: left;
  font: 700 14px/1.15 "Poppins", sans-serif;
  padding: 10px 18px; border-radius: 16px;
  box-shadow: 0 4px 0 rgba(0,0,0,.18), var(--sombra);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.pill:hover { transform: translateY(-2px); filter: brightness(1.06); }
.pill:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.18); }
.pill-azul { background: linear-gradient(180deg, var(--azul-2), var(--azul)); color: #fff; }
.pill-escuro { background: linear-gradient(180deg, #24305a, var(--navy)); color: #fff; }
.pill-laranja { background: linear-gradient(180deg, #FFA34D, var(--laranja-2)); color: #fff; }
.pill-branco { background: #fff; color: var(--navy); }
.pill.grande { font-size: 16px; padding: 15px 26px; border-radius: 999px; }
.pill-icone { padding: 10px 18px 10px 12px; min-height: 52px; }
.pill-icone .ico {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: rgba(255,255,255,.2); font-size: 17px;
}

/* ===== Barra de contato ===== */
.topbar { background: var(--navy); color: #cdd6f0; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--laranja); }
.topbar .sep { opacity: .4; margin: 0 6px; }
.topbar-links { display: flex; gap: 18px; }

/* ===== Cabeçalho ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(20,40,90,.08);
}
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 0; }
.header-esq, .header-dir { display: flex; gap: 10px; align-items: center; }
.header-dir { justify-content: flex-end; }
.menu { position: relative; }
.menu .seta { font-size: 18px; line-height: 0; position: relative; top: -3px; }
.menu-lista {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px;
  background: #fff; border-radius: 18px; padding: 8px; box-shadow: var(--sombra);
  display: none; flex-direction: column;
}
.menu-lista a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; }
.menu-lista a:hover { background: var(--ceu); color: var(--azul); }
.menu:hover .menu-lista, .menu.aberto .menu-lista { display: flex; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-marca { width: 58px; height: 58px; filter: drop-shadow(0 6px 12px rgba(11,16,32,.3)); transition: transform .3s; }
.logo:hover .logo-marca { transform: rotate(-8deg) scale(1.05); }
.logo-texto { display: flex; flex-direction: column; }
.logo-texto strong { font: 900 30px/1 "Poppins", sans-serif; color: var(--laranja); letter-spacing: -.5px; }
.logo-texto small { font-size: 11px; color: var(--suave); text-transform: uppercase; letter-spacing: 1.6px; font-weight: 600; }
.logo-claro .logo-texto small { color: #9aa6c8; }

.hamburguer { display: none; justify-self: end; background: var(--navy); color: #fff; border: 0; border-radius: 14px; width: 48px; height: 48px; font-size: 22px; cursor: pointer; }
.menu-celular { display: flex; flex-direction: column; gap: 4px; padding: 0 20px 18px; }
.menu-celular a:not(.pill) { padding: 12px 6px; text-decoration: none; font-weight: 600; border-bottom: 1px solid #edf0f7; }
.menu-celular .pill { margin-top: 10px; justify-content: center; }
.menu-celular[hidden] { display: none; }

/* ===== Carrossel ===== */
.hero { padding: 26px 0 40px; background: linear-gradient(#fff, var(--ceu)); }
.carrossel { position: relative; }
.slides { position: relative; height: 470px; }
.slide {
  position: absolute; inset: 0; border-radius: 36px; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center;
  padding: 40px 70px; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.25), transparent 40%),
    radial-gradient(circle at 10% 110%, rgba(240,138,36,.55), transparent 45%),
    linear-gradient(135deg, var(--cor), var(--navy) 130%);
  opacity: 0; visibility: hidden; transform: scale(.98);
  transition: opacity .6s, transform .6s, visibility .6s;
  box-shadow: 0 20px 50px rgba(20,40,90,.25);
}
.slide::after { /* bolhas decorativas */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 60% 15%, rgba(255,255,255,.14) 0 8%, transparent 8.5%),
    radial-gradient(circle at 52% 85%, rgba(255,255,255,.1) 0 4%, transparent 4.5%);
}
.slide.ativo { opacity: 1; visibility: visible; transform: none; }
.selo {
  display: inline-block; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.35);
  padding: 6px 16px; border-radius: 999px; font: 700 13px "Poppins"; letter-spacing: .5px; text-transform: uppercase;
}
.slide h1, .slide h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 900; margin: 18px 0 14px; letter-spacing: -1px; }
.slide em { font-style: normal; color: #FFC27A; }
.slide p { font-size: 18px; max-width: 480px; opacity: .92; margin: 0 0 26px; }
.slide-botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-img { justify-self: center; height: 100%; display: flex; align-items: center; position: relative; z-index: 1; }
.slide-img img {
  height: 108%; max-height: 520px; width: auto; border-radius: 30px; transform: rotate(4deg) translateY(30px);
  box-shadow: 0 30px 60px rgba(0,0,0,.4); border: 6px solid rgba(255,255,255,.15);
}
.slide.ativo .slide-img img { animation: flutuar 6s ease-in-out infinite; }
@keyframes flutuar { 50% { transform: rotate(2deg) translateY(16px); } }

.seta-carrossel {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--azul); font: 700 30px/1 "Poppins"; box-shadow: var(--sombra);
}
.seta-carrossel.esq { left: -18px; } .seta-carrossel.dir { right: -18px; }
.seta-carrossel:hover { background: var(--laranja); color: #fff; }
.miniaturas { display: flex; justify-content: center; gap: 10px; margin-top: 16px; position: relative; z-index: 3; }
.miniaturas button {
  border: 3px solid #fff; background: #fff; border-radius: 14px; padding: 0; cursor: pointer;
  width: 92px; height: 52px; overflow: hidden; box-shadow: var(--sombra); opacity: .7; transition: .2s;
}
.miniaturas button img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.miniaturas button.ativo { opacity: 1; transform: translateY(-6px); border-color: var(--laranja); }

/* ===== Títulos empilhados ===== */
.titulo-bloco { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; align-items: center; margin-bottom: 44px; }
.titulo-bloco.centro { grid-template-columns: 1fr; text-align: center; }
.empilhado {
  font-size: clamp(36px, 5vw, 60px); font-weight: 900; text-transform: uppercase; letter-spacing: -1px; line-height: .98;
  color: var(--navy);
}
.empilhado span { color: var(--laranja); }
.claro .empilhado, .empilhado.claro { color: #fff; }
.claro .empilhado span { color: #FFB066; }
.lead { font-size: 18px; color: var(--suave); margin: 0; }
.claro .lead { color: #c7d2f2; }

/* ===== Demonstração ===== */
.demo { position: relative; background: linear-gradient(160deg, #1b3a8a, var(--navy) 60%); padding: 110px 0 140px; overflow: hidden; }
.demo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 8% 30%, rgba(79,142,247,.35), transparent 30%),
    radial-gradient(circle at 95% 80%, rgba(240,138,36,.3), transparent 30%);
}
.demo .wrap { position: relative; }
.onda { position: absolute; left: 0; right: 0; height: 70px; background-repeat: repeat-x; background-size: 1200px 70px; }
.onda-topo { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v30c-150 40-300 40-450 10S450 0 300 25 100 60 0 35z' fill='%23EAF2FF'/%3E%3C/svg%3E"); }
.onda-base { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70h1200V40c-150-40-300-40-450-10S450 70 300 45 100 10 0 35z' fill='%23ffffff'/%3E%3C/svg%3E"); }

.missoes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: m; }
.missoes li {
  counter-increment: m; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1.5px dashed rgba(255,255,255,.3); color: #dfe6fb;
  padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: .3s;
}
.missoes li::before {
  content: counter(m); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.15); font: 800 13px "Poppins";
}
.missoes li.feita { background: #16A34A; border: 1.5px solid #22c55e; color: #fff; }
.missoes li.feita::before { content: "✓"; background: #fff; color: #16A34A; }

.janela {
  border-radius: 22px; overflow: hidden; background: var(--navy);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
}
.janela-barra { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #1a2240; }
.bolinhas { display: flex; gap: 7px; }
.bolinhas i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.bolinhas i:nth-child(2) { background: #febc2e; } .bolinhas i:nth-child(3) { background: #28c840; }
.janela-url { flex: 1; background: #0e1530; color: #aab6d9; border-radius: 10px; padding: 7px 14px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.janela-url em { color: var(--laranja); font-style: normal; }
.janela-reset { background: transparent; border: 1px solid #34406b; color: #c7d2f2; border-radius: 10px; padding: 6px 12px; cursor: pointer; font: 600 13px "Inter"; }
.janela-reset:hover { background: #24305a; }

.demo-fim {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  background: #fff; color: var(--navy); border-radius: 24px; padding: 18px 24px; box-shadow: var(--sombra);
  animation: surgir .5s;
}
.demo-fim[hidden] { display: none; }
.demo-fim strong { font: 800 20px "Poppins"; }
@keyframes surgir { from { opacity: 0; transform: translateY(20px); } }

/* ===== Recursos ===== */
.recursos { padding: 80px 0 90px; }
.cartoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cartao {
  position: relative; background: #fff; border-radius: var(--raio); padding: 28px 26px 30px;
  box-shadow: var(--sombra); border-top: 6px solid var(--cor); transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.cartao::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--cor); opacity: .07; right: -50px; bottom: -60px; }
.cartao:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,40,90,.18); }
.cartao-ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: color-mix(in srgb, var(--cor) 14%, white); margin-bottom: 16px; }
.cartao h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.cartao p { margin: 0; color: var(--suave); }

/* ===== Chamada ===== */
.chamada { padding: 0 0 90px; }
.chamada-in {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  background: linear-gradient(120deg, var(--laranja-2), var(--laranja) 50%, #FFB25C);
  border-radius: 40px; padding: 56px 60px; overflow: hidden; box-shadow: 0 25px 50px rgba(240,138,36,.35);
}
.chamada .empilhado span { color: var(--navy); }
.chamada-dir { position: relative; z-index: 1; color: #fff; max-width: 470px; }
.chamada-dir p { font-size: 19px; font-weight: 500; margin: 0 0 22px; }
.chamada-dir .pill-laranja { background: var(--navy); }
.chamada-marca { position: absolute; width: 260px; height: 260px; right: -40px; bottom: -60px; transform: rotate(-14deg); opacity: .22; }

/* ===== Planos ===== */
.planos { padding: 90px 0; background: var(--ceu); border-radius: 60px 60px 0 0; }
.alternar { display: inline-flex; background: #fff; border-radius: 999px; padding: 5px; margin-top: 18px; box-shadow: var(--sombra); }
.alternar button { border: 0; background: transparent; border-radius: 999px; padding: 10px 20px; font: 700 14px "Poppins"; cursor: pointer; color: var(--suave); }
.alternar button small { display: inline-block; background: #dcfce7; color: #15803d; border-radius: 999px; padding: 2px 8px; margin-left: 4px; font-size: 11px; }
.alternar button.ativo { background: var(--navy); color: #fff; }
.planos-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plano { position: relative; background: #fff; border-radius: var(--raio); padding: 30px 24px; display: flex; flex-direction: column; box-shadow: var(--sombra); }
.plano.top { background: var(--navy); color: #fff; transform: translateY(-12px); }
.plano .fita { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--laranja); color: #fff; font: 800 12px "Poppins"; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plano h3 { font-size: 24px; }
.plano .sub { color: var(--suave); font-size: 14px; margin: 2px 0 18px; }
.plano.top .sub { color: #9aa6c8; }
.plano .preco { font: 900 32px/1 "Poppins"; color: var(--laranja); }
.plano .preco small { font-size: 14px; font-weight: 600; color: var(--suave); }
.plano.top .preco small { color: #9aa6c8; }
.plano .oferta { font-size: 13px; color: #16A34A; font-weight: 700; min-height: 20px; margin-top: 6px; }
.plano ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; font-size: 15px; flex: 1; }
.plano li::before { content: "✓ "; color: #16A34A; font-weight: 800; }
.plano .pill { justify-content: center; }
.planos-nota { text-align: center; margin: 34px 0 0; color: var(--suave); }
.planos-nota a { color: var(--azul); font-weight: 700; }

/* ===== Dúvidas ===== */
.duvidas { padding: 90px 0; background: var(--ceu); }
.duvidas details { background: #fff; border-radius: 20px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(20,40,90,.07); }
.duvidas summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font: 700 17px "Poppins"; color: var(--navy); position: relative; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--ceu); color: var(--azul); display: grid; place-items: center; font-size: 22px; transition: .2s; }
.duvidas details[open] summary::after { content: "–"; background: var(--laranja); color: #fff; }
.duvidas details p { margin: 0; padding: 0 24px 22px; color: var(--suave); }

/* ===== Rodapé ===== */
.rodape { background: var(--navy); color: #c7d2f2; padding: 46px 0 26px; }
.rodape-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.rodape nav { display: flex; gap: 24px; flex-wrap: wrap; }
.rodape nav a { text-decoration: none; font-weight: 600; }
.rodape nav a:hover { color: var(--laranja); }
.rodape-base { border-top: 1px solid #222b4a; margin-top: 30px; padding-top: 20px; font-size: 13px; color: #7f8bb0; }

/* ===== Flutuantes ===== */
.flutua-esq {
  position: fixed; left: 18px; bottom: 18px; z-index: 40;
  background: linear-gradient(180deg, var(--azul-2), var(--azul)); color: #FFE14D; text-decoration: none;
  font: 900 15px "Poppins"; text-transform: uppercase; letter-spacing: .5px;
  padding: 14px 24px; border-radius: 999px; border: 3px solid #FFE14D;
  box-shadow: 0 0 0 4px var(--azul), var(--sombra);
  animation: pulsar 2.4s infinite;
}
@keyframes pulsar { 50% { box-shadow: 0 0 0 10px rgba(47,111,237,.25), var(--sombra); } }
.balao { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; }
.balao[hidden] { display: none; }
.balao-texto { background: #fff; padding: 10px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--sombra); text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.25; }
.balao-texto small { font-weight: 500; color: var(--suave); }
.balao-fechar { position: absolute; left: -10px; top: -10px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--sombra); cursor: pointer; color: var(--suave); }
.balao-icone { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--laranja); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(240,138,36,.5); animation: balancar 3s infinite; }
.balao-icone svg { width: 46px; height: 46px; }
.balao-num { position: absolute; top: -4px; left: -4px; background: #E5484D; color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px "Inter"; border: 2px solid #fff; }
@keyframes balancar { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(10deg); } 95% { transform: rotate(-6deg); } }

.flutua-esq, .balao { transition: opacity .3s, transform .3s; }
.na-demo .flutua-esq, .na-demo .balao { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ===== Toasts ===== */
.toasts { position: fixed; top: 110px; right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.35); max-width: 340px; font-size: 14px; border-left: 5px solid var(--laranja); animation: toast-in .35s; }
.toast.sai { animation: toast-out .35s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .header-esq, .header-dir { display: none; }
  .header-in { grid-template-columns: 1fr auto; }
  .hamburguer { display: block; }
  .logo-marca { width: 48px; height: 48px; }
  .logo-texto strong { font-size: 26px; }
  .cartoes { grid-template-columns: repeat(2, 1fr); }
  .planos-grade { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .plano.top { transform: none; }
}
@media (max-width: 800px) {
  .topbar-links { display: none; }
  .topbar-in { justify-content: center; }
  .slides { height: 620px; }
  .slide { grid-template-columns: 1fr; padding: 34px 26px 0; align-content: start; }
  .slide p { font-size: 16px; }
  .slide-img { height: 260px; align-items: flex-start; }
  .slide-img img { height: 360px; transform: rotate(4deg); }
  .seta-carrossel { display: none; }
  .miniaturas button { width: 54px; height: 40px; }
  .titulo-bloco { grid-template-columns: 1fr; gap: 16px; }
  .cartoes, .planos-grade { grid-template-columns: 1fr; }
  .chamada-in { grid-template-columns: 1fr; padding: 40px 28px; }
  .demo { padding: 90px 0 110px; }
  .balao-texto, .balao-fechar { display: none; }
  .flutua-esq { font-size: 13px; padding: 11px 18px; }
  .janela-reset { padding: 6px 8px; font-size: 12px; }
  .janela-url em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
