/* base.css - reset e variaveis (BRAND.md) */

/* Fontes display inspiradas na Ornn (PP Neue Montreal) */
@font-face {
  font-family: "WayneDisplay";
  src: url("https://framerusercontent.com/assets/kJNAUoYMYbf89EGcrWXRKqEeMc.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "WayneDisplay";
  src: url("https://framerusercontent.com/assets/ynWYGY5rZxUmawou3bFTFY7dCg.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-elevated: #111111;
  --surface: #161616;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f0;
  --text-muted: #c1c1c1;
  --red: #7a0e12;
  --red-soft: rgba(122, 14, 18, 0.15);
  --green: #0d9668;
  --green-bright: #16a34a;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "WayneDisplay", system-ui, -apple-system, "Segoe UI", "Inter", Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --ease: 0.3s ease;
  --ease-out: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Gradação estilo Ritus (texto rebaixado / destaque) */
  --gradient-gold-start: #767062;
  --gradient-gold-end: #e8e7d2;
}

/* Efeito de gradação/sombreamento em textos importantes (igual Ritus "caos do comercial") */
.text-accent-gradient {
  background: linear-gradient(135deg, var(--gradient-gold-start), var(--gradient-gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e5e5e5;
  background: #000000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main {
  display: flex;
  flex-direction: column;
  background: #000000;
  padding-top: 3.5rem; /* espaço para o header fixo */
}

/*
  Ordem da jornada: hero → diagnóstico → prova social → serviço → problemas → benefícios → FAQ.
  Modais (VSL + quiz) com order alto para não cortar o fluxo no DOM.
*/
#hero-wayne { order: 1; }
#como-funciona { order: 2; }
#depoimentos { order: 3; }
#servico { order: 4; }
#wayne-catalog { order: 5; }
#cta-final { order: 6; }
#depois-do-diagnostico { order: 7; }
#hero-vsl-modal,
#diag-flow-modal { order: 99; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Headlines — WayneDisplay + caixa alta (corpo dos cards permanece em texto normal) */
h1:not(.hero-headline),
h2,
h3,
.hero-title,
.hero-subtitle,
.sec-title,
.diag-card__title,
.after-diag__step-title,
.cta-final__title,
.cta-final-card__title,
.founder-headline,
.process-flow-modal__title,
.process-node__title,
.loom-title,
.loom-panel__title {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.catalog__viewport .catalog__item-title {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.w { color: #fff; }
.r { color: var(--red); }
.g { color: var(--green); }
.brand-sys { color: var(--red); }
