/* Psi Space — vitrine (index.php). Depende de tokens.css + psispace.css.
   Identidade do manual da marca: azul-marinho, destaques em teal, títulos em Poppins.
   Mobile primeiro: tudo é pensado para 360–430px e cresce a partir daí. */

body.vitrine {
  --navy: #0B1D30;
  --navy-2: #13304A;
  --navy-line: rgba(255, 255, 255, .12);
  --on-navy: #F2F7FA;
  --on-navy-2: #A9BCCB;
  --teal: #2DD4BF;
  --teal-ink: #062A27;
  --mint: #A7F3E4;
  --violet: #B7A8FF;

  --bg: #F4F8FA;
  --surface: #FFFFFF;
  --surface-2: #EAF1F4;
  --ink: #0B1D30;
  --ink-2: #4B5E6E;
  --line: #DCE5EA;
  --brand: #0D7A70;
  --brand-ink: #FFFFFF;
  --brand-soft: #DDF3EF;
  --font-display: "Poppins", "Hanken Grotesk", system-ui, sans-serif;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 29, 48, .05), 0 12px 32px rgba(11, 29, 48, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.vitrine {
    --bg: #08151F; --surface: #0F2233; --surface-2: #132A3E; --ink: #EAF2F6; --ink-2: #9FB3C2;
    --line: #1F3A50; --brand: #2DD4BF; --brand-ink: #062A27; --brand-soft: #123A3A;
    --navy: #0B1D30; --navy-2: #13304A;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] body.vitrine {
  --bg: #08151F; --surface: #0F2233; --surface-2: #132A3E; --ink: #EAF2F6; --ink-2: #9FB3C2;
  --line: #1F3A50; --brand: #2DD4BF; --brand-ink: #062A27; --brand-soft: #123A3A;
  --navy: #0B1D30; --navy-2: #13304A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
}

body.vitrine { overflow-x: hidden; }
.vitrine h1, .vitrine h2, .vitrine h3 { font-family: var(--font-display); letter-spacing: -.02em; }
.vitrine h1 { font-weight: 700; }
.vitrine h2 { font-weight: 700; font-size: clamp(1.65rem, 6vw, 2.6rem); line-height: 1.15; }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-teal { background: var(--teal); color: var(--teal-ink); }
.btn-teal:hover { background: var(--mint); }
.btn-line-light { background: transparent; color: var(--on-navy); border-color: var(--navy-line); }
.btn-line-light:hover { border-color: var(--on-navy-2); }

/* ---------- Cabeçalho sobre o azul ---------- */
.vitrine .site-header { background: color-mix(in srgb, var(--navy) 92%, transparent); border-bottom-color: var(--navy-line); color: var(--on-navy); }
.vitrine .site-header .brand, .vitrine .site-header .icon-btn { color: var(--on-navy); }
.vitrine .site-header .icon-btn { border-color: var(--navy-line); }
.vitrine .site-header .brand-mark { background: var(--teal); color: var(--teal-ink); }
.vitrine .site-header .brand-name { font-family: var(--font-display); font-weight: 600; }
.vitrine .site-nav a { color: var(--on-navy-2); }
.vitrine .site-nav a:hover { color: var(--on-navy); }
.vitrine .header-actions .btn-ghost { color: var(--on-navy); border-color: var(--navy-line); }
.vitrine .header-actions .btn-primary { background: var(--teal); color: var(--teal-ink); }
.vitrine .mobile-nav { background: var(--navy); border-top-color: var(--navy-line); padding-bottom: 20px; }
.vitrine .mobile-nav a { color: var(--on-navy); border-bottom-color: var(--navy-line); font-size: 1.1rem; padding: 16px 0; }
.vitrine .mobile-nav .btn-primary { background: var(--teal); color: var(--teal-ink); min-height: 54px; font-size: 1.05rem; }
body.menu-open { overflow: hidden; }
.vitrine .mobile-nav.open { max-height: calc(100dvh - 68px); overflow-y: auto; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(45, 212, 191, .22), transparent 70%),
    radial-gradient(50% 45% at 5% 95%, rgba(183, 168, 255, .16), transparent 70%),
    var(--navy);
  color: var(--on-navy); padding: 40px 0 0; overflow: hidden;
  border-radius: 0 0 32px 32px;
}
.hero-grid { display: grid; gap: 40px; }
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(2.15rem, 9.5vw, 4rem); line-height: 1.06; max-width: 15ch; }
.hero .lead { color: var(--on-navy-2); font-size: clamp(1.05rem, 4.2vw, 1.2rem); max-width: 46ch; }
.hero-cta { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.hero-cta .btn { width: 100%; }
.hero-note { color: var(--on-navy-2); font-size: .95rem; }
.hero-note i { color: var(--teal); margin-right: 4px; }
.trust { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--navy-line); border-radius: 999px; font-size: .88rem; color: var(--on-navy); background: rgba(255,255,255,.04); }
.trust i { color: var(--teal); }

@media (min-width: 560px) {
  .hero-cta { display: flex; flex-wrap: wrap; width: auto; }
  .hero-cta .btn { width: auto; }
}
@media (min-width: 1000px) {
  .hero { padding: 72px 0 0; border-radius: 0 0 48px 48px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; }
  .hero-copy { padding-bottom: 88px; }
}

/* telefone: o elemento de destaque da página */
.stage { position: relative; display: grid; justify-items: center; padding: 0 0 0; min-height: 440px; }
.phone {
  width: min(300px, 78vw); aspect-ratio: 300 / 600; background: #050E18; border-radius: 46px 46px 0 0;
  padding: 11px 11px 0; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 80px rgba(0,0,0,.45);
  position: relative; margin-bottom: -150px;
}
@media (min-width: 1000px) { .phone { margin-bottom: -110px; width: 320px; } }
.screen {
  height: 100%; border-radius: 36px 36px 0 0; overflow: hidden; background: #F4F8FA; color: #0B1D30;
  display: grid; grid-template-rows: auto auto 1fr; font-size: 13px;
}
.sb { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-weight: 600; font-size: 12px; }
.sb span:last-child { letter-spacing: 2px; }
.app-top { padding: 8px 18px 14px; display: grid; gap: 12px; }
.app-top h4 { margin: 0; font: 700 19px/1.2 var(--font-display); letter-spacing: -.01em; }
.app-top small { color: #4B5E6E; font-size: 12px; }
.app-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-kpis div { background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(11,29,48,.06); }
.app-kpis b { display: block; font: 700 15px/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.app-kpis span { color: #4B5E6E; font-size: 11px; }
.app-list { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 8px; align-content: start; }
.app-list li { background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; border-left: 4px solid #0D7A70; }
.app-list time { font-weight: 700; font-size: 12px; color: #4B5E6E; font-variant-numeric: tabular-nums; }
.app-list b { display: block; font-size: 13px; }
.app-list small { color: #4B5E6E; font-size: 11px; }
.app-list .miss { border-left-color: #D48A00; }
.app-list .next { border-left-color: #7C6CF0; }
.tag { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: #DDF3EF; color: #0D6B62; }
.tag-warn { background: #FFF1D6; color: #8A5A00; }
.tag-next { background: #ECE8FF; color: #5A48C8; }

/* avisos que flutuam ao lado do telefone */
.float {
  position: absolute; z-index: 2; background: #fff; color: #0B1D30; border-radius: 16px; padding: 12px 14px;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.28); font-size: 13px; max-width: 230px;
}
.float b { display: block; font-size: 13px; }
.float small { color: #4B5E6E; font-size: 12px; }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-a { top: 210px; left: max(0px, calc(50% - 205px)); }
.float-a .ic { background: #FFF1D6; color: #8A5A00; }
.float-b { top: 330px; right: max(0px, calc(50% - 205px)); }
.float-b .ic { background: #DDF3EF; color: #0D6B62; }
@media (max-width: 420px) { .float { max-width: 200px; padding: 10px 12px; } .float-a { left: 0; top: 190px; } .float-b { right: 0; top: 310px; } }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
  .float-a { animation-delay: .5s; } .float-b { animation-delay: 1.1s; }
  @keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
}

/* ---------- Seções ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-title { max-width: 20ch; margin-bottom: 12px; }
.section-sub { color: var(--ink-2); margin-bottom: 32px; font-size: 1.05rem; }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: end; justify-content: space-between; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }
.narrow { max-width: 820px; }

/* passos (sequência real) */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; }
.steps .n { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 1.1rem/1 var(--font-display); }
.steps h3 { font-size: 1.1rem; font-weight: 600; align-self: center; }
.steps p { color: var(--ink-2); font-size: .98rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } .steps li { grid-template-columns: 1fr; padding: 26px; gap: 12px; } .steps .n { grid-row: auto; } }

/* recursos em grade de tamanhos diferentes */
.bento { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: 1fr 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.card > i { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1rem; }
.card h3 { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card p { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.card-wide { grid-column: 1 / -1; padding: 22px; gap: 10px; }
.card-wide h3 { font-size: 1.2rem; }
.card-navy { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.card-navy p { color: var(--on-navy-2); }
.card-navy > i { background: rgba(45,212,191,.16); color: var(--teal); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { padding: 24px; }
  .card-wide { grid-column: span 2; padding: 28px; }
}

/* mini visual da agenda (semana) */
.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.week div { display: grid; gap: 4px; align-content: start; }
.week span { font-size: .72rem; color: var(--ink-2); font-weight: 600; text-align: center; }
.week i { display: block; height: 18px; border-radius: 6px; background: var(--brand-soft); }
.week i.on { background: var(--brand); }
.week i.miss { background: #F2B544; }
.week i.free { background: transparent; border: 1px dashed var(--line); }

/* mini visual do financeiro */
.money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.money div { background: rgba(255,255,255,.06); border: 1px solid var(--navy-line); border-radius: 14px; padding: 10px; }
.money b { display: block; font: 700 1rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--on-navy); }
.money span { font-size: .75rem; color: var(--on-navy-2); }
.money .pago b { color: var(--teal); }
.money .aberto b { color: #F2C46B; }

/* vídeo e telas */
.video-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-top: 24px; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.shots { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.shots figure { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }

/* ---------- Planos ---------- */
.cycle { display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 999px; padding: 4px; margin-bottom: 20px; border: 1px solid var(--line); }
.cycle button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .98rem/1 var(--font-ui); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.cycle button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.cycle em { font-style: normal; font-size: .74rem; font-weight: 700; background: var(--brand-soft); color: var(--brand); padding: 3px 7px; border-radius: 999px; }

.plans { display: grid; gap: 16px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; max-width: 860px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; gap: 16px; align-content: start; position: relative; }
.plan h3 { font: 600 1.05rem/1.3 var(--font-ui); letter-spacing: 0; }
.plan .price b { display: block; font: 700 clamp(2.2rem, 9vw, 2.8rem)/1.05 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--ink-2); font-size: .92rem; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: "\f00c"; font: 900 .8rem/1 "Font Awesome 6 Free"; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.plan .btn { width: 100%; }
.plan-pro { background: var(--navy); color: var(--on-navy); border-color: var(--navy); box-shadow: 0 24px 60px rgba(11,29,48,.25); }
.plan-pro .price span, .plan-pro .plan-desc { color: var(--on-navy-2); }
.plan-pro li::before { background: rgba(45,212,191,.18); color: var(--teal); }
.plan-pro .btn { background: var(--teal); color: var(--teal-ink); }
.plan-pro .btn:hover { background: var(--mint); }
.plan-flag { position: absolute; top: -12px; right: 20px; background: var(--teal); color: var(--teal-ink); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan-desc { color: var(--ink-2); font-size: .95rem; }
.pay-note { margin-top: 18px; color: var(--ink-2); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pay-note span { display: inline-flex; gap: 8px; align-items: center; }
.pay-note i { color: var(--brand); }

/* ---------- Parceiros (rolagem lateral no celular) ---------- */
.partner-strip { list-style: none; padding: 0 0 6px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 280px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.partner-strip::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .partner-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.partner-strip li { scroll-snap-align: start; display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.partner-strip img, .partner-strip .ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.partner-strip .ph { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 700 1.3rem/1 var(--font-display); }
.partner-strip b { display: block; }
.partner-strip small { color: var(--ink-2); font-size: .86rem; }

/* ---------- Perguntas ---------- */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; font-size: 1.02rem; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f067"; font: 900 .8rem/1 "Font Awesome 6 Free"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* ---------- Chamada final ---------- */
.join {
  margin-top: 8px; border-radius: 28px; padding: 36px 24px; display: grid; gap: 16px; justify-items: start; color: var(--on-navy);
  background: radial-gradient(70% 90% at 100% 0%, rgba(45,212,191,.25), transparent 70%), var(--navy);
}
.join h2 { color: var(--on-navy); }
.join p { color: var(--on-navy-2); }
.join .btn { background: var(--teal); color: var(--teal-ink); width: 100%; }
@media (min-width: 768px) { .join { padding: 56px; grid-template-columns: 1fr auto; align-items: center; } .join .btn { width: auto; } }

/* ---------- Barra fixa no celular ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 50px; background: var(--brand); color: var(--brand-ink); }
.sticky-cta small { color: var(--ink-2); font-size: .8rem; line-height: 1.3; max-width: 9.5em; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .vitrine .site-footer { padding-bottom: 110px; } }

/* ---------- Assistente ---------- */
.chat { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; justify-items: end; gap: 10px; transition: bottom .25s; }
@media (max-width: 899px) { body.cta-on .chat { bottom: calc(82px + env(safe-area-inset-bottom)); } }
.chat-open { box-shadow: var(--shadow); }
@media (max-width: 899px) { .chat-open { width: 52px; height: 52px; padding: 0; border-radius: 50%; } .chat-open .lbl { display: none; } }
.chat-panel { width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100dvh - 120px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
@media (max-width: 560px) {
  .chat-panel:not([hidden]) { position: fixed; inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; z-index: 70; }
}
.chat-panel[hidden] { display: none; }
.chat-top { display: flex; gap: 10px; align-items: center; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.chat-top img { border-radius: 50%; }
.chat-top div { flex: 1; } .chat-top b { display: block; } .chat-top small { color: var(--ink-2); font-size: .82rem; }
.chat-body { padding: 14px; overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.msg { padding: 10px 14px; border-radius: 16px; max-width: 85%; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-ai { background: var(--surface-2); justify-self: start; border-bottom-left-radius: 4px; }
.msg-user { background: var(--brand); color: var(--brand-ink); justify-self: end; border-bottom-right-radius: 4px; }
.msg-wait { color: var(--ink-2); }
.chat-form { display: flex; gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.chat-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

/* no escuro, os blocos azuis precisam se destacar do fundo */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vitrine .card-navy, :root:not([data-theme="light"]) .vitrine .plan-pro, :root:not([data-theme="light"]) .vitrine .join { background-color: #102A40; border: 1px solid rgba(45,212,191,.35); }
}
:root[data-theme="dark"] .vitrine .card-navy, :root[data-theme="dark"] .vitrine .plan-pro, :root[data-theme="dark"] .vitrine .join { background-color: #102A40; border: 1px solid rgba(45,212,191,.35); }
/* no celular, o botão do chat não cobre os botões do topo */
@media (max-width: 899px) { body.hero-on .chat-open[aria-expanded="false"] { display: none; } }

/* foto da rotina (aparece quando assets/img/vitrine/rotina.* existir) */
.rotina { display: grid; gap: 28px; align-items: center; }
.rotina img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; max-height: 560px; }
.rotina ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rotina li { display: flex; gap: 10px; align-items: baseline; }
.rotina li i { color: var(--brand); }
@media (min-width: 860px) { .rotina { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
@media (min-width: 900px) { .section-title { max-width: 26ch; } }
@media (max-width: 759px) { .bento .wm { grid-column: 1 / -1; } }

/* =========================================================
   Telas largas: menos borda vazia, mais conteúdo
   ========================================================= */
body.vitrine { --wrap: 1360px; }
@media (min-width: 1200px) { .vitrine .wrap { padding: 0 56px; } }

/* títulos de seção: título à esquerda, texto de apoio à direita */
@media (min-width: 1000px) {
  .split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 8px; }
  .split-head .section-title { margin: 0; max-width: 18ch; }
  .split-head .section-sub { margin: 0 0 6px; justify-self: end; max-width: 46ch; }
  .vitrine h2 { font-size: clamp(2rem, 3vw, 3rem); }
}

/* recursos em 4 colunas */
@media (min-width: 1200px) {
  .bento { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .bento .wm { grid-column: span 2; }
}

/* planos: texto à esquerda, cartões à direita */
@media (min-width: 1000px) {
  .planos-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
  .planos-grid .plans { max-width: none; }
  .planos-txt .section-title { max-width: 16ch; }
}

/* perguntas: título fixo à esquerda */
@media (min-width: 1000px) {
  .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-txt { position: sticky; top: 100px; }
  .faq-grid .faq { margin-top: 0; }
}
@media (min-width: 900px) { .partner-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .rotina { grid-template-columns: 1fr 1fr; gap: 72px; } .rotina img { max-height: 640px; } }

/* =========================================================
   Movimento e profundidade (desligados com "reduzir movimento")
   ========================================================= */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero::before { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8vw; top: -12vw; background: radial-gradient(circle, rgba(45,212,191,.55), transparent 65%); }
.hero::after { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; left: -10vw; bottom: -14vw; background: radial-gradient(circle, rgba(183,168,255,.45), transparent 65%); }

/* telefone em 3D */
.stage { perspective: 1400px; perspective-origin: 50% 30%; }
.phone { transform-style: preserve-3d; transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 8deg)) rotateZ(1deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 35%); mix-blend-mode: screen; }
.float { transform: translate3d(var(--fx, 0), var(--fy, 0), 0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 999px) { .phone { --ry: -8deg; --rx: 6deg; } }

/* cartões com inclinação ao passar o mouse */
.tilt { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; position: relative; overflow: hidden; }
.tilt::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(45,212,191,.16), transparent 45%); }
.tilt.on::before { opacity: 1; }
.tilt.on { box-shadow: 0 24px 50px rgba(11,29,48,.16); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.tilt > * { transform: translateZ(0); }
.tilt.on > i, .tilt.on > h3 { transform: translateZ(28px); transition: transform .35s; }

/* entrada ao rolar a página */
.js-motion [data-rv] { opacity: 0; transform: translate3d(0, 28px, 0) scale(.98); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js-motion [data-rv].in { opacity: 1; transform: none; }
.js-motion .bento [data-rv] { transform: translate3d(0, 36px, 0) rotateX(8deg); transform-origin: 50% 100%; }
.js-motion .bento [data-rv].in { transform: none; }

/* barras da semana e números que "enchem" */
.js-motion .week i { transform: scaleY(.2); transform-origin: bottom; transition: transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js-motion .week.in i { transform: none; }

/* plano profissional flutuando */
@media (prefers-reduced-motion: no-preference) {
  .plan-pro { animation: flutua 6s ease-in-out infinite; }
  @keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .hero::before { animation: deriva 18s ease-in-out infinite alternate; }
  .hero::after { animation: deriva 22s ease-in-out infinite alternate-reverse; }
  @keyframes deriva { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-6vw, 4vw, 0) scale(1.15); } }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .float, .tilt { transition: none !important; transform: none !important; }
  .js-motion [data-rv], .js-motion .week i { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Páginas internas da vitrine (individual, clínica, recursos, planos, segurança)
   ========================================================= */
.page-hero {
  background:
    radial-gradient(60% 70% at 90% 0%, rgba(45, 212, 191, .22), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(183, 168, 255, .16), transparent 70%),
    var(--navy);
  color: var(--on-navy); padding: 56px 0 64px; border-radius: 0 0 32px 32px;
}
.page-hero-in { display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1.08; max-width: 18ch; }
.page-hero .lead { color: var(--on-navy-2); font-size: clamp(1.05rem, 4vw, 1.25rem); max-width: 58ch; }
.page-hero .hero-cta { margin-top: 6px; }
@media (min-width: 1000px) { .page-hero { padding: 88px 0 96px; border-radius: 0 0 48px 48px; } }

/* atalhos da página (rolam de lado no celular) */
.subnav { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.subnav a i { color: var(--brand); }
.subnav a:hover { border-color: var(--brand); }

/* módulos (recursos) */
.modulos { display: grid; gap: 16px; }
.modulo { scroll-margin-top: 140px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px; display: grid; gap: 12px; }
.modulo-top { display: flex; gap: 14px; align-items: center; }
.modulo-top > i { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; }
.modulo h2 { font-size: clamp(1.25rem, 5vw, 1.6rem) !important; line-height: 1.2; }
.modulo > p { color: var(--ink-2); }
.modulo .tagc { font-size: .75rem; font-weight: 700; color: var(--warn); background: var(--warn-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.lista-ok { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-ok li { padding-left: 28px; position: relative; }
.lista-ok li::before { content: "\f00c"; font: 900 .75rem/1 "Font Awesome 6 Free"; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
@media (min-width: 900px) {
  .modulos { grid-template-columns: 1fr 1fr; gap: 20px; }
  .modulo { padding: 30px; }
  .modulo.destaque { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .modulo.destaque .modulo-top, .modulo.destaque > p { grid-column: 1; }
  .modulo.destaque .lista-ok { grid-column: 2; grid-row: 1 / span 3; }
}

/* antes / depois (individual) */
.trocas { display: grid; gap: 12px; }
.troca { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 8px; }
.troca .antes { color: var(--ink-2); font-size: .95rem; display: flex; gap: 8px; }
.troca .antes i { color: var(--danger); margin-top: 3px; }
.troca .depois { font-weight: 600; display: flex; gap: 8px; }
.troca .depois i { color: var(--ok); margin-top: 3px; }
@media (min-width: 760px) { .trocas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trocas { grid-template-columns: repeat(3, 1fr); } }

/* linha do tempo (sequência real) */
.timeline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 26px 58px; }
.timeline li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 700 1rem/1 var(--font-display); }
.timeline li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1.15rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); }
.timeline small { display: block; color: var(--brand); font-weight: 700; font-size: .82rem; margin-bottom: 2px; }

/* blocos de duas colunas */
.duas { display: grid; gap: 16px; }
@media (min-width: 900px) { .duas { grid-template-columns: 1fr 1fr; gap: 20px; } }
.bloco { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.bloco h3 { font-size: 1.2rem; }
.bloco > p { color: var(--ink-2); }
.bloco.futuro { border-style: dashed; background: transparent; }
.selo-futuro { justify-self: start; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }

/* tabela de comparação (planos) */
.comparar { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.comparar th, .comparar td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.comparar thead th { font-family: var(--font-display); font-size: 1rem; background: var(--surface-2); }
.comparar td.c, .comparar th.c { text-align: center; width: 20%; }
.comparar .fa-check { color: var(--ok); }
.comparar .fa-minus { color: var(--ink-2); }
.comparar tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .comparar th, .comparar td { padding: 12px 10px; font-size: .92rem; } .comparar td.c, .comparar th.c { width: 22%; } }

/* empresa (segurança) */
.empresa { display: grid; gap: 18px; background: var(--navy); color: var(--on-navy); border-radius: 28px; padding: 28px 24px; }
.empresa h2 { color: var(--on-navy); }
.empresa p { color: var(--on-navy-2); }
.empresa dl { display: grid; gap: 12px; margin: 0; }
.empresa dt { font-size: .82rem; color: var(--on-navy-2); font-weight: 600; }
.empresa dd { margin: 0; font-weight: 600; color: var(--on-navy); }
.empresa a { color: var(--teal); }
@media (min-width: 900px) { .empresa { grid-template-columns: 1.2fr .8fr; padding: 48px; gap: 48px; align-items: center; } }
:root[data-theme="dark"] .vitrine .empresa { background: #102A40; border: 1px solid rgba(45,212,191,.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vitrine .empresa { background: #102A40; border: 1px solid rgba(45,212,191,.35); } }

/* cabeçalho das páginas com foto ao lado */
.page-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero-foto { margin: 0; }
.page-hero-foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); max-height: 420px; }
@media (min-width: 1000px) {
  .page-hero.com-foto .page-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .page-hero-foto img { max-height: 560px; }
}
.indique-faixa { background: radial-gradient(70% 90% at 100% 0%, rgba(183, 168, 255, .35), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(45, 212, 191, .25), transparent 70%), var(--navy); }
.tipo-plano { margin-bottom: 10px; }
.troca.ex .antes i { color: var(--brand); }
.tab-pontos { width: 100%; max-width: 460px; border-collapse: collapse; margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tab-pontos th, .tab-pontos td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
.tab-pontos th { background: var(--surface-2); font-weight: 600; }
.tab-pontos td:last-child, .tab-pontos th:last-child { text-align: right; }
.tab-pontos tr:last-child td { border-bottom: 0; }
.tag-lib { display: inline-block; font: 600 .7rem/1.4 var(--font-ui); color: var(--warn); background: var(--warn-soft); padding: 1px 7px; border-radius: 999px; vertical-align: middle; letter-spacing: 0; }
