/* ==========================================================================
   Viita — Landing page
   Tokens replicados de docs/design-system.md e apps/web/src/app/globals.css
   Apenas light theme.
   ========================================================================== */

:root {
  /* marca */
  --brand-50:  #EAF7EF;
  --brand-100: #CFEFDA;
  --brand-200: #9FDFB7;
  --brand-300: #6BCB91;
  --brand-500: #12A151;
  --brand-600: #0E8745;
  --brand-700: #0B743B;

  /* neutros / elevação */
  --bg-shell: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --border: #EAECF0;
  --border-grid: #D8DCE3;
  --text-foreground: #171717;
  --text-muted: #6B7280;
  --info: #5B7FBF;
  --danger: #EF4444;
  --warning: #F59E0B;

  --shadow-card: 0 1px 2px rgba(16, 24, 32, 0.04), 0 1px 1px rgba(16, 24, 32, 0.03);
  --shadow-modal: 0 8px 24px rgba(16, 24, 32, 0.12), 0 2px 6px rgba(16, 24, 32, 0.06);
  --shadow-hero: 0 24px 60px rgba(11, 116, 59, 0.14), 0 4px 16px rgba(16, 24, 32, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg-shell);
  color: var(--text-foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

/* ==========================================================================
   Botões e badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-600);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-foreground);
  border-color: var(--border-grid);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
}

.btn-on-brand {
  background: #fff;
  color: var(--brand-700);
}

.btn-on-brand:hover {
  background: var(--brand-50);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
  letter-spacing: -.01em;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 17px;
}

.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 28px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-foreground);
}

.main-nav a:hover {
  color: var(--brand-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-foreground);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

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

.hero {
  padding-top: 64px;
  padding-bottom: 8px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}

.hero-copy h1 .accent {
  color: var(--brand-600);
}

.hero-copy p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.hero-microcopy .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}

.hero-visual {
  position: relative;
}

.hero-image {
  /* Maior que a própria coluna de propósito — a imagem é a protagonista do hero,
     sangra pra fora do container (a seção tem overflow:hidden, então nunca cria
     scroll horizontal na página). */
  width: 132%;
  max-width: 132%;
  height: auto;
  display: block;
}

.mock-card-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  margin-bottom: 6px;
}

.mock-card-line.w-60 { width: 60%; }
.mock-card-line.w-80 { width: 80%; }
.mock-card-line.w-40 { width: 40%; }

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-copy p {
    max-width: none;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .hero-image {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 34px;
  }
}

/* ==========================================================================
   Audiência
   ========================================================================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.audience-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

.feature-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-summary-item {
  background: var(--bg-shell);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.feature-summary-item .icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-summary-item h3 {
  font-size: 15px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-summary-item p {
  color: var(--text-muted);
  font-size: 13.5px;
}

@media (max-width: 980px) {
  .feature-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Features (linhas alternadas)
   ========================================================================== */

.features-list {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-row.reverse .feature-visual {
  order: -1;
}

.feature-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Print real do produto — sem padding, a imagem já tem a própria interface como
   moldura, então preenche o card de borda a borda. */
.feature-visual.has-screenshot {
  padding: 0;
  overflow: hidden;
}

.feature-screenshot {
  width: 100%;
  height: auto;
  max-height: 420px;
  display: block;
  /* Alguns prints são em retrato (ex: cards de ideias empilhados) — sem isso, eles
     ficam bem mais altos que as demais linhas de feature, que são todas paisagem. */
  object-fit: cover;
  object-position: top;
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-copy h3 {
  font-size: 26px;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}

.feature-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
}

.feature-checklist .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Widget de dashboard (recriado em código a partir do produto real, não
   screenshot — fica nítido em qualquer tamanho de tela)
   ========================================================================== */

.widget-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  width: 100%;
}

.widget-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.widget-card-header h4 {
  font-size: 15px;
  font-weight: 700;
}

.widget-card-link {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-600);
  flex-shrink: 0;
}

.widget-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Linha estilo "Lembretes": ícone circular colorido + título + data */
.widget-row-reminder {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-row-reminder .icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.widget-row-reminder .icon-circle .icon {
  width: 15px;
  height: 15px;
}

.widget-row-reminder strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.widget-row-reminder .widget-meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Linha estilo "Publicações/Ideias": pílula cinza com título + tag à direita */
.widget-row-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  padding: 11px 13px;
}

.widget-row-pill .widget-row-text {
  min-width: 0;
}

.widget-row-pill strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-row-pill .widget-meta {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.widget-tag {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.widget-tag--pink { background: #FCE4EC; color: #D6336C; }
.widget-tag--muted { background: var(--bg-shell); color: var(--text-muted); }

/* Linha estilo "Tarefas por Coluna": dot + nome + contagem + barra de progresso */
.widget-row-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-row-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
}

.widget-row-progress-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-row-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.widget-row-progress-bar {
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--border);
  overflow: hidden;
}

.widget-row-progress-bar span {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
}

/* Linha estilo "Workspaces": avatar com inicial + nome + tipo */
.widget-row-workspace {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-ws-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.widget-row-workspace strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-visual {
    order: initial;
  }
}

/* ==========================================================================
   "Ajude a construir a Viita"
   ========================================================================== */

.purpose {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.purpose .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.purpose h2 {
  font-size: 32px;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}

.purpose > .container > div > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.purpose-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.purpose-point {
  display: flex;
  gap: 14px;
  background: var(--bg-shell);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.purpose-point .icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.purpose-point strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.purpose-point span {
  font-size: 13.5px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .purpose .container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
}

.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 28px;
  letter-spacing: -.01em;
  max-width: 460px;
}

.cta-banner p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-foreground);
  text-align: left;
}

.faq-question .icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item.is-open .faq-question .icon {
  transform: rotate(180deg);
  color: var(--brand-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.billing-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.billing-toggle-btn.is-active {
  background: var(--brand-500);
  color: #fff;
}

.billing-toggle-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
}

.billing-toggle-btn:not(.is-active) .billing-toggle-badge {
  background: var(--brand-50);
  color: var(--brand-700);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
}

.pricing-card.is-featured {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-hero);
  position: relative;
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-500);
  color: #fff;
}

.pricing-card-head {
  margin-bottom: 20px;
}

.pricing-card-head h3 {
  font-size: 18px;
  font-weight: 700;
}

.pricing-amount {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 10px 0 2px;
}

.pricing-amount span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-amount-annual {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pricing-amount-annual strong {
  color: var(--brand-600);
  font-weight: 600;
}

.pricing-card-head p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
}

.pricing-features .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-600);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  display: flex;
  gap: 10px;
  background: var(--bg-shell);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.pricing-note .icon {
  width: 18px;
  height: 18px;
  color: var(--info);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 560px) {
  .pricing-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   Jornada / "Como funciona"
   ========================================================================== */

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.journey-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}

.journey-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.journey-step h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.journey-step p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.journey-step .badge {
  margin-top: 12px;
  font-size: 11px;
  padding: 3px 10px;
}

@media (max-width: 860px) {
  .journey-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .journey-steps {
    grid-template-columns: 1fr;
  }
}

/* mini-mockup do portfólio */
.portfolio-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.portfolio-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  flex-shrink: 0;
}

.portfolio-header .lines { flex: 1; }

.portfolio-link-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.portfolio-grid div {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--bg-surface-elevated);
}

.portfolio-grid div:nth-child(3n+1) {
  background: linear-gradient(135deg, var(--brand-100), var(--bg-surface-elevated));
}

/* ==========================================================================
   "Troque sua stack" — comparação
   ========================================================================== */

.stack-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}

.stack-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 14px;
}

.stack-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.stack-chips li .icon {
  width: 16px;
  height: 16px;
  color: var(--danger);
  flex-shrink: 0;
}

.stack-arrow {
  color: var(--brand-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-arrow .icon {
  width: 28px;
  height: 28px;
}

.stack-after {
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.stack-after img {
  height: 26px;
  margin: 0 auto 14px;
}

.stack-after span {
  display: block;
  font-weight: 700;
  color: var(--brand-700);
  font-size: 15px;
}

.stack-after small {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
}

@media (max-width: 780px) {
  .stack-compare {
    grid-template-columns: 1fr;
  }

  .stack-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   Nota de time + linha de confiança
   ========================================================================== */

.founder-note {
  border-left: 3px solid var(--brand-500);
  background: var(--bg-shell);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14.5px;
  font-style: italic;
  color: var(--text-muted);
}

.founder-note span {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-foreground);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

.trust-line .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Barra de CTA fixa (mobile)
   ========================================================================== */

.mobile-cta-bar {
  display: none;
}

@media (max-width: 720px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 16px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(16, 24, 32, 0.08);
  }

  .mobile-cta-bar .btn {
    width: 100%;
  }

  body {
    padding-bottom: 76px;
  }
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--brand-600);
}

.footer-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand img {
  height: 24px;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Conteúdo legal (Privacidade / Termos)
   ========================================================================== */

.legal-content {
  max-width: 720px;
  padding-top: 48px;
}

.legal-content h1 {
  font-size: 32px;
  letter-spacing: -.01em;
  margin: 8px 0 16px;
}

.legal-content .legal-intro {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 8px;
}

.legal-content h2 {
  font-size: 19px;
  margin: 36px 0 12px;
}

.legal-content p {
  color: var(--text-foreground);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content a {
  color: var(--brand-600);
  text-decoration: underline;
}

.legal-list {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.legal-list li {
  color: var(--text-foreground);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
