/* ============================================================
   OPTIMUS — SEVEN ROCKET
   Sistema de Gestão (ERP + CRM)
   Paleta: #87c9fc · #070707 · #393939 · #848484
   Carrega DEPOIS do SR2.css. O header novo usa o prefixo ".oh"
   e o corpo da página vive dentro de ".opt".
   ============================================================ */

/* ── TOKENS · TEMA ESCURO (padrão) ──────────────────────────── */
:root,
:root[data-theme="dark"] {
  /* marca — não muda entre os temas */
  --opt-blue:      #87c9fc;
  --opt-blue-2:    #4aa8f0;
  --opt-blue-deep: #1c5f92;
  --opt-black:     #070707;
  --opt-graph:     #393939;
  --opt-gray:      #848484;

  /* semânticos — trocam no tema claro */
  --o-bg:         #202020;
  --o-bg-2:       #0c0f12;
  --o-grad-a:     #000000;
  --o-grad-b:     #202020;
  --o-surface:    #202020;
  --o-surface-2:  #2a2a2a;
  --o-panel:      #101418;
  --o-header:     #000000;
  --o-text:       #f2f6fa;
  --o-title:      #ffffff;
  --o-muted:      #848484;
  --o-accent:     #87c9fc;
  --o-accent-ink: #87c9fc;
  --o-on-accent:  #070707;
  --o-line:       rgba(135, 201, 252, .14);
  --o-line-soft:  rgba(255, 255, 255, .07);
  --o-shadow:     0 18px 50px rgba(0, 0, 0, .55);
  --o-glow:       0 0 40px rgba(135, 201, 252, .28);
  --o-grid:       rgba(135, 201, 252, .075);
  --o-track:      rgba(255, 255, 255, .06);
  --o-shine:      #ffffff;
  color-scheme: dark;
}

/* ── TOKENS · TEMA CLARO ────────────────────────────────────── */
:root[data-theme="light"] {
  --o-bg:         #eef2f6;
  --o-bg-2:       #e4ebf2;
  --o-grad-a:     #ffffff;
  --o-grad-b:     #ebe3e3;
  --o-surface:    rgba(255, 255, 255, .78);
  --o-surface-2:  #ffffff;
  --o-panel:      #ffffff;
  --o-header:     rgba(255, 255, 255, .88);
  --o-text:       #24282c;
  --o-title:      #070707;
  --o-muted:      #6b7176;
  --o-accent:     #87c9fc;
  --o-accent-ink: #1a689f;
  --o-on-accent:  #070707;
  --o-line:       rgba(28, 95, 146, .16);
  --o-line-soft:  rgba(7, 7, 7, .09);
  --o-shadow:     0 14px 38px rgba(28, 60, 90, .13);
  --o-glow:       0 0 34px rgba(135, 201, 252, .45);
  --o-grid:       rgba(28, 95, 146, .07);
  --o-track:      rgba(7, 7, 7, .08);
  --o-shine:      #0d3f63;
  color-scheme: light;
}

/* Aliases antigos (mantidos para não quebrar regras já escritas) */
:root {
  --opt-white:     var(--o-text);
  --opt-line:      var(--o-line);
  --opt-line-soft: var(--o-line-soft);
  --opt-glass:     var(--o-surface);
  --opt-glow:      var(--o-glow);

  --opt-r-sm: 10px;
  --opt-r:    18px;
  --opt-r-lg: 28px;

  --opt-ff-title: "Bebas Neue", "Russo One", sans-serif;
  --opt-ff-alt:   "Russo One", sans-serif;
  --opt-ff-body:  "Open Sans", "Lato", sans-serif;

  /* geometria do header flutuante */
  --oh-top: 22px;
  --oh-h:   72px;
}

/* ── Neutraliza o que o SR2.css impõe globalmente ───────────── */
html.optimus-html,
body.optimus-page {
  background: var(--o-grad-a) !important;
  animation: none !important;
}

/* ── Fundo vivo: duas camadas fixas que so animam OPACIDADE ──
   opacity roda no compositor (sem repaint), entao nao pesa.
   Cores: --o-grad-a (base) e --o-grad-b (clarao).           */
body.optimus-page::before,
body.optimus-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
  transform: translateZ(0);
}

/* clarao vindo do topo-esquerdo */
body.optimus-page::before {
  background:
    linear-gradient(155deg, var(--o-grad-b) 0%, transparent 58%),
    radial-gradient(70% 55% at 18% 12%, var(--o-grad-b) 0%, transparent 72%);
  animation: optBgA 13s ease-in-out infinite alternate;
}

/* clarao vindo do rodape-direito */
body.optimus-page::after {
  background:
    linear-gradient(325deg, var(--o-grad-b) 0%, transparent 56%),
    radial-gradient(75% 60% at 86% 88%, var(--o-grad-b) 0%, transparent 74%);
  animation: optBgB 19s ease-in-out infinite alternate;
}

@keyframes optBgA { from { opacity: .12; } to { opacity: 1; } }
@keyframes optBgB { from { opacity: 1; }   to { opacity: .10; } }

@media (prefers-reduced-motion: reduce) {
  body.optimus-page::before,
  body.optimus-page::after { animation: none !important; opacity: .5; }
}

body.optimus-page {
  padding-top: calc(var(--header-h, 92px)) !important;
  color: var(--o-text);
  font-family: var(--opt-ff-body);
  scrollbar-color: var(--o-accent-ink) #101010;
}

body.optimus-page::-webkit-scrollbar { width: 12px; }
body.optimus-page::-webkit-scrollbar-track { background: #0d0d0d; }
body.optimus-page::-webkit-scrollbar-thumb {
  background-color: var(--opt-blue-deep);
  border-radius: 40px;
  border: 2px solid #0d0d0d;
}
body.optimus-page::-webkit-scrollbar-thumb:hover { background-color: var(--o-accent-ink); }

/* O SR2 aplica capitalize e transition em "*" — aqui não. */
.opt, .opt * {
  text-transform: none;
  transition: none;
  box-sizing: border-box;
}

/* SR2 limita "section" a 1200px com padding fixo — aqui é livre. */
.opt section {
  max-width: none;
  margin: 0;
  padding: 0;
}

.opt {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background: transparent;
  font-family: var(--opt-ff-body);
  color: var(--o-text);
  line-height: 1.6;
  --pad: clamp(18px, 5vw, 64px);
}

.opt-wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ── Tipografia base ────────────────────────────────────────── */
.opt h1, .opt h2, .opt h3 { font-family: var(--opt-ff-title); font-weight: 400; line-height: .98; letter-spacing: .5px; }
.opt p  { color: var(--o-muted); font-size: clamp(14px, 1.15vw, 16.5px); }
.opt a  { color: inherit; }
.opt strong { color: var(--o-text); font-weight: 700; }

.opt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--opt-ff-alt);
  font-size: 11px; letter-spacing: 3.4px; text-transform: uppercase;
  color: var(--o-accent-ink);
  padding: 7px 14px;
  border: 1px solid var(--o-line);
  border-radius: 100px;
  background: rgba(135, 201, 252, .05);
}
.opt-eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--o-accent);
  box-shadow: 0 0 0 0 rgba(135, 201, 252, .7);
  animation: optPulse 2.2s infinite;
}
@keyframes optPulse {
  70%  { box-shadow: 0 0 0 9px rgba(135, 201, 252, 0); }
  100% { box-shadow: 0 0 0 0 rgba(135, 201, 252, 0); }
}

.opt-h2 {
  font-size: clamp(38px, 6.4vw, 84px);
  color: var(--o-title);
  margin: 16px 0 14px;
}
.opt-h2 span { color: var(--o-accent-ink); }
.opt-lead { max-width: 62ch; font-size: clamp(14.5px, 1.25vw, 17.5px); }

/* ── Botões ─────────────────────────────────────────────────── */
.opt-btn {
  --b: var(--o-accent);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--opt-ff-alt);
  font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--b);
  background: var(--b);
  color: var(--o-on-accent);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease;
  overflow: hidden;
  white-space: nowrap;
}
.opt-btn svg { width: 17px; height: 17px; flex: none; }
.opt-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(135, 201, 252, .34); }
.opt-btn:active { transform: translateY(-1px); }

.opt-btn.ghost {
  background: transparent;
  color: var(--o-text);
  border-color: var(--o-line);
}
.opt-btn.ghost:hover {
  border-color: var(--o-accent-ink);
  color: var(--o-accent-ink);
  box-shadow: 0 12px 34px rgba(0,0,0,.5);
}
.opt-btn.small { padding: 11px 20px; font-size: 11.5px; }

/* ============================================================
   1 · HERO
   ============================================================ */
.opt-hero {
  position: relative;
  min-height: clamp(620px, 92vh, 940px);
  display: flex; align-items: center;
  padding: clamp(50px, 8vh, 110px) 0 clamp(60px, 9vh, 120px);
  isolation: isolate;
  border-bottom: 1px solid var(--o-line-soft);
}
.opt-hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: transparent; }
.opt-grid {
  position: absolute; inset: -30% -10% -10%;
  background-image:
    linear-gradient(var(--o-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--o-grid) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(700px) rotateX(58deg) translateY(-8%);
  transform-origin: 50% 0;
  mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 32%, #000 12%, transparent 74%);
  animation: optGridMove 18s linear infinite;
}
@keyframes optGridMove { to { background-position: 0 62px, 62px 0; } }

.opt-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: optFloat 16s ease-in-out infinite;
}
.opt-orb.a { width: 52vw; height: 52vw; left: -14vw; top: -16vw; background: radial-gradient(circle, rgba(135,201,252,.42), transparent 66%); }
.opt-orb.b { width: 42vw; height: 42vw; right: -12vw; bottom: -14vw; background: radial-gradient(circle, rgba(28,95,146,.55), transparent 68%); animation-delay: -7s; }
@keyframes optFloat {
  50% { transform: translate3d(3vw, 4vh, 0) scale(1.08); }
}
.opt-noise {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 3px 3px;
}

.opt-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 70px);
  align-items: center;
  width: 100%;
}

.opt-hero-title {
  font-family: var(--opt-ff-title);
  font-size: clamp(54px, 9.2vw, 130px);
  line-height: .86;
  margin: 20px 0 0;
  color: var(--o-title);
  letter-spacing: 1px;
}
.opt-hero-title .opt-shine {
  display: block;
  background: linear-gradient(100deg, #87c9fc 8%, var(--o-shine) 38%, #4aa8f0 62%, #87c9fc 92%);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: optShine 7s linear infinite;
}
@keyframes optShine { to { background-position: 240% 0; } }

.opt-hero-sub {
  margin-top: 8px;
  font-family: var(--opt-ff-alt);
  font-size: clamp(13px, 1.5vw, 18px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--o-muted);
}
.opt-hero-sub b { color: var(--o-accent-ink); font-weight: 400; }

.opt-hero-text { margin-top: 22px; max-width: 50ch; }
.opt-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.opt-hero-facts {
  display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px);
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid var(--o-line-soft);
}
.opt-fact-n {
  font-family: var(--opt-ff-title);
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--o-accent-ink);
  line-height: 1;
}
.opt-fact-l { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--o-muted); margin-top: 5px; }

/* ── Mock do sistema (janela flutuante) ─────────────────────── */
.opt-mock {
  position: relative;
  border-radius: var(--opt-r-lg);
  border: 1px solid var(--o-line);
  background: linear-gradient(160deg, rgba(57,57,57,.55), var(--o-panel));
  box-shadow: var(--o-shadow), var(--o-glow);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transform: perspective(1300px) rotateY(-8deg) rotateX(4deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: optHover 7s ease-in-out infinite;
}
.opt-mock:hover { transform: perspective(1300px) rotateY(0deg) rotateX(0deg) translateY(-6px); }
@keyframes optHover { 50% { translate: 0 -12px; } }

.opt-mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--o-line-soft);
  background: var(--o-panel);
}
.opt-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--o-muted); }
.opt-dot.on { background: var(--o-accent); box-shadow: 0 0 12px var(--o-accent); }
.opt-mock-url {
  margin-left: 8px; flex: 1;
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--o-muted);
  background: var(--o-surface);
  border: 1px solid var(--o-line-soft);
  border-radius: 100px;
  padding: 5px 12px;
}
.opt-mock-body { display: grid; grid-template-columns: 78px 1fr; min-height: 330px; }
.opt-mock-side {
  border-right: 1px solid var(--o-line-soft);
  padding: 16px 10px; display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.opt-mock-ic {
  width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid var(--o-line-soft);
  background: var(--o-surface);
  display: grid; place-items: center;
  color: var(--o-muted);
}
.opt-mock-ic svg { width: 17px; height: 17px; }
.opt-mock-ic.on { border-color: var(--o-accent-ink); color: var(--o-accent-ink); background: rgba(135,201,252,.12); box-shadow: 0 0 18px rgba(135,201,252,.22); }
.opt-mock-main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.opt-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt-kpi {
  border: 1px solid var(--o-line-soft);
  border-radius: 14px;
  padding: 12px;
  background: var(--o-surface);
}
.opt-kpi span { display: block; font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--o-muted); }
.opt-kpi b { display: block; font-family: var(--opt-ff-title); font-size: 26px; color: var(--o-title); font-weight: 400; letter-spacing: 1px; line-height: 1.1; }
.opt-kpi i { display: block; font-style: normal; font-size: 10.5px; color: var(--o-accent-ink); }

.opt-chart {
  flex: 1;
  border: 1px solid var(--o-line-soft);
  border-radius: 14px;
  padding: 14px;
  background: var(--o-surface);
  display: flex; align-items: flex-end; gap: 7px; min-height: 130px;
}
.opt-bar {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--o-accent), rgba(135,201,252,.12));
  transform-origin: bottom;
  animation: optBar 2.6s ease-in-out infinite alternate;
}
@keyframes optBar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.opt-mock-badge {
  position: absolute; right: -10px; bottom: 26px;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 16px;
  border-radius: 100px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  font-family: var(--opt-ff-alt); font-size: 11px; letter-spacing: 1.2px;
  box-shadow: 0 14px 36px rgba(135,201,252,.4);
  animation: optBadge 4.5s ease-in-out infinite;
}
@keyframes optBadge { 50% { transform: translateY(-9px); } }

/* ── Marquee de módulos ─────────────────────────────────────── */
.opt-marquee {
  border-block: 1px solid var(--o-line-soft);
  background: linear-gradient(90deg, rgba(135,201,252,.05), transparent 30%, transparent 70%, rgba(135,201,252,.05));
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.opt-marquee-track { display: flex; gap: 44px; width: max-content; animation: optMarq 30s linear infinite; }
.opt-marquee:hover .opt-marquee-track { animation-play-state: paused; }
@keyframes optMarq { to { transform: translateX(-50%); } }
.opt-marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--opt-ff-alt); font-size: 13px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--o-muted); white-space: nowrap;
}
.opt-marquee-item::before { content: ""; width: 7px; height: 7px; background: var(--o-accent); transform: rotate(45deg); }

/* ── Seção genérica ─────────────────────────────────────────── */
.opt-sec { padding: clamp(70px, 11vh, 140px) 0; position: relative; }
.opt-sec.alt { background: transparent; }
.opt-sec-head { max-width: 820px; margin-bottom: clamp(34px, 5vh, 62px); }
.opt-sec-head.center { margin-inline: auto; text-align: center; }
.opt-sec-head.center .opt-lead { margin-inline: auto; }

/* ============================================================
   2 · DOR × SOLUÇÃO
   ============================================================ */
.opt-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.opt-vs-card {
  border: 1px solid var(--o-line-soft);
  border-radius: var(--opt-r);
  padding: clamp(22px, 3vw, 36px);
  background: var(--o-surface);
  position: relative; overflow: hidden;
}
.opt-vs-card.good { border-color: var(--o-line); background: linear-gradient(160deg, rgba(135,201,252,.09), var(--o-surface-2)); }
.opt-vs-card h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px; color: var(--o-title); }
.opt-vs-card.good h3 { color: var(--o-accent-ink); }
.opt-vs-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.opt-vs-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--o-muted); }
.opt-vs-list li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.opt-vs-card.bad li svg { color: var(--o-muted); }
.opt-vs-card.good li { color: var(--o-text); }
.opt-vs-card.good li svg { color: var(--o-accent-ink); }

/* ============================================================
   3 · MÓDULOS
   ============================================================ */
.opt-mods { display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); gap: 16px; }
.opt-mod {
  position: relative;
  border: 1px solid var(--o-line-soft);
  border-radius: var(--opt-r);
  padding: clamp(20px, 2.4vw, 30px);
  background: var(--o-surface);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, background .35s ease;
}
.opt-mod::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(135,201,252,.14), transparent 62%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.opt-mod:hover { transform: translateY(-7px); border-color: var(--o-line); background: var(--o-surface-2); }
.opt-mod:hover::after { opacity: 1; }
.opt-mod-ic {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  border: 1px solid var(--o-line);
  background: rgba(135,201,252,.09);
  color: var(--o-accent-ink);
  margin-bottom: 16px;
}
.opt-mod-ic svg { width: 23px; height: 23px; }
.opt-mod h3 { font-family: var(--opt-ff-alt); font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--o-title); margin-bottom: 9px; line-height: 1.3; }
.opt-mod p { font-size: 13.8px; }
.opt-mod-tag {
  display: inline-block; margin-top: 14px;
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--o-accent-ink);
  border: 1px solid var(--o-line);
  border-radius: 100px; padding: 4px 11px;
}

/* ============================================================
   4 · DEMO INTERATIVA
   ============================================================ */
.opt-demo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(18px, 2.6vw, 34px); align-items: start; }
.opt-demo-nav { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--header-h, 92px) + 20px); }
.opt-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--o-line-soft);
  border-radius: 14px;
  background: var(--o-surface);
  color: var(--o-muted);
  font-family: var(--opt-ff-alt); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; text-align: left; width: 100%;
  transition: all .28s ease;
}
.opt-tab svg { width: 18px; height: 18px; flex: none; }
.opt-tab:hover { border-color: var(--o-line); color: var(--o-text); }
.opt-tab.active {
  color: var(--o-on-accent); background: var(--o-accent); border-color: var(--o-accent-ink);
  box-shadow: 0 10px 28px rgba(135,201,252,.28);
}

.opt-screen {
  border: 1px solid var(--o-line);
  border-radius: var(--opt-r-lg);
  background: linear-gradient(165deg, rgba(57,57,57,.4), var(--o-panel));
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--o-shadow);
}
.opt-screen-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--o-line-soft);
  background: var(--o-panel);
}
.opt-screen-title { font-family: var(--opt-ff-alt); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--o-accent-ink); }
.opt-screen-user { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--o-muted); }
.opt-avatar {
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--o-accent); color: var(--o-on-accent);
  display: grid; place-items: center;
  font-family: var(--opt-ff-alt); font-size: 11px;
}
.opt-pane { display: none; padding: clamp(16px, 2.4vw, 26px); animation: optFade .45s ease; }
.opt-pane.active { display: block; }
@keyframes optFade { from { opacity: 0; transform: translateY(14px); } }

/* Painel: dashboard */
.opt-cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.opt-card4 { border: 1px solid var(--o-line-soft); border-radius: 14px; padding: 15px; background: var(--o-surface); }
.opt-card4 span { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--o-muted); }
.opt-card4 b { display: block; font-family: var(--opt-ff-title); font-size: clamp(26px, 3vw, 38px); color: var(--o-title); font-weight: 400; letter-spacing: 1px; }
.opt-card4 i { display: block; font-style: normal; font-size: 11px; color: var(--o-accent-ink); }

.opt-graph-box { border: 1px solid var(--o-line-soft); border-radius: 16px; padding: 18px; background: var(--o-surface); }
.opt-graph-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.opt-graph-head h4 { font-family: var(--opt-ff-alt); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--o-title); font-weight: 400; }
.opt-legend { display: flex; gap: 14px; font-size: 10.5px; color: var(--o-muted); }
.opt-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.opt-svg { width: 100%; height: auto; display: block; }

/* Painel: funil kanban */
.opt-kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.opt-col { border: 1px solid var(--o-line-soft); border-radius: 16px; background: var(--o-surface); padding: 12px; }
.opt-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.opt-col-head span { font-family: var(--opt-ff-alt); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--o-muted); }
.opt-col-head b { font-size: 10.5px; color: var(--o-accent-ink); background: rgba(135,201,252,.12); border-radius: 100px; padding: 2px 8px; }
.opt-lead-card {
  border: 1px solid var(--o-line-soft); border-radius: 12px;
  padding: 11px; margin-bottom: 9px; background: var(--o-surface-2);
  cursor: grab; transition: transform .25s ease, border-color .25s ease;
}
.opt-lead-card:hover { transform: translateY(-3px); border-color: var(--o-accent-ink); }
.opt-lead-card h5 { font-size: 12.5px; color: var(--o-title); font-weight: 700; margin-bottom: 5px; }
.opt-lead-card p { font-size: 11px; margin: 0; }
.opt-lead-card .opt-money { color: var(--o-accent-ink); font-size: 12px; font-weight: 700; }

/* Painel: financeiro */
.opt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.opt-table th {
  text-align: left; padding: 11px 12px; color: var(--o-muted);
  font-family: var(--opt-ff-alt); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400;
  border-bottom: 1px solid var(--o-line-soft);
}
.opt-table td { padding: 13px 12px; border-bottom: 1px solid var(--o-line-soft); color: var(--o-text); }
.opt-table tr:hover td { background: rgba(135,201,252,.05); }
.opt-pill { display: inline-block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--o-line-soft); color: var(--o-muted); }
.opt-pill.ok  { color: var(--o-accent-ink); border-color: var(--o-line); background: rgba(135,201,252,.1); }
.opt-pill.wait{ color: var(--o-muted); }
.opt-scroll-x { overflow-x: auto; }

/* Painel: estoque */
.opt-stock { display: flex; flex-direction: column; gap: 12px; }
.opt-stock-row { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,2fr) 70px; gap: 14px; align-items: center; border: 1px solid var(--o-line-soft); border-radius: 12px; padding: 13px 15px; background: var(--o-surface); }
.opt-stock-row h5 { font-size: 12.5px; color: var(--o-title); font-weight: 700; }
.opt-stock-row small { color: var(--o-muted); font-size: 10.5px; }
.opt-track { height: 8px; border-radius: 100px; background: var(--o-track); overflow: hidden; }
.opt-track i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--opt-blue-deep), var(--o-accent)); }
.opt-track.low i { background: linear-gradient(90deg, #4a4a4a, #848484); }
.opt-stock-row b { text-align: right; font-family: var(--opt-ff-alt); font-size: 13px; color: var(--o-accent-ink); }

/* ============================================================
   5 · ACESSO DO USUÁRIO
   ============================================================ */
.opt-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 26px; }
.opt-role {
  border: 1px solid var(--o-line-soft); border-radius: var(--opt-r);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--o-surface);
  transition: transform .35s ease, border-color .35s ease;
}
.opt-role:hover { transform: translateY(-6px); border-color: var(--o-line); }
.opt-role-key { font-family: var(--opt-ff-title); font-size: 44px; color: var(--o-accent-ink); line-height: 1; opacity: .35; }
.opt-role h3 { font-family: var(--opt-ff-alt); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--o-title); margin: 8px 0 10px; }
.opt-role p { font-size: 13.5px; }
.opt-role ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.opt-role li { font-size: 12.5px; color: var(--o-muted); display: flex; gap: 9px; align-items: center; }
.opt-role li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--o-accent); flex: none; }

.opt-matrix-box { border: 1px solid var(--o-line); border-radius: var(--opt-r); overflow: hidden; background: var(--o-panel); }
.opt-matrix { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 620px; }
.opt-matrix th, .opt-matrix td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--o-line-soft); }
.opt-matrix th { font-family: var(--opt-ff-alt); font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--o-accent-ink); font-weight: 400; background: rgba(135,201,252,.06); }
.opt-matrix td:first-child, .opt-matrix th:first-child { text-align: left; color: var(--o-text); }
.opt-matrix tr:hover td { background: rgba(135,201,252,.04); }
.opt-yes { color: var(--o-accent-ink); }
.opt-no  { color: var(--o-muted); }
.opt-matrix svg { width: 17px; height: 17px; }

/* Fluxo de acesso */
.opt-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 26px; counter-reset: step; }
.opt-step {
  position: relative; padding: 24px 20px 20px;
  border: 1px solid var(--o-line-soft); border-radius: var(--opt-r);
  background: var(--o-surface);
}
.opt-step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -14px; left: 20px;
  font-family: var(--opt-ff-title); font-size: 22px; color: var(--o-on-accent);
  background: var(--o-accent); border-radius: 8px; padding: 2px 10px;
  letter-spacing: 1px;
}
.opt-step h4 { font-family: var(--opt-ff-alt); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--o-title); margin-bottom: 8px; font-weight: 400; }
.opt-step p { font-size: 13px; }

/* Caixa de status do usuário (logado / visitante) */
.opt-userbox {
  margin-top: 30px;
  border: 1px solid var(--o-line);
  border-radius: var(--opt-r-lg);
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(140deg, rgba(135,201,252,.1), var(--o-panel));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.opt-userbox-l { display: flex; align-items: center; gap: 16px; min-width: 260px; }
.opt-userbox-av {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--o-accent); color: var(--o-on-accent);
  display: grid; place-items: center;
  font-family: var(--opt-ff-title); font-size: 26px; letter-spacing: 1px;
  box-shadow: var(--o-glow); flex: none;
}
.opt-userbox h3 { font-family: var(--opt-ff-alt); font-size: 15px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--o-title); }
.opt-userbox p { font-size: 13px; margin-top: 4px; }
.opt-userbox-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   6 · PLANOS
   ============================================================ */
.opt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; align-items: stretch; }
.opt-plan {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--o-line-soft); border-radius: var(--opt-r-lg);
  padding: clamp(24px, 3vw, 34px);
  background: var(--o-surface);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease;
}
.opt-plan:hover { transform: translateY(-8px); border-color: var(--o-line); }
.opt-plan.pop {
  border-color: var(--o-accent-ink);
  background: linear-gradient(165deg, rgba(135,201,252,.12), var(--o-panel));
  box-shadow: var(--o-shadow), var(--o-glow);
}
.opt-plan-flag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--opt-ff-alt); font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase;
  background: var(--o-accent); color: var(--o-on-accent);
  border-radius: 100px; padding: 5px 12px;
}
.opt-plan h3 { font-family: var(--opt-ff-title); font-size: 34px; color: var(--o-title); }
.opt-plan .opt-plan-for { font-size: 12px; color: var(--o-muted); letter-spacing: .4px; margin-bottom: 18px; }
.opt-price { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 4px; }
.opt-price small { font-size: 12px; color: var(--o-muted); margin-bottom: 7px; }
.opt-price b { font-family: var(--opt-ff-title); font-size: clamp(40px, 4.6vw, 58px); color: var(--o-accent-ink); font-weight: 400; line-height: 1; }
.opt-price span { font-size: 12px; color: var(--o-muted); margin-bottom: 8px; }
.opt-price.sob b { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: .5px; }
.opt-plan-note { font-size: 11px; color: var(--o-muted); margin-bottom: 20px; }
.opt-plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.opt-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--o-text); }
.opt-plan li svg { width: 16px; height: 16px; color: var(--o-accent-ink); flex: none; margin-top: 2px; }
.opt-plan li.off { color: var(--o-muted); }
.opt-plan li.off svg { color: var(--o-muted); }
.opt-plan .opt-btn { width: 100%; }

.opt-plans-foot {
  margin-top: 20px; text-align: center;
  font-size: 12.5px; color: var(--o-muted);
}
.opt-plans-foot b { color: var(--o-accent-ink); }

/* ============================================================
   7 · INTEGRAÇÕES / SEGURANÇA
   ============================================================ */
.opt-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 60px); align-items: center; }
.opt-sec-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.opt-sec-list li { display: flex; gap: 14px; align-items: flex-start; }
.opt-sec-list .ic {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--o-line); background: rgba(135,201,252,.08); color: var(--o-accent-ink);
}
.opt-sec-list .ic svg { width: 18px; height: 18px; }
.opt-sec-list h4 { font-family: var(--opt-ff-alt); font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--o-title); font-weight: 400; margin-bottom: 4px; }
.opt-sec-list p { font-size: 13px; }

.opt-hex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt-hex div {
  aspect-ratio: 1; border-radius: 18px;
  border: 1px solid var(--o-line-soft);
  background: var(--o-surface);
  display: grid; place-items: center; text-align: center;
  font-family: var(--opt-ff-alt); font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--o-muted); padding: 10px;
  transition: all .3s ease;
}
.opt-hex div:hover { color: var(--o-accent-ink); border-color: var(--o-accent-ink); background: rgba(135,201,252,.08); transform: scale(1.05); }

/* ============================================================
   8 · FAQ
   ============================================================ */
.opt-faq { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
.opt-q {
  border: 1px solid var(--o-line-soft); border-radius: var(--opt-r);
  background: var(--o-surface); overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.opt-q.open { border-color: var(--o-line); background: rgba(135,201,252,.05); }
.opt-q-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; background: none; text-align: left;
  font-family: var(--opt-ff-alt); font-size: 13px; letter-spacing: .8px; color: var(--o-title);
}
.opt-q-btn i {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  border: 1px solid var(--o-line); color: var(--o-accent-ink);
  display: grid; place-items: center; font-style: normal; font-size: 16px;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.opt-q.open .opt-q-btn i { transform: rotate(45deg); background: var(--o-accent); color: var(--o-on-accent); }
.opt-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.8,.2,1); }
.opt-a p { padding: 0 22px 20px; font-size: 13.8px; }

/* ============================================================
   9 · CTA FINAL
   ============================================================ */
.opt-cta {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--o-line-soft);
  padding: clamp(70px, 12vh, 150px) 0;
  text-align: center;
}
.opt-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(135,201,252,.22), transparent 70%);
}
.opt-cta .opt-wrap { position: relative; z-index: 1; }
.opt-cta h2 { font-size: clamp(42px, 8.4vw, 118px); color: var(--o-title); line-height: .9; }
.opt-cta h2 span { color: var(--o-accent-ink); }
.opt-cta p { max-width: 56ch; margin: 18px auto 0; }
.opt-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.opt-cta-mini { margin-top: 26px; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--o-muted); }

/* ── Reveal on scroll (próprio da página) ───────────────────── */
.opt-rv { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.opt-rv.in { opacity: 1; transform: none; }

/* ── Barra de progresso do scroll ───────────────────────────── */
.opt-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--opt-blue-deep), var(--o-accent));
  z-index: 99999; box-shadow: 0 0 14px rgba(135,201,252,.6);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .opt-hero-inner { grid-template-columns: 1fr; }
  .opt-mock { transform: none; animation: none; max-width: 640px; margin-inline: auto; width: 100%; }
  .opt-mock:hover { transform: translateY(-5px); }
  .opt-demo { grid-template-columns: 1fr; }
  .opt-demo-nav { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .opt-demo-nav .opt-tab { width: auto; white-space: nowrap; }
}

@media (max-width: 760px) {
  .opt-hero { min-height: auto; }
  .opt-hero-title { font-size: clamp(50px, 15vw, 88px); }
  .opt-mock-body { grid-template-columns: 60px 1fr; }
  .opt-kpis { grid-template-columns: 1fr 1fr; }
  .opt-mock-badge { right: 10px; bottom: 12px; }
  .opt-userbox { flex-direction: column; align-items: flex-start; }
  .opt-stock-row { grid-template-columns: 1fr 60px; }
  .opt-stock-row .opt-track { grid-column: 1 / -1; }
  .opt-hex { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .opt *, .opt *::before, .opt *::after { animation: none !important; transition: none !important; }
  .opt-rv { opacity: 1; transform: none; }
}

/* ============================================================
   HEADER FLUTUANTE "OH" — OPTIMUS
   Mecânica inspirada no padrão Centro Aut, repaginada com a
   paleta do Optimus e com autenticação + tema claro/escuro.
   ============================================================ */

/* O SR2.css aplica capitalize/transition/border em "*" — aqui não. */
.oh, .oh *, .oh-sidebar, .oh-sidebar *, .oh-results, .oh-results * {
  text-transform: none;
  transition: none;
  box-sizing: border-box;
}

body.optimus-page {
  padding-top: calc(var(--oh-top) + var(--oh-h) + 26px) !important;
}

/* ── Casca ──────────────────────────────────────────────────── */
.oh {
  position: fixed;
  z-index: 60;
  top: var(--oh-top);
  left: 50%;
  width: min(92%, 1280px);
  height: var(--oh-h);
  transform: translateX(-50%);
  border: 1px solid var(--o-line);
  border-radius: 22px;
  background: var(--o-header);
  box-shadow: var(--o-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color .3s ease, border-color .3s ease,
              box-shadow .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
  font-family: var(--opt-ff-body);
  color: var(--o-text);
}
.oh.is-stuck { box-shadow: var(--o-shadow), 0 0 0 1px var(--o-line); }
.oh.is-hidden { transform: translateX(-50%) translateY(calc(-100% - var(--oh-top) - 10px)); }

.oh-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 0 18px 0 20px;
}
.oh.is-searching .oh-content { display: none; }

/* ── Marca ──────────────────────────────────────────────────── */
.oh-brand {
  display: inline-flex; align-items: center; gap: 11px;
  justify-self: start;
  text-decoration: none;
  color: var(--o-title);
  transition: transform .22s ease, opacity .22s ease;
}
.oh-brand:hover { transform: translateY(-2px); opacity: .9; }
.oh-brand img {
  width: 42px; height: 42px; object-fit: contain;
  filter: none;   /* glow removido */
}
.oh-brand-name {
  font-family: var(--opt-ff-title);
  font-size: 27px; line-height: 1; letter-spacing: 2.5px;
  background: linear-gradient(100deg, var(--o-accent), var(--o-shine) 55%, var(--o-accent));
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: ohShine 8s linear infinite;
}
@keyframes ohShine { to { background-position: 220% 0; } }

/* ── Navegação ──────────────────────────────────────────────── */
.oh-nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(4px, 1.2vw, 16px);
  justify-self: center;
}

.oh-home, .oh-navbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--o-text);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--opt-ff-alt);
  font-size: 12.5px; letter-spacing: 1.1px; text-transform: uppercase;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease,
              border-color .22s ease, transform .22s ease;
}
.oh-home { padding: 9px; }
.oh-home svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.oh-home:hover, .oh-navbtn:hover,
.oh-dd.is-open .oh-navbtn {
  color: var(--o-accent-ink);
  background: transparent;
  border-color: transparent;
  transform: translateY(-1px);
}
.oh-chev { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.oh-dd.is-open .oh-chev { transform: rotate(180deg); }

/* ── Dropdowns ──────────────────────────────────────────────── */
.oh-dd { position: relative; }
.oh-menu-pop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  gap: 2px;
  min-width: 214px;
  padding: 9px;
  border: 1px solid var(--o-line);
  border-radius: 16px;
  background: var(--o-panel);
  box-shadow: var(--o-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}
.oh-dd.is-open .oh-menu-pop { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.oh-menu-pop::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  width: 11px; height: 11px; transform: translateX(-50%) rotate(45deg);
  background: var(--o-panel);
  border-left: 1px solid var(--o-line); border-top: 1px solid var(--o-line);
}
.oh-menu-pop a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--o-text);
  font-size: 13.5px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.oh-menu-pop a svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--o-accent-ink); }
.oh-menu-pop a:hover { background: rgba(135, 201, 252, .13); color: var(--o-accent-ink); transform: translateX(3px); }

/* ── Ações da direita ───────────────────────────────────────── */
.oh-actions { display: flex; align-items: center; gap: 9px; justify-self: end; }

.oh-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--o-text);
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.oh-icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.oh-icon-btn:hover { color: var(--o-accent-ink); background: none; transform: translateY(-2px); }

.oh-search-btn { width: auto; padding: 0 15px; }
.oh-search-btn span { font-family: var(--opt-ff-alt); font-size: 11.5px; letter-spacing: 1.3px; text-transform: uppercase; }

/* Tema: sol x lua */
.oh-theme .oh-moon,
:root[data-theme="light"] .oh-theme .oh-sun { display: none; }
:root[data-theme="light"] .oh-theme .oh-moon { display: block; }

/* ── Login / conta ──────────────────────────────────────────── */
.oh-auth { position: relative; }

.oh-login-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 6px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--o-accent-ink);
  cursor: pointer;
  font-family: var(--opt-ff-alt);
  font-size: 12.5px; letter-spacing: 1.1px; text-transform: uppercase;
  white-space: nowrap;
  transition: color .22s ease, transform .22s ease, filter .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.oh-login-btn svg { display: none; }
.oh-login-btn .oh-login-ic {
  display: inline-block;
  width: 17px; height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.oh-login-btn .oh-login-ic { stroke: var(--o-accent-ink); }
.oh-login-btn:hover { color: var(--o-accent-ink); transform: translateY(-1px); filter: brightness(1.15); }

.oh-user-btn {
  display: none;
  align-items: center; gap: 9px;
  padding: 6px 13px 6px 6px;
  border: 1px solid var(--o-line);
  border-radius: 100px;
  background: var(--o-surface);
  color: var(--o-text);
  cursor: pointer;
  transition: border-color .22s ease, background-color .22s ease, transform .22s ease;
}
.oh-user-btn:hover { border-color: var(--o-accent); transform: translateY(-2px); }
.oh-user-av {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--o-accent); color: var(--o-on-accent);
  font-family: var(--opt-ff-alt); font-size: 12px;
  overflow: hidden;
}
.oh-user-av img { width: 100%; height: 100%; object-fit: cover; }
.oh-user-name { font-family: var(--opt-ff-alt); font-size: 11.5px; letter-spacing: .9px; max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-user-btn .oh-chev { width: 12px; height: 12px; }

/* estados */
.oh-auth.is-logged .oh-login-btn { display: none; }
.oh-auth.is-logged .oh-user-btn { display: inline-flex; }

.oh-auth-pop {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  display: grid;
  gap: 2px;
  min-width: 234px;
  max-width: calc(100vw - 28px);
  padding: 9px;
  border: 1px solid var(--o-line-soft);
  border-radius: 16px;
  background: #202020;
  box-shadow: var(--o-shadow);
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1);
}
.oh-auth.is-open .oh-auth-pop { opacity: 1; pointer-events: auto; transform: translateY(0); }
.oh-auth-head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--o-line-soft);
  margin-bottom: 5px;
}
.oh-auth-head strong { display: block; font-family: var(--opt-ff-alt); font-size: 12.5px; letter-spacing: .8px; color: var(--o-title); }
.oh-auth-head small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--o-muted); overflow: hidden; text-overflow: ellipsis; }
.oh-auth-pop a, .oh-auth-pop button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0; border-radius: 10px;
  background: transparent;
  color: var(--o-text);
  font-family: var(--opt-ff-body); font-size: 13.5px; text-align: left;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.oh-auth-pop a svg, .oh-auth-pop button svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--o-accent-ink); }
.oh-auth-pop a:hover, .oh-auth-pop button:hover {
  background: var(--o-accent);
  color: var(--o-on-accent);
  transform: none;
}
.oh-auth-pop a:hover svg, .oh-auth-pop button:hover svg { color: var(--o-on-accent); }
.oh-auth-pop .oh-exit:hover { background: #e05555; color: #ffffff; }
.oh-auth-pop .oh-exit:hover svg { color: #ffffff; }

:root[data-theme="light"] .oh-auth-pop { background: #ffffff; border-color: rgba(28, 95, 146, .18); }

/* ── no celular o menu de conta vira uma folha ancorada no
      header, do tamanho da tela — antes ele vazava para fora ── */
@media (max-width: 620px) {
  .oh-auth { position: static; }
  .oh-auth-pop {
    position: fixed;
    top: calc(var(--oh-top) + var(--oh-h) + 10px);
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 11px;
    border-radius: 18px;
  }
  .oh-auth-pop a, .oh-auth-pop button { min-height: 48px; font-size: 15px; }
  .oh-auth-head strong { font-size: 13.5px; }
  .oh-auth-head small { font-size: 12.5px; white-space: normal; }
}

/* ── Hambúrguer ─────────────────────────────────────────────── */
.oh-burger { display: none; flex-direction: column; gap: 4px; }
.oh-burger span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s ease; }
.oh-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.oh-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.oh-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Painel de busca ────────────────────────────────────────── */
.oh-search-panel {
  display: none;
  align-items: center; gap: 14px;
  width: 100%; height: 100%;
  padding: 0 20px;
  color: var(--o-text);
}
.oh.is-searching .oh-search-panel { display: flex; }
.oh-search-panel > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--o-accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oh-search-panel input {
  width: 100%; height: 100%;
  border: 0; outline: 0;
  background: transparent;
  color: var(--o-text);
  font-family: var(--opt-ff-body);
  font-size: clamp(15px, 1.6vw, 20px);
}
.oh-search-panel input::placeholder { color: var(--o-muted); }
.oh-search-panel input::-webkit-search-cancel-button,
.oh-sidebar-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.oh-search-hint {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--o-line-soft);
  border-radius: 8px;
  color: var(--o-muted);
  font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap;
}

/* ── Resultados da busca ────────────────────────────────────── */
.oh-results {
  position: fixed;
  z-index: 59;
  top: calc(var(--oh-top) + var(--oh-h) + 12px);
  left: 50%;
  display: none;
  width: min(92%, 1280px);
  max-height: min(62vh, 560px);
  padding: 12px;
  overflow-y: auto;
  border: 1px solid var(--o-line);
  border-radius: 22px;
  background: var(--o-panel);
  box-shadow: var(--o-shadow);
  transform: translateX(-50%);
  font-family: var(--opt-ff-body);
  animation: ohPop .26s cubic-bezier(.2,.8,.2,1);
}
@keyframes ohPop { from { opacity: 0; transform: translateX(-50%) translateY(-12px); } }
.oh-results.is-visible { display: block; }
.oh-results::-webkit-scrollbar { width: 8px; }
.oh-results::-webkit-scrollbar-thumb { background: var(--o-accent); border-radius: 20px; }

.oh-res-group {
  padding: 12px 12px 6px;
  font-family: var(--opt-ff-alt);
  font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--o-accent-ink);
}
.oh-res {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--o-text);
  cursor: pointer; text-align: left; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.oh-res:hover, .oh-res.is-active { background: rgba(135,201,252,.12); border-color: var(--o-line); transform: translateX(3px); }
.oh-res-ic {
  width: 26px; height: 26px; flex: none;
  display: grid; place-items: center;
  border: 0;
  background: none;
  color: var(--o-accent-ink);
}
.oh-res-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.oh-res-txt { min-width: 0; }
.oh-res-txt strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--o-title); }
.oh-res-txt small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--o-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oh-res mark { background: rgba(135,201,252,.3); color: inherit; border-radius: 3px; padding: 0 2px; }
.oh-res-empty { padding: 26px 14px; text-align: center; color: var(--o-muted); font-size: 13.5px; }
.oh-res-empty b { display: block; color: var(--o-title); font-size: 15px; margin-bottom: 5px; }

/* ── Menu lateral (mobile) ──────────────────────────────────── */
.oh-backdrop, .oh-sidebar { display: none; }

/* trava a pagina inteira enquanto o menu esta aberto: so o
   sidebar rola e so ele recebe toque */
html.oh-locked, body.oh-locked {
  overflow: hidden !important;
  touch-action: none;
  overscroll-behavior: none;
}

.oh-sidebar-sec { display: grid; gap: 2px; }
.oh-sidebar-cat {
  margin: 22px 0 6px;
  font-family: var(--opt-ff-alt);
  font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--o-accent-ink);
}

@media (max-width: 980px) {
  .oh-nav { display: none; }
  .oh-burger { display: inline-flex; }
  .oh-content { grid-template-columns: auto 1fr; }
  .oh-search-btn span { display: none; }
  .oh-search-btn { width: 40px; padding: 0; }
  .oh-user-name { display: none; }
  .oh-login-btn { padding: 9px 4px; font-size: 12px; }
  .oh-login-btn .oh-login-ic { display: none; }


  .oh-backdrop {
    position: fixed; z-index: 70; inset: 0;
    display: block;
    background: rgba(4, 6, 8, .62);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity .34s ease;
  }
  .oh-backdrop.is-visible { opacity: 1; pointer-events: auto; }

  .oh-sidebar {
    position: fixed; z-index: 71;
    top: 0; right: 0;
    display: block;
    width: min(86vw, 400px);
    height: 100dvh;
    overflow-y: auto;
    border-left: 1px solid var(--o-line-soft);
    background: #202020;
    box-shadow: -20px 0 60px rgba(0,0,0,.55);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    clip-path: circle(0 at calc(100% - 38px) 46px);
    pointer-events: none;
    transition: clip-path .55s cubic-bezier(.16,1,.3,1);
    font-family: var(--opt-ff-body);
    color: var(--o-text);
  }
  .oh-sidebar.is-open { clip-path: circle(150% at calc(100% - 38px) 46px); pointer-events: auto; }
  :root[data-theme="light"] .oh-sidebar { background: #f4f7fa; color: #24282c; }

  .oh-sidebar-inner {
    display: flex; flex-direction: column;
    min-height: 100%;
    padding: max(26px, env(safe-area-inset-top)) 24px max(26px, env(safe-area-inset-bottom));
  }
  .oh-sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
  .oh-sidebar-top .oh-brand-name { font-size: 24px; }

  .oh-sidebar-search {
    display: flex; align-items: center; gap: 10px;
    min-height: 50px; padding: 0 15px;
    border: 1px solid var(--o-line); border-radius: 14px;
    color: var(--o-muted);
  }
  .oh-sidebar-search:focus-within { border-color: var(--o-accent); color: var(--o-accent-ink); }
  .oh-sidebar-search svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .oh-sidebar-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--o-text); font-size: 15px; font-family: var(--opt-ff-body); }
  .oh-sidebar-search input::placeholder { color: var(--o-muted); }

  .oh-sidebar-sec a, .oh-sidebar-sec button {
    display: flex; align-items: center; gap: 11px;
    width: 100%;
    min-height: 50px;
    padding: 0 4px;
    border: 0; border-bottom: 1px solid var(--o-line-soft);
    background: transparent;
    color: var(--o-text);
    font-family: var(--opt-ff-body); font-size: 16px; font-weight: 600;
    text-align: left; text-decoration: none; cursor: pointer;
  }
  .oh-sidebar-sec a svg, .oh-sidebar-sec button svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--o-accent-ink); }
  .oh-sidebar-sec a:active { opacity: .6; }
  .oh-sidebar-sec [hidden] { display: none; }

  .oh-sidebar-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
  .oh-sidebar-foot .oh-login-btn,
  .oh-sidebar-foot .oh-ghost { justify-content: center; width: 100%; padding: 13px; }
  .oh-sidebar-foot .oh-login-btn {
    border: 1px solid var(--o-accent);
    border-radius: 100px;
    background: var(--o-accent);
    color: var(--o-on-accent);
  }
  .oh-sidebar-foot .oh-login-btn svg { display: inline-block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .oh-sidebar-foot .oh-login-btn span,
  .oh-sidebar-foot .oh-user-name { display: inline; }
  .oh-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: 1px solid var(--o-line); border-radius: 100px;
    background: transparent; color: var(--o-text);
    font-family: var(--opt-ff-alt); font-size: 11.5px; letter-spacing: 1.3px; text-transform: uppercase;
    cursor: pointer; text-decoration: none;
  }
  .oh-ghost:hover { border-color: var(--o-accent); color: var(--o-accent-ink); }
  .oh-sidebar-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; font-size: 13px; color: var(--o-muted); }

  .oh-results { top: calc(var(--oh-top) + var(--oh-h) + 10px); width: calc(100% - 24px); }
}

@media (max-width: 520px) {
  :root { --oh-top: 14px; --oh-h: 64px; }
  .oh { width: calc(100% - 22px); border-radius: 18px; }
  .oh-content > .oh-brand .oh-brand-name { display: none; }
  .oh-sidebar .oh-brand-name { display: inline; font-size: 22px; }
  .oh-actions { gap: 7px; }
  .oh-icon-btn { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .oh, .oh *, .oh-sidebar, .oh-sidebar *, .oh-results, .oh-results * {
    animation: none !important;
    transition: none !important;
  }
}




/* ============================================================
   FLOW — o tablet sai do computador e cai nas mãos
   ============================================================ */

/* body e .opt usavam overflow-x:hidden, o que cria contexto de
   rolagem e MATA o position:sticky. clip corta igual sem isso. */
body.optimus-page,
.opt {
  overflow-x: clip;
  overflow-y: visible;
}

/* nenhuma section pinta fundo: só o body e as orbs */
.opt section, .flow, .flow-step { background: transparent; }

/* ── fundo 3D da página (orbs + grid) ─────────────────────── */
.opt-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* ── palco fixo ───────────────────────────────────────────── */
.flow {
  position: relative;
  /* sobe o conteudo da etapa (imagem + texto) sem mexer no marquee */
  --flow-up: 10vh;
}

/* o palco fica preso a este bloco: quando a section 2 acaba,
   o tablet e as maos saem da tela junto com ele */
.flow-pin { position: relative; }

.flow-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-bottom: -100vh;   /* não consome altura no fluxo */
  z-index: 0;
  pointer-events: none;
}

/* computador — etapa 1 */
.flow-pc {
  position: absolute;
  z-index: 2;                       /* tablet POR CIMA das maos */
  left: 1%;
  top: calc(50% - var(--flow-up, 0px));
  width: clamp(260px, 38vw, 620px);
  transform: translateY(-50%);
  will-change: opacity, transform;
}

.flow-pc > img { display: block; width: 100%; height: auto; }

/* tablet encaixado: 40px acima da borda visível de baixo do objeto 2.
   A imagem tem 32.97% de área transparente embaixo. */
.flow-tablet {
  position: absolute;
  z-index: 3;
  left: 52%;                        /* % do computador: acompanha zoom e resize */
  bottom: calc(32.97% + 0.8%);      /* 32.97% = faixa transparente do objeto 2 */
  width: 20%;                       /* metade do tamanho anterior */
  will-change: transform;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55));
}

.flow-tablet > img { display: block; width: 100%; height: auto; }

/* mãos — etapa 2 */
.flow-hands {
  position: absolute;
  z-index: 1;                       /* maos por baixo do tablet */
  right: 7%;
  top: calc(50% - var(--flow-up, 0px));
  width: clamp(220px, 26vw, 420px);
  transform: translateY(-50%);
  opacity: 0;
  will-change: opacity, transform;
}

.flow-hands > img { display: block; width: 100%; height: auto; }

/* alvo invisível onde o tablet pousa (região das palmas) */
.flow-slot {
  position: absolute;
  left: -3%;
  right: -3%;
  top: calc(30% - 47px);   /* 15px + 32px acima */
  height: 46%;
  display: block;
}

/* ── etapas ───────────────────────────────────────────────── */
/* `.opt section { max-width:none; margin:0; padding:0 }` tem
   especificidade maior e anulava o layout das etapas */
.opt section.flow-step {
  position: relative;
  z-index: 1;
  /* mais alta que a caixa do texto (100vh) para o sticky ter
     curso: e o que mantem texto e imagem travados juntos */
  min-height: 155vh;
  display: grid;
  align-items: start;
  padding: 0 clamp(20px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
}

.opt section.flow-step.right { justify-items: end; }
.opt section.flow-step.left  { justify-items: start; }
.opt section.flow-step.empty { min-height: 60vh; padding-top: 0; }

.flow-text {
  /* caixa de 100vh centrada: o texto fica na MESMA linha do
     objeto 2, que tambem esta centrado no palco (top: 50%) */
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: calc(var(--flow-up, 0px) * 2);   /* sobe o texto o mesmo tanto */
  max-width: 460px;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1);
}

.flow-step.is-active .flow-text { opacity: 1; transform: none; }

.flow-text h2 {
  margin: 0 0 16px;
  font-family: var(--opt-ff-title);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  color: var(--o-title);
}

.flow-text p {
  margin: 0 0 26px;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.7;
  color: var(--o-text);
}

.flow-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid var(--o-accent);
  border-radius: 100px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  font-family: var(--opt-ff-alt);
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.flow-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(135, 201, 252, .4); }

/* ── mobile / tablet ──────────────────────────────────────── */
@media (max-width: 900px) {
  .flow-pc    { left: 50%; width: min(84vw, 520px); transform: translate(-50%, -50%); opacity: .3; }
  .flow-hands { right: auto; left: 50%; width: min(58vw, 320px); transform: translate(-50%, -50%); }
  .opt section.flow-step, .opt section.flow-step.right, .opt section.flow-step.left { justify-items: center; text-align: center; }
  .flow-text { max-width: 560px; }
}

/* ── sem movimento ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .flow-stage { position: static; height: auto; margin-bottom: 0; }
  .flow-pc, .flow-hands { position: static; transform: none; opacity: 1; margin: 0 auto 30px; }
  .flow-tablet { transform: none !important; }
  .opt section.flow-step { min-height: 0; padding-top: 60px; }
  .flow-text { opacity: 1; transform: none; }
}

/* numeração 01/02 removida */
.flow-idx { display: none; }


/* ============================================================
   HERO DA ETAPA 1 — texto grande, toggle e botoes pilula
   --hero-s controla o tamanho de TODOS os itens do bloco
   ============================================================ */

.hero-block { --hero-s: 1.75; }

.hero-block {
  /* sem position aqui: sobrescrevia o sticky do .flow-text
     (sticky ja serve de containing block pro fantasma) */
  max-width: min(calc(620px * var(--hero-s)), 52vw);
  padding-left: clamp(0px, 1.5vw, 20px);
}

/* palavra fantasma atras do texto */
.hero-ghost {
  position: absolute;
  z-index: -1;
  left: calc(-10px * var(--hero-s));
  top: 50%;
  transform: translateY(-52%);
  font-family: var(--opt-ff-title);
  font-size: clamp(2.6rem, calc(6vw * var(--hero-s)), calc(6.2rem * var(--hero-s)));
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--o-ghost);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ── toggle ─────────────────────────────────────────────── */
.seg {
  align-self: flex-start;
  display: inline-flex;
  gap: calc(4px * var(--hero-s));
  padding: calc(4px * var(--hero-s));
  margin-bottom: calc(16px * var(--hero-s));
  border: 1px solid var(--o-line);
  border-radius: 100px;
  background: var(--o-surface);
}

.seg-btn {
  padding: calc(8px * var(--hero-s)) calc(18px * var(--hero-s));
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--o-muted);
  cursor: pointer;
  font-family: var(--opt-ff-alt);
  font-size: calc(12px * var(--hero-s));
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}

.seg-btn:hover { color: var(--o-text); }

.seg-btn.is-on {
  background: var(--o-accent);
  color: var(--o-on-accent);
}

/* ── textos ─────────────────────────────────────────────── */
.hero-panes { position: relative; }

.hero-pane {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.hero-pane.is-on {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: none;
}

.hero-kicker {
  margin: 0 0 calc(10px * var(--hero-s));
  font-style: italic;
  font-size: clamp(.8rem, calc(.75vw * var(--hero-s)), calc(1rem * var(--hero-s)));
  font-weight: 600;
  line-height: 1.4;
  color: var(--o-text);
  opacity: .85;
}

.hero-title {
  margin: 0;
  display: grid;
  font-family: var(--opt-ff-title);
  font-size: clamp(1.9rem, calc(3.4vw * var(--hero-s)), calc(4.2rem * var(--hero-s)));
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--o-title);
}

.hero-accent {
  background: linear-gradient(96deg, #2f8fff, #4fd8ff 62%, #2f8fff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroShine 7s linear infinite;
}

@keyframes heroShine { to { background-position: 220% 0; } }

/* ── botoes pilula ──────────────────────────────────────── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12px * var(--hero-s));
  margin-top: calc(24px * var(--hero-s));
}

.pill {
  --hero-s: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10px * var(--hero-s));
  min-width: calc(172px * var(--hero-s));
  height: calc(44px * var(--hero-s));
  padding: 0 calc(22px * var(--hero-s));
  border: 0;
  border-radius: 100px;
  background: var(--o-pill);
  box-shadow: none;
  color: var(--o-pill-ink);
  cursor: pointer;
  font-family: var(--opt-ff-alt);
  font-size: calc(13px * var(--hero-s));
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s cubic-bezier(.39, 1.2, .64, 1),
              filter .2s ease, gap .25s ease, background-color .3s ease;
}

.hero-actions .pill { --hero-s: 1.75; }

.pill:hover  { transform: translateY(-2px); filter: brightness(1.12); gap: calc(15px * var(--hero-s)); }
.pill:active { transform: scale(.97); }

.pill-txt { position: relative; white-space: nowrap; }

.pill-arrow,
.pill-ic {
  width: calc(15px * var(--hero-s));
  height: calc(15px * var(--hero-s));
  flex: none;
  transition: transform .25s cubic-bezier(.39, 1.2, .64, 1);
}

.pill:hover .pill-arrow { transform: translateX(calc(4px * var(--hero-s))); }

.pill-primary {
  background: var(--o-accent);
  box-shadow: none;
  color: var(--o-on-accent);
}

/* ── botao do cupom: copiar -> copiado ──────────────────── */
.pill-cupom .ic-ok { display: none; color: #34d399; }
.pill-cupom.is-copied .ic-copy { display: none; }
.pill-cupom.is-copied .ic-ok   { display: block; }
.pill-cupom.is-copied          { background: #12261f; color: #7ef0bf; }

/* canvas dos confetes */
#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

/* ── tokens do hero ─────────────────────────────────────── */
:root {
  --o-ghost:    rgba(255, 255, 255, .045);
  --o-pill:     #1f2335;
  --o-pill-ink: #ffffff;
}

:root[data-theme="light"] {
  --o-ghost:    rgba(20, 26, 40, .07);
  --o-pill:     #1f2335;
  --o-pill-ink: #ffffff;
}

/* ── responsivo ─────────────────────────────────────────── */
@media (max-width: 1200px) { .hero-block { --hero-s: 1.35; } .hero-actions .pill { --hero-s: 1.35; } }
@media (max-width: 900px) {
  .hero-block { --hero-s: 1.15; max-width: 100%; padding-left: 0; }
  .hero-actions .pill { --hero-s: 1.15; }
  .hero-ghost { left: 50%; transform: translate(-50%, -52%); }
  .hero-actions, .seg { align-self: center; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-block { --hero-s: 1; }
  .hero-actions .pill { --hero-s: 1; min-width: 0; flex: 1 1 100%; }
  .hero-ghost { font-size: clamp(2.4rem, 14vw, 3.6rem); }
}


/* ============================================================
   MARQUEE — faixa infinita entre o header e a etapa 1
   sem borda, sem background
   ============================================================ */
.mk {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin: clamp(18px, 3.2vh, 40px) 0 clamp(10px, 2vh, 26px);
  padding: clamp(8px, 1.4vh, 16px) 0;
  border: 0;
  background: none;
  /* some suavemente nas duas pontas */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  user-select: none;
}

.mk-track {
  display: flex;
  width: max-content;
  animation: mkRun 46s linear infinite;   /* direita -> esquerda */
}

.mk:hover .mk-track { animation-play-state: paused; }

@keyframes mkRun { to { transform: translateX(-50%); } }

.mk-set {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-right: clamp(28px, 4vw, 64px);
  flex: none;
}

.mk-img {
  width: clamp(34px, 3.4vw, 54px);
  height: clamp(34px, 3.4vw, 54px);
  flex: none;
  object-fit: contain;
  color: transparent;
  font-size: 0;
}

/* enquanto o src estiver vazio o espaco fica reservado,
   sem mostrar o icone de imagem quebrada */
.mk-img[src=""], .mk-img:not([src]) { visibility: hidden; }

.mk-txt {
  flex: none;
  font-family: var(--opt-ff-alt);
  font-size: clamp(13px, 1.15vw, 19px);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--o-muted);
}

@media (prefers-reduced-motion: reduce) {
  .mk-track { animation: none; }
}


/* ============================================================
   ETAPA 2 — "Na Palma da sua Mão"
   Mesma tipografia/escala da etapa 1 (--hero-s)
   ============================================================ */
.s2-block {
  --hero-s: 1.55;
  max-width: min(calc(560px * var(--hero-s)), 50vw);
}

.flow-text .s2-title {
  margin: 0 0 calc(12px * var(--hero-s));
  font-family: var(--opt-ff-title);
  font-size: clamp(1.9rem, calc(3.2vw * var(--hero-s)), calc(3.7rem * var(--hero-s)));
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--o-title);
}

.flow-text .s2-sub {
  margin: 0 0 calc(20px * var(--hero-s));
  max-width: 44ch;
  font-size: clamp(.95rem, calc(.78vw * var(--hero-s)), calc(1.05rem * var(--hero-s)));
  line-height: 1.6;
  color: var(--o-text);
  opacity: .88;
}

.s2-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(20px * var(--hero-s));
  margin: 0 0 calc(22px * var(--hero-s));
  padding: 0;
  list-style: none;
}
.s2-logos li { display: flex; }
.s2-logos img {
  width: calc(34px * var(--hero-s));
  height: calc(34px * var(--hero-s));
  object-fit: contain;
  color: transparent;
  font-size: 0;
}
/* enquanto o src estiver vazio o espaco fica reservado, sem icone quebrado */
.s2-logos img[src=""], .s2-logos img:not([src]) { visibility: hidden; }

.s2-actions { margin-top: 0; }
.s2-actions .pill { --hero-s: 1.35; }


/* ============================================================
   RESPONSIVIDADE — revisao geral (mobile / tablet / landscape)
   ============================================================ */

/* nada pode estourar a largura da tela */
.opt img, .oh img, .footer img { max-width: 100%; }
.opt, .oh, .oh-sidebar { min-width: 0; }

/* ── Tablet grande (<= 1200px) ────────────────────────────── */
@media (max-width: 1200px) {
  .s2-block { --hero-s: 1.25; max-width: min(calc(560px * var(--hero-s)), 56vw); }
  .s2-actions .pill { --hero-s: 1.15; }
  .flow-pc   { width: clamp(240px, 40vw, 520px); }
  .flow-hands{ width: clamp(200px, 28vw, 360px); }
}

/* ── Tablet / mobile (<= 900px) ───────────────────────────────
   O palco fixo (sticky + transforms via JS) nao sobrevive a
   telas estreitas: texto e imagem se sobrepoem. Abaixo de 900px
   a narrativa vira um empilhamento simples e previsivel.
   ------------------------------------------------------------ */
@media (max-width: 900px) {

  /* palco deixa de flutuar */
  .flow-stage {
    position: static;
    height: auto;
    margin-bottom: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .flow-pc {
    position: relative;
    left: auto; right: auto; top: auto;
    width: min(76vw, 420px);
    margin: 0 auto clamp(6px, 3vw, 24px);
    transform: none !important;
    opacity: 1 !important;
  }
  .flow-pc > img { transform: none !important; opacity: 1 !important; }
  .flow-tablet   { transform: none !important; }

  /* as maos so fazem sentido com a animacao do tablet */
  .flow-hands { display: none; }

  /* etapas viram blocos normais, centralizados */
  .opt section.flow-step,
  .opt section.flow-step.right,
  .opt section.flow-step.left {
    min-height: 0;
    padding: clamp(28px, 8vw, 64px) clamp(16px, 5vw, 40px);
    justify-items: center;
    text-align: center;
    opacity: 1 !important;
  }
  .opt section.flow-step.empty { min-height: 0; padding: 0; }

  .flow-text {
    position: static;
    min-height: 0;
    max-width: 100%;
    padding-bottom: 0;
    align-items: center;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-block, .s2-block { max-width: 100%; padding-left: 0; }
  .hero-block { --hero-s: 1.15; }
  .s2-block   { --hero-s: 1.1; }
  .hero-actions .pill, .s2-actions .pill { --hero-s: 1.1; }

  /* o fantasma so funciona com a caixa sticky; empilhado ele
     atravessa o titulo */
  .hero-ghost { display: none; }

  .hero-panes { width: 100%; }
  .hero-title, .flow-text .s2-title { justify-items: center; text-align: center; }
  .flow-text .s2-sub { max-width: 40ch; margin-inline: auto; }
  .s2-logos { justify-content: center; gap: clamp(18px, 5vw, 30px); }
  .hero-actions, .s2-actions, .seg { justify-content: center; align-self: center; }
}

/* ── Mobile (<= 620px) ────────────────────────────────────── */
@media (max-width: 620px) {
  .opt { --pad: 16px; }

  .flow-pc { width: min(86vw, 340px); }

  .hero-block { --hero-s: 1; }
  .s2-block   { --hero-s: 1; }
  .hero-actions .pill, .s2-actions .pill { --hero-s: 1; }

  .flow-text .s2-sub { font-size: 1rem; max-width: 34ch; }
  .s2-logos img { width: 34px; height: 34px; }

  /* botoes ocupam a linha inteira e ficam com area de toque boa */
  .hero-actions, .s2-actions { width: 100%; gap: 10px; }
  .hero-actions .pill, .s2-actions .pill {
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
    height: 50px;
    font-size: 13.5px;
  }

  .seg { width: 100%; justify-content: center; }
  .seg-btn { flex: 1 1 0; padding: 11px 10px; font-size: 12px; }

  .mk-txt { font-size: 12.5px; letter-spacing: .14em; }
  .mk-img { width: 32px; height: 32px; }
}

/* ── Mobile pequeno (<= 380px) ────────────────────────────── */
@media (max-width: 380px) {
  :root { --oh-top: 10px; --oh-h: 58px; }
  .oh { width: calc(100% - 16px); border-radius: 16px; }
  .oh-content { padding: 0 10px; gap: 8px; }
  .oh-brand img { width: 34px; height: 34px; }
  .oh-icon-btn { width: 36px; height: 36px; }
  .oh-actions { gap: 6px; }
  .flow-text .s2-title { font-size: 1.75rem; }
  .flow-text .s2-sub   { font-size: .95rem; }
}

/* ── Celular deitado / telas baixas ───────────────────────── */
@media (max-height: 520px) and (orientation: landscape) {
  .opt section.flow-step { padding-block: 34px; }
  .flow-pc { width: min(42vw, 300px); }
  .hero-block, .s2-block { --hero-s: 1; }
  .hero-actions .pill, .s2-actions .pill { --hero-s: 1; }
  .hero-ghost { display: none; }
}

/* ── Sidebar do header em telas muito baixas ──────────────── */
@media (max-width: 980px) and (max-height: 640px) {
  .oh-sidebar-cat { margin: 14px 0 4px; }
  .oh-sidebar-sec a, .oh-sidebar-sec button { min-height: 42px; font-size: 15px; }
  .oh-sidebar-inner { padding-block: 18px; }
}

/* ── Rodape: tipografia do SR2 e grande demais no celular ─── */
@media (max-width: 600px) {
  body.optimus-page .footer-col p,
  body.optimus-page .footer-col a { font-size: 16px; }
  body.optimus-page .footer-col h3 { font-size: 19px; }
  body.optimus-page .footer-bottom { font-size: 1rem; }
  body.optimus-page .footer-container { gap: 26px; }
}

/* ── Alvos de toque (acessibilidade / SEO mobile) ─────────── */
@media (pointer: coarse) {
  .oh-menu-pop a, .oh-sidebar-sec a, .oh-sidebar-sec button { min-height: 46px; }
  .pill { min-height: 44px; }
}


/* ============================================================
   ETAPA 3 — "Escolha Seu Optimus" (3 cards de apresentacao)
   30% imagem · 70% conteudo
   ============================================================ */
.opt section.oc-section {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(50px, 9vh, 120px) clamp(20px, 5vw, 80px) clamp(60px, 10vh, 130px);
}

.oc-head { margin-bottom: clamp(28px, 4.5vw, 56px); text-align: center; }

.oc-title {
  display: grid;
  gap: 2px;
  margin: 0;
  font-family: var(--opt-ff-title);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--o-title);
}

.oc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
}

/* ── card ─────────────────────────────────────────────────── */
.oc {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--o-line);
  border-radius: var(--opt-r-lg);
  background: var(--o-surface);
  box-shadow: var(--o-shadow);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.oc:hover {
  transform: translateY(-6px);
  border-color: var(--o-accent);
  box-shadow: var(--o-shadow), var(--o-glow);
}

/* 30% do card: imagem */
.oc-media {
  position: relative;
  flex: 0 0 30%;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(135,201,252,.22), transparent 70%),
    var(--o-surface-2);
}
.oc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* src vazio: o espaco fica reservado, sem icone quebrado */
.oc-media img[src=""], .oc-media img:not([src]) { visibility: hidden; }

/* 70% do card: conteudo */
.oc-body {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
}

.oc-name {
  margin: 0 0 8px;
  font-family: var(--opt-ff-title);
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--o-title);
}

.opt .oc-sub {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--o-line-soft);
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.55;
  color: var(--o-muted);
}

/* ── beneficios ───────────────────────────────────────────── */
.oc-list {
  display: grid;
  gap: 12px;
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
}
.oc-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(.88rem, .95vw, .98rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--o-text);
}
.oc-list svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: var(--o-accent-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── botao do card (padrao Uiverse, paleta Optimus) ───────── */
.oc-btn {
  width: 100%;
  max-width: 220px;
  height: 44px;
  margin-top: clamp(20px, 2.4vw, 30px);
  background-image: linear-gradient(var(--o-accent), var(--opt-blue-2));
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: var(--opt-ff-alt);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 1px 3px 0px var(--opt-blue-deep);
  transition-duration: .3s;
  -webkit-tap-highlight-color: transparent;
}
.oc-btn:hover { filter: brightness(1.06); }
.oc-btn:active {
  transform: translate(2px, 0px);
  box-shadow: 0px 1px 0px var(--opt-blue-deep);
  padding-bottom: 1px;
}
.oc-btn-ic {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── responsivo ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .oc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc { min-height: 600px; }
}

@media (max-width: 760px) {
  .oc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .oc { min-height: 0; }
  .oc-media { flex: none; aspect-ratio: 16 / 9; }
  .oc-body { flex: none; }
  .oc-btn { max-width: 100%; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .oc, .oc-btn { transition: none; }
  .oc:hover { transform: none; }
}


/* ============================================================
   AJUSTES — pill branco, titulo em linha unica, reveal,
   card clicavel e beneficios 2.5x
   ============================================================ */

/* `.opt a { color: inherit }` vencia por especificidade e deixava
   o texto do pill herdando a cor do bloco. */
.opt a.pill { color: var(--o-pill-ink); }

/* ── Titulo em UMA linha, com regua ate a borda da tela ──── */
.oc-head {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  margin-inline: calc(50% - 50vw);
  margin-bottom: clamp(28px, 4.5vw, 56px);
  text-align: center;
}

.oc-rule {
  flex: 1 1 0;
  min-width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--o-accent));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .18s;
}
.oc-rule + .oc-title + .oc-rule,
.oc-head .oc-rule:last-child {
  background: linear-gradient(90deg, var(--o-accent), transparent);
  transform-origin: left center;
}
.oc-head.is-in .oc-rule { transform: scaleX(1); }

.oc-title {
  flex: none;
  display: block;
  white-space: nowrap;
  font-size: clamp(1.45rem, 4.4vw, 3.8rem);
}

/* ── Reveal (IntersectionObserver adiciona .is-in) ────────── */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease var(--rv-d, 0s),
              transform .7s cubic-bezier(.2, .8, .2, 1) var(--rv-d, 0s);
  will-change: opacity, transform;
}
.rv.is-in { opacity: 1; transform: none; }

/* o hover do card precisa vencer o .rv.is-in */
.oc.rv.is-in:hover { transform: translateY(-6px); }

/* ── Card inteiro clicavel (leva ao WhatsApp) ─────────────── */
.oc { cursor: pointer; }
.oc-btn { position: static; text-decoration: none; }
.oc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

/* ── Beneficios: escala unica (--oc-bs) ───────────────────── */
.oc-list {
  --oc-bs: 2.5;
  gap: calc(7px * var(--oc-bs));
}
.oc-list li {
  gap: calc(5px * var(--oc-bs));
  font-size: calc(clamp(.88rem, .95vw, .98rem) * var(--oc-bs));
  line-height: 1.25;
}
.oc-list svg {
  width: calc(20px * var(--oc-bs));
  height: calc(20px * var(--oc-bs));
  stroke-width: 1.6;
}

/* com os beneficios maiores o card cresce pelo conteudo */
.oc { min-height: 0; }
.oc-media { min-height: clamp(190px, 22vw, 260px); }

@media (max-width: 1080px) { .oc-list { --oc-bs: 2.1; } }
@media (max-width: 760px)  { .oc-list { --oc-bs: 1.9; } }
@media (max-width: 420px)  { .oc-list { --oc-bs: 1.6; } }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .oc-rule { transform: none; transition: none; }
}


/* ============================================================
   ETAPA 4 — LIQUIDO: "Tudo Conectado no Optimus"
   Vidro liquido (blur + reflexo) e um rio de curvas ligando os
   campos ao painel central.
   ============================================================ */
.opt section.lq {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) clamp(20px, 5vw, 80px) clamp(60px, 10vh, 130px);
}

.opt .lq-lead {
  max-width: 60ch;
  margin: calc(-1 * clamp(14px, 2.5vw, 30px)) auto clamp(30px, 5vw, 58px);
  font-size: clamp(.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: var(--o-muted);
  text-align: center;
}

/* ── palco ────────────────────────────────────────────────── */
.lq-stage { position: relative; }

.lq-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.lq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 250px);
  gap: clamp(16px, 2.2vw, 34px);
  align-items: center;
}

.lq-col {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  align-content: center;
}

/* ── vidro liquido ────────────────────────────────────────── */
.lq-card,
.lq-main {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .022) 46%, rgba(255, 255, 255, .05));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .20),
    inset 0 -1px 0 rgba(255, 255, 255, .05);
}

/* reflexo especular do topo — o que da a leitura "liquida" */
.lq-card::before,
.lq-main::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 130%;
  background: radial-gradient(60% 46% at 50% 0%, rgba(255, 255, 255, .16), transparent 70%);
  pointer-events: none;
}

:root[data-theme="light"] .lq-card,
:root[data-theme="light"] .lq-main {
  border-color: rgba(28, 95, 146, .16);
  background: linear-gradient(158deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .55));
  box-shadow: 0 18px 40px rgba(28, 60, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.lq-card {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
}

.lq-card-t {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--opt-ff-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--o-title);
}
.lq-card-t svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--o-accent-ink);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.lq-card-s {
  font-size: .72rem;
  line-height: 1.35;
  color: var(--o-muted);
}

/* ── DNS ──────────────────────────────────────────────────── */
.lq-dns {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 100px;
}
.lq-lock {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--o-accent-ink);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.lq-dns-url {
  overflow: hidden;
  font-size: .7rem;
  color: var(--o-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lq-tag {
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(135, 201, 252, .16);
  color: var(--o-accent-ink);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── bate-papo ────────────────────────────────────────────── */
.opt .lq-msg {
  max-width: 88%;
  margin: 0;
  padding: 8px 11px;
  border-radius: 13px;
  font-size: .72rem;
  line-height: 1.35;
  color: var(--o-text);
}
.opt .lq-msg.in {
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, .07);
}
.opt .lq-msg.out {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  font-weight: 600;
}

/* ── paleta ───────────────────────────────────────────────── */
.lq-swatches { display: flex; gap: 6px; }

.lq-sw {
  position: relative;
  width: 26px; height: 26px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--c);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: transform .2s cubic-bezier(.39, 1.2, .64, 1), box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.lq-sw:hover { transform: translateY(-2px); }

/* selecionado: anel na propria cor, sem mexer no tamanho */
.lq-sw.is-on {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .3),
    0 0 0 2px var(--o-panel),
    0 0 0 4px var(--c);
}
/* marca de conferido, desenhada em CSS */
.lq-sw.is-on::after {
  content: "";
  position: absolute;
  left: 9px; top: 5px;
  width: 5px; height: 10px;
  border: 2px solid rgba(7, 7, 7, .62);
  border-top: 0;
  border-left: 0;
  transform: rotate(42deg);
}
.lq-sw[data-tema="#1c5f92"].is-on::after,
.lq-sw[data-tema="#393939"].is-on::after { border-color: rgba(255, 255, 255, .8); }

.lq-theme-now b { color: var(--o-accent-ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .lq-sw { transition: none; }
  .lq-sw:hover { transform: none; }
}

/* ── grafico ──────────────────────────────────────────────── */
.lq-stat-n {
  font-family: var(--opt-ff-title);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--o-title);
}
.lq-spark { display: block; width: 100%; height: 42px; }

/* ── anuncio ──────────────────────────────────────────────── */
.lq-ad-img {
  aspect-ratio: 16 / 10;
  border-radius: 11px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(135, 201, 252, .24), transparent 72%),
    var(--o-surface-2);
}
.lq-ad-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lq-ad-img img[src=""], .lq-ad-img img:not([src]) { visibility: hidden; }

.lq-ad-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lq-ad-name { font-size: .78rem; font-weight: 700; color: var(--o-title); }
.lq-ad-price { font-size: .8rem; font-weight: 700; color: var(--o-accent-ink); }
.lq-ad-btn {
  width: 100%;
  margin-top: 2px;
  padding: 9px 12px;
  border: 0;
  border-radius: 100px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  cursor: pointer;
  font-family: var(--opt-ff-alt);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(47, 143, 255, .22);
  transition: filter .2s ease, transform .18s cubic-bezier(.39, 1.2, .64, 1);
  -webkit-tap-highlight-color: transparent;
}
.lq-ad-btn:hover  { filter: brightness(1.08); }
.lq-ad-btn:active { transform: scale(.97); }

@media (prefers-reduced-motion: reduce) {
  .lq-ad-btn { transition: none; }
  .lq-ad-btn:active { transform: none; }
}

/* ── aviso acima do painel ────────────────────────────────── */
.lq-center { display: grid; gap: 10px; min-width: 0; }

.opt .lq-hint {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--o-line);
  border-radius: 100px;
  background: rgb(135, 201, 252);
  color: var(--o-text);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
}
.lq-hint svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lq-hint-arrow { animation: lqHintBob 2.4s ease-in-out infinite; }
@keyframes lqHintBob {
  0%, 100% { transform: translateY(-1px); }
  50%      { transform: translateY(2px); }
}

@media (max-width: 520px) {
  .opt .lq-hint { font-size: .66rem; padding: 6px 11px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .lq-hint-arrow { animation: none; }
}

/* ── painel central: mini ERP ─────────────────────────────── */
.lq-main {
  --erp-w: 178px;
  padding: 12px;
  border-radius: 22px;
}
.lq-main.is-min { --erp-w: 46px; }

.lq-main-bar { display: flex; gap: 5px; padding: 2px 4px 12px; }
.lq-main-bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.erp-body {
  display: grid;
  grid-template-columns: var(--erp-w) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  min-height: clamp(260px, 26vw, 360px);
  transition: grid-template-columns .32s cubic-bezier(.2, .8, .2, 1);
}

/* ── sidebar ──────────────────────────────────────────────── */
.erp-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-right: clamp(8px, 1vw, 14px);
  border-right: 1px solid var(--o-line-soft);
}

.erp-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-bottom: 14px;
  padding: 2px 6px;
}
.erp-brand img { width: 26px; height: 26px; flex: none; object-fit: contain; }
.erp-brand .erp-label {
  font-family: var(--opt-ff-title);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--o-accent-ink);
}

.erp-nav { display: grid; gap: 2px; }

/* itens: sem borda e sem fundo — so o svg e o texto reagem */
.erp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--o-muted);
  cursor: pointer;
  font-family: var(--opt-ff-body);
  font-size: .78rem;
  font-weight: 600;
  text-align: left;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.erp-item svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .2s ease;
}
.erp-item:hover { color: var(--o-text); }
.erp-item.is-on { color: var(--o-accent-ink); }

.erp-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity .2s ease;
}
.lq-main.is-min .erp-label {
  opacity: 0;
  width: 0;
  padding: 0;
  pointer-events: none;
}
.lq-main.is-min .erp-item,
.lq-main.is-min .erp-brand,
.lq-main.is-min .erp-min { justify-content: center; gap: 0; padding-inline: 0; }

.erp-min {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 8px 6px;
  border: 0;
  background: none;
  color: var(--o-muted);
  cursor: pointer;
  font-family: var(--opt-ff-body);
  font-size: .7rem;
  font-weight: 600;
  transition: color .2s ease;
}
.erp-min svg {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.erp-min:hover { color: var(--o-accent-ink); }
.lq-main.is-min .erp-min svg { transform: rotate(180deg); }

/* ── conteudo do modulo ───────────────────────────────────── */
.erp-view {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(10px, 2vw, 26px) clamp(6px, 1.4vw, 18px);
}

.erp-pane {
  display: none;
  max-width: 40ch;
}
.erp-pane.is-on {
  display: block;
  animation: erpIn .34s cubic-bezier(.2, .8, .2, 1);
}
@keyframes erpIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.erp-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--opt-ff-alt);
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--o-accent-ink);
}
.opt .erp-pane h3 {
  margin: 0 0 8px;
  font-family: var(--opt-ff-title);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  color: var(--o-title);
}
.opt .erp-pane p {
  margin: 0;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1.6;
  color: var(--o-text);
}

@media (prefers-reduced-motion: reduce) {
  .erp-body, .erp-min svg, .erp-pane.is-on { transition: none; animation: none; }
}

@media (max-width: 520px) {
  .lq-main { --erp-w: 44px; }
  .lq-main .erp-label { opacity: 0; width: 0; padding: 0; pointer-events: none; }
  .lq-main .erp-item, .lq-main .erp-brand, .lq-main .erp-min { justify-content: center; gap: 0; padding-inline: 0; }
  .erp-min { display: none; }
}

/* ── responsivo ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .lq-grid { grid-template-columns: minmax(0, 210px) minmax(0, 1fr) minmax(0, 210px); }
  .lq-stat-n { font-size: 1.35rem; }
}

@media (max-width: 860px) {
  /* sem espaco lateral: o rio sai e os campos viram uma coluna */
  .lq-links { display: none; }
  .lq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .lq-center { grid-column: 1 / -1; order: -1; }
  .lq-col { display: contents; }
  .lq-dns { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .lq-grid { grid-template-columns: minmax(0, 1fr); }
  .lq-card { border-radius: 15px; }
}


/* ============================================================
   ETAPA 5 — VITRINE
   Imagem 1920x1080 a 80% da largura da tela. Os cards trocam a
   imagem grande; CTA em vidro liquido no canto inferior direito.
   ============================================================ */
.opt section.hz {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) 0 clamp(60px, 10vh, 130px);
}

.hz-stage {
  position: relative;
  width: 80%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--o-line);
  border-radius: clamp(16px, 1.6vw, 26px);
  background: var(--o-surface-2);
  box-shadow: var(--o-shadow);
  isolation: isolate;
}

/* ── imagem de fundo ──────────────────────────────────────── */
.hz-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s ease;
}
.hz-bg[src=""], .hz-bg:not([src]) { visibility: hidden; }
.hz-bg.is-swap { opacity: 0; }

/* veu que garante leitura dos cards sobre qualquer foto */
.hz-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 7, 7, .82) 4%, rgba(7, 7, 7, .34) 42%, transparent 72%),
    linear-gradient(to right, rgba(7, 7, 7, .55), transparent 58%);
}

/* ── cards ────────────────────────────────────────────────── */
.hz-cards {
  position: absolute;
  left: clamp(16px, 2.4vw, 40px);
  bottom: clamp(16px, 2.4vw, 40px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.2vw, 18px);
}

.hz-card {
  display: flex;
  flex-direction: column;
  width: clamp(168px, 15vw, 230px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .035));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.hz-card:hover,
.hz-card:focus-visible { border-color: rgba(255, 255, 255, .3); outline: none; }
.hz-card.is-on {
  border-color: var(--o-accent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 1px var(--o-accent), var(--o-glow);
}

/* 50% imagem (metade de cima) */
.hz-card-img {
  position: relative;
  flex: 0 0 50%;
  width: 100%;
  min-height: clamp(120px, 11vw, 165px);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(135, 201, 252, .22), transparent 72%),
    var(--o-surface-2);
}
.hz-card-img > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hz-card-img > img[src=""], .hz-card-img > img:not([src]) { visibility: hidden; }

/* preco: canto inferior direito da IMAGEM do card */
.hz-price {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(7, 7, 7, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--opt-ff-alt);
  font-size: clamp(.95rem, 1.15vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}

/* 50% texto (metade de baixo) */
.hz-card-txt {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 13px 14px;
}
.opt .hz-card-txt h3 {
  margin: 0;
  font-family: var(--opt-ff-title);
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.08;
  color: #ffffff;
}
.opt .hz-card-txt p {
  margin: 0;
  font-size: clamp(.68rem, .72vw, .78rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}

/* ── CTA em vidro liquido (lente) ─────────────────────────────
   Bem transparente: o vidro deixa a foto passar e so o aro fino
   e o reflexo do topo desenham o botao.
   ------------------------------------------------------------ */
.hz-cta {
  position: absolute;
  right: clamp(16px, 2.4vw, 40px);
  bottom: clamp(16px, 2.4vw, 40px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 20px);
  padding: clamp(16px, 1.6vw, 24px) clamp(28px, 3vw, 48px);
  border: 0;
  border-radius: 100px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 48%, rgba(255, 255, 255, .18));
  backdrop-filter: blur(18px) saturate(190%) brightness(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(190%) brightness(1.18);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .38),
    inset 0 -14px 26px rgba(255, 255, 255, .06),
    inset 0 1px 1px rgba(255, 255, 255, .30);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.39, 1.2, .64, 1), box-shadow .28s ease;
  -webkit-tap-highlight-color: transparent;
}

/* aro de 1px em gradiente: aceso em cima/esquerda, apagado no meio */
.hz-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, .95),
    rgba(255, 255, 255, .42) 26%,
    rgba(255, 255, 255, .12) 52%,
    rgba(255, 255, 255, .40) 74%,
    rgba(255, 255, 255, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* reflexo especular do topo */
.hz-cta::before {
  content: "";
  position: absolute;
  inset: -70% -15% auto -15%;
  height: 150%;
  border-radius: inherit;
  background: radial-gradient(50% 40% at 30% 0%, rgba(255, 255, 255, .5), transparent 74%);
  pointer-events: none;
}

.hz-cta-mark {
  position: relative;
  z-index: 1;
  width: clamp(24px, 2.1vw, 34px);
  height: clamp(24px, 2.1vw, 34px);
  flex: none;
  object-fit: contain;
}

.hz-cta-txt {
  position: relative;
  z-index: 1;
  font-family: var(--opt-ff-body);
  font-size: clamp(1.05rem, 1.5vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.hz-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, .42),
    inset 0 0 26px rgba(255, 255, 255, .12);
}
.hz-cta:active { transform: scale(.98); }
.hz-cta:focus-visible { outline: 2px solid var(--o-accent); outline-offset: 3px; }

/* ── responsivo ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hz-stage { width: 88%; }
  .hz-card { width: clamp(150px, 21vw, 200px); }
}

@media (max-width: 760px) {
  /* o palco deixa de ser 16:9 e o conteudo desce para fora da foto */
  .hz-stage {
    width: 92%;
    aspect-ratio: auto;
    display: grid;
    gap: 14px;
    padding: 14px;
  }
  .hz-bg {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  .hz-veil { display: none; }
  .hz-cards, .hz-cta { position: static; }
  /* no celular voltam a ser deitados: ocupam a linha toda */
  .hz-cards { display: grid; gap: 12px; }
  .hz-card { width: 100%; flex-direction: row; }
  .hz-card-img { flex: 0 0 45%; width: auto; min-height: 110px; }
  .hz-cta { justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hz-bg, .hz-card, .hz-cta { transition: none; }
  .hz-cta:hover { transform: none; }
}


/* ============================================================
   ETAPA 6 — POR QUE CONTRATAR
   50% carrossel (3 imagens, troca a cada 6s) · 50% texto
   ============================================================ */
.opt section.pq {
  position: relative;
  z-index: 1;
  width: min(1600px, 100%);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 100px) clamp(20px, 4vw, 56px) clamp(60px, 10vh, 130px);
}

.pq-wrap {
  display: grid;
  grid-template-columns: 1.45fr minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: center;
}

/* ── carrossel ────────────────────────────────────────────── */
.pq-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--o-line);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: var(--o-surface-2);
  box-shadow: var(--o-shadow);
}

.pq-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.pq-shot.is-on { opacity: 1; }
.pq-shot[src=""], .pq-shot:not([src]) { visibility: hidden; }

.pq-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.pq-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  transition: background-color .4s ease, width .4s ease;
}
.pq-dots i.is-on { width: 20px; border-radius: 100px; background: var(--o-accent); }

/* ── texto ────────────────────────────────────────────────── */
.pq-txt { display: flex; flex-direction: column; align-items: flex-start; }

.opt .pq-title {
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  font-family: var(--opt-ff-title);
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--o-title);
}

.opt .pq-sub {
  margin: 0 0 clamp(12px, 1.4vw, 18px);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.6;
  color: var(--o-text);
}
.opt .pq-sub strong { color: var(--o-accent-ink); font-weight: 800; letter-spacing: .02em; }

.opt .pq-body {
  margin: 0 0 clamp(22px, 2.4vw, 34px);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.7;
  color: var(--o-text);
  opacity: .82;
}

/* ── o mesmo botao liquido, agora dentro do fluxo ─────────── */
.hz-cta-inline {
  position: relative;
  right: auto;
  bottom: auto;
  align-self: flex-start;
}
.hz-cta-arrow {
  position: relative;
  z-index: 1;
  width: clamp(19px, 1.7vw, 26px);
  height: clamp(19px, 1.7vw, 26px);
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s cubic-bezier(.39, 1.2, .64, 1);
}
.hz-cta:hover .hz-cta-arrow { transform: translateX(5px); }

/* ── responsivo ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .pq-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pq-txt { align-items: stretch; text-align: left; }
  .hz-cta-inline { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .pq-shot, .pq-dots i, .hz-cta-arrow { transition: none; }
  .hz-cta:hover .hz-cta-arrow { transform: none; }
}


/* ============================================================
   RODAPE LIQUIDO — mesma linguagem de vidro dos botoes
   Segue o tema (dark/light) pelos tokens do Optimus.
   ============================================================ */
/* SR2.css aplica capitalize/transition em "*" — aqui nao. */
.lqf, .lqf * { text-transform: none; box-sizing: border-box; }
.lqf h3, .lqf .lqf-cta { text-transform: uppercase; }

.lqf {
  position: relative;
  z-index: 1;
  padding: 0 clamp(14px, 3vw, 40px) clamp(18px, 3vw, 40px);
  background: none;
  border: 0;
  font-family: var(--opt-ff-body);
  color: var(--o-text);
}

.lqf-glass {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 3.4vw, 52px) clamp(20px, 3vw, 48px) clamp(18px, 2vw, 28px);
  overflow: hidden;
  border-radius: clamp(20px, 2.2vw, 32px);
  background: linear-gradient(158deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .045) 48%, rgba(255, 255, 255, .12));
  backdrop-filter: blur(26px) saturate(185%) brightness(1.12);
  -webkit-backdrop-filter: blur(26px) saturate(185%) brightness(1.12);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, .45),
    inset 0 -18px 34px rgba(255, 255, 255, .05);
}

/* aro de 1px em gradiente — o mesmo dos botoes */
.lqf-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, .88),
    rgba(255, 255, 255, .28) 32%,
    rgba(255, 255, 255, .08) 56%,
    rgba(255, 255, 255, .34) 76%,
    rgba(255, 255, 255, .75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* reflexo especular do topo */
.lqf-glass::before {
  content: "";
  position: absolute;
  inset: -55% -10% auto -10%;
  height: 120%;
  background: radial-gradient(46% 42% at 26% 0%, rgba(255, 255, 255, .26), transparent 72%);
  pointer-events: none;
}

:root[data-theme="light"] .lqf-glass {
  background: linear-gradient(158deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .58));
  box-shadow: 0 22px 50px rgba(28, 60, 90, .16);
}
:root[data-theme="light"] .lqf-glass::after {
  background: linear-gradient(140deg,
    rgba(255, 255, 255, .95),
    rgba(28, 95, 146, .18) 40%,
    rgba(28, 95, 146, .08) 62%,
    rgba(255, 255, 255, .8));
}

/* ── grade ────────────────────────────────────────────────── */
.lqf-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
}

.lqf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; }

.lqf-col h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-family: var(--opt-ff-alt);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--o-accent-ink);
}
.lqf-col h3 svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

.lqf-col a {
  position: relative;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--o-text);
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.lqf-col a:hover { opacity: 1; color: var(--o-accent-ink); transform: translateX(3px); }

/* ── marca ────────────────────────────────────────────────── */
.lqf-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  opacity: 1 !important;
  transform: none !important;
}
.lqf-brand img { width: 40px; height: 40px; flex: none; object-fit: contain; }
.lqf-brand span {
  font-family: var(--opt-ff-title);
  font-size: 27px;
  letter-spacing: 2.4px;
  color: var(--o-accent-ink);
}

.opt-page-tag, .lqf-tag {
  max-width: 34ch;
  margin: 4px 0 6px;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--o-muted);
}

/* ── redes ────────────────────────────────────────────────── */
.lqf-social { display: flex; gap: 9px; }
.lqf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 13px;
  border: 1px solid var(--o-line);
  background: rgba(255, 255, 255, .05);
  color: var(--o-text);
  opacity: 1;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.lqf-social a svg {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.lqf-social a:hover {
  transform: translateY(-2px);
  border-color: var(--o-accent);
  background: var(--o-accent);
  color: var(--o-on-accent);
  box-shadow: 0 8px 20px rgba(47, 143, 255, .28);
}

/* ── botao do contato ─────────────────────────────────────── */
.lqf-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 11px 18px;
  border-radius: 100px;
  background: var(--o-accent);
  color: var(--o-on-accent) !important;
  font-family: var(--opt-ff-alt);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(47, 143, 255, .26);
}
.lqf-cta svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .22s ease;
}
.lqf-cta:hover { transform: none !important; filter: brightness(1.07); }
.lqf-cta:hover svg { transform: translateX(4px); }

/* ── rodape do rodape ─────────────────────────────────────── */
.lqf-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 42px);
  padding-top: clamp(14px, 1.6vw, 22px);
  border-top: 1px solid var(--o-line-soft);
  font-size: .88rem;
  color: var(--o-muted);
}
.lqf-legal { display: inline-flex; align-items: center; gap: 10px; }
.lqf-legal a { color: var(--o-muted); text-decoration: none; transition: color .2s ease; }
.lqf-legal a:hover { color: var(--o-accent-ink); }
.lqf-legal i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ── responsivo ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .lqf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lqf-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .lqf-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lqf-bottom { justify-content: center; text-align: center; }
  .lqf-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lqf-col a, .lqf-social a, .lqf-cta svg { transition: none; }
  .lqf-col a:hover, .lqf-social a:hover { transform: none; }
}


/* ============================================================
   SLIDE DO FLOW — substitui o palco animado no mobile/tablet
   Rolagem nativa com snap: o toque ja arrasta e ja pausa.
   ============================================================ */
.fslide { display: none; }

@media (max-width: 900px) {
  /* a etapa 1 mantem a imagem do computador; a etapa 2, que
     dependia da animacao do tablet, ganha o slide no lugar */
  .fslide {
    position: relative;
    display: block;
    /* a section e um grid com justify-items:center — ancorar no
       inicio e sangrar com margem negativa da a centralizacao certa */
    justify-self: start;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    margin-bottom: clamp(16px, 4vw, 28px);
  }
  #flow-2 .flow-text { align-items: center; }

  .fslide-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fslide-track::-webkit-scrollbar { display: none; }

  .fslide-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .fslide-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--o-surface-2);
    -webkit-user-drag: none;
    user-select: none;
  }
  .fslide-item img[src=""], .fslide-item img:not([src]) { visibility: hidden; }

  .fslide-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    display: flex;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 100px;
    background: rgba(7, 7, 7, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateX(-50%);
  }
  .fslide-dots button {
    width: 7px; height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: width .35s ease, background-color .35s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .fslide-dots button.is-on { width: 20px; border-radius: 100px; background: var(--o-accent); }

  /* ── 4 · o bloco do hero sobe para perto da imagem ───────── */
  .opt section.flow-step#flow-1 { padding-top: 0; }
  #flow-1 .flow-text { margin-top: clamp(-34px, -6vw, -14px); }
  .seg { margin-bottom: calc(12px * var(--hero-s)); }
}

/* ============================================================
   3 · VITRINE no mobile: os cards saem de cima da foto, entao
   nao podem mais usar branco fixo — passam a seguir o tema.
   ============================================================ */
@media (max-width: 760px) {
  .hz-card {
    border-color: var(--o-line);
    background: var(--o-surface);
    box-shadow: var(--o-shadow);
  }
  .hz-card.is-on { border-color: var(--o-accent); }
  .opt .hz-card-txt h3 { color: var(--o-title); }
  .opt .hz-card-txt p  { color: var(--o-muted); }
  :root[data-theme="light"] .hz-card {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(28, 95, 146, .18);
  }
}


/* ============================================================
   WIDGET DE LEADS — mesmo fluxo do index.html, visual Optimus
   (vidro liquido, azul da marca, dark/light)
   ============================================================ */
.ow-btn, .ow-panel, .ow-bubble { font-family: var(--opt-ff-body); }
.ow-btn *, .ow-panel *, .ow-bubble * { text-transform: none; box-sizing: border-box; }

/* ── botao flutuante ──────────────────────────────────────── */
.ow-btn {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 65;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--o-text), var(--opt-text));
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .16) inset;
  transition: transform .22s cubic-bezier(.39, 1.2, .64, 1), box-shadow .22s ease;
  -webkit-tap-highlight-color: transparent;
}
.ow-btn:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(0, 0, 0, .5), var(--o-glow); }
.ow-btn:active { transform: scale(.96); }
.ow-btn-img {
  position: absolute;
  width: 110%;
  height: 110%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.86);
  transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.ow-btn-img.is-on { opacity: 1; transform: none; }
.ow-btn-img[src=""], .ow-btn-img:not([src]) { visibility: hidden; }
.ow-btn.is-open { transform: rotate(90deg) scale(.92); }

/* pulso discreto para chamar atencao (so opacidade/escala do halo) */
.ow-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--o-accent);
  opacity: 0;
  animation: owPulse 3.4s ease-out infinite;
  pointer-events: none;
}
@keyframes owPulse {
  0%   { transform: scale(1);   opacity: .5; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── balao de fala ────────────────────────────────────────── */
.ow-bubble {
  position: fixed;
  right: calc(clamp(16px, 2.4vw, 28px) + 74px);
  bottom: calc(clamp(16px, 2.4vw, 28px) + 12px);
  z-index: 65;
  max-width: 230px;
  padding: 11px 15px;
  border: 1px solid var(--o-line);
  border-radius: 16px 16px 4px 16px;
  background: #202020;
  color: var(--o-text);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0;
  transform: translateY(6px) scale(.94);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.ow-bubble.is-on { opacity: 1; transform: none; }
:root[data-theme="light"] .ow-bubble { background: #ffffff; }

/* ── painel ───────────────────────────────────────────────── */
.ow-panel {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: calc(clamp(16px, 2.4vw, 28px) + 74px);
  z-index: 66;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: min(78vh, 620px);
  overflow: hidden auto;
  overscroll-behavior: contain;
  border-radius: 20px;
  background: linear-gradient(158deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04) 48%, rgba(255, 255, 255, .09)), #202020;
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .26s ease, transform .26s cubic-bezier(.2, .8, .2, 1);
}
.ow-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

/* aro de 1px em gradiente, igual aos botoes de vidro */
.ow-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,255,255,.6), rgba(255,255,255,.12) 38%, rgba(255,255,255,.05) 60%, rgba(255,255,255,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

:root[data-theme="light"] .ow-panel {
  background: linear-gradient(158deg, rgba(255,255,255,.9), rgba(255,255,255,.72)), #ffffff;
  box-shadow: 0 24px 54px rgba(28, 60, 90, .2);
}

/* ── cabecalho ────────────────────────────────────────────── */
.ow-head {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 24px 18px 18px;
  text-align: center;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(135, 201, 252, .22), transparent 72%);
  border-bottom: 1px solid var(--o-line-soft);
}
.ow-avatar {
  width: 62px; height: 62px;
  object-fit: contain;
  border: 0;
  background: none;
}
.opt-page .ow-hello, .ow-hello {
  margin: 4px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--o-title);
}
.ow-hello b { font-family: var(--opt-ff-title); letter-spacing: 1.4px; color: var(--o-accent-ink); font-weight: 400; }
.ow-sub { font-size: .84rem; color: var(--o-muted); }

.ow-x {
  position: absolute;
  top: 10px; right: 10px;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--o-muted);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.ow-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.ow-x:hover { color: var(--o-accent-ink); background: rgba(135, 201, 252, .12); }

/* ── opcoes ───────────────────────────────────────────────── */
/* display:grid vence o [hidden] do navegador — precisa ser explicito */
.ow-menu[hidden], .ow-body[hidden], .ow-err[hidden] { display: none !important; }

.ow-menu { display: grid; gap: 6px; padding: 14px; }

.ow-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: none;
  color: var(--o-text);
  cursor: pointer;
  font-family: var(--opt-ff-body);
  text-align: left;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.ow-opt:hover { background: rgba(135, 201, 252, .12); border-color: var(--o-line); }

.ow-opt-ic {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--o-accent-ink);
}
.ow-opt-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.ow-opt-txt { display: grid; gap: 2px; min-width: 0; }
.ow-opt-txt b { font-size: .98rem; font-weight: 700; color: var(--o-title); }
.ow-opt-txt small { font-size: .82rem; color: var(--o-muted); }

.ow-opt-go {
  width: 16px; height: 16px;
  flex: none;
  margin-left: auto;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  color: var(--o-muted);
  transition: transform .2s ease, color .2s ease;
}
.ow-opt:hover .ow-opt-go { transform: translateX(3px); color: var(--o-accent-ink); }

/* ── formulario ───────────────────────────────────────────── */
.ow-body { display: grid; gap: 9px; padding: 14px; }

.ow-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
  padding: 5px 2px;
  border: 0;
  background: none;
  color: var(--o-muted);
  cursor: pointer;
  font-family: var(--opt-ff-body);
  font-size: .78rem;
  font-weight: 600;
  transition: color .2s ease;
}
.ow-back svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ow-back:hover { color: var(--o-accent-ink); }

.ow-body input,
.ow-body select,
.ow-body textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--o-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--o-text);
  font-family: var(--opt-ff-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.ow-body textarea { resize: vertical; min-height: 74px; }
.ow-body input::placeholder, .ow-body textarea::placeholder { color: var(--o-muted); }
.ow-body input:focus, .ow-body select:focus, .ow-body textarea:focus {
  border-color: var(--o-accent);
  background: rgba(135, 201, 252, .08);
}
.ow-body select option { background: #202020; color: #f2f6fa; }
:root[data-theme="light"] .ow-body input,
:root[data-theme="light"] .ow-body select,
:root[data-theme="light"] .ow-body textarea { background: rgba(255, 255, 255, .8); }
:root[data-theme="light"] .ow-body select option { background: #ffffff; color: #24282c; }

.ow-err {
  margin: 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(224, 85, 85, .14);
  color: #ff8f8f;
  font-size: .78rem;
}

.ow-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 2px;
  padding: 12px;
  border: 0;
  border-radius: 100px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  cursor: pointer;
  font-family: var(--opt-ff-alt);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(47, 143, 255, .28);
  transition: filter .2s ease, transform .18s cubic-bezier(.39, 1.2, .64, 1);
}
.ow-send svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ow-send:hover { filter: brightness(1.07); }
.ow-send:active { transform: scale(.98); }
.ow-send:disabled { opacity: .6; cursor: default; }

.ow-legal { font-size: .68rem; line-height: 1.4; color: var(--o-muted); text-align: center; }

/* ── sucesso ──────────────────────────────────────────────── */
.ow-ok { display: grid; justify-items: center; gap: 8px; padding: 26px 18px 30px; text-align: center; }
.ow-ok-ic {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(135, 201, 252, .14);
  color: var(--o-accent-ink);
}
.ow-ok-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ow-ok h4 { margin: 4px 0 0; font-family: var(--opt-ff-title); font-size: 1.5rem; color: var(--o-title); }
.ow-ok p { margin: 0; max-width: 26ch; font-size: .84rem; line-height: 1.5; color: var(--o-muted); }

/* ── celular ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ow-panel {
    right: 12px; left: 12px;
    bottom: calc(clamp(16px, 2.4vw, 28px) + 70px);
    width: auto;
    max-width: none;
  }
  .ow-bubble { max-width: 180px; font-size: .76rem; }
  .ow-btn { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .ow-btn, .ow-panel, .ow-bubble, .ow-opt-go { transition: none; }
  .ow-btn::after { animation: none; }
}

/* ════════════════════════════════════════════════════════════
   TOAST · DESCONTO  (.odt)
   Entra da esquerda para a direita com reveal minimalista.
   ════════════════════════════════════════════════════════════ */
.odt {
  position: fixed;
  left: clamp(12px, 2.4vw, 28px);
  top: calc(var(--oh-top, 22px) + var(--oh-h, 72px) + 18px);
  z-index: 1200;

  display: flex;
  align-items: center;
  gap: 18px;

  width: min(560px, calc(100vw - 24px));
  padding: 22px 18px 22px 26px;

  /* glass */
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02) 46%),
    rgba(16, 20, 24, .42);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  overflow: hidden;

  /* estado fechado — recolhido na borda esquerda */
  opacity: 0;
  transform: translateX(-18px);
  clip-path: inset(0 100% 0 0 round 22px);
  transition:
    opacity   .40s ease,
    transform .70s cubic-bezier(.16, 1, .3, 1),
    clip-path .70s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, clip-path, opacity;
}
.odt[hidden] { display: none; }

:root[data-theme="light"] .odt {
  border-color: rgba(255, 255, 255, .55);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, .70), rgba(255, 255, 255, .34) 46%),
    rgba(255, 255, 255, .38);
  box-shadow:
    0 22px 52px rgba(28, 60, 90, .18),
    inset 0 1px 0 rgba(255, 255, 255, .85);
}

/* fio de luz na borda de entrada */
.odt::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--o-accent), transparent);
  opacity: .75;
}

.odt.is-on {
  opacity: 1;
  transform: translateX(0);
  clip-path: inset(0 0 0 0 round 22px);
}
.odt.is-out {
  opacity: 0;
  transform: translateX(-18px);
  clip-path: inset(0 100% 0 0 round 22px);
}

/* ── coluna de texto (≈68%) ─────────────────────────────────── */
.odt-txt {
  flex: 1 1 68%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.odt-title {
  margin: 0;
  padding-right: 26px;
  font-family: var(--opt-ff-title);
  font-size: 2.12rem;
  line-height: 1.12;
  letter-spacing: .3px;
  color: var(--o-title);
}

/* ── botão ──────────────────────────────────────────────────── */
.odt-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--o-accent);
  color: var(--o-on-accent);
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.odt-cta:hover  { transform: translateY(-1px); box-shadow: var(--o-glow); }
.odt-cta:active { transform: translateY(0); }
.odt-cta::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.odt-cta:hover::after { left: 115%; }
.odt-cta-ic {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── coluna de imagem (≈32%) ────────────────────────────────── */
.odt-img {
  flex: 0 0 32%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.odt-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border-radius: 14px;
}

/* ── fechar ─────────────────────────────────────────────────── */
.odt-x {
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--o-muted);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.odt-x:hover { color: var(--o-text); background: var(--o-line-soft); }
.odt-x svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ── celular ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .odt {
    left: 12px; right: 12px;
    width: auto;
    padding: 18px 14px 18px 18px;
    gap: 14px;
  }
  .odt-title { font-size: 1.52rem; padding-right: 22px; }
  .odt-cta { padding: 13px 24px; font-size: .98rem; }
  .odt-img img { max-height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .odt { transition: opacity .2s ease; transform: none; clip-path: none; }
  .odt.is-on, .odt.is-out { transform: none; clip-path: none; }
  .odt-cta, .odt-cta::after { transition: none; }
}


/* ════════════════════════════════════════════════════════════
   VITRINE · INTRO  (.hzi) — badge + titulo + subtitulo
   ════════════════════════════════════════════════════════════ */
.hzi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.7vw, 22px);
  max-width: 940px;
  margin: 0 auto clamp(30px, 4.2vw, 54px);
  text-align: center;
}

/* ── badge ──────────────────────────────────────────────── */
.hzi-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 13px;
  border: 1px solid var(--o-line);
  border-radius: 999px;
  background: var(--o-surface-2);
  color: var(--o-text);
  font-family: var(--opt-ff-alt);
  font-size: clamp(9.5px, 1vw, 11.5px);
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.hzi-badge svg {
  flex: none;
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--o-accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── titulo em dois tons ────────────────────────────────── */
.opt .hzi-title {
  margin: 0;
  font-family: var(--opt-ff-title);
  font-size: clamp(4rem, 4.6vw, 6rem);
  line-height: .98;
  letter-spacing: .5px;
  color: var(--o-title);
  text-wrap: balance;
}
.hzi-title-2 {
  display: block;
  color: var(--o-muted);
}

/* ── subtitulo ──────────────────────────────────────────── */
.opt .hzi-sub {
  margin: 0;
  max-width: 64ch;
  font-family: var(--opt-ff-body);
  font-size: clamp(.9rem, 1.15vw, 4rem);
  line-height: 1.62;
  color: var(--o-muted);
}

@media (max-width: 520px) {
  .hzi-badge {
    white-space: normal;
    text-align: left;
    letter-spacing: 1.1px;
  }
}


/* ── Titulo da etapa 6 (Por que contratar) ────────────────── */
.pq-head { margin-bottom: clamp(26px, 3.8vw, 52px); }

@media (max-width: 760px) {
  .pq-head .oc-title {
    white-space: normal;
    font-size: clamp(1.3rem, 6.2vw, 2.1rem);
    line-height: 1.02;
  }
}
