/* ==========================================================================
   Sociuz — institutional site
   Tokens: violet #5B4EF5 · navy #12152A · lilac #EDEBFF
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root {
  /* --- color --- */
  --violet: #5B4EF5;
  --violet-dim: #493ED0;
  --violet-soft: rgba(91, 78, 245, 0.12);
  --navy: #12152A;
  --navy-raised: #1A1E3C;
  --navy-line: rgba(237, 235, 255, 0.10);
  --lilac: #EDEBFF;
  --lilac-line: rgba(18, 21, 42, 0.08);
  --white: #FFFFFF;
  --ink: #12152A;
  --muted-on-dark: rgba(237, 235, 255, 0.62);
  --muted-on-light: #5B5F7A;
  --status-ok: #2FBE8F;
  --status-warn: #E8A93A;
  --status-late: #F0526B;

  /* --- type --- */
  --font-display: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* --- layout --- */
  --container: 1160px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --header-h: 76px;
}

/* --- reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--violet);
  display: inline-block;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--violet);
  color: var(--white);
}
.btn-primary:hover { background: #6C5FFF; }

.btn-ghost-dark {
  border-color: var(--navy-line);
  color: var(--white);
  background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--violet); color: var(--violet); }

.btn-on-violet {
  background: var(--navy);
  color: var(--white);
}
.btn-on-violet:hover { background: #0B0D1C; }

.btn-ghost-on-violet {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost-on-violet:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(18, 21, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--navy-line);
  background: rgba(18, 21, 42, 0.92);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--white);
}
.brand svg { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-on-dark);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.is-current { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-links { 
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--navy-raised);
    border-bottom: 1px solid var(--navy-line);
    padding: 18px 24px 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn-primary { padding: 11px 18px; font-size: 0.88rem; }
}

/* ==========================================================================
   Hero — flagship: financeiro no automático + assistente de IA
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-rings {
  position: absolute;
  top: -200px;
  right: -240px;
  width: 660px;
  height: 660px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}
.hero-rings circle {
  fill: none;
  stroke: var(--violet);
}
.hero-rings .ring-a { stroke-width: 1.4; opacity: 0.55; }
.hero-rings .ring-b { stroke-width: 1.4; opacity: 0.32; }

.hero-glow {
  position: absolute;
  top: 8%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(91,78,245,0.30) 0%, rgba(91,78,245,0) 68%);
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: var(--white);
  margin-top: 20px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero p.lede {
  margin-top: 24px;
  font-size: 1.16rem;
  color: var(--muted-on-dark);
  max-width: 48ch;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Dashboard mock panel (reused in "como funciona" detail sections) */
.mock-panel {
  position: relative;
  background: var(--navy-raised);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 40px 80px -32px rgba(0,0,0,0.55);
}
.mock-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--navy-line);
}
.mock-panel-head span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy-line); display: block; }

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.mock-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  padding: 14px 14px 12px;
}
.mock-stat .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.mock-stat .lbl {
  font-size: 0.74rem;
  color: var(--muted-on-dark);
  margin-top: 2px;
  display: block;
}

.mock-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--navy-line);
  font-size: 0.88rem;
}
.mock-list-row:first-of-type { border-top: none; }
.mock-list-row .name { color: var(--white); font-weight: 500; }
.mock-list-row .meta { color: var(--muted-on-dark); font-size: 0.8rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.status-dot.ok { background: var(--status-ok); }
.status-dot.warn { background: var(--status-warn); }
.status-dot.late { background: var(--status-late); }

/* ==========================================================================
   Phone mock — animated assistant chat (the flagship signature element)
   ========================================================================== */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  background: var(--navy-raised);
  border: 1px solid var(--navy-line);
  border-radius: 30px;
  padding: 10px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(91,78,245,0.08);
}
.phone-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 30px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(91,78,245,0.55), rgba(91,78,245,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.phone-screen {
  background: #0D0F20;
  border-radius: 22px;
  padding: 18px 16px 20px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.phone-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--navy-line);
}
.phone-topbar .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-topbar .avatar svg { width: 18px; height: 18px; }
.phone-topbar .who { display: flex; flex-direction: column; gap: 2px; }
.phone-topbar .who strong { font-size: 0.9rem; color: var(--white); font-weight: 600; }
.phone-topbar .who span { font-size: 0.72rem; color: var(--status-ok); }

/* Altura ESTÁVEL do início ao fim da animação: as bolhas já reservam o
   próprio espaço (entram com opacity 0, não fora do fluxo), o alinhamento
   é ao topo (flex-start — centralizar faria o conteúdo dançar) e o
   min-height é um piso de segurança para o cenário mais longo. */
.chat-mock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: flex-start;
  min-height: 280px;
}
/* Os painéis das abas ficam EMPILHADOS na mesma célula de grid: o
   escondido usa visibility (não display:none), então continua ocupando
   layout e o container mede sempre a conversa MAIS ALTA — trocar de aba
   não muda a altura em nenhuma largura de tela. */
.tab-panels { flex: 1; display: grid; }
.tab-panel { grid-area: 1 / 1; display: flex; flex-direction: column; }
.tab-panels .tab-panel[hidden] { display: flex; visibility: hidden; }
.chat-bubble {
  max-width: 84%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.89rem;
  line-height: 1.42;
}
.chat-bubble.chat-anim-init {
  opacity: 0;
  transform: translateY(8px);
}
.chat-bubble.is-shown {
  animation: bubble-in 0.35s ease forwards;
}
@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}
.chat-bubble.in {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--navy-line);
  color: var(--white);
  border-bottom-left-radius: 4px;
}
.chat-bubble.out {
  align-self: flex-end;
  background: var(--violet);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.typing-indicator {
  align-self: flex-start;
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 12px 16px;
  height: 32px; /* fixa para a conta do margin-bottom negativo abaixo */
}
/* O "digitando…" NÃO pode somar altura: ele ocupa o espaço já reservado
   pela bolha que vai substituir (invisível nesse momento). O margin
   negativo anula a própria altura + o gap da coluna: 32px + 10px. */
.typing-indicator.is-active {
  display: flex;
  margin-bottom: calc(-32px - 10px);
}
.typing-indicator i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted-on-dark);
  animation: type-bounce 1s ease-in-out infinite;
}
.typing-indicator i:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator i:nth-child(3) { animation-delay: 0.3s; }
@keyframes type-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* A resposta do assistente sempre cita a origem — a linha "Fonte: …"
   dentro do balão é parte do argumento de confiabilidade, não decoração */
.bubble-source {
  display: block;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.82);
}

/* Example tabs (cenários de pergunta ao assistente) */
.example-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-on-dark);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
.tab-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }
.tab-btn.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-rings { right: -260px; top: -140px; width: 460px; height: 460px; }
  .hero-glow { right: -30%; width: 520px; height: 520px; }
}

/* ==========================================================================
   Screenshot frames (real product screens)
   ========================================================================== */
.shot-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.45);
  line-height: 0;
}
.shot-frame img { width: 100%; display: block; }

.shot-frame-wide {
  max-width: 980px;
  margin: 0 auto 8px;
}

.portal-gallery {
  display: flex;
  gap: 14px;
}
.portal-gallery .shot-frame { flex: 1; }

@media (max-width: 640px) {
  .portal-gallery { flex-wrap: wrap; }
  .portal-gallery .shot-frame { flex: 1 1 45%; }
}

/* ==========================================================================
   Section divider (ring-link glyph)
   ========================================================================== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.divider svg { width: 34px; height: 20px; opacity: 0.55; }
.divider.on-light svg { opacity: 0.35; }

/* ==========================================================================
   Modules grid (home)
   ========================================================================== */
.section-light {
  background: var(--lilac);
  color: var(--ink);
  padding: 100px 0 96px;
}
.section-light .eyebrow { color: var(--violet-dim); }
.section-light h2 { color: var(--ink); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-top: 14px; }
.section-head p { margin-top: 14px; color: var(--muted-on-light); font-size: 1.05rem; }

.bento-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius-md);
  padding: 30px 26px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91,78,245,0.35);
  box-shadow: 0 24px 48px -24px rgba(18,21,42,0.18);
}
.bento-card:nth-child(1) { grid-column: span 5; }
.bento-card:nth-child(2) { grid-column: span 7; }
.bento-card:nth-child(3) { grid-column: span 7; }
.bento-card:nth-child(4) { grid-column: span 5; }

.bento-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.bento-card .icon-wrap svg { width: 25px; height: 25px; }
.bento-card h3 { font-size: 1.18rem; color: var(--ink); margin-bottom: 10px; }
.bento-card p { font-size: 0.96rem; color: var(--muted-on-light); max-width: 46ch; }
.bento-card .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.bento-card .feature-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--violet-dim);
  background: var(--violet-soft);
  padding: 5px 11px;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .section-light { padding: 76px 0; }
}

/* ==========================================================================
   Trust / pilot placeholder section
   ========================================================================== */
.section-dark {
  background: var(--navy);
  padding: 100px 0;
}
.section-dark .section-head h2 { color: var(--white); }
.section-dark .section-head p { color: var(--muted-on-dark); }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 920px;
}
.stat-block {
  background: var(--navy-raised);
  padding: 30px 26px;
  text-align: left;
}
.stat-block .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--white);
  display: block;
}
.stat-block .lbl {
  font-size: 0.86rem;
  color: var(--muted-on-dark);
  margin-top: 6px;
  display: block;
}
/* Variante sem número inventado: afirmações curtas no lugar de métricas —
   dados reais de cliente só entram com autorização */
.stats-bar.is-claims .num {
  font-size: 1.14rem;
  line-height: 1.25;
}
.stats-bar.is-claims .lbl { margin-top: 8px; }
@media (max-width: 780px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Além do náutico — nota multi-vertical, deliberadamente curta
   ========================================================================== */
.vertical-section {
  background: var(--navy);
  padding: 0 0 96px;
}
.vertical-strip {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px dashed rgba(237, 235, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 26px;
  max-width: 920px;
}
.vertical-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 2px;
}
.vertical-strip h3 { font-size: 1.02rem; color: var(--white); }
.vertical-strip p {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted-on-dark);
  max-width: 70ch;
}
.vertical-strip a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.vertical-strip a:hover { color: var(--violet); }
@media (max-width: 640px) { .vertical-strip { flex-direction: column; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final {
  background: var(--violet);
  padding: 90px 0;
  text-align: center;
}
.cta-final h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-final p {
  color: rgba(255,255,255,0.85);
  max-width: 52ch;
  margin: 18px auto 34px;
  font-size: 1.06rem;
}
.cta-final .hero-ctas { justify-content: center; margin-top: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-line);
  padding: 48px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer-brand svg { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--muted-on-dark); flex-wrap: wrap; }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social a { color: var(--muted-on-dark); display: inline-flex; transition: color 0.15s ease; }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted-on-dark);
  letter-spacing: 0.02em;
}
.footer-bottom strong { color: var(--white); font-weight: 500; }

/* ==========================================================================
   Página interna — Como funciona
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + 66px);
  padding-bottom: 64px;
  background: var(--navy);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 16px; max-width: 20ch; }
.page-hero p { margin-top: 18px; color: var(--muted-on-dark); font-size: 1.08rem; max-width: 56ch; }

.feature-row {
  padding: 84px 0;
  background: var(--navy);
}
.feature-row.alt { background: var(--navy-raised); }
.feature-row .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* Visual order alternates via markup order, not CSS tricks — see HTML. */

.feature-text .step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--violet);
  letter-spacing: 0.08em;
}
.feature-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 14px;
}
.feature-text p {
  color: var(--muted-on-dark);
  margin-top: 16px;
  font-size: 1.03rem;
  max-width: 48ch;
}
.feature-text ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-text li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--muted-on-dark);
}
.feature-text li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }

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

/* mini calendar mock */
.mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.mini-cal span {
  aspect-ratio: 1;
  border-radius: 7px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-line);
}
.mini-cal span.blocked { background: rgba(240,82,107,0.14); border-color: rgba(240,82,107,0.3); }
.mini-cal span.booked { background: var(--violet); border-color: var(--violet); }
.mini-cal-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 0.76rem; color: var(--muted-on-dark); }
.mini-cal-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 6px; }

.tag-inline {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-soft);
  padding: 4px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ==========================================================================
   Planos — resumo na home
   ========================================================================== */
.plan-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-dim);
}
.plan-flag {
  position: absolute;
  top: -12px;
  left: 26px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--violet);
  padding: 5px 12px;
  border-radius: 999px;
}

.plans-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.teaser-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.teaser-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91,78,245,0.35);
  box-shadow: 0 24px 48px -24px rgba(18,21,42,0.18);
}
.teaser-card.is-featured { border-color: var(--violet); }
.teaser-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  margin-top: 6px;
}
.teaser-price small,
.plan-price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted-on-light);
}
.teaser-line { font-size: 0.92rem; color: var(--muted-on-light); margin-top: 2px; }
.plans-teaser-cta { margin-top: 34px; }
@media (max-width: 860px) {
  .plans-teaser { grid-template-columns: 1fr; }
  .teaser-card.is-featured { margin-top: 6px; }
}

/* ==========================================================================
   Página de planos — cards de preço
   ========================================================================== */
.pricing-section {
  background: var(--navy);
  padding-bottom: 96px;
}
.trial-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--status-ok);
  border: 1px solid rgba(47,190,143,0.35);
  background: rgba(47,190,143,0.08);
  padding: 9px 16px;
  border-radius: 999px;
  margin-bottom: 38px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--navy-raised);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
}
.plan-card .plan-name { color: var(--violet); }
.plan-card.is-featured {
  border-color: rgba(91,78,245,0.65);
  box-shadow: 0 30px 70px -30px rgba(91,78,245,0.45);
}
.plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--white);
  margin-top: 12px;
}
.plan-price small { color: var(--muted-on-dark); }
.plan-from {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted-on-dark);
  margin-bottom: 2px;
}
/* §11: o segundo preço (anual) com a economia explícita */
.plan-annual {
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted-on-dark);
}
.plan-annual strong { color: #7FE0BF; font-weight: 600; }
.plan-desc {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--muted-on-dark);
}
.plan-specs {
  margin-top: 22px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
}
.plan-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--navy-line);
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}
.plan-specs li strong { color: var(--white); font-weight: 600; text-align: right; }
.plan-card .btn { margin-top: auto; }
.plans-note {
  margin-top: 28px;
  font-size: 0.94rem;
  color: var(--muted-on-dark);
  max-width: 62ch;
}
.plans-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.plans-note a:hover { color: var(--violet); }
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* ==========================================================================
   Página de planos — incluso em todos
   ========================================================================== */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.included-card {
  background: var(--white);
  border: 1px solid var(--lilac-line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.included-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.included-card ul { display: flex; flex-direction: column; gap: 9px; }
.included-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--muted-on-light);
}
.included-card li::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%235B4EF5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='17'/%3E%3Cpath d='M17 24 L22 29 L31 19'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 980px) { .included-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .included-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Página de planos — formulário de teste grátis
   ========================================================================== */
.lead-form-section {
  background: var(--navy);
  padding: 96px 0;
}
.lead-form-wrap { max-width: 720px; }
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.88rem; font-weight: 500; color: var(--white); }
.form-field label small { color: var(--muted-on-dark); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-line);
  border-radius: 10px;
  padding: 13px 14px;
  width: 100%;
  color-scheme: dark;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(237,235,255,0.35); }
/* Dropdown nativo do select: cores EXPLÍCITAS nas opções. Sem isto o popup
   usa fundo claro (Chrome/Windows, Firefox) e o texto herda o branco do
   tema escuro — opção invisível. Forçamos claro+escuro juntos para valer
   igual nos dois temas de popup. O picker do Safari iOS é nativo e ignora
   estes estilos (sempre legível por conta do sistema). */
.form-field select option,
.form-field select optgroup {
  color: var(--ink);
  background-color: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--violet); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-actions .btn[disabled] { opacity: 0.55; cursor: default; transform: none; }
.form-actions small { font-size: 0.8rem; color: var(--muted-on-dark); }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status.is-ok {
  display: block;
  background: rgba(47,190,143,0.1);
  border: 1px solid rgba(47,190,143,0.4);
  color: #7FE0BF;
}
.form-status.is-error {
  display: block;
  background: rgba(240,82,107,0.1);
  border: 1px solid rgba(240,82,107,0.4);
  color: #F58CA0;
}

/* Honeypot: fora da tela para humanos, presente no DOM para bots */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .lead-form { grid-template-columns: 1fr; }
  .lead-form-section { padding: 76px 0; }
}


/* ---- Plano: acordeão "ver tudo que está incluso" ---- */
.plan-more{
  margin: 0 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: .85rem;
}
.plan-card:not(.is-featured) .plan-more{
  border-top-color: rgba(18,21,42,.12);
}
.plan-more > summary{
  display:flex; align-items:center; justify-content:space-between;
  gap:.5rem; cursor:pointer; list-style:none;
  font-size:.9rem; font-weight:600; letter-spacing:.01em;
  padding:.15rem 0;
}
.plan-more > summary::-webkit-details-marker{ display:none; }
.plan-more > summary:focus-visible{
  outline:2px solid #5B4EF5; outline-offset:3px; border-radius:4px;
}
.plan-more-icon{
  position:relative; width:16px; height:16px; flex:0 0 16px;
}
.plan-more-icon::before,
.plan-more-icon::after{
  content:""; position:absolute; inset:0; margin:auto;
  background:currentColor; border-radius:2px;
  transition:transform .22s ease, opacity .22s ease;
}
.plan-more-icon::before{ width:100%; height:2px; }
.plan-more-icon::after{ width:2px; height:100%; }
.plan-more[open] .plan-more-icon::after{ transform:rotate(90deg); opacity:0; }
.plan-more-note{
  margin:.7rem 0 .5rem; font-size:.78rem; opacity:.62;
  text-transform:uppercase; letter-spacing:.06em;
}
.plan-more-list{
  list-style:none; margin:0 0 .85rem; padding:0;
  display:grid; gap:.42rem;
}
.plan-more-list li{
  position:relative; padding-left:1.3rem;
  font-size:.86rem; line-height:1.45; opacity:.88;
}
.plan-more-list li::before{
  content:""; position:absolute; left:0; top:.48em;
  width:.6rem; height:.32rem;
  border-left:2px solid #5B4EF5; border-bottom:2px solid #5B4EF5;
  transform:rotate(-45deg);
}
.plan-more-link{
  display:inline-block; font-size:.84rem; font-weight:600;
  text-decoration:none; border-bottom:1px solid currentColor;
  padding-bottom:1px;
}
@media (prefers-reduced-motion: reduce){
  .plan-more-icon::before,.plan-more-icon::after{ transition:none; }
}

.plan-more-list li strong{ font-weight:650; opacity:1; }
.plan-more-list li{ opacity:.9; }