/* ============================================================================
   FOCUS — SITE (LANDING + AUTH)
============================================================================ */

/* ────────────────────────────────────────────────────────────────────────
   SITE LAYOUT
──────────────────────────────────────────────────────────────────────── */
.site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding: var(--sp-6) var(--sp-8);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--surface-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease);
}

.site-nav.scrolled {
  border-bottom-color: var(--border);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: var(--tracking-snug);
}

.site-nav__brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: var(--fs-md);
}

.site-nav__links {
  display: flex;
  gap: var(--sp-5);
  margin-left: var(--sp-8);
}

.site-nav__link {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  transition: color var(--dur-base) var(--ease);
}

.site-nav__link:hover { color: var(--text); }

.site-nav__spacer { flex: 1; }

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

@media (max-width: 768px) {
  .site-nav { padding: var(--sp-4); }
  .site-nav__links { display: none; }
}

/* ────────────────────────────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--sp-24) var(--sp-8) var(--sp-20);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Mesh gradient sutil no fundo */
.hero__bg::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-muted), transparent 70%);
  filter: blur(80px);
  opacity: 0.8;
}

.hero__bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--info-muted), transparent 70%);
  filter: blur(100px);
  opacity: 0.6;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1-5) var(--sp-3);
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-bottom: var(--sp-6);
  animation: reveal var(--dur-slow) var(--ease) 100ms both;
}

.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px var(--success-muted);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--success-muted); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, var(--fs-6xl));
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: 1.02;
  margin-bottom: var(--sp-6);
  animation: reveal var(--dur-slower) var(--ease) 200ms both;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-dim);
  line-height: var(--lh-relaxed);
  max-width: 60ch;
  margin: 0 auto var(--sp-8);
  animation: reveal var(--dur-slower) var(--ease) 300ms both;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  animation: reveal var(--dur-slower) var(--ease) 400ms both;
}

/* Showcase mockup do app */
.hero__showcase {
  margin-top: var(--sp-16);
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--sp-4);
  animation: reveal var(--dur-slower) var(--ease) 500ms both;
}

.hero__showcase-frame {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  padding: var(--sp-4);
  position: relative;
}

.hero__showcase-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--sp-4);
}

.hero__showcase-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-faint);
  opacity: 0.4;
}

/* ────────────────────────────────────────────────────────────────────────
   FEATURES
──────────────────────────────────────────────────────────────────────── */
.features {
  padding: var(--sp-20) var(--sp-8);
  max-width: 1200px;
  margin: 0 auto;
}

.features__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, var(--fs-4xl));
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  text-align: center;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

.features__title em {
  font-style: italic;
  color: var(--accent);
}

.features__lead {
  text-align: center;
  color: var(--text-dim);
  font-size: var(--fs-lg);
  max-width: 60ch;
  margin: 0 auto var(--sp-16);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.feature {
  padding: var(--sp-8) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--dur-slow) var(--ease);
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-muted);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-5);
}

.feature__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: var(--tracking-snug);
  margin-bottom: var(--sp-2);
}

.feature__desc {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  line-height: var(--lh-relaxed);
}

/* ────────────────────────────────────────────────────────────────────────
   CTA FOOTER BAND
──────────────────────────────────────────────────────────────────────── */
.cta-band {
  padding: var(--sp-20) var(--sp-8);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cta-band__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-16) var(--sp-8);
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--accent-muted), transparent 60%);
  pointer-events: none;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--sp-3);
  position: relative;
}

.cta-band__text {
  color: var(--text-dim);
  margin-bottom: var(--sp-6);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ────────────────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: var(--sp-8);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--text-dim);
  transition: color var(--dur-base) var(--ease);
}
.site-footer a:hover { color: var(--text); }

/* ────────────────────────────────────────────────────────────────────────
   AUTH PAGES (split layout)
──────────────────────────────────────────────────────────────────────── */
.auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.auth__aside {
  position: relative;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0, transparent 50%);
  pointer-events: none;
}

.auth__brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  position: relative;
}

.auth__brand-mark {
  width: 32px; height: 32px;
  background: var(--accent-contrast);
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
}

.auth__quote {
  position: relative;
}

.auth__quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-snug);
  font-weight: 400;
  margin-bottom: var(--sp-4);
  font-style: italic;
  opacity: 0.95;
}

.auth__quote-author {
  font-size: var(--fs-sm);
  opacity: 0.7;
  letter-spacing: var(--tracking-wide);
}

.auth__main {
  padding: var(--sp-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
  position: relative;
}

.auth__form-wrap {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.auth__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-2);
}

.auth__subtitle {
  color: var(--text-dim);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-sm);
}

.auth__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.auth__submit {
  margin-top: var(--sp-2);
}

.auth__alt {
  margin-top: var(--sp-6);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.auth__alt a {
  color: var(--accent);
  font-weight: 500;
  transition: color var(--dur-base) var(--ease);
}

.auth__alt a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.auth__top {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth__aside {
    display: none;
  }
  .auth__main {
    padding: var(--sp-6) var(--sp-4);
  }
}

/* ────────────────────────────────────────────────────────────────────────
   REVEAL ON LOAD (landing)
──────────────────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--dur-slower) var(--ease);
}

.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
