/* Página Como funciona — Longe de Casa Psi (Fase 3H.1) — Conceito A */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-warm: #FFF8E6;
  --text: #404B56;
  --text-muted: #5A6370;
  --magenta: #CC2F68;
  --magenta-dark: #A3194A;
  --indigo: #2A187F;
  --indigo-dark: #1E1160;
  --indigo-light: #EFEDF8;
  --border: #E8E3F2;
  --border-dark: #CFC8E6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.page-como-funciona-custom {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 320px;
}

.page-como-funciona-custom p,
.page-como-funciona-custom li,
.page-como-funciona-custom span,
.page-como-funciona-custom h1,
.page-como-funciona-custom h2,
.page-como-funciona-custom h3,
.page-como-funciona-custom h4 { text-align: left; }
.page-como-funciona-custom [id] { scroll-margin-top: 90px; }

.page-como-funciona-custom :focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

.como-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cabeçalho */
.como-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.como-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.como-brand-link { display: flex; flex-direction: column; text-decoration: none; }
.como-brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.como-brand-tag { font-size: 12px; color: var(--magenta-dark); font-weight: 600; letter-spacing: 0.02em; }

.como-nav-desktop { display: flex; align-items: center; gap: 28px; }
.como-nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.como-nav-desktop a:hover,
.como-nav-desktop a.active { color: var(--text); font-weight: 600; }
.page-como-funciona-custom a.como-header-btn {
  background: var(--magenta);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.page-como-funciona-custom a.como-header-btn:hover { background: var(--magenta-dark); color: #fff; }

.como-mobile-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}
.como-mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: 16px 20px 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
  z-index: 101;
}
.como-mobile-drawer.is-active { display: block; }
.como-mobile-links { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.como-mobile-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid var(--surface-warm);
  display: block;
}
.como-mobile-drawer a.como-header-btn { margin-top: 14px; width: 100%; text-align: center; padding: 13px 20px; }

/* Hero */
.como-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, rgba(239, 237, 248, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--border);
}
.como-hero-content { max-width: 760px; }
.como-eyebrow {
  display: inline-block;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.como-hero h1 {
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.como-hero-lead { font-size: 18.5px; line-height: 1.6; color: var(--text-muted); max-width: 640px; }

/* Seções em duas colunas: título à esquerda, conteúdo à direita */
.como-section { padding: 72px 0; }
.como-section-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.como-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}
.como-split-head h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.como-split-head p { color: var(--text-muted); font-size: 16.5px; max-width: 420px; }

/* Linha do tempo */
.como-timeline { list-style: none; position: relative; }
.como-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--indigo) 0%, rgba(42, 24, 127, 0.25) 100%);
}
.como-step { position: relative; display: flex; gap: 24px; padding-bottom: 36px; }
.como-step:last-child { padding-bottom: 0; }
.como-step-num {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--indigo);
  color: var(--indigo);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.como-step-body { padding-top: 6px; }
.como-step-body h3 { font-family: var(--font-sans); font-size: 19px; font-weight: 700; margin-bottom: 4px; line-height: 1.35; }
.como-step-body p { color: var(--text-muted); font-size: 16.5px; max-width: 520px; }

/* Painel Google Meet */
.como-panel {
  background: var(--surface);
  border: 1px solid #CFC9E8;
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius-md);
  padding: 30px 32px;
}
.como-panel h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--indigo-dark); margin-bottom: 10px; line-height: 1.25; }
.como-panel p { color: var(--text-muted); font-size: 16.5px; }

/* Prosa */
.como-prose { max-width: 620px; }
.como-prose p { color: var(--text-muted); font-size: 17px; margin-bottom: 16px; }
.como-prose p:last-child { margin-bottom: 0; }
.como-prose .como-lead-serif {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 20px;
}
.como-text-link {
  color: var(--magenta-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.como-text-link:hover { color: var(--indigo-dark); }

/* CTA final */
.como-cta { padding: 72px 0; background: var(--indigo-dark); color: #fff; }
.como-cta-inner { max-width: 720px; }
.como-cta h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 14px;
}
.como-cta p { color: #DDD8F0; font-size: 17.5px; margin-bottom: 28px; }
.como-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.como-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.page-como-funciona-custom .como-btn-magenta { background: var(--magenta); color: #fff; }
.page-como-funciona-custom .como-btn-magenta:hover { background: var(--magenta-dark); color: #fff; }
.page-como-funciona-custom .como-btn-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.page-como-funciona-custom .como-btn-light:hover { background: rgba(255,255,255,0.12); color: #fff; }
.page-como-funciona-custom .como-cta :focus-visible { outline-color: #fff; }

/* Rodapé */
.como-footer { background: #1E1160; color: #ECE9F5; padding: 60px 0 32px; }
.como-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.como-footer-brand h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.como-footer-brand p { color: #B8B4CC; font-size: 14.5px; line-height: 1.6; max-width: 380px; }
.como-footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #FF8FB5; margin-bottom: 16px; }
.como-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.como-footer-col a { color: #D6D1E8; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.como-footer-col a:hover { color: #fff; }
.como-footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #A9A5BD;
}
.como-footer-note { display: flex; align-items: center; gap: 8px; }

/* Responsivo */
@media (max-width: 992px) {
  .como-nav-desktop { display: none; }
  .como-mobile-btn { display: inline-block; }
  .como-split { grid-template-columns: 1fr; gap: 32px; }
  .como-split-head p { max-width: 560px; }
  .como-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .como-hero { padding: 44px 0 36px; }
  .como-hero h1 { font-size: 34px; }
  .como-hero-lead { font-size: 17px; }
  .como-section { padding: 52px 0; }
  .como-split-head h2 { font-size: 29px; }
  .como-cta { padding: 56px 0; }
  .como-cta h2 { font-size: 30px; }
  .como-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
  .como-container { padding: 0 18px; }
  .como-hero h1 { font-size: 30px; }
  .como-step { gap: 16px; }
  .como-step-num { flex-basis: 48px; width: 48px; height: 48px; font-size: 24px; }
  .como-timeline::before { left: 23px; }
  .como-panel { padding: 24px 20px; }
  .como-prose .como-lead-serif { font-size: 22px; }
  .como-cta-actions { flex-direction: column; }
  .como-btn { width: 100%; }
}

