/* =============================================
   AloIngressos — style.css
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #6c47ff;
  --brand-dark: #4f30d4;
  --brand-light: rgba(108,71,255,.12);
  --accent: #00d084;
  --bg: #0b0b13;
  --bg2: #13131f;
  --bg3: #1c1c2e;
  --card: #181828;
  --border: #252538;
  --text: #e8e8f0;
  --muted: #7a7a95;
  --gold: #f5c518;
  --radius: 14px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── LAYOUT ─────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── TYPOGRAPHY HELPERS ─────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-light); border: 1px solid rgba(108,71,255,.3);
  color: #a78bfa; padding: 5px 14px; border-radius: 99px;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.title    { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.18; }
.title em { color: var(--brand); font-style: normal; }
.subtitle { color: var(--muted); font-size: 1rem; max-width: 560px; margin-top: 14px; }

/* ─── CARD ───────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; transition: .2s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary  { background: var(--brand); color: #fff; }
.btn-primary:hover  { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline  { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover  { border-color: var(--brand); color: var(--brand); }
.btn-white    { background: #fff; color: var(--brand); }
.btn-white:hover    { background: #f0ecff; }
.btn-ghost    { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover    { border-color: #fff; }
.btn-wa       { background: #25d366; color: #fff; }
.btn-wa:hover       { background: #1ebe5b; transform: translateY(-1px); }

/* ─── NAV ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,19,.93); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.05rem;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #9333ea);
  display: grid; place-items: center;
  font-weight: 900; font-size: .95rem; color: #fff; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .875rem; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 8px 18px; border-radius: 8px; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--brand-dark) !important; }
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 4px;
}
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--bg2); border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 24px; font-size: .9rem; color: var(--muted);
  border-bottom: 1px solid var(--border); transition: color .2s;
}
.nav-mobile a:hover { color: var(--text); background: var(--bg3); }

/* ─── FOOTER ──────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: .85rem; color: var(--muted); margin-top: 14px; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.footer-col ul li a { font-size: .875rem; color: var(--muted); transition: color .2s; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--muted);
}

/* ─── HERO (home) ─────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 80px 24px;
  background: radial-gradient(ellipse 80% 60% at 50% -5%, rgba(108,71,255,.22) 0%, transparent 65%);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.12; max-width: 840px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 18px auto 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.pill { display: flex; align-items: center; gap: 6px; background: var(--bg2); border: 1px solid var(--border); padding: 7px 14px; border-radius: 99px; font-size: .8rem; color: var(--muted); }

/* ─── PAGE HERO (inner pages) ─────────────── */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(108,71,255,.13) 0%, transparent 70%);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.page-hero p  { font-size: 1rem; color: var(--muted); max-width: 560px; }

/* ─── BREADCRUMB ──────────────────────────── */
.breadcrumb { padding: 16px 0; font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--text); }

/* ─── PLANS ───────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.plan-card { padding: 36px; display: flex; flex-direction: column; position: relative; }
.plan-card.featured { border-color: var(--brand); box-shadow: 0 0 40px rgba(108,71,255,.18); }
.plan-best {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 800; padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.plan-name   { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.plan-period { font-size: .87rem; color: var(--muted); margin-bottom: 20px; }
.plan-price  { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.plan-price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan-saving { font-size: .82rem; color: var(--accent); margin-bottom: 28px; min-height: 18px; }
.plan-features { display: flex; flex-direction: column; gap: 11px; flex: 1; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.plan-features li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.plan-btn { display: block; text-align: center; padding: 14px; border-radius: 10px; font-weight: 700; font-size: .95rem; transition: .2s; }
.plan-btn.p  { background: var(--brand); color: #fff; }
.plan-btn.p:hover { background: var(--brand-dark); }
.plan-btn.o  { border: 1.5px solid var(--border); color: var(--text); }
.plan-btn.o:hover { border-color: var(--brand); color: var(--brand); }

/* ─── STEPS ───────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-n {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-light); border: 1px solid rgba(108,71,255,.3);
  display: grid; place-items: center; font-weight: 800; color: var(--brand); flex-shrink: 0;
}
.step h3 { font-size: .95rem; font-weight: 700; }
.step p  { font-size: .85rem; color: var(--muted); }

/* ─── WHY CARDS ───────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.why-card { padding: 28px; }
.why-icon { font-size: 1.8rem; margin-bottom: 14px; }
.why-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.why-card p  { font-size: .85rem; color: var(--muted); }

/* ─── COMPAT ──────────────────────────────── */
.compat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.compat-card { padding: 28px; }
.compat-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 18px; }
.compat-ok h3   { color: var(--accent); }
.compat-no h3   { color: #f87171; }
.compat-list li { display: flex; align-items: center; gap: 10px; font-size: .88rem; margin-bottom: 10px; }
.compat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.compat-ok .compat-dot { background: var(--accent); }
.compat-no .compat-dot { background: #f87171; }

/* ─── FEATURES ────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.feat-card { padding: 28px; }
.feat-n { font-size: .72rem; font-weight: 800; color: var(--brand); letter-spacing: .1em; margin-bottom: 12px; }
.feat-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p  { font-size: .85rem; color: var(--muted); }

/* ─── TESTIMONIALS ────────────────────────── */
.testi-top   { text-align: center; margin-bottom: 48px; }
.testi-stars { font-size: 2rem; color: var(--gold); }
.testi-score { font-size: 3rem; font-weight: 800; line-height: 1; }
.testi-sub   { color: var(--muted); font-size: .88rem; margin-top: 6px; }
.testi-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi-card  { padding: 28px; }
.testi-card-stars { color: var(--gold); font-size: .88rem; margin-bottom: 14px; }
.testi-text  { font-size: .88rem; color: var(--text); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.testi-name  { font-weight: 700; font-size: .87rem; }
.testi-role  { font-size: .77rem; color: var(--muted); }

/* ─── FAQ ─────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; }
.faq-item { border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  padding: 20px 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; text-align: left;
  color: var(--text); font-size: .92rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.faq-q:hover  { background: var(--bg3); }
.faq-icon     { flex-shrink: 0; color: var(--muted); font-size: 1.3rem; transition: transform .25s; }
.faq-a        { display: none; background: var(--card); border: 1px solid var(--border); border-top: none; padding: 0 24px 20px; font-size: .87rem; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a    { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--brand); }

/* ─── CTA BANNER ──────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--brand) 0%, #7c3aed 100%); border-radius: 20px; padding: 72px 48px; text-align: center; }
.cta-banner h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.cta-banner p  { opacity: .85; max-width: 480px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ─── BLOG ────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.blog-card { overflow: hidden; }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--bg3) 0%, rgba(108,71,255,.15) 100%); }
.blog-body  { padding: 24px; }
.blog-cat   { font-size: .72rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
.blog-card h3 { font-size: .98rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card p  { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.blog-meta { font-size: .77rem; color: var(--muted); }
.blog-read { font-size: .82rem; color: var(--brand); font-weight: 600; display: inline-block; margin-top: 12px; }
.blog-read:hover { text-decoration: underline; }

/* ─── PRODUCT PAGE ────────────────────────── */
.product-hero { padding: 80px 0; background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(108,71,255,.15) 0%, transparent 70%); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-price-block { background: var(--card); border: 1px solid var(--brand); border-radius: 20px; padding: 40px; }
.product-price-big { font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 16px 0 8px; }
.product-price-big small { font-size: 1.1rem; font-weight: 400; color: var(--muted); }
.product-saving { font-size: .9rem; color: var(--accent); margin-bottom: 28px; }
.product-features-inline { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.product-features-inline li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.product-features-inline li::before { content: '✓'; color: var(--accent); font-weight: 800; }
.product-cta { display: block; text-align: center; background: var(--brand); color: #fff; padding: 16px; border-radius: 12px; font-weight: 800; font-size: 1.05rem; transition: .2s; }
.product-cta:hover { background: var(--brand-dark); transform: translateY(-2px); }
.product-guarantee { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* ─── PROSE (legal) ───────────────────────── */
.prose { max-width: 760px; }
.prose h2  { font-size: 1.25rem; font-weight: 700; margin: 40px 0 14px; color: var(--text); }
.prose h3  { font-size: 1rem; font-weight: 700; margin: 28px 0 10px; color: var(--text); }
.prose p   { font-size: .9rem; color: var(--muted); margin-bottom: 14px; line-height: 1.85; }
.prose ul  { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { font-size: .9rem; color: var(--muted); margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.prose a   { color: var(--brand); }
.prose strong { color: var(--text); }

/* ─── WHATSAPP FLOAT ──────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  background: #25d366; color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg   { width: 28px; height: 28px; fill: #fff; }

/* ─── COOKIE BAR ──────────────────────────── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 14px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .83rem; color: var(--muted);
}
.cookie-bar a     { color: var(--brand); }
.cookie-close     { margin-left: auto; background: var(--brand); color: #fff; border: none; cursor: pointer; padding: 8px 18px; border-radius: 8px; font-weight: 700; font-size: .82rem; }
.cookie-bar.gone  { display: none; }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .plans-grid  { grid-template-columns: 1fr; }
  .compat-grid { grid-template-columns: 1fr; }
  .section     { padding: 64px 0; }
  .cta-banner  { padding: 48px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1     { font-size: 2rem; }
}
