/* Fortius · base compartilhada (tokens, tipografia, nav, botões, rodapé)
   Cores vindas do tema aprovado do app. Laranja é reservado pra sequência e conquista. */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('../fonts/sora-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --bg: #131217;
  --bg-deep: #0D0C11;
  --surface: #1B1A1F;
  --surface-2: #201F26;
  --surface-3: #2A292E;
  --line: #26252B;
  --line-strong: #353439;

  --primary: #485CF2;
  --primary-press: #3A4DE0;
  --primary-soft: #C3CBFF;
  --primary-tint: rgba(72, 92, 242, 0.14);
  --primary-glow: rgba(72, 92, 242, 0.32);

  --accent: #E87019;
  --accent-soft: #FF9A4D;
  --accent-tint: rgba(232, 112, 25, 0.14);

  --success: #3DDC84;

  --text: #F5F5F7;
  --text-2: #A9A8B0;
  --text-3: #6E6D75;

  --f-display: 'Sora', 'Helvetica Neue', sans-serif;
  --f-body: 'Manrope', 'Helvetica Neue', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: 20px;
  --max: 1240px;
  --nav-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-3) 100%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 2px solid var(--primary-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-tint);
}

.display {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(2.1rem, 4.6vw, 4.1rem);
  margin: 0;
  text-wrap: balance;
}
.thin { font-weight: 300; color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.45vw, 1.2rem); color: var(--text-2); line-height: 1.6; max-width: 34em; font-weight: 450; text-wrap: pretty; }
.muted { color: var(--text-2); }
.mono { font-family: var(--f-mono); }

/* ---------- botões ---------- */
.btn {
  --bh: 52px;
  height: var(--bh);
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 30px -12px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-press); box-shadow: 0 16px 40px -12px rgba(72, 92, 242, 0.6); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--text-3); background: rgba(255, 255, 255, 0.06); }
.btn-light { background: var(--text); color: var(--bg-deep); }
.btn-light:hover { background: #fff; }
.btn:active { transform: scale(0.98); }

/* botões de loja */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.4s var(--ease);
  position: relative;
}
.store:hover { border-color: var(--text-3); background: rgba(255, 255, 255, 0.07); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; color: var(--text-2); letter-spacing: 0.02em; }
.store b { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.store.is-primary { background: var(--text); color: var(--bg-deep); border-color: var(--text); }
.store.is-primary small { color: #55545c; }
.store.is-primary:hover { background: #fff; }
.store[data-soon]::after {
  content: 'Em breve';
  position: absolute;
  left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-3);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.store[data-soon].show-soon::after { opacity: 1; transform: translate(-50%, 0); }

/* ---------- link sublinhado animado ---------- */
.ulink { position: relative; display: inline-block; }
.ulink::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 11px; line-height: 0; }
.logo .logo-ic { width: auto; height: 30px; background: none; }
.logo .logo-wm { width: auto; height: 13px; }
.logo .logo-wm { fill: var(--text); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(19, 18, 23, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: none; gap: 28px; font-size: 14px; color: var(--text-2); }
.nav-links a { transition: color 0.3s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-cta { display: none; }
.nav-cta .btn { --bh: 40px; padding: 0 18px; font-size: 14px; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); }
.burger svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 32px;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.7s var(--ease), visibility 0s; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.menu nav { display: flex; flex-direction: column; margin-top: 48px; }
.menu nav a {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.04em;
  line-height: 1.2;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu nav a span { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); font-weight: 400; }
.menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; position: relative; z-index: 2; background: var(--bg-deep); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.footer-claim { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.04em; line-height: 1.12; margin: 24px 0 0; max-width: 11em; }
.footer-claim em { font-style: normal; font-weight: 300; color: var(--text-2); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.footer-word { margin: 56px 0 0; user-select: none; }
.footer-word svg { width: 100%; height: auto; display: block; fill: none; stroke: var(--line-strong); stroke-width: 1.2; }

/* ---------- cursor (só desktop com mouse) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; display: none; }
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background-color 0.35s var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-hover .cursor-dot { width: 44px; height: 44px; background: #fff; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* ---------- reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
