/* ============================================================
   FONTS — Unbounded (display) & Sora (labels), subset latin,
   inlined as woff2 data URIs (Artifact CSP blocks font CDNs).
   Body copy uses a system-sans stack visually close to Inter,
   the project's real body face, without the embedding cost.
   ============================================================ */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/unbounded-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/unbounded-800.woff2) format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sora-600.woff2) format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sora-700.woff2) format('woff2');
}

/* ============================================================
   TOKENS
   Palette lifted directly from src/assets/styles/main.css
   (Noir / Sombra / Violeta / Âmbar / Bruma / Névoa / Creme / Ouro).
   Dark is the deliberate brand default — the real app forces
   dark for first-time visitors regardless of OS preference
   (index.html: `isDark = stored ? stored === 'dark' : true`).
   We mirror that here; the artifact theme toggle still works
   via [data-theme="light"].
   ============================================================ */
:root {
  --noir: #120D1F;
  --sombra: #2A1A4E;
  --violeta: #5A3B9C;
  --ambar: #7C5CBF;
  --bruma: #B49EDE;
  --nevoa: #E8E2F5;
  --creme: #F5EFE8;
  --ouro: #C8A96B;
  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;

  --bg: var(--noir);
  --bg-elevated: var(--sombra);
  --bg-elevated-2: #1D1236;
  --ink: var(--creme);
  --ink-muted: var(--bruma);
  --border: rgba(180, 158, 222, 0.16);
  --border-strong: rgba(180, 158, 222, 0.3);
  --accent: var(--violeta);
  --accent-2: var(--ambar);
  --gold: var(--ouro);
  --shadow-elev: 0 20px 60px rgba(0,0,0,0.45);

  --nav-h: 68px;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-label: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

:root[data-theme="light"] {
  --bg: var(--creme);
  --bg-elevated: #FFFFFF;
  --bg-elevated-2: var(--nevoa);
  --ink: var(--noir);
  --ink-muted: #5B5468;
  --border: rgba(42, 26, 78, 0.12);
  --border-strong: rgba(42, 26, 78, 0.22);
  --shadow-elev: 0 20px 60px rgba(42,26,78,0.12);
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 300ms ease, color 300ms ease;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: 24px;
}

@keyframes glow-rotate {
  0%   { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.30); }
  50% { box-shadow: 0 4px 34px rgba(37,211,102,0.55); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.wordmark { display: inline-flex; align-items: center; }

/* Logo da marca — troca de colorway junto com o tema.
   background-image em vez de <img> para que só a arte do tema
   ativo seja baixada (com dois <img> alternados, ambas viriam).
   Escuro (padrão): 1 · branco. Claro: 3 · sombra. */
.brand-logo {
  display: block;
  height: 28px;
  aspect-ratio: 1665 / 671;
  background: url(../img/logo-1-branco.svg) left center / contain no-repeat;
}
:root[data-theme="light"] .brand-logo {
  background-image: url(../img/logo-3-sombra.svg);
}
.brand-logo--sm { height: 24px; }
@media (max-width: 560px) { .brand-logo { height: 26px; } }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 18px;
  border-radius: 10px;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 10px;
  transition: border-color 150ms ease, color 150ms ease;
}
.theme-toggle:hover { border-color: var(--border-strong); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; }

/* ---------- Hero (full-bleed photo) ----------
   A foto do banner da marca é quase preta, então o hero é uma "ilha
   escura": mantém texto claro nos DOIS temas, redefinindo os tokens
   semânticos só dentro do escopo .hero. O scrim escurece a esquerda
   pro texto ter contraste e deixa o casal respirando à direita.
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(72px, 8vw, 104px);
  overflow: hidden;

  --ink: var(--creme);
  --ink-muted: #C9BCE4;
  --border-strong: rgba(232, 226, 245, 0.42);
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,13,31,0.55) 0%, transparent 22%, transparent 72%, var(--noir) 100%),
    linear-gradient(95deg, var(--noir) 4%, rgba(18,13,31,0.94) 26%, rgba(18,13,31,0.62) 50%, rgba(18,13,31,0.22) 78%, rgba(18,13,31,0.42) 100%),
    linear-gradient(160deg, rgba(90,59,156,0.34) 0%, rgba(124,92,191,0.14) 55%, rgba(200,169,107,0.10) 100%);
}
:root[data-theme="light"] .hero-scrim {
  background:
    linear-gradient(180deg, rgba(18,13,31,0.45) 0%, transparent 24%, transparent 70%, var(--creme) 100%),
    linear-gradient(95deg, var(--noir) 2%, rgba(18,13,31,0.90) 24%, rgba(18,13,31,0.55) 50%, rgba(18,13,31,0.18) 80%, rgba(18,13,31,0.34) 100%),
    linear-gradient(160deg, rgba(90,59,156,0.30) 0%, rgba(124,92,191,0.12) 55%, rgba(200,169,107,0.10) 100%);
}

/* Assinatura da marca sobreposta à foto, à direita do bloco de texto. */
.hero-tagline {
  position: absolute;
  top: 50%;
  left: 58%;
  transform: translateY(-50%);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 239, 232, 0.62);
  text-shadow: 0 2px 18px rgba(0,0,0,0.85);
  max-width: 22ch;
  line-height: 1.9;
  pointer-events: none;
}
@media (max-width: 1024px) { .hero-tagline { display: none; } }

.hero-inner {
  position: relative;
  text-align: left;
  max-width: 1180px;
  width: 100%;
}
.hero-inner > * { max-width: 30rem; }

.hero .eyebrow { color: var(--bruma); }

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-top: 16px;
}
.hero h1 .accent {
  color: var(--bruma);
  background: linear-gradient(100deg, var(--bruma) 0%, var(--ambar) 55%, var(--violeta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: var(--ink-muted);
  margin-top: 20px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding-inline: 28px;
  border-radius: 10px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
  border: none;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }
.btn svg { width: 20px; height: 20px; }

.hero-trust {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px 26px;
  flex-wrap: wrap;
  max-width: 34rem;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; }

@media (max-width: 700px) {
  .hero {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    align-items: flex-end;
  }
  .hero-media img { object-position: 62% center; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(18,13,31,0.62) 0%, rgba(18,13,31,0.30) 30%, rgba(18,13,31,0.86) 66%, var(--noir) 100%),
      linear-gradient(160deg, rgba(90,59,156,0.30), rgba(200,169,107,0.10));
  }
  :root[data-theme="light"] .hero-scrim {
    background:
      linear-gradient(180deg, rgba(18,13,31,0.55) 0%, rgba(18,13,31,0.28) 28%, rgba(18,13,31,0.82) 64%, var(--creme) 100%),
      linear-gradient(160deg, rgba(90,59,156,0.28), rgba(200,169,107,0.10));
  }
  .hero-inner > * { max-width: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* Seta de rolagem — a dobra ocupa a tela toda, então sinaliza que há mais abaixo. */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 3vw, 34px);
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 245, 0.28);
  color: rgba(245, 239, 232, 0.72);
  background: rgba(18, 13, 31, 0.35);
  backdrop-filter: blur(6px);
  animation: nudge 2.4s ease-in-out infinite;
  transition: color 150ms ease, border-color 150ms ease;
}
.hero-scroll:hover { color: var(--creme); border-color: rgba(232, 226, 245, 0.6); }
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes nudge {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 5px); }
}

/* ---------- Manifesto ---------- */
.manifesto {
  scroll-margin-top: var(--nav-h);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  padding-block: clamp(56px, 8vw, 96px);
}
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto blockquote {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.manifesto blockquote .gold { color: var(--gold); }
.manifesto-rule {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violeta), var(--ambar));
  margin: 28px auto 0;
}
.manifesto cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- Section shell ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-top: 12px;
}
.section-head p { color: var(--ink-muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Pillars (card-glow signature) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  border-radius: 20px;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--bg-elevated), var(--bg-elevated)),
    conic-gradient(from var(--glow-angle, 0deg), var(--violeta), var(--ambar), var(--violeta), var(--ambar), var(--violeta));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: glow-rotate 7s linear infinite;
  transition: transform 250ms cubic-bezier(0.4,0,0.2,1);
}
.pillar:hover { transform: translateY(-4px); }
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.05rem; font-weight: 700; }
.pillar p { margin-top: 8px; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-elevated);
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 32px 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps .step:nth-child(4) { border-right: none; }
@media (max-width: 900px) {
  .steps .step:nth-child(2n) { border-right: none; }
  .steps .step:nth-child(4) { border-right: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .steps .step { border-right: none !important; }
}
.steps .step:nth-last-child(-n+1) { border-bottom: none; }
@media (max-width: 900px) { .steps .step:nth-last-child(-n+2) { border-bottom: none; } }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}
.step h3 { margin-top: 14px; font-size: 1.05rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--ink-muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Audiences ---------- */
.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 780px) { .audiences { grid-template-columns: 1fr; } }
.audience {
  border-radius: 24px;
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.audience.is-model {
  background: linear-gradient(155deg, var(--bg-elevated-2), var(--bg-elevated));
}
.audience.is-client {
  background: var(--bg-elevated);
}
.audience .eyebrow { color: var(--gold); }
.audience h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.audience p { color: var(--ink-muted); margin-top: 12px; font-size: 0.98rem; line-height: 1.6; }
.audience ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.audience li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink); }
.audience li svg { width: 16px; height: 16px; color: var(--accent-2); margin-top: 3px; flex-shrink: 0; }
.audience .btn { margin-top: 26px; }

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  margin: 0 24px clamp(64px, 8vw, 96px);
  max-width: 1180px;
  margin-inline: auto;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violeta), var(--sombra) 60%, var(--noir));
  isolation: isolate;
}
:root[data-theme="light"] .cta-final {
  background: linear-gradient(135deg, var(--violeta), var(--ambar) 130%);
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(from var(--glow-angle, 0deg), transparent, var(--ambar), transparent 40%);
  opacity: 0.35;
  z-index: -1;
  animation: glow-rotate 10s linear infinite;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
}
.cta-final p { color: rgba(255,255,255,0.78); margin-top: 12px; max-width: 480px; margin-inline: auto; font-size: 1.02rem; }
.cta-final .btn-whatsapp { margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-langs {
  display: flex;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.footer-langs span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}
.copyright { font-size: 13px; color: var(--ink-muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
