/* ============================================
   RAFFA ARAÚJO — Base: reset, layout, tipografia, botões
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-width: thin;
  scrollbar-color: var(--graphite-2) var(--black);
}

html::-webkit-scrollbar { width: 9px; }
html::-webkit-scrollbar-track { background: var(--black); }
html::-webkit-scrollbar-thumb {
  background: var(--graphite-2);
  border: 2px solid var(--black);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
}
section > .container { width: 100%; }
/* O scroll-padding do html já reserva o cabeçalho sticky.
   Não aplicar scroll-margin aqui: os dois valores somados criam uma faixa vazia. */
section[id] { scroll-margin-top: 0; }

.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

h2 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 16px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 0 0 0 rgba(98, 227, 19, 0.4);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }
.btn.is-pending {
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.72;
}
.btn.is-pending:hover { transform: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
