/* ══════════════════════════════════════════════════════════════
   Algoritmo Apps — site oficial (algoritmo.website)
   v2 · full-bleed editorial · tipografia grande · violeta→ciano
   ══════════════════════════════════════════════════════════════ */
:root {
  --bg: #07090F;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.10);
  --txt: #EDF1F9;
  --txt-dim: #98A3B8;
  --violet: #8B5CF6;
  --cyan: #2DD4F0;
  --green: #34D399;
  --amber: #FBBF24;
  --grad: linear-gradient(92deg, #8B5CF6, #2DD4F0);
  --pad: clamp(20px, 4.5vw, 72px);   /* respiro lateral — o site usa a LARGURA TODA */
}
* { 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.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.025em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── nav (full width) ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 11px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 18px; }
.nav__brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__mark { border-radius: 9px; }
.nav__links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 15px; color: var(--txt-dim); }
.nav__links a:hover { color: var(--txt); }
.nav__cta {
  color: var(--txt) !important; padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px;
}
.nav__cta:hover { border-color: var(--cyan); }

/* ── hero (full-bleed, 2 colunas, shot sangrando a direita) ──── */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(139, 92, 246, 0.20), transparent 62%),
    radial-gradient(900px 560px at 96% 30%, rgba(45, 212, 240, 0.13), transparent 60%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(480px, 46%) 1fr;
  align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: clamp(56px, 8vh, 110px) 0 clamp(56px, 8vh, 110px) var(--pad);
  min-height: min(88vh, 900px);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--txt-dim); margin-bottom: 26px; white-space: nowrap;
}
.eyebrow__line { width: 44px; height: 1px; background: var(--grad); flex: none; }
.hero h1 {
  font-size: clamp(52px, 7.2vw, 118px);
  line-height: 0.98; font-weight: 800;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { max-width: 520px; margin-top: 30px; color: var(--txt-dim); font-size: clamp(17px, 1.4vw, 21px); }
.hero__cta { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.badge-play img { height: 62px; width: auto; transition: transform 0.18s ease; }
.badge-play:hover img { transform: translateY(-2px); }
.btn-ghost {
  padding: 16px 28px; border: 1px solid var(--line); border-radius: 12px;
  font-weight: 700; font-size: 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(45, 212, 240, 0.06); }
.hero__live { display: flex; align-items: center; gap: 10px; margin-top: 34px; color: var(--txt-dim); font-size: 14.5px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: var(--green); 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); }
}

.hero__visual { position: relative; height: 100%; min-height: 520px; }
.hero__shot {
  position: absolute; top: 50%; left: 0; transform: translateY(-56%) perspective(1400px) rotateY(-7deg);
  width: 118%; max-width: none;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -30px 50px 110px rgba(0, 0, 0, 0.62);
}
.hero__shot2 {
  position: absolute; bottom: 4%; left: -6%;
  width: 46%; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.7);
}

/* ── faixa marquee de plataformas (full-bleed) ───────────────── */
.band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.band__track {
  display: flex; align-items: center; gap: 44px; width: max-content;
  padding: 20px 0; animation: slide 32s linear infinite;
}
.band__track span {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 26px; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(237, 241, 249, 0.34);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.band__track i { color: var(--cyan); font-style: normal; font-size: 18px; opacity: 0.85; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── seções ──────────────────────────────────────────────────── */
.sec { padding: clamp(72px, 10vh, 128px) var(--pad); }
.sec__head { max-width: 880px; }
.sec__head--pad { padding: 0 var(--pad); }
.sec__num {
  display: block; font-family: "Sora", sans-serif; font-weight: 800; font-size: 14px;
  color: var(--cyan); letter-spacing: 0.22em; margin-bottom: 16px;
}
.sec__head h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; font-weight: 800; }
.sec__head p { margin-top: 18px; color: var(--txt-dim); font-size: 19px; max-width: 640px; }

/* ── Aura Player (split, shots sangram a borda direita) ──────── */
.aura {
  display: grid; grid-template-columns: minmax(460px, 44%) 1fr;
  gap: clamp(32px, 4vw, 80px); align-items: center;
  margin-top: clamp(48px, 7vh, 80px);
}
.aura__head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.aura__icon { border-radius: 18px; box-shadow: 0 10px 40px rgba(168, 85, 247, 0.35); }
.aura h3 { font-size: clamp(28px, 2.6vw, 40px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 6px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.pill--live { background: rgba(52, 211, 153, 0.10); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.pill--soon { background: rgba(251, 191, 36, 0.08); color: var(--amber); border: 1px solid rgba(251, 191, 36, 0.28); }
.aura__desc { color: var(--txt-dim); font-size: 18px; }
.aura__list { margin: 26px 0 6px; list-style: none; }
.aura__list li { position: relative; padding: 8px 0 8px 32px; font-weight: 500; font-size: 16.5px; }
.aura__list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 21px; height: 21px; border-radius: 6px; text-align: center; line-height: 21px;
  font-size: 12px; font-weight: 800; color: #06251d;
  background: linear-gradient(135deg, #34D399, #2DD4F0);
}
.aura__actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.badge-play--sm img { height: 54px; }
.link-arrow { font-weight: 700; color: var(--cyan); font-size: 16.5px; }
.link-arrow:hover { text-decoration: underline; }

.aura__stage { position: relative; min-height: 460px; }
.aura__shot {
  position: absolute; top: 50%; right: calc(-1 * var(--pad)); transform: translateY(-54%);
  width: 106%; max-width: none;
  border-radius: 14px 0 0 14px; border: 1px solid rgba(255, 255, 255, 0.13); border-right: 0;
  box-shadow: -34px 44px 100px rgba(0, 0, 0, 0.6);
}
.aura__shot-float {
  position: absolute; bottom: -4%; left: 2%;
  width: 52%; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.72);
}

/* ── próximos (linhas editoriais full-width) ─────────────────── */
.next { margin-top: clamp(64px, 9vh, 104px); border-top: 1px solid var(--line); }
.next__item {
  display: flex; align-items: center; gap: 26px;
  padding: 30px 8px; border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.next__item:hover { background: rgba(255, 255, 255, 0.025); padding-left: 18px; }
.next__item img { border-radius: 14px; flex: none; }
.next__item img.round { border-radius: 12px; }
.next__txt { flex: 1; min-width: 0; }
.next__txt h3 { font-size: 21px; margin-bottom: 4px; }
.next__txt p { color: var(--txt-dim); font-size: 15.5px; }
.next__item .pill { margin-top: 0; flex: none; }

.legal-note {
  margin-top: 44px; padding: 18px 24px; max-width: 900px;
  border-left: 2px solid rgba(45, 212, 240, 0.55);
  color: var(--txt-dim); font-size: 14.5px;
}

/* ── pilares (banda full-width, colunas com réguas) ──────────── */
.pillars { border-top: 1px solid var(--line); padding: clamp(72px, 10vh, 120px) 0 0; }
.pillars__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 6vh, 64px); border-top: 1px solid var(--line);
}
.pillar {
  padding: 44px var(--pad) 56px 32px; border-right: 1px solid var(--line);
  transition: background 0.2s ease;
}
.pillar:first-child { padding-left: var(--pad); }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(139, 92, 246, 0.05); }
.pillar span { font-size: 30px; display: block; margin-bottom: 18px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; }
.pillar p { color: var(--txt-dim); font-size: 15px; line-height: 1.6; }

/* ── estúdio ─────────────────────────────────────────────────── */
.studio {
  display: grid; grid-template-columns: minmax(420px, 52%) 1fr;
  gap: clamp(40px, 5vw, 96px); align-items: center;
}
.studio__stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
}
.stat b { font-family: "Sora", sans-serif; font-size: clamp(22px, 2vw, 30px); font-weight: 800; }
.stat span { color: var(--txt-dim); font-size: 15px; text-align: right; }

/* ── contato (banda full-bleed gradiente) ────────────────────── */
.contact {
  background:
    radial-gradient(720px 380px at 12% 0%, rgba(139, 92, 246, 0.22), transparent 64%),
    radial-gradient(720px 380px at 88% 100%, rgba(45, 212, 240, 0.16), transparent 64%),
    rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
}
.contact__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap;
  padding: clamp(64px, 9vh, 104px) var(--pad);
}
.contact h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; }
.contact p { margin-top: 12px; color: var(--txt-dim); font-size: 18px; }
.btn-solid {
  padding: 19px 34px; border-radius: 12px; background: var(--grad);
  color: #071018; font-weight: 800; font-size: 17px; white-space: nowrap;
  box-shadow: 0 14px 40px rgba(45, 212, 240, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(45, 212, 240, 0.4); }

/* ── footer ──────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 30px var(--pad) 38px; }
.footer__row {
  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: 24px; font-weight: 600; }
.footer__links a:hover { color: var(--txt); }
.footer__legal { margin-top: 12px; color: rgba(152, 163, 184, 0.5); font-size: 12.5px; }

/* ── responsivo ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; padding-right: var(--pad); min-height: 0; }
  .hero__visual { min-height: 0; margin-top: 40px; }
  .hero__shot { position: relative; top: 0; transform: none; width: 100%; border-radius: 14px; }
  .hero__shot2 { display: none; }
  .aura { grid-template-columns: 1fr; }
  .aura__stage { min-height: 0; }
  .aura__shot { position: relative; top: 0; right: 0; transform: none; width: 100%; border-radius: 14px; border-right: 1px solid rgba(255,255,255,0.13); }
  .aura__shot-float { display: none; }
  .pillars__row { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid var(--line); padding-left: var(--pad); }
  .studio { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .nav { gap: 12px; padding: 12px var(--pad); }
  .nav__brand { font-size: 16px; }
  .nav__links { gap: 14px; font-size: 13.5px; }
  .nav__cta { padding: 7px 12px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .hero__sub { font-size: 16px; margin-top: 22px; }
  .eyebrow { white-space: normal; font-size: 11px; }
  .badge-play img { height: 52px; }
  .sec__head h2 { font-size: 28px; }
  .sec__head p { font-size: 16px; }
  .aura h3 { font-size: 25px; }
  .aura__desc { font-size: 16px; }
  .aura__list li { font-size: 15px; }
  .pillars__row { grid-template-columns: 1fr; }
  .pillar { border-right: 0; padding: 28px var(--pad) 32px; }
  .pillar span { font-size: 24px; margin-bottom: 10px; }
  /* item de app vira GRID no mobile: ícone | texto, selo embaixo do texto (nada espremido) */
  .next__item { display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 8px 16px; padding: 22px 2px; }
  .next__item img { width: 52px; height: 52px; }
  .next__txt h3 { font-size: 17.5px; }
  .next__txt p { font-size: 14px; }
  .next__item .pill { grid-column: 2; justify-self: start; font-size: 11px; }
  .band__track span { font-size: 18px; }
  .band__track { padding: 14px 0; gap: 28px; }
  .stat b { font-size: 20px; }
  .stat span { text-align: left; font-size: 13.5px; }
  .contact h2 { font-size: 28px; }
  .contact p { font-size: 16px; }
  .btn-solid { padding: 15px 22px; font-size: 15px; }
  .legal-note { font-size: 13.5px; }
}
