/* ══════════════════════════════════════════════════════════════
   Algoritmo Apps — site oficial (algoritmo.website)
   Dark tech · acento violeta→ciano · Inter/Sora
   ══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0B0F1A;
  --bg-soft: #0F1524;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --txt: #E8EDF7;
  --txt-dim: #9AA7BD;
  --violet: #8B5CF6;
  --cyan: #2DD4F0;
  --green: #34D399;
  --amber: #FBBF24;
  --grad: linear-gradient(92deg, #8B5CF6, #2DD4F0);
  --radius: 20px;
  --maxw: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav::after { /* linha de vidro colada na nav, sem esticar a página */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 19px; }
.nav__brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__mark { border-radius: 10px; box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35); }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; color: var(--txt-dim); }
.nav__links a:hover { color: var(--txt); }

/* ── hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  padding: 110px 24px 90px; text-align: center;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 340px at 30% 8%, rgba(139, 92, 246, 0.22), transparent 66%),
    radial-gradient(560px 340px at 72% 16%, rgba(45, 212, 240, 0.16), transparent 66%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,0.025) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,0.025) 47px 48px);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero__eyebrow, .section__eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
}
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.12; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 640px; margin: 24px auto 0; color: var(--txt-dim); font-size: 19px; }
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.badge-play img { height: 64px; width: auto; transition: transform 0.18s ease; }
.badge-play:hover img { transform: translateY(-2px) scale(1.02); }
.btn-ghost {
  padding: 15px 28px; border: 1px solid var(--line); border-radius: 14px;
  font-weight: 700; font-size: 16px; background: var(--panel);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.btn-ghost:hover { border-color: rgba(45, 212, 240, 0.5); transform: translateY(-2px); }
.hero__chips {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 44px; list-style: none;
}
.hero__chips li {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); font-size: 14px; font-weight: 600; color: var(--txt-dim);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--live { background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ── sections ────────────────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: 88px 24px; }
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.05) 30%, rgba(45, 212, 240, 0.04) 70%, transparent);
}
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; max-width: 720px; }
.section__sub { max-width: 680px; margin-top: 18px; color: var(--txt-dim); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* ── destaque Aura ───────────────────────────────────────────── */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px;
  margin-top: 48px; padding: 44px; align-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 41, 0.06), rgba(168, 85, 247, 0.06)), var(--panel);
}
.feature__head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.feature__icon { border-radius: 16px; box-shadow: 0 8px 32px rgba(255, 122, 41, 0.25); }
.feature h3 { font-size: 28px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  padding: 5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pill--live { background: rgba(52, 211, 153, 0.12); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.pill--soon { background: rgba(251, 191, 36, 0.10); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.30); }
.feature p { color: var(--txt-dim); }
.feature__list { margin: 20px 0 4px; padding: 0; list-style: none; }
.feature__list li {
  position: relative; padding: 7px 0 7px 30px; color: var(--txt); font-weight: 500; font-size: 16px;
}
.feature__list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 21px; height: 21px; border-radius: 7px; text-align: center; line-height: 21px;
  font-size: 12px; font-weight: 800; color: #06251d;
  background: linear-gradient(135deg, #34D399, #2DD4F0);
}
.feature__actions { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.badge-play--sm img { height: 56px; }
.link-arrow { font-weight: 700; color: var(--cyan); }
.link-arrow:hover { text-decoration: underline; }

.feature__shots { position: relative; min-height: 340px; }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.shot--main { width: 92%; }
.shot--float {
  position: absolute; width: 62%; right: -6px; bottom: -26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

/* ── grid de apps ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.app-card { padding: 32px; }
.app-card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, 0.4); }
.app-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.app-card__head h3 { font-size: 21px; }
.app-card__icon-round { border-radius: 14px; }
.app-card p { color: var(--txt-dim); font-size: 16px; }

.legal-note {
  margin-top: 36px; padding: 18px 22px; border-left: 3px solid rgba(45, 212, 240, 0.5);
  background: var(--panel); border-radius: 0 14px 14px 0;
  color: var(--txt-dim); font-size: 14.5px; max-width: 860px;
}

/* ── pilares ─────────────────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.pillar { padding: 28px 24px; }
.pillar:hover { transform: translateY(-4px); border-color: rgba(45, 212, 240, 0.35); }
.pillar__emoji { font-size: 30px; display: block; margin-bottom: 14px; }
.pillar h3 { font-size: 18px; margin-bottom: 8px; }
.pillar p { color: var(--txt-dim); font-size: 14.5px; line-height: 1.55; }

/* ── estúdio / stats ─────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stat {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.stat b { display: block; font-family: "Sora", sans-serif; font-size: 22px; margin-bottom: 4px; }
.stat span { color: var(--txt-dim); font-size: 14.5px; }

/* ── contato ─────────────────────────────────────────────────── */
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.10), rgba(45, 212, 240, 0.08)), var(--panel);
}
.contact h2 { margin-top: 2px; }
.btn-solid {
  padding: 17px 30px; border-radius: 14px; background: var(--grad);
  color: #071018; font-weight: 800; font-size: 16.5px; white-space: nowrap;
  box-shadow: 0 12px 36px rgba(45, 212, 240, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(45, 212, 240, 0.35); }

/* ── footer ──────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 34px 24px 40px; }
.footer__row {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--txt-dim); font-size: 14.5px;
}
.footer__links { display: flex; gap: 22px; font-weight: 600; }
.footer__links a:hover { color: var(--txt); }
.footer__legal { max-width: var(--maxw); margin: 14px auto 0; color: rgba(154, 167, 189, 0.55); font-size: 12.5px; }

/* ── responsivo ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; padding: 32px; }
  .feature__shots { min-height: 0; margin-top: 8px; }
  .shot--float { bottom: -14px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { gap: 18px; font-size: 14px; }
  .hero { padding: 72px 20px 64px; }
  .br-lg { display: none; }
  .grid-2, .grid-4, .stats { grid-template-columns: 1fr; }
  .contact { padding: 32px; }
  .badge-play img { height: 56px; }
}
