/* ============================================================
   BASE — Reset + estilos globais + componentes reutilizáveis
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ SCROLLSMOOTHER — boilerplate obrigatório ============ */
/* Progressive enhancement: por padrão #smooth-wrapper/#smooth-content são
   divs neutras (scroll nativo funciona normalmente mesmo se o JS falhar).
   Só viram o container fixed+overflow:hidden exigido pelo ScrollSmoother
   quando main.js confirma que conseguiu instanciá-lo (classe .has-smoother
   no <html>). .cursor fica FORA desta estrutura (ver index.html) — um
   ancestral com transform (aplicado pelo ScrollSmoother em #smooth-content)
   quebraria qualquer position:fixed dentro dele. */
html.has-smoother #smooth-wrapper {
  position: fixed;
  overflow: hidden;
  inset: 0;
  height: 100%;
  width: 100%;
}
html.has-smoother #smooth-content {
  overflow: visible;
  width: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 200;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--c-coral); color: white; }

/* --- Tipografia --- */
.t-display  { font-family: var(--font-body); font-weight: 200; font-size: var(--fs-display);  line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
.t-headline { font-family: var(--font-body); font-weight: 200; font-size: var(--fs-headline); line-height: 1.02; letter-spacing: -0.02em;  text-wrap: balance; }
.t-title    { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-title);    line-height: 1.1;  letter-spacing: -0.01em; }
.t-subhead  { font-family: var(--font-body); font-weight: 200; font-size: var(--fs-subhead);  line-height: 1.4;  color: var(--ink-2); }
.t-body     { font-family: var(--font-body); font-weight: 200; font-size: var(--fs-body);     line-height: 1.6;  max-width: var(--measure); }
.t-label    { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-label);    letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.t-num-serif{ font-family: var(--font-serif); font-weight: 300; font-style: italic; line-height: 0.92; letter-spacing: -0.04em; }

b, strong { font-weight: 600; }

/* --- Word-highlight (aprovado em 155%) --- */
.grad-text {
  background: var(--grad-brand);
  background-size: 155% 100%;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* --- Barrinha assinatura --- */
.sig-bar {
  display: block;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.sig-bar.v { width: 3px; height: auto; align-self: stretch; }

/* --- Botão CTA (pill + fill radial do centro, gradient 155%) --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 34px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  position: relative; overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease-out), color .4s ease;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-brand);
  background-size: 155% 100%;
  background-position: center;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .55s var(--ease-io);
  z-index: -1;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover::after { clip-path: circle(120% at 50% 50%); }

/* --- Pill com ícone Lucide --- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 100px;
}
.pill svg {
  width: 16px; height: 16px;
  stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
  fill: none; flex-shrink: 0;
}

/* --- Malha de degradê (uso moderado — 2-3 seções no máximo) --- */
.mesh-bg {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
  z-index: 0;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: multiply;
}

/* --- Container / layout base --- */
.wrap {
  padding-inline: var(--pad-x);
}
.wrap-inner {
  max-width: 1400px;
  margin-inline: auto;
}

/* --- Foco visível (acessibilidade) --- */
:focus-visible {
  outline: 2px solid var(--c-coral);
  outline-offset: 3px;
  border-radius: 2px;
}
