/* ==========================================================================
   Indikey Connect — landing pages (Sou organizador / Sou fornecedor)
   Sistema de design Connect: azul-connect, noite/papel, Ubuntu,
   cantos retos, cores chapadas, fotos em preto e branco escurecidas,
   formas geométricas retas. Exceção pedida: formulário do hero em vidro.
   1. Tokens   2. Base   3. Tipografia   4. Botões   5. Cabeçalho, público e menu
   6. Formas   7. Hero   8. Seções   9. Formulários   10. Rodapé   11. Movimento
   ========================================================================== */

/* Ubuntu (Ubuntu Font Licence 1.0), hospedada no próprio site */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ubuntu-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ubuntu-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ubuntu-latin-700-normal.woff2") format("woff2"); }

/* ---------- 1. Tokens ---------- */
:root {
  --azul-connect: #2a72fc;
  --tinta: #2a2622;
  --noite: #060a10;
  --papel: #eeeff2;
  --cinza: #c6c6c6;
  --amarelo: #e4ec1a;
  --branco: #ffffff;

  --brand: var(--azul-connect);
  --on-brand: var(--branco);
  --accent: var(--amarelo);
  --error: #ff8f84;

  --font-sans: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 56px;
  --space-6: 80px;

  --stroke-frame: 4px;
  --stroke-rule: 3px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 80px;
  --section-y: clamp(72px, 9vw, 120px);

  /* Movimento (referências: Vercel Web Interface Guidelines, Rauno Freiberg
     "interfaces" e curvas do Open Props). Entradas com ease-out forte,
     saídas com ease-in curto, interações em até ~200 ms. */
  --ease-out: cubic-bezier(.16, 1, .3, 1);      /* entradas e revelações */
  --ease-in: cubic-bezier(.5, 0, .75, 0);       /* saídas */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);  /* trocas de estado */
  --ease-spring: linear(0, .007, .029 2.2%, .118 4.7%, .625 14.4%, .826 19%, .902, .962, 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%, .999 61.6%, .995 71.2%, 1);
  --ease: var(--ease-out);
  --ease-soft: var(--ease-in-out);
  --t-press: .12s;   /* toque/clique */
  --t-fast: .2s;     /* hover, cor */
  --t: .3s;          /* pequenos deslocamentos */
  --t-enter: .7s;    /* blocos entrando */
  --t-slow: .7s;
}
@media (max-width: 760px) { :root { --header-h: 124px; } }

/* Superfícies dos dois temas */
.theme-light {
  --surface: var(--papel);
  --surface-raised: var(--branco);
  --ink: var(--tinta);
  --ink-muted: #5c5853;
  --line: rgba(42, 38, 34, .16);
  --field-bg: var(--branco);
  --field-line: rgba(42, 38, 34, .3);
  --sweep: var(--tinta);
  --sweep-ink: var(--branco);
  background: var(--surface);
  color: var(--ink);
}
.theme-dark {
  --surface: var(--noite);
  --surface-raised: #11161e;
  --ink: var(--branco);
  --ink-muted: var(--cinza);
  --line: rgba(255, 255, 255, .16);
  --field-bg: var(--noite);
  --field-line: rgba(255, 255, 255, .28);
  --sweep: var(--branco);
  --sweep-ink: var(--noite);
  background: var(--surface);
  color: var(--ink);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  background: var(--noite);
  color: var(--branco);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button, input, select { font: inherit; color: inherit; }
a, button, summary, label, input, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--brand); color: var(--branco); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.theme-dark :focus-visible, .site-header :focus-visible, .mobile-menu :focus-visible { outline-color: var(--branco); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--branco); color: var(--noite);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Tipografia (escala Web do sistema) ---------- */
.display {
  font-size: clamp(36px, 4.3vw, 54px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.22;
  font-weight: 500;
}
.lead {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.lead + .lead { margin-top: var(--space-2); }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; line-height: 24px; font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.kicker::before {
  content: ""; flex: none;
  width: 28px; height: 4px; background: var(--brand);
}
.section-head { max-width: 780px; margin-bottom: var(--space-5); }
.section-head .h1 + .section-head__text { margin-top: var(--space-3); }
.section-head__text { color: var(--ink-muted); font-size: 18px; line-height: 28px; }

/* ---------- 4. Botões (cantos retos; texto branco sobre azul em 19px negrito) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }
.btn-row--equal { flex-direction: column; align-items: stretch; max-width: 380px; }
.btn-row--equal .btn { width: 100%; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 13px 26px;
  border: 2px solid transparent; border-radius: 0;
  font-size: 19px; line-height: 24px; font-weight: 700;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-press) var(--ease-out);
}
/* Preenchimento que entra da esquerda no hover */
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--sweep, var(--branco));
  transform: scaleX(0); transform-origin: left center;
  transition: transform .32s var(--ease-out);
}
.btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn--outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn:focus-visible { color: var(--sweep-ink, var(--noite)); border-color: var(--sweep, var(--branco)); }
/* Hover só em mouse: no toque o efeito ficaria preso depois do toque */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover { color: var(--sweep-ink, var(--noite)); border-color: var(--sweep, var(--branco)); }
}
/* Envio em andamento: mantém o texto e mostra um indicador */
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::after {
  content: ""; width: 14px; height: 14px; margin-left: 12px; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.site-header .btn, .mobile-menu .btn { --sweep: var(--branco); --sweep-ink: var(--noite); }
.btn--sm { min-height: 44px; padding: 8px 20px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .8; }

/* ---------- 5. Cabeçalho, seletor de público e menu ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  color: var(--branco);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), transform .38s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(6, 10, 16, .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, .1);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex: none; text-decoration: none; }
.logo__img { width: 150px; height: auto; }

/* Seletor "Sou organizador / Sou fornecedor" */
.audience {
  position: relative;
  display: flex; gap: 4px; padding: 4px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(6, 10, 16, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.audience__tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 14px;
  font-size: 15px; line-height: 20px; font-weight: 500; white-space: nowrap;
  color: var(--cinza); text-decoration: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.audience__tab svg { flex: none; }
/* Pílula branca que desliza até a opção ativa (sem JS, o fundo fica na própria opção) */
.audience__tab { position: relative; z-index: 1; }
.audience__pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0;
  width: var(--pill-w, 0); transform: translate3d(var(--pill-x, 0), 0, 0);
  background: var(--branco); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .2s var(--ease-out);
}
.audience.has-pill .audience__pill { opacity: 1; }
.audience.no-anim .audience__pill { transition: none; }
@media (hover: hover) and (pointer: fine) { .audience__tab:hover:not(.is-active) { color: var(--branco); background: rgba(255, 255, 255, .08); } }
.audience__tab.is-active { color: var(--noite); transition: color .3s var(--ease-out) .05s; }
.audience:not(.has-pill) .audience__tab.is-active { background: var(--branco); }
.audience--menu { margin: var(--space-3) 0 var(--space-2); }
.audience--menu .audience__tab { flex: 1; min-height: 48px; }

.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: 26px; }
.nav__links a {
  position: relative; display: block; padding: 8px 0; white-space: nowrap;
  font-size: 15px; line-height: 20px; font-weight: 500;
  color: var(--cinza); text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--branco); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__menu-btn {
  display: none; width: 48px; height: 48px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 0;
  color: var(--branco); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav__menu-btn:hover { border-color: var(--branco); background: rgba(255, 255, 255, .06); }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--brand); transform: scaleX(var(--p, 0)); transform-origin: left;
  pointer-events: none;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column;
  background: var(--noite); color: var(--branco);
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { min-height: 72px; display: flex; align-items: center; justify-content: space-between; flex: none; }
.mobile-menu__top .nav__menu-btn { display: inline-flex; }
.mobile-menu__links a {
  display: block; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 24px; line-height: 30px; font-weight: 500; text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), transform var(--t) var(--ease-out);
}
@media (hover: hover) { .mobile-menu__links a:hover { color: var(--brand); transform: translateX(8px); } }
.mobile-menu__links a:active { color: var(--brand); }
.mobile-menu__actions { margin-top: var(--space-4); margin-bottom: var(--space-6); }

@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  .nav { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 68px auto; column-gap: 12px; row-gap: 0; min-height: 0; }
  .nav > .logo { grid-column: 1; grid-row: 1; }
  .nav__actions { grid-column: 2; grid-row: 1; }
  .audience--header { grid-column: 1 / -1; grid-row: 2; margin-bottom: 10px; }
  .audience--header .audience__tab { flex: 1; padding-inline: 8px; font-size: 14px; }
  .nav__actions .btn { display: none; }
  .logo__img { width: 132px; }
}
@media (max-width: 360px) {
  .audience__tab { gap: 6px; font-size: 13px !important; }
  .audience__tab svg { width: 15px; height: 15px; }
}

/* ---------- 6. Formas da marca ---------- */
/* Meios-círculos empilhados */
.shape-halfs { position: absolute; display: flex; flex-direction: column; pointer-events: none; }
.shape-halfs i {
  display: block; width: var(--r, 64px); height: calc(var(--r, 64px) * 2);
  background: var(--brand); border-radius: 0 999px 999px 0;
  transform-origin: left center;
}
.shape-halfs--planos { --r: 52px; left: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 1399px) { .shape-halfs--planos { display: none; } }

/* Grade de triângulos */
.shape-triangles {
  position: absolute; pointer-events: none;
  width: clamp(150px, 20vw, 264px); aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='%232a72fc'%3E%3Cpath d='M0 0h80v80z'/%3E%3Cpath d='M80 0h80v80z'/%3E%3Cpath d='M160 0h80v80h-80z'/%3E%3Cpath d='M160 80h80v80z'/%3E%3Cpath d='M80 80h80v80z'/%3E%3Cpath d='M160 160h80v80z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.shape-triangles--corner { top: 0; right: 0; }
.shape-triangles--dark { right: 0; bottom: 0; transform: rotate(90deg); }
.shape-triangles--contato { right: 0; top: 0; width: clamp(96px, 11vw, 160px); opacity: .9; }

/* ---------- 7. Hero com formulário em vidro ---------- */
.hero {
  --hero-gap: clamp(72px, 9vw, 150px);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(700px, min(100svh, 940px));
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img {
  width: 100%; height: 112%; object-fit: cover; object-position: 68% 30%;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
/* Foto escurecida até noite nas bordas, como nas peças */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--noite) 0%, rgba(6, 10, 16, .94) 30%, rgba(6, 10, 16, .5) 58%, rgba(6, 10, 16, .12) 100%),
    linear-gradient(0deg, var(--noite) 0%, rgba(6, 10, 16, 0) 30%),
    linear-gradient(180deg, rgba(6, 10, 16, .75) 0%, rgba(6, 10, 16, 0) 26%);
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 452px);
  column-gap: var(--hero-gap); align-items: center;
}
.hero__content { max-width: 600px; }
.hero .display { margin-bottom: var(--space-3); }
.hero__text { margin-top: var(--space-2); color: var(--ink-muted); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 380px; margin-top: var(--space-4); }
.hero__actions .btn { width: 100%; }
.hero__form { position: relative; }
@media (max-width: 1080px) {
  .hero { --hero-gap: 48px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
}
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; row-gap: var(--space-5); }
  .hero__content { max-width: 640px; }
  .hero__form { max-width: 560px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(6, 10, 16, .82) 0%, rgba(6, 10, 16, .9) 45%, rgba(6, 10, 16, .55) 70%, var(--noite) 100%);
  }
  .hero__media img { object-position: 70% 20%; }
}
@media (max-width: 560px) {
  .hero__actions { max-width: none; }
}

/* ---------- 8. Seções ---------- */
.section { position: relative; padding-block: var(--section-y); overflow: hidden; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__body .h1 + .lead, .split__body .h1 + p { margin-top: var(--space-3); }

/* Cartões */
.card-grid { display: grid; gap: var(--space-3); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  background: var(--surface-raised);
  padding: var(--space-4) 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--t) var(--ease-out);
}
/* Linha azul que cresce na base do cartão */
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); }
  .card:hover::after { transform: scaleX(1); }
}
.card .h2 { font-size: 22px; line-height: 28px; font-weight: 700; }
.card p { color: var(--ink-muted); }
.card__num { font-size: 32px; line-height: 1; font-weight: 700; color: var(--brand); margin-bottom: var(--space-1); }
.card__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: var(--space-2);
  background: var(--brand); color: var(--on-brand);
  font-size: 22px; font-weight: 700;
}
.card--audience { padding-bottom: 32px; }
.card--audience.is-current::after { transform: scaleX(1); }
.card__action { margin-top: auto; padding-top: var(--space-3); }
.card__action .btn { padding-inline: 20px; width: 100%; }

/* Lista com marcador quadrado */
.check-list { margin-top: var(--space-4); display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; background: var(--brand);
}

/* Solução: foto + bloco de mensagem */
.photo-block { position: relative; margin: 0; padding-bottom: 120px; }
.photo-block img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.message-block {
  position: absolute; right: 0; bottom: 0; width: min(88%, 520px);
  background: var(--brand); color: var(--on-brand);
  padding: var(--space-5) var(--space-4) var(--space-4);
}
.message-block .h1 { color: var(--on-brand); }
.message-block__rule {
  position: absolute; top: 20px; right: 20px; width: 56px; height: 56px;
  border-top: var(--stroke-rule) solid var(--branco); border-right: var(--stroke-rule) solid var(--branco);
}

/* Jornada de quem organiza */
.steps { margin-top: var(--space-4); border-top: 1px solid var(--line); }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--space-2); padding: 18px 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.steps li > * { transition: transform var(--t) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .steps li:hover > * { transform: translateX(8px); } }
.steps__num { font-size: 24px; line-height: 28px; font-weight: 700; color: var(--brand); }
.photo-frame { position: relative; margin: 0 0 0 auto; padding: 0 0 32px 32px; }
.photo-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 72%; background: var(--brand); }
.photo-frame img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% 60%; }

/* Jornada de fornecedores: arco grande atrás da pessoa */
.photo-arc { position: relative; margin: 0; display: flex; justify-content: center; padding: 24px 0; }
.photo-arc__shape {
  position: absolute; left: 50%; top: 50%; width: min(100%, 520px); aspect-ratio: 1;
  transform: translate(-58%, -50%); border-radius: 50%; background: var(--brand);
}
.photo-arc img { position: relative; width: min(78%, 380px); aspect-ratio: 3 / 5; object-fit: cover; object-position: 50% 60%; }

/* Como se cadastrar */
.cadastro__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-4); align-items: end; margin-bottom: var(--space-5); }
.frame { border: var(--stroke-frame) solid var(--accent); padding: var(--space-4); }
.frame .kicker { margin-bottom: var(--space-2); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step-grid li {
  padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 168px; display: flex; flex-direction: column; gap: var(--space-3);
  transition: background-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .step-grid li:hover { background: rgba(255, 255, 255, .04); } }
.step-grid__num { font-size: 32px; line-height: 1; font-weight: 700; color: var(--brand); }
.step-grid p { font-size: 20px; line-height: 28px; font-weight: 500; }

/* Benefícios */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.benefit { padding: var(--space-5) var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); min-height: 320px; }
.benefit--brand { background: var(--brand); color: var(--on-brand); }
.benefit--night { background: var(--noite); color: var(--branco); }
.benefit__title { font-size: 28px; line-height: 34px; font-weight: 700; }
.benefit__text { font-size: 24px; line-height: 34px; }
.beneficios__closing {
  margin-top: var(--space-5); max-width: 900px;
  padding-left: var(--space-3); border-left: 6px solid var(--brand);
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; font-weight: 500;
}

/* Comunidade */
.comunidade { min-height: 560px; display: flex; align-items: center; }
.comunidade__media { position: absolute; inset: 0; overflow: hidden; }
.comunidade__media img {
  width: 100%; height: 120%; object-fit: cover; object-position: center 40%;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.comunidade__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--noite) 0%, rgba(6, 10, 16, .72) 42%, rgba(6, 10, 16, .1) 100%),
    linear-gradient(180deg, var(--noite) 0%, rgba(6, 10, 16, 0) 22%, rgba(6, 10, 16, 0) 78%, var(--noite) 100%);
}
.comunidade__grid { position: relative; z-index: 1; }
.comunidade__content { max-width: 680px; }
.comunidade .h1 + .lead { margin-top: var(--space-3); }

/* Empresas em destaque */
.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.company-grid li {
  position: relative; background: var(--surface-raised);
  min-height: 128px; padding: var(--space-3);
  display: flex; align-items: flex-end;
  font-size: 22px; line-height: 28px; font-weight: 500;
}
.company-grid li::before {
  content: ""; position: absolute; top: var(--space-3); left: var(--space-3); width: 48px; height: 12px;
  background: var(--brand); transform: scaleX(.25); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .company-grid li:hover::before { transform: scaleX(1); } }

/* Planos */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.plan {
  background: var(--surface-raised); min-height: 200px; padding: 32px;
  display: flex; align-items: flex-end; border-top: 4px solid var(--brand);
  transition: transform var(--t) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-4px); } }
.plan--premium { background: var(--brand); color: var(--on-brand); border-top-color: var(--branco); }
.plan__name { display: flex; flex-direction: column; font-size: 28px; line-height: 34px; font-weight: 700; }
.plan__level { font-weight: 400; }

/* Perguntas frequentes */
.split--faq { align-items: start; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split--faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: 20px; line-height: 28px; font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__sign { position: relative; flex: none; width: 32px; height: 32px; background: var(--brand); transition: transform var(--t) var(--ease); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px;
  background: var(--branco); transform: translate(-50%, -50%);
  transition: transform var(--t) var(--ease);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__sign { transform: rotate(180deg); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__item p { padding: 0 56px 28px 0; color: var(--ink-muted); }

/* ---------- 9. Formulários ---------- */
.split--contato { align-items: start; }
.contato__content { padding-top: var(--space-3); }
.contato .h1 + .lead { margin-top: var(--space-3); }

.lead-form { position: relative; }
.lead-form__body { display: flex; flex-direction: column; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.field label, .choice legend { display: block; margin-bottom: 6px; font-size: 14px; line-height: 20px; font-weight: 500; padding: 0; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--field-bg); color: var(--ink);
  border: 1px solid var(--field-line); border-radius: 0;
  font-size: 17px; appearance: none; -webkit-appearance: none;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder { color: #8a909b; }
.field input:hover { border-color: rgba(255, 255, 255, .5); }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--error); }
.choice__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice__option { position: relative; cursor: pointer; }
.choice__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__option span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px;
  border: 1px solid var(--field-line); font-size: 15px; line-height: 20px; font-weight: 500; text-align: center;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.choice__option:hover span { border-color: rgba(255, 255, 255, .6); }
.choice__option input:checked + span { background: var(--branco); color: var(--noite); border-color: var(--branco); }
.choice__option input:focus-visible + span { outline: 3px solid var(--branco); outline-offset: 2px; }
.choice[aria-invalid="true"] .choice__option span { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn--block { margin-top: var(--space-1); }
.lead-form__consent { margin-top: 14px; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.lead-form__consent a { color: var(--ink); }
.lead-form__status {
  margin-top: var(--space-3); padding: 18px 20px; border-left: 4px solid var(--brand);
  background: rgba(6, 10, 16, .6); font-size: 17px; line-height: 25px; outline: none;
}
.lead-form__status.is-error { border-left-color: var(--error); }
.lead-form.is-sent .lead-form__body { display: none; }
.lead-form.is-sent .lead-form__status { margin-top: var(--space-2); }
.lead-form.is-sent .lead-form__status::before {
  content: ""; display: block; width: 28px; height: 16px; margin-bottom: 14px;
  border-left: 4px solid var(--brand); border-bottom: 4px solid var(--brand);
  transform: rotate(-45deg) translate(4px, -2px);
  animation: checkIn .6s var(--ease-spring) .1s both;
}
@keyframes checkIn { from { opacity: 0; transform: rotate(-45deg) translate(4px, -2px) scale(.5); } }

/* Painel da chamada final */
.lead-form--panel { background: var(--surface-raised); padding: clamp(28px, 4vw, var(--space-5)); border-top: 4px solid var(--brand); }
.lead-form--panel .lead-form__title { font-weight: 700; margin-bottom: var(--space-3); }
.lead-form--panel .lead-form__status { background: var(--noite); }

/* Vidro líquido (hero): desfoque, borda luminosa e reflexo que segue o cursor */
.lead-form--glass {
  --field-bg: rgba(255, 255, 255, .07);
  --field-line: rgba(255, 255, 255, .26);
  padding: clamp(24px, 2.6vw, 34px);
  color: var(--branco);
  background: rgba(22, 30, 44, .24);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.08);
  backdrop-filter: blur(22px) saturate(180%) brightness(1.08);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), inset 1px 0 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.lead-form--glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx, 85%) var(--my, -10%), rgba(255, 255, 255, .17), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 38%);
  transition: opacity .6s var(--ease);
}
.lead-form--glass::after {
  content: ""; position: absolute; left: 0; top: 0; width: 72px; height: 3px; background: var(--brand);
  pointer-events: none;
}
.lead-form--glass > * { position: relative; }
.lead-form__head { margin-bottom: var(--space-3); }
.lead-form__eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 14px; line-height: 20px; font-weight: 500; color: #e7ebf2;
}
.lead-form__eyebrow::before { content: ""; width: 18px; height: 3px; background: var(--brand); flex: none; }
.lead-form--glass .lead-form__title { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.2; font-weight: 700; text-wrap: balance; }
.lead-form__text { margin-top: 8px; font-size: 15px; line-height: 22px; color: #d9dee6; }
.lead-form--glass label, .lead-form--glass legend { color: #eef1f5; font-size: 13px; }
.lead-form--glass .field { margin-bottom: 14px; }
.lead-form--glass .field input { height: 48px; }
.lead-form--glass .field input:hover { background: rgba(255, 255, 255, .1); }
.lead-form--glass .field input:focus { background: rgba(255, 255, 255, .13); border-color: var(--branco); box-shadow: inset 0 0 0 1px var(--branco); }
.lead-form--glass .field input::placeholder { color: rgba(255, 255, 255, .55); }
.lead-form--glass .lead-form__consent { color: #cfd5de; font-size: 12px; line-height: 18px; }
.lead-form--glass .lead-form__consent a { color: var(--branco); }
.lead-form--glass .lead-form__status { background: rgba(6, 10, 16, .55); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .lead-form--glass { background: rgba(17, 22, 30, .95); }
}
/* Pulso de destaque quando um botão leva ao formulário */
.lead-form.is-pulse { animation: formPulse 1.1s var(--ease) 1; }
@keyframes formPulse {
  0% { box-shadow: inset 0 0 0 0 rgba(42, 114, 252, 0); }
  30% { box-shadow: inset 0 0 0 3px var(--brand); }
  100% { box-shadow: inset 0 0 0 0 rgba(42, 114, 252, 0); }
}
.lead-form--glass.is-pulse { animation-name: glassPulse; }
@keyframes glassPulse {
  0% { border-color: rgba(255, 255, 255, .24); }
  30% { border-color: var(--branco); }
  100% { border-color: rgba(255, 255, 255, .24); }
}

/* ---------- 10. Rodapé ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-4);
  padding-top: var(--space-6); padding-bottom: var(--space-4);
}
.footer__brand .logo__img { width: 200px; }
.footer__brand p { margin-top: var(--space-3); max-width: 340px; color: var(--cinza); }
.footer__social { display: flex; gap: 10px; margin-top: var(--space-3); }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .28);
  color: var(--branco); transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__social a:hover { background: var(--brand); border-color: var(--brand); }
.footer__col h2 { font-size: 15px; line-height: 20px; font-weight: 700; margin-bottom: var(--space-2); }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--cinza); text-decoration: none; font-size: 16px; line-height: 24px; transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2);
  padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px; line-height: 20px; color: var(--cinza);
}
.footer__bottom a { color: var(--cinza); }

.fab {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px)); z-index: 90;
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--branco);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--branco); color: var(--noite); }

/* ---------- Responsivo das seções ---------- */
@media (max-width: 1080px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: repeat(3, 1fr); }
  .cadastro__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 900px) {
  .split, .split--faq { grid-template-columns: 1fr; }
  .split--faq .section-head { position: static; margin-bottom: var(--space-4); }
  .split--media-right .split__media { order: -1; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .photo-frame { max-width: 520px; margin: 0; }
  .photo-frame img { aspect-ratio: 16 / 10; }
  .photo-arc img { width: min(70%, 320px); }
}
@media (max-width: 760px) {
  .photo-block { padding-bottom: 0; }
  .message-block { position: relative; width: auto; margin: -48px 0 0 var(--space-3); padding: var(--space-4) var(--space-3) var(--space-3); }
  .comunidade { min-height: 0; }
  .shape-triangles--corner { width: 72px; }
  .shape-triangles--contato { display: none; }
  .comunidade__media::after { background: linear-gradient(0deg, var(--noite) 0%, rgba(6, 10, 16, .78) 60%, var(--noite) 100%); }
}
@media (max-width: 560px) {
  .card-grid--4, .plan-grid, .step-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .company-grid li { min-height: 104px; font-size: 19px; line-height: 24px; padding: 20px; }
  .company-grid li::before { top: 20px; left: 20px; }
  .step-grid li { min-height: 0; padding: 24px; flex-direction: row; align-items: baseline; gap: var(--space-2); }
  .footer { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .btn-row--equal { max-width: none; }
  .frame { padding: var(--space-3); }
  .benefit { padding: var(--space-4) var(--space-3); }
  .benefit__text { font-size: 24px; line-height: 32px; }
  .faq__item p { padding-right: 0; }
  .plan { min-height: 140px; }
  .field-row { grid-template-columns: 1fr; }
  .field input { font-size: 16px; }
}

/* ---------- 11. Movimento ----------
   Só com JS e sem preferência por menos movimento. Anima apenas opacity e
   transform. Entradas usam animation (não transition): ao terminar, o
   elemento volta ao estado normal e os efeitos de hover continuam funcionando. */

/* Topo: começa no primeiro quadro (CSS puro, sem esperar o JavaScript),
   para o texto principal aparecer rápido também no celular */
.js-motion .hero-in { animation: heroIn .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.js-motion .hero-in--form { animation-name: heroInSide; animation-duration: .9s; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes heroInSide { from { opacity: 0; transform: translate3d(18px, 0, 0); } }
.js-motion .hero__media { animation: heroMedia 1.8s var(--ease-out) both; }
@keyframes heroMedia { from { opacity: .35; scale: 1.04; } }

/* Blocos ao rolar */
.js-motion .reveal:not(.is-visible) { opacity: 0; }
.js-motion .reveal.is-visible { animation: revealUp var(--t-enter) var(--ease-out) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
@keyframes revealFade { from { opacity: 0; } }
/* Listas e grades: itens em sequência (o contêiner só aparece) */
.js-motion .reveal.reveal--stagger.is-visible { animation-name: revealFade; animation-duration: .3s; }
.js-motion .reveal:not(.is-visible) .reveal--stagger > *,
.js-motion .reveal--stagger.reveal:not(.is-visible) > * { opacity: 0; }
.js-motion .reveal.is-visible.reveal--stagger > *,
.js-motion .reveal.is-visible .reveal--stagger > * { animation: revealUp .6s var(--ease-out) var(--d, 0ms) backwards; }

/* Formas da marca entram depois do conteúdo */
.js-motion .shape-triangles { opacity: 0; transition: opacity 1s var(--ease-out) .15s; }
.js-motion .section.is-inview .shape-triangles { opacity: 1; }
.js-motion .photo-arc__shape { transform: translate(-58%, -50%) scale(.7); opacity: 0; transition: transform .9s var(--ease-out) .1s, opacity .6s var(--ease-out) .1s; }
.js-motion .is-visible .photo-arc__shape { transform: translate(-58%, -50%) scale(1); opacity: 1; }
.js-motion .photo-frame::before { transform: scale(.5); transform-origin: left bottom; transition: transform .8s var(--ease-out) .15s; }
.js-motion .is-visible .photo-frame::before { transform: none; }
.js-motion .message-block { transform: translate3d(0, 24px, 0); opacity: 0; transition: transform .8s var(--ease-out) .2s, opacity .6s var(--ease-out) .2s; }
.js-motion .is-visible .message-block { transform: none; opacity: 1; }
.js-motion .card--audience.is-current::after, .js-motion .faq__sign { transition-duration: .25s; }

/* Troca entre "Sou organizador" e "Sou fornecedor" sem recarregar (main.js):
   o conteúdo sai rápido (ease-in) e o novo entra com as animações do topo */
.page-leaving main, .page-leaving .site-footer { opacity: 0; transform: translate3d(0, -8px, 0); transition: opacity .18s var(--ease-in), transform .18s var(--ease-in); }
.page-entering main, .page-entering .site-footer { animation: pageIn .35s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } }
main h1[tabindex="-1"]:focus { outline: none; }
html.is-navigating { cursor: progress; }

/* Troca suave entre "Sou organizador" e "Sou fornecedor" (navegadores com View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s var(--ease-soft) both; }
::view-transition-new(root) { animation: vtIn .45s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  @view-transition { navigation: none; }
}
