/* ============================================================
   Livnot — Landing page
   Marca: grafite #1C1F26 · âmbar #C98A1B · Manrope
   ============================================================ */

:root {
  --accent: #c98a1b;
  --accent-ink: #1c1f26; /* text that sits on accent */
  --accent-2: #e0a531;

  /* dark theme (default) */
  --bg: #0e1116;
  --bg-2: #12161d;
  --surface: #161b23;
  --surface-2: #1b212b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.06);
  --text: #f4f6f8;
  --text-2: #aeb6c2;
  --muted: #79828f;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  --chrome: #0a0c10;
  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f4f5f7;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --line: rgba(28, 31, 38, 0.1);
  --line-2: rgba(28, 31, 38, 0.06);
  --text: #1c1f26;
  --text-2: #4a515c;
  --muted: #828a95;
  --shadow: 0 30px 70px -34px rgba(28, 31, 38, 0.3);
  --chrome: #e9ebef;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
section {
  position: relative;
}

/* ---- type ---- */
h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 800;
}
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--text-2);
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.amber {
  color: var(--accent);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.82em 1.35em;
  border-radius: 11px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.16s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--text-2);
  background: var(--surface);
}
.btn-sm {
  padding: 0.6em 1.05em;
  font-size: 0.9rem;
  border-radius: 9px;
}
.btn .arr {
  transition: transform 0.16s ease;
}
.btn:hover .arr {
  transform: translateX(3px);
}

/* ============================================================ NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 70px;
}
.nav .logo {
  height: 30px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 14px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.14s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .login {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
}
.nav-cta .login:hover {
  color: var(--text);
}

/* ============================================================ HERO */
.hero {
  padding: clamp(56px, 8vw, 104px) 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 18px;
  max-width: 880px;
}
.hero h1 {
  text-wrap: balance;
}
.hero .lead {
  max-width: 620px;
  margin-top: 6px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 14px;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-note .tick {
  color: var(--accent);
  font-weight: 800;
}

.hero-shot {
  margin-top: clamp(40px, 6vw, 68px);
  position: relative;
}
.hero-shot::before {
  content: '';
  position: absolute;
  inset: -8% 8% auto 8%;
  height: 70%;
  background: radial-gradient(
    60% 100% at 50% 0%,
    color-mix(in srgb, var(--accent) 30%, transparent),
    transparent 70%
  );
  filter: blur(46px);
  opacity: 0.55;
  z-index: 0;
}

/* ---- browser frame ---- */
.frame {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--chrome);
  box-shadow: var(--shadow);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  background: var(--chrome);
}
.frame-dots {
  display: flex;
  gap: 7px;
}
.frame-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
  display: block;
}
.frame-url {
  flex: 1;
  max-width: 340px;
  margin-inline: auto;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 5px 12px;
}
.frame img {
  display: block;
  width: 100%;
}

/* ============================================================ TRUST */
.trust {
  padding: 30px 0 6px;
}
.trust-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
}
.trust .label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.trust .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: auto;
}
.tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.tag b {
  color: var(--accent);
}

/* ============================================================ SECTION HEAD */
.shead {
  max-width: 680px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.shead h2 {
  margin-top: 12px;
  text-wrap: balance;
}
.shead .lead {
  margin-top: 14px;
}
.sec {
  padding: clamp(64px, 9vw, 112px) 0;
}
.sec.alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line-2);
}

/* ============================================================ MÓDULOS */
.mods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 22px 20px 20px;
  transition:
    border-color 0.16s,
    transform 0.16s,
    background 0.16s;
}
.mod:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-3px);
}
.mod-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  margin-bottom: 15px;
}
.mod-ic svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mod h3 {
  margin-bottom: 6px;
}
.mod p {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ============================================================ SPOTLIGHTS */
.spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.spot + .spot {
  margin-top: clamp(64px, 8vw, 104px);
}
.spot.flip .spot-text {
  order: 2;
}
.spot-text {
  max-width: 460px;
}
.spot-text h2 {
  margin: 14px 0 16px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}
.spot-list {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}
.spot-list li {
  display: flex;
  gap: 12px;
  list-style: none;
  font-size: 0.98rem;
  color: var(--text-2);
}
.spot-list {
  padding: 0;
  margin-bottom: 0;
}
.spot-list .ck {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  margin-top: 1px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
}
.spot-list b {
  color: var(--text);
  font-weight: 700;
}
.spot-media {
  position: relative;
}
.spot-media .frame {
  transition: transform 0.3s ease;
}

.metric {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: -18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.metric .k {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.metric .v {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.metric .v.pos {
  color: #2fae6b;
}

/* ============================================================ PRODUTOS / APPS */
.prods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.prod {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.prod:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-3px);
}
.prod-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.prod-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex: none;
}
.prod-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-icon.web {
  background: var(--chrome);
  display: grid;
  place-items: center;
}
.prod-kind {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.prod h3 {
  font-size: 1.25rem;
}
.prod p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}
.prod ul {
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.prod li {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-2);
  display: flex;
  gap: 9px;
}
.prod li::before {
  content: '—';
  color: var(--accent);
  font-weight: 800;
}
.prod .web-thumb {
  margin-top: auto;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ============================================================ COMO FUNCIONA */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: s;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}
.step::before {
  counter-increment: s;
  content: '0' counter(s);
  position: absolute;
  top: -2px;
  left: 0;
  padding-top: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  border-top: 2px solid var(--accent);
}
.step h3 {
  margin-bottom: 8px;
}
.step p {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ============================================================ CTA FINAL */
.cta-final {
  padding: clamp(30px, 5vw, 40px) 0 clamp(64px, 9vw, 104px);
}
.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1f26, #0c0e13);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
[data-theme='light'] .cta-box {
  background: linear-gradient(135deg, #1c1f26, #2a2e37);
}
.cta-box::after {
  content: '';
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 90%;
  background: radial-gradient(
    50% 100% at 50% 100%,
    color-mix(in srgb, var(--accent) 42%, transparent),
    transparent 72%
  );
  filter: blur(30px);
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  color: #fff;
  text-wrap: balance;
  max-width: 16ch;
  margin-inline: auto;
}
.cta-box p {
  color: #c7ccd4;
  margin: 16px auto 28px;
  max-width: 48ch;
  font-size: 1.08rem;
}
.cta-box .hero-cta {
  justify-content: center;
}

/* ============================================================ FOOTER */
.foot {
  border-top: 1px solid var(--line-2);
  padding: 56px 0 40px;
  background: var(--bg-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.foot .logo {
  height: 28px;
  margin-bottom: 14px;
}
.foot .bio {
  color: var(--text-2);
  font-size: 0.92rem;
  max-width: 30ch;
}
.foot h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 700;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.foot a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
}
.foot a:hover {
  color: var(--accent);
}
.foot-base {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ============================================================ REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .mods {
    grid-template-columns: repeat(2, 1fr);
  }
  .prods {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .spot,
  .spot.flip .spot-text {
    grid-template-columns: 1fr;
    order: 0;
  }
  .spot-media {
    order: -1;
  }
  .nav-links {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .mods,
  .steps {
    grid-template-columns: 1fr;
  }
  .trust .tags {
    margin-left: 0;
  }
  .nav-cta .login {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .metric {
    right: 8px;
  }
}
