/* ==========================================================================
   Oficina Visual — Landing Page
   Design system: tema claro Oficina Visual, ver /design-system.md na raiz do projecto
   Tokens copiados com os valores exactos do design-system.md — nada inventado.
   Revisão 2026-08-13: substitui por inteiro o tema anterior (grafite/ciano).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&family=Sora:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

:root {
  /* Colour tokens — Secção 2 do design-system.md */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-showcase: #FFFFFF;
  --ink: #111827;
  --text-body: #4B5563;
  --text-muted: #5A6472;
  --border-subtle: rgba(17,24,39,0.08);
  --border-input: #6B7280;
  --accent: #4F7CFF;
  --accent-tint: #EEF2FF;
  --action: #2454F5;
  --action-hover: #1B3FC7;
  --action-press: #142E96;
  --on-action: #FFFFFF;
  --danger-text: #B91C1C;
  --danger-tint: #FEF2F2;
  --focus: #4F7CFF;

  /* Fontes — Secção 3 */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Sora', system-ui, sans-serif;
  --font-soft: 'Quicksand', system-ui, sans-serif;

  /* Spacing — Secção 4 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-gutter: 24px;
  --space-margin: 32px;

  --section-pad-standard-desktop: 80px;
  --section-pad-standard-mobile: 48px;
  --section-pad-emphasis-desktop: 128px;
  --section-pad-emphasis-mobile: 64px;

  --container-max: 1280px;
  --container-pad: 32px;

  /* Radius / shadow — Secção 6 */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(17,24,39,0.04);
  --shadow-sm: 0 2px 6px rgba(17,24,39,0.05);
  --shadow-md: 0 12px 28px rgba(17,24,39,0.08);
  --shadow-lg: 0 28px 56px rgba(17,24,39,0.12);

  /* Motion — Secção 10 */
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 320ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset contido
   ========================================================================== */

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }   /* o h4 faltava e trazia ~21px de margem do browser */

/* ==========================================================================
   Tipografia — Secção 3
   ========================================================================== */

.type-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;   /* 40px mobile */
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.type-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;  /* 30px mobile */
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.type-h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;    /* 24px mobile */
  line-height: 1.2;
}
.type-h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;   /* 20px mobile */
  line-height: 1.3;
}
.type-subtitle {
  font-family: var(--font-soft);
  font-weight: 500;
  font-size: 1.125rem;  /* 18px mobile */
  line-height: 1.5;
}
.type-body-lg {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;      /* 16px mobile */
  line-height: 1.6;
}
.type-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}
.type-small {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.55;
}
.type-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .type-display { font-size: 4rem; }        /* 64px desktop */
  .type-h1 { font-size: 2.75rem; }           /* 44px desktop */
  .type-h2 { font-size: 2rem; }              /* 32px desktop */
  .type-h3 { font-size: 1.375rem; }          /* 22px desktop */
  .type-subtitle { font-size: 1.25rem; }     /* 20px desktop */
  .type-body-lg { font-size: 1.125rem; }     /* 18px desktop */
}

.text-strong { color: var(--ink); }
.text-body { color: var(--text-body); }
.text-muted { color: var(--text-muted); }
.text-action { color: var(--action); }

.max-measure { max-width: 720px; }
.max-measure-narrow { max-width: 680px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-pad-standard-mobile);
  padding-bottom: var(--section-pad-standard-mobile);
}
.section--emphasis {
  padding-top: var(--section-pad-emphasis-mobile);
  padding-bottom: var(--section-pad-emphasis-mobile);
}
@media (min-width: 640px) {
  .section { padding-top: var(--section-pad-standard-desktop); padding-bottom: var(--section-pad-standard-desktop); }
  .section--emphasis { padding-top: var(--section-pad-emphasis-desktop); padding-bottom: var(--section-pad-emphasis-desktop); }
}

.section--showcase { background: var(--surface-showcase); }

.eyebrow {
  display: block;
  color: var(--action);
  margin-bottom: var(--space-md);
}

.section-head { margin-bottom: var(--space-xl); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.grid-2-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
.grid-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-benefits { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-benefits { grid-template-columns: 1fr 1fr 1fr; }
  .grid-benefits .card:nth-child(5) { grid-column: 2 / 3; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar__brand img { height: 34px; width: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  text-decoration: none;
  transition: background var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--action);
  color: var(--on-action);
}
.btn-primary:hover { background: var(--action-hover); }
.btn-primary:active { background: var(--action-press); transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--action); }
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px var(--focus);
}

.btn-sm { height: 44px; padding: 0 20px; font-size: 0.875rem; }

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--action);
  color: var(--action);
}
.btn-secondary:hover { background: var(--accent-tint); }
.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px var(--focus);
}

.btn-ghost {
  background: transparent;
  border: none;
  height: 40px;
  padding: 10px 4px;
  color: var(--action);
  font-size: 0.875rem;
}
.btn-ghost:hover { color: var(--action-hover); text-decoration: underline; }
.btn-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: var(--radius-sm);
}
.btn-ghost svg { transition: transform var(--dur-base) var(--ease-standard); }

.btn-white {
  background: var(--surface);
  color: var(--action);
}
.btn-white:hover { background: var(--accent-tint); }
.btn-white:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--action), 0 0 0 5px var(--surface);
}

.btn[aria-busy="true"] {
  color: transparent;
  position: relative;
  pointer-events: none;
}
.btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  color: var(--on-action);
  animation: spin 700ms linear infinite;
}
.btn-white[aria-busy="true"]::after { color: var(--action); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .card { padding: 28px; } }

.card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-tint);
  color: var(--action);
  margin-bottom: var(--space-md);
}
.card__icon-wrap svg { width: 22px; height: 22px; }
.card__icon-wrap img { width: 22px; height: 22px; }

.card__title { margin-bottom: var(--space-sm); }
.card__body { color: var(--text-body); margin-bottom: var(--space-md); }
.card__meta { color: var(--text-muted); }
.card__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--action);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Lists with icons (para quem é / oferta incluído-fora)
   ========================================================================== */

.icon-list { display: flex; flex-direction: column; gap: var(--space-md); }
.icon-list li { display: flex; gap: var(--space-sm); align-items: flex-start; }
.icon-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.icon-list--positive svg { color: var(--action); }
.icon-list--neutral svg { color: var(--text-muted); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
@media (min-width: 1024px) {
  .hero__grid { flex-direction: row; align-items: center; gap: var(--space-xl); }
  .hero__copy { flex: 1 1 55%; min-width: 0; }
  .hero__visual { flex: 1 1 40%; min-width: 0; }
}
.hero__headline { margin-bottom: var(--space-lg); }
.hero__sub { margin-bottom: var(--space-lg); max-width: 560px; }
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
@media (min-width: 480px) {
  .hero__ctas { flex-direction: row; align-items: center; }
}
.hero__trust { max-width: 480px; }

/* O criativo do hero é 9:16. Sem tecto de largura ocupava ~890px de altura na
   coluna de 40% e empurrava a dobra para fora do ecrã. 340px dá ~605px de
   altura, alinhado com o bloco de copy ao lado. */
.hero__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  padding: 12px;
  max-width: 340px;
  margin-inline: auto;
}
.hero__frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-tint);
  color: var(--action);
}
.hero__pill svg { width: 14px; height: 14px; }

/* ==========================================================================
   Comparação lado a lado — Secção 4
   ========================================================================== */

.compare {
  max-width: 1040px;
  margin: 0 auto;
}
.compare__intro { max-width: 640px; margin: 0 auto var(--space-xl); text-align: center; }
.compare__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
  position: relative;
}
@media (min-width: 768px) {
  .compare__grid { grid-template-columns: 1fr auto 1fr; gap: var(--space-lg); }
}
.compare__mat {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.compare__img-wrap { position: relative; }
.compare__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
/* A pill vive em BAIXO À DIREITA, nunca no topo à esquerda.
   Em cima tapava exactamente o objecto da prova: a palavra "Logo" escrita
   pelo modelo na imagem do "antes", e o wordmark real na do "depois".
   Nas marcas destes exemplos o canto inferior direito é sempre livre. */
.compare__pill {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  z-index: 2;
}
.compare__pill--before { background: var(--danger-tint); color: var(--danger-text); }
.compare__pill--after { background: var(--accent-tint); color: var(--action); }
.compare__caption { margin-top: var(--space-md); color: var(--text-muted); }
.compare__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--accent-tint);
  color: var(--ink);
  margin: 0 auto;
}
.compare__connector svg { width: 28px; height: 28px; transform: rotate(90deg); }
@media (min-width: 768px) {
  .compare__connector { align-self: center; }
  .compare__connector svg { transform: none; }
}

.compare__reinforce {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.compare__reinforce .compare__mat { padding: 10px; }
.compare__reinforce-caption {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ==========================================================================
   Screen card — ecrãs reais (Secções 5 e 9)
   ========================================================================== */

.screen-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.screen-step:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .screen-step { flex-direction: row; align-items: center; gap: var(--space-xl); }
  .screen-step__text { flex: 1 1 34%; min-width: 0; }
  .screen-step__media { flex: 1 1 60%; min-width: 0; }
  .screen-step--reverse { flex-direction: row-reverse; }
}
.screen-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-tint);
  color: var(--action);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}
.screen-step__title { margin-bottom: var(--space-sm); }
.screen-step__body { color: var(--text-body); }
.screen-step__placeholder {
  border: 1.5px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--text-muted);
  background: var(--bg);
}
.screen-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-md);
}
.screen-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

/* ==========================================================================
   Grelha das 4 variações (Secção 9)
   ========================================================================== */

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}
@media (min-width: 640px) {
  .demo-grid { grid-template-columns: 1fr 1fr; gap: var(--space-gutter); }
}
@media (min-width: 1024px) {
  .demo-grid { grid-template-columns: repeat(3, 1fr); }
}

.demo-grid__frame {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}
/* Sem aspect-ratio fixo e sem object-fit: cover. Os criativos são a prova —
   cortá-los corta o argumento (foi assim que se perdeu o logótipo no deck).
   Os atributos width/height do <img> já reservam o espaço antes de carregar. */
.demo-grid__frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}
.demo-provenance { max-width: 760px; margin-bottom: var(--space-md); }
.demo-caption { max-width: 720px; }

/* Segundo brief da mesma marca — texto ao lado de um único criativo 9:16 */
.second-brief {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-2xl);
}
@media (min-width: 768px) {
  .second-brief {
    grid-template-columns: 1fr minmax(0, 320px);
    gap: var(--space-gutter);
  }
}
.second-brief__text h3 { margin-bottom: var(--space-sm); }
.second-brief__figure { justify-self: center; width: 100%; max-width: 320px; }

/* Ampliação dos dois cantos do logótipo.
   Existe porque a prova — o apelido errado — é ilegível ao tamanho a que as
   imagens aparecem na grelha. Mesma família de defeito do object-fit e das
   pills: a apresentação a comer o argumento, aqui por escala. */
.zoom-par { margin-top: var(--space-xl); }
.zoom-par__label { text-align: center; margin-bottom: var(--space-md); font-weight: 600; }
.zoom-par__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .zoom-par__grid { grid-template-columns: 1fr 1fr; gap: var(--space-gutter); }
}
.zoom-par__item { margin: 0; }
.zoom-par__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* Segundo par antes/depois, dentro da secção do logótipo.
   Aqui os rótulos vivem FORA da imagem, de propósito. A pill sobreposta
   tapou o objecto da prova duas vezes seguidas — primeiro em cima à esquerda,
   depois em baixo à direita — porque o logótipo muda de canto a cada geração
   e não há canto seguro. Rótulo por fora não pode tapar nada. */
.compare__second { margin-top: var(--space-2xl); }
.compare__second-label { text-align: center; margin-bottom: var(--space-md); }
.compare__second-cap {
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.compare__second-cap--before { background: var(--danger-tint); color: var(--danger-text); }
.compare__second-cap--after { background: var(--accent-tint); color: var(--action); }

/* ==========================================================================
   Diagrama de badges — "Como funciona"
   ========================================================================== */

.flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 1024px) {
  .flow { flex-direction: row; align-items: flex-start; }
}
.flow__node {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}
.flow__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-tint);
  color: var(--action);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 4px;
}
.flow__connector {
  display: none;
  align-items: center;
  color: var(--text-muted);
  padding-top: 22px;
}
@media (min-width: 1024px) {
  .flow__connector { display: flex; }
}
.flow__connector svg { width: 20px; height: 20px; }
.flow__hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--action);
}
.flow__hint svg { width: 14px; height: 14px; }

/* ==========================================================================
   Casos de utilização
   ========================================================================== */

.case-card__label { display: block; margin-bottom: var(--space-sm); color: var(--action); }
.case-card__situation { margin-bottom: var(--space-sm); color: var(--text-body); }
.case-card__outcome { font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Prova / credibilidade — fichas técnicas
   ========================================================================== */

/* Prova e credibilidade.
   Substitui as .fact-card, que aplicavam .type-h1 a frases inteiras: o
   "100% de sucesso, 0 defeitos, em 38 gerações" ocupava quatro linhas a
   tamanho de título e não se lia como número nenhum. Aqui o valor é curto e
   grande, o que ele mede vem a seguir, e a proveniência fica pequena por
   baixo. A honestidade da secção depende de a proveniência estar sempre
   colada ao número, nunca noutro sítio. */
.proof-intro { max-width: 640px; margin: 0 auto var(--space-xl); text-align: center; }
.proof-intro h2 { margin-bottom: var(--space-md); }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
@media (min-width: 640px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .proof-grid { grid-template-columns: repeat(4, 1fr); } }

.proof-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.proof-card__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  /* Os quatro valores alinham em coluna; sem isto os dígitos dançam. */
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.proof-card__unit {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-muted);
}
.proof-card__what {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}
.proof-card__source { color: var(--text-muted); }
/* Sem margin-top:auto de propósito: alinhar as proveniências pelo fundo
   abria um vazio no cartão de texto mais curto, e o buraco lia-se como
   defeito. Ragged em baixo é mais natural do que um vão a meio. */

/* A nota do que ainda não temos. Tem tratamento próprio de propósito: é a
   afirmação mais desarmante da página e, escondida num parágrafo solto no
   fim, lia-se como letra pequena a pedir desculpa. */
.proof-honesty {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  max-width: 780px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg);
  background: var(--accent-tint);
  border-radius: var(--radius-lg);
}
.proof-honesty__mark {
  flex: none;
  width: 28px; height: 28px;
  color: var(--action);
}
.proof-honesty__mark svg { width: 100%; height: 100%; }
.proof-honesty__body h3 { margin-bottom: var(--space-sm); }

@media (min-width: 640px) {
  .proof-card__value { font-size: 3.5rem; }
}

/* ==========================================================================
   Problema — nota de medição discreta
   ========================================================================== */

.measure-note {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.measure-note p { font-style: italic; color: var(--text-muted); }

/* ==========================================================================
   Oferta
   ========================================================================== */

.offer-col__title { margin-bottom: var(--space-md); }
.risk-strip {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Formulário
   ========================================================================== */

/* O cartão do convite. É o fim da página e o único sítio onde se age, por
   isso ganha o maior relevo da folha: raio grande, sombra funda e uma faixa
   de acento no topo que o separa de tudo o que vem antes. */
.form-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--action);
}
@media (min-width: 640px) {
  .form-card { padding: var(--space-xl); padding-top: calc(var(--space-xl) + 4px); }
}
.field { margin-bottom: var(--space-lg); }
.field:last-of-type { margin-bottom: 0; }
.field label {
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--ink);
}
.field input {
  width: 100%;
  height: 52px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-input);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus);
}
.field input[aria-invalid="true"] {
  border-color: var(--danger-text);
  border-width: 2px;
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  color: var(--danger-text);
}
.field__error svg { width: 16px; height: 16px; flex: none; }
.field.has-error .field__error { display: flex; }

.form-submit-row { margin-top: var(--space-lg); }
.form-microcopy { margin-top: var(--space-md); color: var(--text-muted); }
.privacy-line { margin-top: var(--space-md); color: var(--text-muted); }

.form-banner {
  display: none;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  background: var(--danger-tint);
  color: var(--danger-text);
}
.form-banner svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-banner.is-visible { display: flex; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--space-md);
}
.form-success.is-visible { display: flex; }
.form-success svg { flex: none; width: 32px; height: 32px; color: var(--action); }
.invite-form.is-success .invite-form__fields { display: none; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-trigger {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  background: none;
  border: none;
  padding: var(--space-md) 0;
  text-align: left;
  color: var(--ink);
}
.accordion-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus);
  border-radius: var(--radius-sm);
}
.accordion-trigger svg {
  flex: none;
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: transform var(--dur-slow) var(--ease-standard);
}
.accordion-item[data-open="true"] .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel {
  max-width: 680px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--dur-slow) var(--ease-standard), opacity var(--dur-slow) var(--ease-standard);
}
.accordion-item[data-open="true"] .accordion-panel { max-height: 640px; opacity: 1; }
.accordion-panel__inner { padding: 0 0 var(--space-lg) 0; color: var(--text-body); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-lg) 0;
}
.footer__inner { display: flex; align-items: center; gap: var(--space-sm); }
.footer__inner img { height: 18px; width: auto; }
.footer__inner span { color: var(--text-muted); }

/* ==========================================================================
   CTA final — único bloco de cor saturada
   ========================================================================== */

.cta-final { background: var(--action); }
.cta-final__inner { text-align: center; }
.cta-final__title { margin: 0 auto var(--space-lg); max-width: 640px; color: var(--on-action); }
.cta-final__sub { margin: 0 auto var(--space-lg); max-width: 560px; color: var(--on-action); }
.cta-final__note { margin-top: var(--space-md); color: var(--on-action); }

/* Utility */
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.text-center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* Campo-armadilha do formulário de convite.
   Fora do ecrã em vez de display:none — há robôs que ignoram campos com
   display:none, e este só serve se for preenchido. */
.campo-armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Cabeçalho: o "Entrar" para quem já foi convidado, ao lado do CTA.
   Texto simples e não botão — a hierarquia da página pertence ao "Pedir
   convite", e dois botões lado a lado punham-nos a competir. */
.navbar__acoes {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.navbar__entrar {
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-standard);
}
.navbar__entrar:hover { color: var(--ink); }
.navbar__entrar:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Oferta e condições do piloto
   ========================================================================== */

.offer-head { max-width: 660px; margin: 0 auto var(--space-xl); text-align: center; }
.offer-head h2 { margin-bottom: var(--space-md); }

.offer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
}
@media (min-width: 768px) { .offer-cols { grid-template-columns: 1fr 1fr; } }

/* Os dois lados têm peso visual diferente de propósito: o que se recebe é a
   promessa e vive em superfície branca; o que fica de fora é honestidade e
   fica recuado. Iguais, competiam. */
.offer-col { padding: var(--space-lg); border-radius: var(--radius-xl); }
.offer-col--in { background: var(--surface); box-shadow: var(--shadow-md); }
.offer-col--out { background: transparent; border: 1px solid var(--border-subtle); }
.offer-col__title { margin-bottom: var(--space-lg); }

/* As condições. Bloco próprio e antes do formulário: é o que a pessoa aceita
   ao carregar no botão. */
.terms {
  margin-top: var(--space-xl);
  padding: var(--space-xl) var(--space-lg);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}
.terms__title { text-align: center; margin-bottom: var(--space-lg); }
.terms__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) { .terms__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-gutter); } }

.term { display: flex; flex-direction: column; gap: var(--space-sm); }
/* Ícone e não número: estas três condições não são uma sequência, e um
   1/2/3 dizia à pessoa que havia ordem onde não há. */
.term__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--action);
}
.term__mark svg { width: 19px; height: 19px; }
.term__h { font-weight: 600; }

.terms__free {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-body);
}

/* Ajuda por baixo do campo, para a regra da conta Google não ser uma surpresa
   depois de a pessoa se candidatar com o endereço errado. */
.field__hint {
  margin-top: var(--space-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   Como funciona — cinco passos
   ========================================================================== */

.steps-head { max-width: 660px; margin: 0 auto var(--space-xl); text-align: center; }
.steps-head h2 { margin-bottom: var(--space-md); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-gutter);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
@media (min-width: 640px)  { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-md); } }

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* Os dois passos onde a pessoa decide ganham acento. É o argumento da secção
   e, sem marca visual, ficava só dito no título e não mostrado. */
.step-card--humano {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.step-card__n {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  color: var(--action);
  margin-bottom: var(--space-xs);
}
.step-card__icon svg { width: 20px; height: 20px; }
.step-card--humano .step-card__icon { background: var(--action); color: var(--on-action); }
.step-card__h { line-height: 1.3; }

.step-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.step-card__tag svg { width: 14px; height: 14px; flex: none; }
.step-card__tag--humano { color: var(--action); }

.steps-foot { max-width: 760px; margin: var(--space-xl) auto 0; text-align: center; }

/* O convite fica centrado e com ar à volta: é o pedido da página e não deve
   encostar ao bloco anterior. */
.invite-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

/* Perfil da candidatura: opcional, e visivelmente separado dos dois campos
   que interessam. Recuado e mais discreto de propósito — quem tem pressa
   salta e candidata-se na mesma, que é o comportamento que queremos manter. */
.perfil {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}
.perfil__intro { color: var(--text-muted); margin-bottom: var(--space-md); }
.perfil__op { color: var(--text-body); font-weight: 600; }
.field--perfil { margin-bottom: var(--space-md); }
.field--perfil:last-child { margin-bottom: 0; }
.field--perfil label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}
.field--perfil select,
.field--perfil input {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
}
.field--perfil select:focus-visible,
.field--perfil input:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
