/* Same visual language as alibit.com.br (void canvas, light Inter, particle scenes),
   with the Alinagenda moss green as the brand color. */
:root {
  --color-void: #000000;
  --color-bone-white: #ffffff;
  --color-ash-gray: #9a9a9a;
  --color-silver-mist: #bdbdbd;
  --color-moss: #8CA16A;
  --color-moss-light: #B7C98F;
  --color-moss-ink: #2E3722;
  --color-saffron-spark: #ffb829;
  --color-electric-iris: #8052ff;
  --line: rgba(255, 255, 255, 0.1);

  --font-sans: 'PP Neue Montreal', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --page-max-width: 1280px;
  --gutter: clamp(16px, 4vw, 36px);
  --section-gap: clamp(60px, 10vw, 120px);
  --radius: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-void);
  color: var(--color-bone-white);
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--color-moss); color: #11160B; }

#ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

header, main, footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.display, .heading-lg, .heading, .heading-2xs { font-weight: 400; }

.display {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.heading-lg {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.heading {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.heading-2xs {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.48px;
}
.body { font-size: 18px; font-weight: 200; max-width: 540px; }
.muted { color: var(--color-silver-mist); }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-saffron-spark);
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  height: 45px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--color-moss);
  color: #11160B;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: scale(.98); }
a:focus-visible, button:focus-visible, .media:focus-visible {
  outline: 2px solid var(--color-saffron-spark);
  outline-offset: 3px;
}

.ghost {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-ash-gray);
  transition: color .2s;
}
.ghost:hover { color: #fff; }

.actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.actions.center { justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand svg { width: 34px; height: 34px; }
.wordmark { font-family: 'Sora', var(--font-sans); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.wordmark b { font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-ash-gray);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* ---------- Sections ---------- */
section {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-gap) var(--gutter);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  min-height: calc(100vh - 93px);
  padding-top: 20px;
}
.hero .display { margin-bottom: 32px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 112%; margin-right: -12%; }
.hero-visual .scene { width: 100%; height: 100%; max-width: none; margin: 0; }

.segments { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.segments li {
  font-size: 13px;
  font-weight: 400;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--color-silver-mist);
}

.scene { display: block; width: 100%; aspect-ratio: 1 / 1; }

/* ---------- Feature reel ---------- */
.reel-intro { padding-bottom: 30px; text-align: center; }
.reel-intro .body { margin: 24px auto 0; }

.feature {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.feature.reverse .feature-text { order: 2; }
.feature-text .step-n { display: block; margin-bottom: 18px; }
.feature-text .heading { margin-bottom: 18px; }

.step-n {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--color-moss);
}

.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { font-size: 15px; color: var(--color-silver-mist); padding-left: 26px; position: relative; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .45em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--color-moss);
  border-bottom: 2px solid var(--color-moss);
  transform: rotate(-45deg);
}

/* Device frames */
.media {
  position: relative;
  cursor: zoom-in;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 1px #000, 0 30px 80px -24px rgba(140, 161, 106, 0.35), 0 0 120px -50px rgba(128, 82, 255, 0.45);
  transition: transform .4s cubic-bezier(.2, .75, .2, 1), box-shadow .4s;
}
.media:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px #000, 0 40px 90px -24px rgba(140, 161, 106, 0.5), 0 0 140px -50px rgba(128, 82, 255, 0.55); }
.media video { display: block; width: 100%; height: auto; background: #f4f3ee; }

.media.browser { border-radius: 16px; padding: 30px 6px 6px; }
.media.browser::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a3a;
  box-shadow: 15px 0 0 #3a3a3a, 30px 0 0 #3a3a3a;
}
.media.browser video { aspect-ratio: 1440 / 900; border-radius: 10px; }

.media.phone {
  width: min(100%, 300px);
  justify-self: center;
  padding: 10px;
  border-radius: 44px;
}
.media.phone video { aspect-ratio: 540 / 1168; border-radius: 34px; }

.media-pair { position: relative; padding-bottom: 60px; }
.media-pair .media.browser { width: 88%; }
.media-pair .media.phone.small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  max-width: 200px;
  padding: 7px;
  border-radius: 30px;
}
.media-pair .media.phone.small video { border-radius: 24px; }

/* "Playing" hint */
.media::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-moss);
  opacity: 0;
  transition: opacity .3s;
}
.media.phone::after { top: auto; bottom: 22px; right: 50%; margin-right: -3px; }
.media.playing::after { opacity: 1; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Clínicas ---------- */
.clinic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.clinic-head .heading-lg { margin-bottom: 28px; }
.clinic-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }

.clinic-points h3, .more-grid h3 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}
.clinic-points h3::before, .more-grid h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-moss);
}
.clinic-points p, .more-grid p { font-size: 15px; padding-left: 16px; }

/* ---------- Tudo incluso ---------- */
.more { border-top: 1px solid var(--line); margin-top: 40px; }
.more .heading-lg { margin-bottom: 48px; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.more-grid a { color: var(--color-moss-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Como começar ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.steps { display: grid; gap: 36px; padding-top: 12px; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 12px; }
.steps .step-n { padding-top: 6px; }
.steps h3 { margin-bottom: 6px; }

/* ---------- CTA ---------- */
.cta { position: relative; display: grid; place-items: center; text-align: center; min-height: 640px; }
.cta .scene { position: absolute; inset: 0; margin: auto; width: min(100%, 680px); opacity: .8; }
.cta-text { position: relative; }
.cta .body { margin: 28px auto 0; }

.footer {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 60px var(--gutter) 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--color-ash-gray);
}
.footer a:hover { color: #fff; }
.footer .alibit { color: #E6EBFF; font-weight: 600; }

/* ---------- Video viewer ---------- */
.viewer {
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1500px);
  max-height: 92vh;
  overflow: visible;
}
.viewer::backdrop { background: rgba(0, 0, 0, .86); backdrop-filter: blur(6px); }
.viewer video { display: block; max-width: min(94vw, 1500px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; background: #f4f3ee; }
.viewer.is-phone video { border-radius: 30px; }
.viewer-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2, .75, .2, 1);
}
.words-in .w > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: 0; }
  .hero-visual { order: -1; width: 100%; max-width: 460px; margin: 0 auto; }
  .display { font-size: clamp(40px, 12vw, 64px); }
  .feature, .clinic, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.reverse .feature-text { order: 0; }
  .media.phone { width: min(78%, 280px); }
  .cta { min-height: 520px; }
}

@media (max-width: 600px) {
  .clinic-points, .more-grid { grid-template-columns: minmax(0, 1fr); }
  .media-pair { padding-bottom: 40px; }
  .media-pair .media.browser { width: 100%; }
  .media-pair .media.phone.small { width: 36%; right: -4px; bottom: -10px; }
  .media.browser { padding-top: 24px; border-radius: 12px; }
  .media.browser::before { top: 8px; left: 11px; width: 7px; height: 7px; box-shadow: 12px 0 0 #3a3a3a, 24px 0 0 #3a3a3a; }
}

@media (max-width: 480px) {
  .nav { gap: 12px; }
  .nav .btn { height: 40px; padding: 0 14px; font-size: 12px; }
  .wordmark { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .w > span { transform: none; transition: none; }
  .media, .media:hover { transition: none; transform: none; }
  .media.playing::after { animation: none; }
}
