/* InfluLancer · site público. Tokens: tipografia na escala do Tailwind, espaçamentos 2 a 96 px, fundos planos. */
:root {
  --bg: #000000; --surface: #181818; --surface-2: #1F1F1F; --line: #313131;
  --ink: #FFFFFF; --muted: #9B9B9B; --accent: #C8F169; --accent-ink: #131209; --danger: #FF8A7A;
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
body { background: var(--bg); color: var(--ink); font-family: "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Estilos de texto */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.heading-5 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }

.skip { position: absolute; left: var(--s-200); top: -80px; background: var(--ink); color: var(--bg); padding: var(--s-75) var(--s-100); border-radius: 8px; z-index: 50; }
.skip:focus { top: var(--s-200); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75); background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 0; border-radius: 12px; padding: var(--s-75) var(--s-100); cursor: pointer; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.btn-lg { padding: var(--s-100) var(--s-300); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Navegação */
.nav { position: fixed; top: var(--s-200); left: 50%; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: var(--s-300); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200); border: 1px solid var(--line); border-radius: 16px; background: rgba(24, 24, 24, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); max-width: calc(100vw - var(--s-400)); }
.brand { display: inline-flex; align-items: center; gap: var(--s-75); text-decoration: none; white-space: nowrap; }
.mark { width: 16px; height: 16px; border-radius: 4px; background: var(--accent); }
.nav-links { display: flex; gap: var(--s-300); }
.nav-links a { color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 300ms var(--ease); }
.nav-links a:hover { color: var(--ink); }
.btn-sm { border-radius: 8px; white-space: nowrap; }
.toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; position: relative; cursor: pointer; }
.toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 500ms var(--ease); }
.toggle span:first-child { transform: translateY(-4px); }
.toggle span:last-child { transform: translateY(4px); }
.toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 30; background: rgba(0, 0, 0, 0.92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); padding: var(--s-900) var(--s-300) var(--s-300); }
.menu nav { display: flex; flex-direction: column; gap: var(--s-300); }
.menu a { text-decoration: none; opacity: 0; transform: translateY(24px); transition: transform 500ms var(--ease), opacity 500ms var(--ease); }
.menu.open a { opacity: 1; transform: none; }
.menu.open a:nth-child(2) { transition-delay: 60ms; } .menu.open a:nth-child(3) { transition-delay: 120ms; }
.menu.open a:nth-child(4) { transition-delay: 180ms; } .menu.open a:nth-child(5) { transition-delay: 240ms; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-300); padding: calc(var(--s-900) + var(--s-700)) var(--s-200) var(--s-800); }
.pill { display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-50) var(--s-100); border: 1px solid var(--line); border-radius: 9999px; color: var(--muted); }
.hero-title { max-width: 680px; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: var(--s-50); }
.hero-sub { max-width: 680px; color: var(--muted); }
.hero-proof { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--muted); }
.hero-proof i, .pill i { color: var(--accent); }

.mock { width: 100%; max-width: 560px; margin-top: var(--s-400); text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-200); }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-200); }
.tag { background: var(--surface-2); border: 1px solid var(--line); border-radius: 9999px; padding: var(--s-50) var(--s-100); white-space: nowrap; }
.bids { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-75); }
.bids li { display: flex; align-items: center; gap: var(--s-100); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: var(--s-100); }
.bids li div { flex: 1; min-width: 0; }
.bids li.best { border-color: var(--accent); }
.bids li.best .price { color: var(--accent); }
.avatar { width: 40px; height: 40px; border-radius: 9999px; display: grid; place-items: center; font-size: 0.75rem; font-weight: 600; color: var(--accent-ink); flex: none; }
.a1 { background: #F1C769; } .a2 { background: #69C8F1; } .a3 { background: var(--accent); }

/* Seções */
.section { max-width: 1120px; margin: 0 auto; padding: var(--s-800) var(--s-200); display: flex; flex-direction: column; gap: var(--s-500); }
.section.narrow { max-width: 760px; gap: var(--s-300); }
.section-head { display: flex; flex-direction: column; gap: var(--s-100); max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-200); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-200); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-100); }
.icon { font-size: 1.5rem; color: var(--accent); }
.step { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.split { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-400); padding: var(--s-500); border-radius: 24px; }
.split > div { display: flex; flex-direction: column; gap: var(--s-100); max-width: 600px; }
.split .btn { flex: none; }

/* Frase central */
.tagline { padding: var(--s-900) var(--s-200); display: flex; justify-content: center; }
.tagline-text { max-width: 880px; text-align: center; }
.tagline-text span { color: rgba(255, 255, 255, 0.3); transition: color 500ms var(--ease); }
.tagline-text span.on { color: var(--ink); }

/* Dúvidas */
.faq { display: flex; flex-direction: column; gap: var(--s-75); }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s-200); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-200); }
.faq summary::after { content: "+"; color: var(--muted); transition: transform 500ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: var(--s-100); }

/* Formulário */
.cta { padding: var(--s-500); border-radius: 24px; gap: var(--s-200); }
.form { display: flex; flex-direction: column; gap: var(--s-200); margin-top: var(--s-200); }
.seg { border: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75); }
.seg legend { color: var(--muted); margin-bottom: var(--s-75); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: var(--s-75) var(--s-200); border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); transition: opacity 300ms var(--ease); }
.seg input:checked + span { border-color: var(--accent); color: var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: var(--s-75); }
.field span { color: var(--muted); }
.field input { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: var(--s-100) var(--s-200); color: var(--ink); font-family: inherit; }
.field input::placeholder { color: #666666; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.status { min-height: 20px; }
.status.erro { color: var(--danger); }
.status.ok { color: var(--accent); }

.footer { max-width: 1120px; margin: 0 auto; padding: var(--s-500) var(--s-200); display: flex; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Páginas simples */
.page { max-width: 680px; margin: 0 auto; padding: calc(var(--s-900) + var(--s-600)) var(--s-200) var(--s-800); display: flex; flex-direction: column; gap: var(--s-300); }
.page ul { padding-left: var(--s-300); color: var(--muted); display: flex; flex-direction: column; gap: var(--s-75); }

/* Entrada ao rolar */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.5rem; line-height: 2rem; }
  .heading-4 { font-size: 1.5rem; line-height: 2rem; }
  .nav-links, .nav-cta { display: none; }
  .toggle { display: block; }
  .nav { gap: var(--s-200); width: calc(100vw - var(--s-400)); justify-content: space-between; }
  .hero { padding-top: calc(var(--s-900) + var(--s-400)); }
  .hero-title br { display: none; }
  .split { flex-direction: column; align-items: flex-start; padding: var(--s-300); }
  .cta { padding: var(--s-300); }
  .section, .tagline { padding-top: var(--s-700); padding-bottom: var(--s-700); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms var(--ease); }
  .tagline-text span { color: var(--ink); transition: none; }
  .btn:hover, .btn:active { transform: none; }
  .menu a { transform: none; }
}
