/* ===== ProsperaSuper — Design tokens ===== */
:root{
  --bg: #220233;
  --bg-soft: #2b0a40;
  --surface: #34104d;
  --surface-2: #3f1a5c;
  --border: #4c2570;
  --text: #f6f1fb;
  --text-dim: #b79ddb;
  --brand-1: #7a41ce;
  --brand-2: #a873e8;
  --brand-3: #c9a6f0;
  --gradient: linear-gradient(120deg, var(--brand-1), var(--brand-3) 55%, var(--brand-2));
  --gradient-soft: linear-gradient(120deg, rgba(122,65,206,.22), rgba(168,115,232,.14));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  --maxw: 1180px;
  font-size: 16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(122,65,206,.24), transparent 60%),
              radial-gradient(900px 500px at 0% 10%, rgba(168,115,232,.14), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: 'Sora','Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
section{padding: 88px 0;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  color: var(--brand-2); font-weight:700; margin-bottom:14px;
}
h1,h2,h3{font-family:'Sora',sans-serif; line-height:1.15; margin:0 0 16px;}
h1{font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:800;}
h2{font-size:clamp(1.7rem, 3.4vw, 2.4rem); font-weight:800;}
h3{font-size:1.15rem; font-weight:700;}
p{color:var(--text-dim); margin:0 0 16px;}
.grad-text{
  background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:999px; font-weight:700; font-size:.95rem;
  border:1px solid transparent; cursor:pointer; transition:.2s transform ease, .2s box-shadow ease, .2s opacity ease;
  white-space:nowrap;
}
.btn:active{transform:scale(.97);}
.btn-primary{
  background:var(--gradient); color:var(--bg);
  box-shadow:0 12px 30px -10px rgba(122,65,206,.55);
}
.btn-primary:hover{box-shadow:0 16px 40px -10px rgba(122,65,206,.75); transform:translateY(-1px);}
.btn-ghost{background:transparent; border-color:var(--border); color:var(--text);}
.btn-ghost:hover{border-color:var(--brand-2); color:var(--brand-2);}
.btn-sm{padding:9px 18px; font-size:.85rem;}
.btn-block{width:100%;}

/* Navbar */
header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(11,14,23,.75); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.15rem;}
.brand img{height:34px; width:auto; border-radius:8px;}
.nav-links{display:flex; align-items:center; gap:28px;}
.nav-links a{color:var(--text-dim); font-weight:600; font-size:.92rem; transition:.2s color;}
.nav-links a:hover{color:var(--text);}
.nav-links a.nav-highlight{background:var(--gradient); -webkit-background-clip:text; background-clip:text; color:transparent; font-weight:800;}
.nav-links a.nav-highlight:hover{filter:brightness(1.15);}
.nav-cta{display:flex; align-items:center; gap:10px;}
.nav-toggle{display:none; background:none;border:none;color:var(--text);font-size:1.4rem;cursor:pointer;}

/* Hero */
.hero{padding:90px 0 60px; position:relative; overflow:hidden;}
.hero-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center;}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:26px;}
.badge{
  display:flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border); font-size:.82rem; color:var(--text-dim); font-weight:600;
}
.hero-actions{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;}
.hero-visual{
  position:relative; border-radius:24px; padding:2px; background:var(--gradient);
}
.hero-visual-inner{
  background:var(--surface); border-radius:22px; padding:26px; height:100%;
}
.mock-chat{display:flex; flex-direction:column; gap:12px;}
.mock-bubble{padding:12px 16px; border-radius:14px; font-size:.9rem; max-width:85%;}
.mock-bubble.user{align-self:flex-end; background:var(--surface-2); color:var(--text);}
.mock-bubble.bot{align-self:flex-start; background:var(--gradient-soft); border:1px solid var(--border); color:var(--text);}
.mock-typing{align-self:flex-start; display:flex; gap:4px; padding:10px 14px;}
.mock-typing span{width:6px;height:6px;border-radius:50%;background:var(--brand-2); animation:blink 1.2s infinite;}
.mock-typing span:nth-child(2){animation-delay:.2s;}
.mock-typing span:nth-child(3){animation-delay:.4s;}
@keyframes blink{0%,80%,100%{opacity:.2;}40%{opacity:1;}}

/* Trust strip */
.trust{padding:26px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); opacity:.8;}
.trust-inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px; font-size:.85rem; color:var(--text-dim); text-align:center;}

/* Cards */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; transition:.25s transform ease, .25s border-color ease;
}
.card:hover{transform:translateY(-4px); border-color:rgba(122,65,206,.5);}
.icon-tile{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:var(--gradient-soft); font-size:1.5rem; margin-bottom:16px;
}

/* Product cards */
.filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px;}
.chip{
  padding:8px 16px; border-radius:999px; border:1px solid var(--border); background:var(--surface);
  font-size:.85rem; font-weight:600; color:var(--text-dim); cursor:pointer; transition:.2s;
}
.chip.active, .chip:hover{border-color:var(--brand-2); color:var(--brand-2);}
.product-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
.product-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; display:flex; flex-direction:column; gap:14px;
}
.product-top{display:flex; align-items:flex-start; justify-content:space-between; gap:12px;}
.tag-row{display:flex; gap:8px; flex-wrap:wrap;}
.tag{font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:999px; background:var(--surface-2); color:var(--brand-2);}
.dor{font-size:.87rem; color:#ff9db3; margin:0;}
.dor::before{content:"⚡ "; }
.solucao{font-size:.92rem; color:var(--text); margin:0;}
.plan-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:auto; padding-top:10px; border-top:1px solid var(--border);}
.plan-pill{
  flex:1; min-width:140px; background:var(--surface-2); border-radius:var(--radius-sm); padding:14px;
  display:flex; flex-direction:column; gap:6px;
}
.plan-pill .plan-nome{font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--text-dim); font-weight:700;}
.plan-pill .plan-preco{font-size:1.15rem; font-weight:800;}
.plan-pill .plan-detalhe{font-size:.78rem; color:var(--text-dim);}

/* Pricing packages */
.pack-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.pack-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:30px;
  display:flex; flex-direction:column; gap:16px; position:relative;
}
.pack-card.featured{border-image: var(--gradient) 1; box-shadow:var(--shadow);}
.pack-card.featured::before{
  content:"Mais popular"; position:absolute; top:-14px; left:26px; background:var(--gradient); color:var(--bg);
  font-size:.72rem; font-weight:800; padding:6px 14px; border-radius:999px;
}
.pack-price{display:flex; align-items:baseline; gap:10px;}
.pack-price .now{font-size:2rem; font-weight:800;}
.pack-price .old{font-size:.95rem; color:var(--text-dim); text-decoration:line-through;}
.pack-card ul li{display:flex; gap:8px; font-size:.9rem; color:var(--text-dim); margin-bottom:8px;}
.pack-card ul li::before{content:"✓"; color:var(--brand-2); font-weight:800;}

/* Robust solutions band */
.robust{
  background:var(--surface); border:1px solid var(--border); border-radius:24px; padding:44px;
  display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:center;
}

/* How it works steps */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; counter-reset:step;}
.step{position:relative; padding-top:10px;}
.step .num{
  display:inline-flex; align-items:center; justify-content:center; width:40px;height:40px; border-radius:50%;
  background:var(--gradient); color:var(--bg); font-weight:800; margin-bottom:14px;
}

/* Testimonials-lite */
.quote-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.quote-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px;}
.stars{color:var(--brand-2); margin-bottom:10px; letter-spacing:2px;}
.quote-who{display:flex; align-items:center; gap:10px; margin-top:16px;}
.avatar{width:38px;height:38px;border-radius:50%; background:var(--gradient);}

/* FAQ */
.faq-item{border-bottom:1px solid var(--border); padding:18px 0;}
.faq-q{display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:700;}
.faq-a{max-height:0; overflow:hidden; transition:.25s; color:var(--text-dim); font-size:.92rem;}
.faq-item.open .faq-a{max-height:200px; margin-top:10px;}
.faq-item.open .faq-q .chev{transform:rotate(180deg);}
.chev{transition:.2s;}

/* Footer */
footer{border-top:1px solid var(--border); padding:50px 0 26px; margin-top:40px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px;}
.footer-brand{display:flex; align-items:center; gap:10px; font-weight:800; margin-bottom:12px;}
.footer-brand img{height:30px;border-radius:8px;}
.footer-links a{display:block; color:var(--text-dim); font-size:.88rem; margin-bottom:10px;}
.footer-links a:hover{color:var(--brand-2);}
.footer-bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.8rem; color:var(--text-dim); border-top:1px solid var(--border); padding-top:20px;}

/* Chat widget */
#nastia-chat-launcher{
  position:fixed; bottom:26px; right:26px; z-index:200;
  width:64px; height:64px; border-radius:50%; background:var(--gradient); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:1.6rem;
  box-shadow:0 14px 34px -10px rgba(122,65,206,.7); animation:float 3s ease-in-out infinite;
}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);}}
#nastia-chat-window{
  position:fixed; bottom:104px; right:26px; z-index:200; width:370px; max-width:92vw; height:520px; max-height:75vh;
  background:var(--bg-soft); border:1px solid var(--border); border-radius:20px; box-shadow:var(--shadow);
  display:none; flex-direction:column; overflow:hidden;
}
#nastia-chat-window.open{display:flex;}
.chat-head{
  background:var(--gradient); padding:16px 18px; display:flex; align-items:center; gap:10px; color:var(--bg); font-weight:800;
}
.chat-head .dot{width:9px;height:9px;border-radius:50%;background:var(--bg); opacity:.7;}
.chat-head small{display:block; font-weight:600; opacity:.75; font-size:.72rem;}
.chat-close{margin-left:auto; background:none; border:none; font-size:1.1rem; cursor:pointer; color:var(--bg);}
.chat-body{flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px;}
.chat-msg{padding:10px 14px; border-radius:14px; font-size:.88rem; max-width:85%; line-height:1.4;}
.chat-msg.bot{align-self:flex-start; background:var(--surface); border:1px solid var(--border);}
.chat-msg.user{align-self:flex-end; background:var(--gradient-soft); border:1px solid var(--border);}
.chat-foot{display:flex; gap:8px; padding:12px; border-top:1px solid var(--border);}
.chat-foot input{
  flex:1; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:10px 16px;
  color:var(--text); font-size:.88rem; outline:none;
}
.chat-foot input:focus{border-color:var(--brand-2);}
.chat-foot button{
  width:42px; height:42px; border-radius:50%; border:none; background:var(--gradient); cursor:pointer; font-size:1rem;
}
.chat-suggestions{display:flex; gap:8px; flex-wrap:wrap; padding:0 16px 12px;}
.chat-suggestions button{
  font-size:.74rem; padding:6px 12px; border-radius:999px; background:var(--surface); border:1px solid var(--border);
  color:var(--text-dim); cursor:pointer;
}

/* Utilities */
.center{text-align:center;}
.mt-24{margin-top:24px;}
.mb-0{margin-bottom:0;}

/* Responsive */
@media (max-width: 980px){
  .hero-grid, .robust{grid-template-columns:1fr;}
  .grid-3, .grid-4, .pack-grid, .quote-grid, .steps{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 640px){
  .nav-links{position:fixed; top:64px; left:0; right:0; background:var(--bg-soft); flex-direction:column; padding:18px 24px; border-bottom:1px solid var(--border); display:none;}
  .nav-links.open{display:flex;}
  .nav-toggle{display:block;}
  .nav-cta .btn-ghost{display:none;}
  .grid-3, .grid-4, .pack-grid, .quote-grid, .steps, .footer-grid{grid-template-columns:1fr;}
  #nastia-chat-window{right:12px; left:12px; width:auto;}
  #nastia-chat-launcher{right:16px; bottom:16px;}
}
