/* VaiNaLista — site institucional
   Paleta e tipografia: Identidade Visual v1.0 (aprovada). Nenhuma cor nova foi criada.
   ------------------------------------------------------------------------------- */

/* Fontes Poppins 600/700 e Inter 400/500 são carregadas no HTML via Google Fonts.
   Nenhum arquivo de fonte é redistribuído neste pacote. Ver README (dependência de terceiro). */

/* Tokens -------------------------------------------------------------------------- */
:root {
  --tinta: #14141F;
  --verde: #00A676;
  --verde-claro: #2FE0A6;
  --papel: #FAF9F6;
  --neutro: #8B897F;

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band: clamp(4rem, 9vw, 8rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p, ul, dl, dd { margin: 0; }
p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 2px;
}
.band--ink :focus-visible,
.site-footer :focus-visible { outline-color: var(--verde-claro); }

[id] { scroll-margin-top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--tinta);
  color: var(--papel);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Assinatura (símbolo + wordmark) ------------------------------------------------------
   Geometria do símbolo: viewBox "1 11 66 42", traçados exatamente como no manual.
   Wordmark: composição tipográfica conforme especificação (não é o arquivo em curvas). */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--tinta);
  /* área de proteção: X/2 = metade da altura visual do símbolo */
  padding: 0.55rem 0;
}
.lockup-symbol {
  display: block;
  width: auto;
  height: 2.1rem;
  flex: none;
}
.sym-line { stroke: var(--verde); }
.sym-check { stroke: var(--tinta); }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.wm-vaina { font-weight: 600; color: var(--tinta); }
.wm-lista { font-weight: 700; color: var(--verde); }
/* ajustes de espaçamento do manual: i→N −0,02em e a→L −0,03em adicionais */
.k-in { letter-spacing: -0.03em; }
.k-al { letter-spacing: -0.04em; }

/* versão reversa autorizada: Verde claro + Papel sobre Tinta */
.lockup--reverse { color: var(--papel); }
.lockup--reverse .sym-line { stroke: var(--verde-claro); }
.lockup--reverse .sym-check { stroke: var(--papel); }
.lockup--reverse .wm-vaina { color: var(--papel); }
.lockup--reverse .wm-lista { color: var(--verde-claro); }

/* Cabeçalho ------------------------------------------------------------------------ */
.site-header { border-bottom: 1px solid var(--tinta); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.6rem 0.8rem;
  font-weight: 500;
  font-size: 0.975rem;
  text-decoration: none;
  text-underline-offset: 0.3em;
}
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-cta {
  margin-left: 0.5rem;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.site-nav .nav-cta:hover {
  background: var(--tinta);
  color: var(--papel);
  text-decoration: none;
}
@media (max-width: 52rem) {
  .nav-optional { display: none; }
  .site-nav .nav-cta { margin-left: 0; }
}
@media (max-width: 23rem) {
  .site-header .lockup-symbol { height: 1.8rem; }
  .site-header .wordmark { font-size: 1.3rem; }
  .site-nav .nav-cta { padding: 0.45rem 0.85rem; font-size: 0.925rem; }
}

/* Botão ------------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--tinta);
  color: var(--papel);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.25;
  text-decoration: none;
}
.btn:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Hero ------------------------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 8vw, 7rem) clamp(3.5rem, 8vw, 6.5rem); }

.status {
  max-width: 34rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--tinta);
  font-size: 0.975rem;
  line-height: 1.5;
}

.hero-title {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-size: clamp(2.5rem, 1.1rem + 5.4vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }

.hero-foot {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.4rem);
  line-height: 1.5;
}
.hero-foot .btn { justify-self: start; }

@media (min-width: 60rem) {
  .hero-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding-top: 2rem;
    border-top: 1px solid var(--tinta);
  }
}

/* Faixas -------------------------------------------------------------------------------- */
.band { padding-block: var(--band); }
.band--ink { background: var(--tinta); color: var(--papel); }
.band--rule { padding-top: 0; }
/* fio superior alinhado à coluna de conteúdo (não invade as margens laterais) */
.band--rule > .wrap {
  padding-top: var(--band);
  background: linear-gradient(var(--tinta), var(--tinta)) no-repeat;
  background-size: calc(100% - 2 * var(--gutter)) 1px;
  background-position: var(--gutter) 0;
}

.statement {
  max-width: 25ch;
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.4rem);
  letter-spacing: -0.025em;
}

/* Problema ------------------------------------------------------------------------------ */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.split-head h2 {
  font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.split-head p {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: 1.125rem;
  color: var(--papel);
}

.questions {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--neutro);
}
.questions li {
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--neutro);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.questions li:nth-child(odd) { color: var(--papel); }
.questions li:nth-child(even) { color: var(--neutro); }

@media (min-width: 60rem) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split-head { position: sticky; top: 2rem; }
}

/* Proposta ------------------------------------------------------------------------------ */
.section-intro {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 1.125rem;
}
.features {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--tinta);
}
.feature {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--tinta);
}
.feature dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}
.feature dd { max-width: 40rem; }

@media (min-width: 48rem) {
  .feature { grid-template-columns: minmax(12rem, 4fr) 8fr; gap: 2rem; }
}

.note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

/* Autonomia ----------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.pillar h3 {
  font-size: 1.3rem;
  padding-top: 1rem;
  border-top: 3px solid var(--tinta);
}
.pillar p { margin-top: 0.75rem; max-width: 34rem; }

@media (min-width: 56rem) {
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

/* Convite -------------------------------------------------------------------------------- */
.invite-title {
  max-width: 16ch;
  font-size: clamp(2.2rem, 1.2rem + 4.2vw, 4.75rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.invite-body {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.invite-text p { max-width: 36rem; font-size: 1.125rem; }
.invite-text p + p { margin-top: 1rem; }
.invite-terms { color: var(--papel); }

.contacts { display: grid; gap: 1rem; align-content: start; }
.contact {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
}
.contact-channel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.contact-value { font-size: 1rem; }

/* Contatos reais e explicitamente autorizados. */
a.contact {
  background: var(--papel);
  color: var(--tinta);
  border: 2px solid var(--papel);
}
a.contact:hover .contact-value { text-decoration: underline; text-underline-offset: 0.25em; }

@media (min-width: 56rem) {
  .invite-body { grid-template-columns: 7fr 5fr; gap: 4rem; }
}

/* Rodapé --------------------------------------------------------------------------------- */
.site-footer {
  background: var(--tinta);
  color: var(--papel);
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--neutro);
}
.footer-line { margin-top: 0.5rem; }
.footer-title { font-size: 1.1rem; line-height: 1.3; }
.footer-notice p { margin-top: 0.5rem; max-width: 34rem; }
.footer-base {
  margin-top: 3rem;
  font-size: 0.95rem;
  color: var(--neutro);
}
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Impressão ------------------------------------------------------------------------------ */
@media print {
  .site-nav, .skip-link { display: none; }
  .band--ink, .site-footer { background: none; color: var(--tinta); }
}

/* Ajustes auditados da versão consolidada */
.contact-value { overflow-wrap: anywhere; }
.footer-base { display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center; }
.instagram-link { color:var(--papel); text-underline-offset:0.22em; }
@media (max-width: 23rem) {
  .site-header .lockup { gap: 0.3rem; }
  .site-header .wordmark { font-size: 1.12rem; }
  .site-header .lockup-symbol { height: 1.7rem; }
  .site-nav .nav-cta { padding: .42rem .62rem; font-size:.875rem; }
}

/* Texto disponível apenas para leitores de tela */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Navegação institucional e aviso de privacidade — adição técnica v0.2.2 */
.footer-links { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; align-items: center; }
.footer-links a { color: var(--papel); text-underline-offset: 0.22em; }
.privacy-main { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 8vw, 7rem); }
.privacy-content { max-width: 62rem; }
.privacy-content h1 { margin-top: 1.8rem; font-size: clamp(2.25rem, 5.5vw, 4rem); }
.privacy-content h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.privacy-content p:not(.status) { margin-top: 1rem; max-width: 72ch; }
.privacy-content .privacy-updated { color: var(--tinta); font-size: 0.95rem; }
.privacy-content a:not(.btn) { text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.privacy-content .privacy-return { margin-top: 2.8rem; }
