*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Tipografia */
.display {
  font-size: var(--t-display);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  max-width: 860px;
}
.h2 {
  font-size: 44px;
  line-height: 1.11;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lead { color: var(--muted); font-size: var(--t-body-lg); line-height: 1.56; }
.eyebrow {
  display: inline-block;
  font-size: var(--t-body-sm);
  font-weight: 600;
  color: var(--gold-ink);
  background: var(--card);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.grad-text {
  background: var(--grad-text);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: reflexo 7s ease-in-out infinite;
}
@keyframes reflexo {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Botões */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-action);
  background-size: 100% 100%;
  color: var(--on-gold);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 0;
  box-shadow: var(--glow-gold), var(--metal-edge);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .3s ease, filter .3s ease;
  white-space: nowrap;
}
.btn-pill::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: lampejo 4.5s ease-in-out infinite;
}
@keyframes lampejo { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-pill:hover { transform: translateY(-2px); filter: brightness(1.06) saturate(1.08); box-shadow: var(--glow-gold-hover), var(--metal-edge); }
.btn-pill .arw { width: 18px; height: 18px; transition: transform .2s ease; }
.btn-pill:hover .arw { transform: translateX(3px); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 18px 34px; font-size: var(--t-body-lg); }
.btn-ghost { color: var(--muted); font-weight: 500; transition: color .2s; }
.btn-ghost:hover { color: var(--ink); }
.btn-out {
  display: inline-flex; justify-content: center;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.btn-out:hover { border-color: var(--gold); color: var(--gold-ink); }
.link { color: var(--gold-ink); font-weight: 500; }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-marca); font-weight: 600; font-size: 20px; letter-spacing: .14em; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark.sm { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 28px; margin-left: 16px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Cards */
.card { background: var(--card); border-radius: var(--r-card); padding: var(--pad); }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: var(--t-body); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { padding: 12px 16px; gap: 12px; }
  .display { font-size: 40px; }
  .h2 { font-size: 32px; }
  .lead { font-size: var(--t-body); }
  .nav-cta .btn-pill { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}
