/* Acolhe — landing page. Um único arquivo, com tokens.
   Ritmo: hero escuro → proposta clara → caminhos escuros → construção clara → formulário em destaque. */

:root {
  --ink: #17111f;
  --plum: #241b31;
  --plum-line: rgba(218, 201, 237, .2);
  --violet: #7d5aca;
  --violet-deep: #5f3fae;
  --lilac: #c4a8f2;
  --mint: #79d1bd;
  --cream: #f4eee6;
  --cream-card: #fffaf3;
  --cream-line: rgba(54, 36, 82, .16);
  --paper: #f4eee6;
  --paper-muted: #c9bdd6;
  --ink-on-cream: #2a1f3a;
  --muted-on-cream: #5b4c6c;
  --header-h: 76px;
  --radius: 18px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol { margin: 0; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.on-cream :focus-visible { outline-color: var(--violet-deep); }

.skip-link { position: absolute; left: -999px; top: 12px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  background: rgba(23, 17, 31, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--plum-line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -.03em; color: var(--paper); }
.brand img { width: 36px; height: 36px; object-fit: contain; }

.site-nav { display: flex; gap: 32px; }
.site-nav a { text-decoration: none; font-size: 15px; color: var(--paper-muted); padding: 6px 0; }
.site-nav a:hover { color: var(--paper); }

/* ---------- Botões e links ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 26px; text-align: center;
  border: 0; border-radius: 999px;
  font: 700 16px/1.25 var(--sans);
  text-decoration: none; cursor: pointer;
  color: #fff; background: var(--violet);
  transition: background .2s, transform .2s;
}
.button:hover { background: var(--violet-deep); }
.button--small { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.button--light { background: var(--cream); color: var(--ink-on-cream); }
.button--light:hover { background: #fff; }
.button:disabled { cursor: wait; opacity: .7; }

.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(244, 238, 230, .4); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.on-cream { background: var(--cream); color: var(--ink-on-cream); }
.on-dark { background: var(--ink); }

.section-head { max-width: 760px; margin-bottom: 56px; }
h1, h2 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -.015em; }
.section-head p { margin-top: 20px; font-size: 18px; max-width: 600px; }
.on-cream .section-head p { color: var(--muted-on-cream); }
.on-dark .section-head p { color: var(--paper-muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

h1 { font-size: clamp(42px, 5.8vw, 78px); line-height: 1.04; letter-spacing: -.02em; max-width: 14em; }
h1 em { color: var(--lilac); }
.lead { margin-top: 28px; font-size: 20px; line-height: 1.55; color: var(--paper-muted); max-width: 31em; }

.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.status { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--paper-muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-visual::before {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 100, 226, .5), rgba(143, 100, 226, 0) 68%);
}
.hero-visual img { position: relative; width: min(100%, 440px); height: auto; animation: float 8s ease-in-out infinite alternate; }

/* única animação contínua da página: o logo respira devagar */
@keyframes float { from { transform: translateY(-8px) rotate(-1.5deg); } to { transform: translateY(10px) rotate(1.5deg); } }

/* entrada única do hero */
.hero-copy > * { animation: enter .7s cubic-bezier(.22, 1, .36, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Proposta (fluxo) ---------- */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.flow li {
  position: relative; padding: 28px; min-height: 190px;
  background: var(--cream-card); border: 1px solid var(--cream-line); border-radius: var(--radius);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -30px; width: 20px; height: 20px;
  border-top: 3px solid var(--violet); border-right: 3px solid var(--violet);
  transform: translateY(-50%) rotate(45deg) scale(.6);
}
.flow .role { display: block; font-size: 14px; font-weight: 700; color: var(--violet-deep); margin-bottom: 14px; }
.flow strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.flow p { margin-top: 12px; color: var(--muted-on-cream); font-size: 16px; }
.flow li.is-goal { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.flow li.is-goal .role { color: #e6d9ff; }
.flow li.is-goal p { color: #efe7ff; }

.disclaimer { margin-top: 40px; padding: 4px 0 4px 18px; border-left: 3px solid var(--violet); font-size: 15px; color: var(--muted-on-cream); max-width: 640px; }

/* ---------- Caminhos (públicos) ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience-card {
  display: flex; flex-direction: column; min-height: 280px; padding: 28px;
  text-decoration: none; color: var(--paper);
  background: var(--plum); border: 1px solid var(--plum-line); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.audience-card:hover { border-color: var(--lilac); background: #2c2139; }
.audience-card h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; }
.audience-card p { margin-top: 14px; font-size: 16px; color: var(--paper-muted); }
.audience-card .go { margin-top: auto; padding-top: 28px; font-weight: 700; font-size: 15px; color: var(--lilac); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: transparent; }
.audience-card:hover .go { text-decoration-color: currentColor; }

/* ---------- Construção (etapas) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 21px; width: calc(75% + 24px); height: 2px; background: var(--cream-line); }
.steps li { position: relative; counter-increment: step; padding-top: 64px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 17px/1 var(--sans); color: var(--violet-deep);
  background: var(--cream); border: 2px solid var(--violet);
}
.steps li:last-child::before { background: var(--violet-deep); border-color: var(--violet-deep); color: #fff; }
.steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; }
.steps p { margin-top: 8px; color: var(--muted-on-cream); font-size: 16px; max-width: 22ch; }

/* ---------- Formulário ---------- */
.interest { background: radial-gradient(700px 420px at 50% 40%, rgba(125, 90, 202, .28), transparent 70%), var(--ink); }
.form-card {
  display: grid; grid-template-columns: .9fr 1fr; gap: clamp(32px, 6vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(145deg, #7451c0, #593ba3);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .4);
  color: #fff;
}
.form-intro h2 { color: #fff; }
.form-intro p { margin-top: 20px; color: #f1e9ff; max-width: 28em; }
.form-intro .privacy-note { margin-top: 28px; padding-left: 18px; border-left: 3px solid var(--mint); font-size: 15px; }

form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-size: 15px; font-weight: 700; }
input[type="text"], input[type="email"], select {
  width: 100%; min-height: 52px; padding: 0 16px;
  font: 400 16px var(--sans); color: #fff;
  background: rgba(26, 12, 52, .42);
  border: 1.5px solid rgba(255, 255, 255, .42); border-radius: 12px;
}
input::placeholder { color: rgba(255, 255, 255, .8); }
input:focus, select:focus { outline: 3px solid #fff; outline-offset: 2px; border-color: #fff; }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select option { color: #241536; background: #fff; }
[aria-invalid="true"] { border-color: #ffc2bb; }
.error { min-height: 0; font-size: 14px; color: #ffe1dd; font-weight: 500; }
.error:empty { display: none; }

.field > label.consent { font-weight: 400; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.consent input {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 7px; background: rgba(26, 12, 52, .42);
}
.consent input:checked {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none' stroke='%235f3fae' stroke-width='2.5'%3E%3Cpath d='m1.5 5.5 4 4 7-8'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-color: #fff;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { font-size: 15px; color: #ffe1dd; font-weight: 500; }
.form-error:empty { display: none; }

.success { align-self: center; padding: 8px 0; }
.success h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.15; }
.success p { margin-top: 14px; color: #f1e9ff; }
.success .button { margin-top: 24px; }
[hidden] { display: none !important; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--plum-line); padding: 40px 0; font-size: 15px; color: var(--paper-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand img { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Página de privacidade ---------- */
.doc { padding: clamp(48px, 8vw, 96px) 0; }
.doc .container { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc p, .doc li { margin-top: 14px; color: var(--paper-muted); }
.doc ul { padding-left: 22px; margin: 0; }
.doc .draft { margin-top: 24px; padding: 14px 18px; border-left: 3px solid var(--mint); background: var(--plum); border-radius: 0 12px 12px 0; font-size: 15px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .site-nav { display: none; }
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { order: -1; min-height: 0; margin-bottom: 8px; }
  .hero-visual img { width: min(58%, 240px); }
  .lead { font-size: 18px; }

  .flow { grid-template-columns: 1fr; gap: 36px; }
  .flow li { min-height: 0; }
  .flow li:not(:last-child)::after { top: auto; bottom: -30px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg) scale(.6); }

  .form-card { grid-template-columns: 1fr; border-radius: 22px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { font-size: 21px; }
  .brand img { width: 32px; height: 32px; }
  .button--small { padding: 8px 16px; font-size: 14px; }
  .audience-grid, .steps { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; }
  .audience-card .go { padding-top: 20px; }
  .steps { row-gap: 32px; }
  .steps li { padding: 0 0 0 64px; min-height: 48px; }
  .steps::before { display: block; top: 22px; bottom: 22px; left: 21px; width: 2px; height: auto; }
  .steps p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
