/* ==========================================================================
   1. VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
  --bone: oklch(0.965 0 0);
  --paper: oklch(0.94 0 0);
  --ink: oklch(0.16 0 0);
  --moss: oklch(0.34 0.025 155);
  --rust: oklch(0.66 0.17 48);
  --line: rgba(17, 17, 17, 0.1);
  --line-light: rgba(245, 243, 239, 0.16);
  --text-soft: oklch(0.45 0 0);
  --text-invert: rgba(245, 243, 239, 0.75);
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --container: min(1400px, calc(100vw - 2rem));
  --section-y: clamp(4.8rem, 8vw, 6.3rem);
  --section-head-space: clamp(2.25rem, 4vw, 2.8rem);
  --copy-width: 34rem;
  --copy-leading: 1.7;
  --shadow-soft: 0 24px 60px rgba(17, 17, 17, 0.08);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --image-zoom-duration: 0.6s;
}

/* ==========================================================================
   2. RESET / ELEMENTOS BASE
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.brand-name,
h1,
h2,
h3,
.footer-brand h3,
.quote-card blockquote,
.marquee-track {
  font-family: "Inter Tight", sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.05;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rust);
}

h2 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 800;
}

.hero-lead,
.section-support,
.stack-copy p,
.info-card p,
.gallery-copy p,
.faq-intro p,
.faq-body p,
.final-cta p,
.footer-brand p {
  line-height: var(--copy-leading);
}

/* ==========================================================================
   4. BOTÕES E LINKS (compartilhados por todas as seções)
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bone);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button-outline {
  border-color: rgba(245, 243, 239, 0.45);
  background: transparent;
  color: var(--bone);
  mix-blend-mode: difference;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: rgba(245, 243, 239, 0.1);
}

.button-dark {
  background: var(--ink);
  color: var(--bone);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--moss);
}

.button-light {
  background: transparent;
  border-color: rgba(17, 17, 17, 0.28);
}

.button-light:hover,
.button-light:focus-visible {
  background: rgba(17, 17, 17, 0.05);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 220ms ease, transform 220ms ease;
}

.text-link::after {
  content: "->";
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--moss);
}

.text-link:hover,
.text-link:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  transform: translateY(-1px);
}

/* ==========================================================================
   5. UTILITÁRIOS DE SEÇÃO (usados em quase toda a página)
   ========================================================================== */
.section {
  padding: var(--section-y) 0;
}

.section-light {
  background: var(--bone);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: var(--bone);
}

.section-how {
  padding-bottom: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: var(--section-head-space);
}

.section-kicker {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
}

.section-dark .section-kicker,
.section-dark .card-top span {
  color: rgba(245, 243, 239, 0.6);
}

.section-support {
  max-width: 24rem;
  color: var(--text-soft);
  margin: 0;
  font-size: 0.84rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
}

.status-pill span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rust);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

.status-pill.status-pill-closed {
  border-color: var(--line);
  color: var(--text-soft);
}

.status-pill.status-pill-closed span {
  background: var(--text-soft);
  animation: none;
}

.split-layout,
.faq-layout,
.footer-grid,
.universe-grid {
  display: grid;
  gap: 2rem;
}

/* ==========================================================================
   18. ANIMAÇÃO DE ENTRADA (.reveal via IntersectionObserver no script.js)
   ========================================================================== */
body.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
