/* ======================================================
   SinerPsi — Landing Page
   Paleta baseada na logo: navy profundo + teal
   ====================================================== */

:root {
  --navy-900: #0f1b38;
  --navy-800: #16274a;
  --navy-700: #1c3059;
  --navy-600: #253f70;
  --teal-600: #1b9e94;
  --teal-500: #24b3a8;
  --teal-400: #4fc9bd;
  --teal-100: #e3f7f5;
  --lime-soft: #d7f4ef;
  --ink: #16274a;
  --muted: #5b6b8c;
  --line: #e4e8f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(15, 27, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 27, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 56, 0.16);

  --font-head: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

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

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

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--teal-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
}
.btn--ghost:hover { color: var(--teal-600); }

.btn--outline {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--outline:hover { background: var(--navy-900); color: var(--white); }

.btn--outline-invert {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn--outline-invert:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 76px;
  gap: 4px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  /* flex:0 0 auto + justify-content:flex-start (2026-08) — CAUSA REAL do
     logo "flutuando" à direita mesmo depois de recortar a imagem: CSS/
     template.css (carregado em toda página via sinerpsi_head, inclusive
     aqui) tem ".brand{flex:1;justify-content:center;}" pra centralizar a
     logo da sidebar do admin. Landpage reaproveita o mesmo nome de classe
     ".brand" pro logo da navbar, então essa regra vazava pra cá também:
     a caixa esticava pra 470px+ e a imagem ficava centralizada dentro
     dela, sobrando ~160px de espaço vazio à esquerda sempre, não importa
     quão justo o recorte da imagem fosse. */
  flex: 0 0 auto;
  justify-content: flex-start;
}
/* margin-right:auto só na navbar (2026-08) — empurra o restante do menu
   pra direita; no rodapé (.brand--footer) isso grudava a logo na esquerda
   em vez de centralizar com o texto de direitos abaixo (pedido da Miriam:
   "ainda não foi"). */
.navbar__inner .brand { margin-right: auto; }
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy-800), var(--teal-500));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-head); font-size: 18px; color: var(--navy-900); letter-spacing: .2px; }
.brand__text strong em { font-style: normal; color: var(--teal-600); }
.brand__text small { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .3px; }

/* Logo em imagem (2026-08, pedido da Miriam) — troca o brand__mark/
   brand__text de texto pela arte de public/uploads/logos/LOGO-3.png
   (ícone + "SINERPSI" + tagline lado a lado). object-fit:contain evita
   distorcer a proporção. */
.brand__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-700);
  position: relative;
  /* Padding horizontal igual ao dos botões (2026-08, pedido da Miriam: "o
     espaçamento entre todos os itens do menu devem ser o mesmo") — os
     botões (Entrar/Contratar/Testar grátis, .btn--sm) têm 18px de padding
     horizontal embutido na própria pílula, então o respiro visual
     TEXTO-A-TEXTO entre eles soma padding+gap. Sem esse mesmo padding
     aqui, o espaço entre "Início"/"Recursos" (só gap, texto colado)
     ficava visivelmente menor que o espaço entre os botões. */
  padding: 6px 18px;
  transition: color .15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: -4px;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-link:hover { color: var(--teal-600); }
.nav-link.active { color: var(--teal-600); }
.nav-link.active::after { transform: scaleX(1); }

.navbar__cta { display: flex; align-items: center; gap: 4px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, var(--teal-100) 0%, #ffffff 55%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.pill--center { display: block; width: fit-content; margin: 0 auto 14px; }

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 500; }

/* App window mockup */
.app-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transform: rotate(0.4deg);
}

/* Foto real do consultório no hero (2026-08, pedido da Miriam) — troca do
   mockup fictício de dashboard. */
.hero__preview-photo {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
@media (max-width: 980px) {
  .hero__preview-photo { height: 420px; }
}
.app-window__topbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.app-window__logo {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mini-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--navy-800), var(--teal-500));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.app-window__body { display: grid; grid-template-columns: 168px 1fr; min-height: 420px; }
.app-window__sidebar {
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-item {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-700);
  padding: 9px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.side-item--active { background: var(--teal-100); color: var(--teal-600); }
.side-item--muted { color: var(--muted); margin-top: auto; }
.tag-new {
  font-size: 9px;
  font-weight: 700;
  background: var(--teal-500);
  color: #fff;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: auto;
}
.app-window__content { padding: 18px; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.quick-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  font-size: 18px;
}
.quick-card span { font-size: 11px; }
.quick-card--highlight {
  background: var(--teal-100);
  border-color: var(--teal-400);
  color: var(--teal-600);
}
.today-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.today-panel__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; margin-bottom: 10px;
}
.today-panel__head strong { color: var(--navy-900); }
.today-panel__updated { font-size: 10.5px; color: var(--muted); }
.today-panel__tabs {
  display: flex; gap: 16px; font-size: 11.5px; font-weight: 600;
  color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 10px;
}
.today-panel__tabs .active { color: var(--teal-600); border-bottom: 2px solid var(--teal-500); padding-bottom: 8px; }
.today-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.today-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 4px; }
.today-table td { padding: 8px 4px; border-top: 1px solid var(--line); color: var(--navy-800); }
.today-table select {
  font-size: 10.5px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 100%;
}
.mini-btn {
  border: 1px solid var(--teal-500);
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
}

/* ---------- Strip ---------- */
.strip { padding: 26px 0; border-bottom: 1px solid var(--line); }
.strip__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.strip__inner > span:first-child { font-size: 13px; color: var(--muted); font-weight: 600; }
.strip__logos { display: flex; gap: 28px; flex-wrap: wrap; }
.strip__logos span { font-family: var(--font-head); font-weight: 700; color: var(--navy-600); opacity: .55; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--light { background: var(--bg-soft); }
.section__title {
  font-size: 34px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 12px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.section__subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 52px;
}

.section--tight { padding-bottom: 20px; }

/* ---------- Feature blocks (imagem/texto alternados) ---------- */
.feature-block { padding: 64px 0; background: var(--white); }
.feature-block--soft { background: var(--bg-soft); }
.feature-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.feature-block__preview { position: relative; order: 1; }
.feature-block__copy { order: 2; }
.feature-block--reverse .feature-block__preview { order: 2; }
.feature-block--reverse .feature-block__copy { order: 1; }

.feature-visual {
  position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual--doc,
.feature-visual--video,
.feature-visual--chat,
.feature-visual--chart {
  background: linear-gradient(150deg, var(--teal-600), var(--navy-800));
}
.feature-visual--lock { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); }

/* Foto real da teleconsulta (2026-08, pedido da Miriam: "ficou com um
   fundo verde não precisa e aumente a imagem") — sem o quadro em gradiente
   (.feature-visual--video), maior, mesmo tratamento da foto do hero. */
.feature-block__photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: block;
}
@media (max-width: 980px) {
  .feature-block__photo { height: 320px; }
}

.feature-visual__mock {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
}
.feature-visual__mock--wide { max-width: 420px; }
.feature-visual__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  color: var(--navy-900);
}
.feature-visual__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-row { height: 30px; border-radius: 8px; background: var(--bg-soft); }
.mock-row--busy { background: var(--teal-100); border: 1px solid var(--teal-400); }

.sticky-note {
  position: absolute;
  background: var(--teal-400);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}
.sticky-note--1 { top: 6%; left: 4%; background: #ffd88a; transform: rotate(-6deg); }
.sticky-note--2 { top: 10%; right: 2%; background: var(--teal-400); transform: rotate(5deg); }
.sticky-note--3 { bottom: 10%; left: 0%; background: #ff9d9d; transform: rotate(-4deg); }
.sticky-note--4 { bottom: 6%; right: 4%; background: var(--teal-100); color: var(--teal-600); transform: rotate(4deg); }

/* Prontuário (documento) */
.feature-visual__body--doc { padding: 20px; gap: 12px; }
.doc-line { height: 10px; border-radius: 5px; background: var(--bg-soft); width: 100%; }
.doc-line--title { height: 14px; width: 60%; background: var(--teal-200, var(--teal-100)); }
.doc-line--short { width: 70%; }
.doc-signature {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 8px 10px;
  border-radius: 8px;
  width: fit-content;
}

/* Telepsicologia (video call) */
.video-mock {
  background: var(--navy-900);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  padding: 18px;
  position: relative;
  min-height: 260px;
}
.video-mock__cam {
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 34px;
  color: #fff;
}
.video-mock__cam span { font-size: 12px; font-weight: 700; }
.video-mock__cam--main {
  background: linear-gradient(150deg, var(--teal-600), var(--navy-700));
  height: 210px;
}
.video-mock__cam--pip {
  position: absolute;
  top: 30px; right: 30px;
  width: 90px; height: 70px;
  background: var(--navy-700);
  border: 2px solid rgba(255,255,255,.25);
  font-size: 20px;
}
.video-mock__cam--pip span { font-size: 9px; }
.video-mock__bar {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
}
.video-mock__bar span {
  background: rgba(255,255,255,.1);
  padding: 8px 12px;
  border-radius: 10px;
}
.video-mock__end { background: #e5484d !important; font-size: 11px !important; font-weight: 700; color: #fff; }

/* Reativação por IA (chat) */
.chat-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-mock__head {
  font-size: 13px; font-weight: 700; color: var(--navy-900);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.chat-mock__bubble {
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  line-height: 1.4;
}
.chat-mock__bubble--ai {
  background: var(--teal-100);
  color: var(--navy-900);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-mock__bubble--user {
  background: var(--navy-900);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Financeiro (gráfico) */
.chart-mock {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 130px;
  padding: 20px 20px 0;
}
.chart-mock__bar {
  flex: 1;
  height: var(--h);
  background: var(--teal-200, var(--teal-100));
  border-radius: 6px 6px 0 0;
}
.chart-mock__bar--peak { background: var(--teal-500); }
.chart-mock__legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 18px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.chart-mock__total { color: var(--teal-600); font-weight: 800; }

/* Segurança (cadeado) */
.lock-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 340px;
  padding: 34px;
  text-align: center;
}
.lock-mock__icon {
  font-size: 40px;
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  background: var(--teal-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lock-mock__lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.lock-mock__lines .doc-line--short { margin: 0 auto; }
.lock-mock__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-block;
}

.feature-block__copy h2 { font-size: 32px; margin: 14px 0 22px; }
.feature-block__copy h2 strong { color: var(--teal-600); font-weight: 700; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }

/* Selo "Validado por securityheaders.com" (2026-08, pedido da Miriam) —
   bloco Segurança da landpage. */
.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin: -16px 0 22px;
}
.security-badge svg { color: var(--teal-600); flex-shrink: 0; }
.security-badge a { color: var(--teal-600); font-weight: 600; text-decoration: underline; }
.security-badge a:hover { color: var(--teal-500); }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--navy-800);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -1px;
  width: 20px; height: 20px;
  background: var(--teal-500);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
}
.stat-card__icon { font-size: 30px; margin-bottom: 18px; }
.stat-card p { font-size: 18px; font-weight: 600; color: var(--navy-900); }
.stat-card mark {
  background: var(--teal-100);
  color: var(--teal-600);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
}

/* ---------- Plans ---------- */
.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.billing-toggle__btn {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.billing-toggle__btn.active { background: var(--navy-900); color: #fff; }
.badge-discount {
  background: var(--teal-500);
  color: #fff;
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
}

.promo-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--teal-600));
  border-radius: var(--radius-xl);
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  color: #fff;
}
.promo-banner__badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  height: fit-content;
}
.promo-banner__price span { font-size: 13px; opacity: .8; font-weight: 600; }
.promo-banner__price p { font-size: 15px; max-width: 320px; margin: 8px 0 16px; opacity: .92; }
.promo-banner__value { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.promo-banner__value s { opacity: .6; font-size: 15px; }
.promo-banner__value strong { font-size: 34px; font-family: var(--font-head); }
.promo-banner__value strong small { font-size: 15px; font-weight: 500; }
.promo-banner__note { font-size: 11.5px; opacity: .7; display: block; margin-bottom: 16px; }
.promo-banner__list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 500; }
.promo-banner__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.promo-banner .btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.promo-banner .btn--outline:hover { background: rgba(255,255,255,.15); }
.promo-banner__link { font-size: 12.5px; text-decoration: underline; opacity: .85; }

/* Seção #planos mais compacta (2026-08, pedido da Miriam: "diminua essa
   região de planos está tudo muito grande") — só aqui, não mexe no padding
   genérico de .section (usado em todas as outras seções da landpage). */
#planos { padding: 56px 0; }
#planos .billing-toggle { margin-bottom: 28px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  /* align-items:stretch (2026-08, pedido da Miriam: "as caixas de planos
     ficarem do mesmo tamanho") — era "start", que deixa cada card com a
     altura do próprio conteúdo (Essencial tem menos itens na lista que
     Pro/Premium, então ficava visivelmente mais baixo). stretch faz as 3
     colunas da grid terem a mesma altura (a da mais alta), e .plan-card
     abaixo (height:100% + flex column) preenche essa altura por inteiro. */
  align-items: stretch;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* Empurra o botão "Assinar"/CTA pro rodapé do card (2026-08, mesmo pedido
   acima) — sem isso, com os cards já do mesmo tamanho, um plano com menos
   itens na lista deixava o botão "flutuando" no meio do card em vez de
   alinhado com os outros dois lá embaixo. Reaproveitado só se existir esse
   elemento no card (ver Views/landpage.php) — não quebra nada se não
   existir. */
.plan-card > a:last-child,
.plan-card > button:last-child {
  margin-top: auto;
}
.plan-card--highlight {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.plan-card__badge {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--teal-500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.plan-card__tag { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.plan-card h3 { font-size: 18px; margin: 4px 0 4px; }
.plan-card__desc { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* Total anual + desconto riscado (2026-08, pedido da Miriam: "entre o nome
   do plano e o valor coloque valor total quando aba for anual e depois
   desconto de valor riscado") — escondido por padrão, só aparece com o
   toggle "Anual" ativo (landpage.js liga/desliga a classe .billing-anual no
   .plans-grid). O valor riscado é o total SEM desconto (mensal avulso × 12,
   pra mostrar visualmente quanto economiza), o outro é o total real do
   plano anual. */
.plan-card__anual-badge {
  display: none;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.plans-grid.billing-anual .plan-card__anual-badge { display: flex; }
.plan-card__valor-riscado {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.plan-card__valor-anual-total {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal-500);
}

.plan-card__price {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.plan-card__price span { transition: opacity .15s ease; }
.plan-card ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.plan-card ul li {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--navy-800);
  padding-left: 20px;
  position: relative;
}
.plan-card ul li::before {
  content: "✓";
  position: absolute; left: 0; color: var(--teal-500); font-weight: 800;
}
/* Itens "a mais" do plano (2026-08, pedido da Miriam: "em vez de tag novo,
   deixe os itens a mais dos planos em destaque verde") — troca a badge
   "Novo" por texto+check verde/negrito na própria linha, marcado na matriz
   de admin (planos_recursos.destaque, ver Plano::listarVitrine()). */
.plan-card ul li.li-destaque {
  color: var(--teal-500);
  font-weight: 700;
}
.plan-card ul li.li-destaque::before {
  color: var(--teal-500);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  padding: 90px 0;
}
.cta__inner { text-align: center; color: #fff; }
.cta h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 30px; }
.cta .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); padding: 40px 0; }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.brand--footer .brand__mark { background: rgba(255,255,255,.1); }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.55); }
/* logo-branco-2.png (2026-08, pedido da Miriam) — versão empilhada
   (ícone em cima, "SINERPSI" embaixo), diferente da horizontal usada na
   navbar, por isso uma altura maior aqui pra manter o texto legível. */
.brand__logo--footer { height: 84px; }
.footer p { color: rgba(255,255,255,.45); font-size: 12.5px; max-width: 520px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .feature-block__grid { grid-template-columns: 1fr; }
  .feature-block__preview, .feature-block--reverse .feature-block__preview { order: 2; }
  .feature-block__copy, .feature-block--reverse .feature-block__copy { order: 1; }
  .stats-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--highlight { transform: none; }
  .promo-banner { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 760px) {
  .nav-links, .navbar__cta { display: none; }
  .menu-toggle { display: flex; }
  .navbar.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .navbar.open .navbar__cta {
    display: flex;
    position: absolute;
    top: calc(76px + 210px);
    left: 0; right: 0;
    background: #fff;
    padding: 0 24px 20px;
    flex-direction: column;
  }
  .hero h1 { font-size: 32px; }
  .feature-block { padding: 44px 0; }
  .section { padding: 64px 0; }
  .app-window__body { grid-template-columns: 1fr; }
  .app-window__sidebar { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Modal "Contratar" (navbar) ---------- */
/* 2026-08, pedido da Miriam: botão "Contratar" da navbar passou a abrir
   este modal com 2 caminhos (teste grátis / escolher um plano) em vez de
   ir direto pra /contratar. Autocontido (landpage não carrega template.css,
   então não reaproveita .modal-overlay/.modal-card do painel admin/tenant). */
.contratar-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 27, 56, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.contratar-modal-overlay.active { opacity: 1; pointer-events: auto; }

.contratar-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.contratar-modal-overlay.active .contratar-modal { transform: translateY(0) scale(1); opacity: 1; }

.contratar-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: none;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.contratar-modal__close:hover { background: var(--line); }

.contratar-modal h3 { font-size: 20px; margin-bottom: 6px; }
.contratar-modal__step > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

.contratar-modal__opcoes { display: flex; flex-direction: column; gap: 12px; }
.contratar-modal__opcao {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding: 16px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color .15s ease, background .15s ease;
}
.contratar-modal__opcao strong { font-family: var(--font-head); color: var(--navy-900); font-size: 15.5px; }
.contratar-modal__opcao span { color: var(--muted); font-size: 13px; }
.contratar-modal__opcao:hover { border-color: var(--teal-500); background: var(--teal-100); }

.contratar-modal__voltar {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
}
.contratar-modal__voltar:hover { color: var(--teal-600); }

.contratar-modal__planos { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; }
.contratar-modal__plano {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.contratar-modal__plano-nome { font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 14.5px; }
.contratar-modal__plano-valor { color: var(--teal-600); font-weight: 700; font-size: 14px; white-space: nowrap; }
.contratar-modal__plano:hover { border-color: var(--teal-500); background: var(--teal-100); }

/* ---------- Animações ao rolar (reveal) ---------- */
/* 2026-08, pedido da Miriam: "conforme vai descendo a tela as coisas vão
   se mexendo aparecendo" — classe .reveal aplicada via JS (landpage.js)
   nos blocos principais; .reveal--visible é ligada pelo IntersectionObserver
   assim que o elemento entra na tela. --reveal-delay (também setado via
   JS) cria o efeito de cascata em grupos lado a lado, como os cards de
   plano e os lados de cada feature-block. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
/* feature-block__preview entra do lado oposto do texto, reforça o
   movimento em vez de só repetir o mesmo "sobe e aparece" de tudo. */
.feature-block__preview.reveal { transform: translateY(28px) scale(.97); }
.feature-block--reverse .feature-block__preview.reveal { transform: translateY(28px) scale(.97); }
.feature-block__preview.reveal--visible { transform: translateY(0) scale(1); }

/* ---------- Animação de entrada ao abrir a página ---------- */
/* 2026-08, pedido da Miriam: "queria algum movimento ao abrir a página" —
   diferente do .reveal (que só dispara quando o elemento entra na tela ao
   rolar), isso aqui é só pro que já aparece na primeira dobra (navbar +
   hero), então roda sozinho com CSS puro assim que a página carrega, sem
   precisar de JS/IntersectionObserver. Cada elemento sobe e aparece em
   sequência (delay crescente) pra dar a sensação de "montagem" da tela.
   Embrulhado em prefers-reduced-motion:no-preference (em vez da forma
   inversa, com uma regra a mais desligando animação) — quem pediu menos
   movimento no sistema simplesmente nunca recebe animação nenhuma aqui,
   os elementos já nascem no estado final (opacidade 1). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .navbar { animation: heroFadeUp .6s ease both; }
  .hero__copy h1 { animation: heroFadeUp .7s ease .08s both; }
  .hero__copy .hero__desc { animation: heroFadeUp .7s ease .18s both; }
  .hero__copy .hero__actions { animation: heroFadeUp .7s ease .28s both; }
  .hero__copy .hero__trust { animation: heroFadeUp .7s ease .38s both; }
  .hero__preview-photo { animation: heroFadeUp .8s ease .22s both; }
}
