/* ==========================================================================
   AutonFlow · Portal — Carvão & Bordô Vinho
   ========================================================================== */

:root {
  --bg: #0D0B0C;
  --surface: #191416;
  --surface-2: #231C1F;
  --wine: #8E3B46;
  --wine-2: #A84A56;
  --text: #F5F2EB;
  --muted: #B8AFA6;
  --dim: #7D746D;
  --line: rgba(245, 242, 235, 0.08);
  --line-2: rgba(245, 242, 235, 0.14);
  --ok: #4FB58A;
  --warn: #D9A35B;
  --glass: rgba(25, 20, 22, 0.62);

  --f-title: "Plus Jakarta Sans", system-ui, sans-serif;
  --f-ui: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--wine); color: var(--text); }
:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.grad {
  background: linear-gradient(100deg, #F5F2EB 0%, #E7B9BF 45%, #A84A56 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Atmosfera: grade arquitetônica + spotlights ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(245,242,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,235,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,242,235,.10) 1px, transparent 1.4px);
  background-size: 64px 64px; background-position: -0.5px -0.5px;
}
.spot { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(20px); }
.spot--hero   { width: 1100px; height: 700px; left: 50%; top: -260px; transform: translateX(-50%);
                background: radial-gradient(closest-side, rgba(142,59,70,.22), transparent); }
.spot--left   { width: 900px; height: 700px; left: -380px; top: 80px; background: radial-gradient(closest-side, rgba(142,59,70,.22), transparent); }
.spot--right  { width: 900px; height: 700px; right: -360px; top: -60px; background: radial-gradient(closest-side, rgba(142,59,70,.22), transparent); }
.spot--center { width: 1000px; height: 800px; left: 50%; top: 40px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(142,59,70,.20), transparent); }

/* ---------- Botões ---------- */
.btn {
  --pad: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad); border-radius: 999px;
  font: 600 15px/1 var(--f-ui); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .3s, color .2s, opacity .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --pad: 9px 16px; font-size: 14px; }
.btn--lg { --pad: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--wine); color: var(--text); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.btn--primary:hover { background: var(--wine-2); }
.btn--glow { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 40px -8px rgba(168,74,86,.75), 0 0 0 1px rgba(168,74,86,.5); }
.btn--glow:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 54px -6px rgba(168,74,86,.95), 0 0 0 1px rgba(168,74,86,.7); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(245,242,235,.03); color: var(--text); }
.btn--ghost:hover { background: rgba(245,242,235,.07); border-color: rgba(245,242,235,.22); }
.btn--outline { border: 1px solid rgba(168,74,86,.55); color: var(--text); background: rgba(142,59,70,.10); }
.btn--outline:hover { background: rgba(142,59,70,.22); }
.btn--outline.is-added { background: var(--wine); border-color: var(--wine); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(245,242,235,.04); font: 500 12.5px/1 var(--f-ui); color: var(--text);
  transition: background .2s, border-color .2s;
}
.chip:hover { background: rgba(245,242,235,.09); }
.chip--wine { border-color: rgba(168,74,86,.6); background: rgba(142,59,70,.16); }
.chip--wine:hover { background: rgba(142,59,70,.3); }
.chip[disabled] { opacity: .5; cursor: progress; }

.tag { font-size: 11.5px; letter-spacing: .01em; color: var(--wine-2); font-weight: 600; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: .01em; color: var(--wine-2); font-weight: 600; margin-bottom: 14px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: 999px; border: 1px solid rgba(168,74,86,.45); background: rgba(142,59,70,.12);
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .01em; color: var(--text);
  position: relative; overflow: hidden;
}
.badge::after { /* brilho que percorre o badge */
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(100deg, transparent 30%, rgba(245,242,235,.18) 50%, transparent 70%);
  animation: sheen 4.5s var(--ease) infinite 1.2s;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wine-2); box-shadow: 0 0 0 0 rgba(168,74,86,.7); animation: pulse 2s infinite; }
@keyframes sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(168,74,86,.7); } 70% { box-shadow: 0 0 0 10px rgba(168,74,86,0); } 100% { box-shadow: 0 0 0 0 rgba(168,74,86,0); } }

/* ---------- Glass + contorno que segue o mouse ---------- */
.glow {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(35,28,31,.55), rgba(25,20,22,.72));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 1px 0 rgba(245,242,235,.04) inset, 0 30px 60px -30px rgba(0,0,0,.6);
}
.glow::before { /* borda iluminada */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(200,95,108,.95), rgba(142,59,70,.25) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.glow::after { /* luz interna suave */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(142,59,70,.10), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.glow:hover::before, .glow:hover::after, .glow.is-lit::before { opacity: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .badge::after, .badge__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: 16px; }
.nav__inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(13,11,12,.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.nav.is-scrolled .nav__inner { background: rgba(13,11,12,.82); border-color: var(--line-2); box-shadow: 0 18px 50px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__icon { width: 30px; height: 30px; flex: none; }
.brand__word { font: 800 19px/1 var(--f-title); letter-spacing: -.035em; }
.brand__word span { font-weight: 500; color: var(--muted); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font: 500 14px/1 var(--f-ui); color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(245,242,235,.06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 15px; } .nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.nav__mobile {
  display: none; max-width: 1200px; margin: 8px auto 0; padding: 12px; border-radius: 22px; flex-direction: column; gap: 4px;
  background: rgba(13,11,12,.92); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav__mobile a { padding: 12px 14px; border-radius: 12px; color: var(--muted); font-weight: 500; }
.nav__mobile a:hover { background: rgba(245,242,235,.05); color: var(--text); }
.nav__mobile .btn { margin-top: 6px; }
.nav.is-open .nav__mobile { display: flex; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 168px 0 90px; overflow-x: clip; }
.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  margin-top: 26px; max-width: 980px;
  font: 800 clamp(40px, 6.4vw, 80px)/1.02 var(--f-title); letter-spacing: -.045em;
}
.hero__sub { margin-top: 24px; max-width: 700px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__stats { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: min(100%, 860px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(25,20,22,.4); }
.hero__stats li { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.hero__stats li + li { border-left: 1px solid var(--line); }
.hero__stats b { font-size: 26px; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.hero__stats li > span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Showcase (janela do app) ---------- */
.showcase { margin-top: 70px; border-radius: 24px; overflow: hidden; padding: 0; box-shadow: 0 60px 120px -40px rgba(142,59,70,.35), 0 40px 80px -40px rgba(0,0,0,.9); }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(13,11,12,.55); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(245,242,235,.14); }
.win-dots i:first-child { background: rgba(168,74,86,.75); }
.win-url { flex: 1; text-align: center; font-size: 12px; color: var(--dim); }
.win-url b { color: var(--muted); font-weight: 500; }
.win-live { display: flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .01em; color: var(--ok); }
.win-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.showcase__body { display: grid; grid-template-columns: 230px 1fr; min-height: 440px; }
.sc-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 6px; background: rgba(13,11,12,.3); }
.sc-side__label { font-size: 11.5px; letter-spacing: .01em; color: var(--dim); padding: 0 10px 8px; }
.sc-side__foot { margin-top: auto; font-size: 11px; color: var(--dim); padding: 10px; display: flex; align-items: center; gap: 8px; }
.sc-tab { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-align: left; border: 1px solid transparent; transition: background .2s, border-color .2s; position: relative; overflow: hidden; }
.sc-tab b { display: block; font: 600 14px/1.2 var(--f-ui); }
.sc-tab small { display: block; font-size: 12px; color: var(--dim); }
.sc-tab:hover { background: rgba(245,242,235,.04); }
.sc-tab.is-active { background: var(--surface-2); border-color: var(--line-2); }
.sc-tab.is-active::after { /* barra de progresso do autoplay */
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--wine-2);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.sc-panels { position: relative; padding: 22px 24px 24px; }
.sc-panel { display: none; flex-direction: column; gap: 16px; animation: panelIn .5s var(--ease); }
.sc-panel.is-active { display: flex; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sc-head h3 { font: 700 21px/1.2 var(--f-title); letter-spacing: -.02em; margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13,11,12,.45); display: flex; flex-direction: column; gap: 2px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.kpi small { font-size: 11.5px; color: var(--dim); }
.sc-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.sc-card { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13,11,12,.45); }
.sc-card__title { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; font-weight: 500; }

.bars { height: 150px; display: flex; align-items: flex-end; gap: 14px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; height: var(--h); position: relative; border-radius: 8px 8px 2px 2px; background: linear-gradient(180deg, rgba(168,74,86,.55), rgba(142,59,70,.15)); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.bar.is-hl { background: linear-gradient(180deg, var(--wine-2), rgba(142,59,70,.35)); box-shadow: 0 0 30px -6px rgba(168,74,86,.7); }
.bar.is-ghost { background: repeating-linear-gradient(135deg, rgba(245,242,235,.06) 0 6px, transparent 6px 12px); border: 1px dashed var(--line-2); }
.bar span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font: 500 11px var(--f-mono); color: var(--muted); }
.bar i { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font: normal 11px var(--f-mono); color: var(--dim); }
@keyframes grow { from { transform: scaleY(0); } }
.sc-panel .bars { margin-bottom: 22px; margin-top: 18px; }

.feed { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.feed li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(245,242,235,.025); }
.feed time { margin-left: auto; font-size: 11px; color: var(--dim); }
.ok-dot, .wine-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.ok-dot { background: var(--ok); box-shadow: 0 0 10px rgba(79,181,138,.6); }
.wine-dot { background: var(--wine-2); box-shadow: 0 0 10px rgba(168,74,86,.7); }
.feed--orders li b { margin-left: auto; }
.feed--orders .buy, .feed--orders .hold { font-size: 11px; letter-spacing: 0; padding: 3px 7px; border-radius: 6px; }
.buy { color: var(--ok); background: rgba(79,181,138,.12); }
.hold { color: var(--muted); background: rgba(245,242,235,.06); }
.feed li.is-new { animation: flash 1s var(--ease); }
@keyframes flash { from { background: rgba(168,74,86,.35); } }

.sc-donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut { width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-items: center; position: relative;
  background: conic-gradient(#A84A56 0 35%, #8E3B46 0 55%, #B8AFA6 0 85%, #5E5650 0); animation: spin-in 1.2s var(--ease); }
.donut::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: var(--surface); }
.donut span { position: relative; font-size: 11px; color: var(--muted); }
@keyframes spin-in { from { transform: rotate(-120deg) scale(.85); opacity: 0; } }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; flex: 1; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { margin-left: auto; font-weight: 500; color: var(--muted); }

.leads { width: 100%; border-collapse: collapse; font-size: 13px; }
.leads th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--dim); padding: 0 8px 8px; }
.leads td { padding: 10px 8px; border-top: 1px solid var(--line); }
.leads td:last-child, .leads th:last-child { text-align: right; }
.pill { display: inline-block; font: 500 11px/1 var(--f-mono); padding: 5px 8px; border-radius: 6px; }
.pill--bad { color: #F0A4AD; background: rgba(168,74,86,.2); }
.pill--warn { color: var(--warn); background: rgba(217,163,91,.12); }
.pill--ok { color: var(--ok); background: rgba(79,181,138,.12); }

/* ---------- Ícones de produto ---------- */
.ic-cad, .ic-inv, .ic-pro { display: inline-block; width: 36px; height: 36px; border-radius: 10px; flex: none; position: relative;
  background: linear-gradient(145deg, rgba(168,74,86,.35), rgba(142,59,70,.12)); border: 1px solid rgba(168,74,86,.45); }
.ic-cad::after, .ic-inv::after, .ic-pro::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: 55%; }
.ic-cad::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v17H6.5A2.5 2.5 0 0 0 4 21.5z'/%3E%3Cpath d='M4 21.5A2.5 2.5 0 0 1 6.5 19H20v3H6.5'/%3E%3Cpath d='m9 9 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-inv::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-9-9v9z'/%3E%3Cpath d='M15 3.5A9 9 0 0 1 20.5 9H15z'/%3E%3C/svg%3E"); }
.ic-pro::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Cpath d='M12 12 18 6'/%3E%3Ccircle cx='12' cy='12' r='1' fill='%23F5F2EB'/%3E%3C/svg%3E"); }

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.section { position: relative; padding: 120px 0; overflow-x: clip; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head h2, .custom h2 { font: 800 clamp(32px, 4.4vw, 54px)/1.06 var(--f-title); letter-spacing: -.04em; }
.section__head p { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 640px; }
.section__head p b { color: var(--text); font-weight: 600; }

/* ---------- Vitrine ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.products__title { font: 700 22px/1.2 var(--f-title); letter-spacing: -.02em; margin: 72px 0 22px; color: var(--muted); }
.product { padding: 26px; display: flex; flex-direction: column; gap: 18px; transition: transform .4s var(--ease), background .3s; }
.product:hover { transform: translateY(-4px); background: linear-gradient(180deg, rgba(35,28,31,.75), rgba(25,20,22,.85)); }
.product.reveal:nth-child(2) { --d: .1s; } .product.reveal:nth-child(3) { --d: .2s; }
.product__head { display: flex; align-items: center; gap: 14px; }
.product__ic { width: 46px; height: 46px; border-radius: 13px; }
.product__head h3 { font: 800 26px/1.1 var(--f-title); letter-spacing: -.035em; margin-top: 4px; }
.product__lead { color: var(--muted); font-size: 15px; }
.benefits { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; }
.benefits li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background: rgba(142,59,70,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F0A4AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.3 2.3 2.2 4.7-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.product__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product__foot .btn { --pad: 10px 15px; font-size: 14px; }
.price b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 14px; margin-left: 2px; }

/* mini-interfaces */
.mini { border-radius: 16px; border: 1px solid var(--line); background: rgba(13,11,12,.6); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 270px; }
.mini__bar { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); padding: 2px 4px 8px; border-bottom: 1px solid var(--line); }
.mini__bar .lock { color: var(--ok); }
.mini__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.mini__hint { font-size: 11px; color: var(--dim); }
.ai-out { font-size: 11.5px; color: var(--muted); line-height: 1.55; min-height: 0; white-space: pre-wrap; }
.ai-out:not(:empty) { padding: 10px; border-radius: 10px; background: rgba(142,59,70,.10); border: 1px solid rgba(168,74,86,.25); }
.ai-out .caret { display: inline-block; width: 7px; height: 13px; background: var(--wine-2); vertical-align: -2px; animation: blink 1s infinite; }

.roll { display: flex; flex-direction: column; gap: 4px; }
.roll li { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 9px; font-size: 13.5px; }
.roll li:hover { background: rgba(245,242,235,.03); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 10px var(--f-mono); color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); }
.pf { margin-left: auto; width: 34px; height: 26px; border-radius: 8px; font: 600 12px var(--f-mono); border: 1px solid rgba(168,74,86,.5); color: #F0A4AD; background: rgba(142,59,70,.15); transition: all .2s var(--ease); }
.pf.is-p { color: var(--ok); border-color: rgba(79,181,138,.45); background: rgba(79,181,138,.12); }
.pf:hover { transform: scale(1.06); }

.alloc { display: flex; flex-direction: column; gap: 12px; padding: 4px 2px; }
.alloc__row { display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.alloc__row b { text-align: right; font-weight: 500; font-size: 12px; color: var(--muted); }
.track { position: relative; height: 10px; border-radius: 99px; background: rgba(245,242,235,.06); }
.track .now { position: absolute; inset: 0 auto 0 0; width: calc(var(--now) * 2%); border-radius: 99px; background: linear-gradient(90deg, var(--wine), var(--wine-2)); transition: width 1s var(--ease); }
.track .target { position: absolute; top: -4px; bottom: -4px; left: calc(var(--target) * 2%); width: 2px; background: var(--text); border-radius: 2px; opacity: .8; }

.scan { display: flex; flex-direction: column; gap: 6px; }
.scan__empty { font-size: 12.5px; color: var(--dim); padding: 30px 8px; text-align: center; border: 1px dashed var(--line-2); border-radius: 10px; }
.scan li:not(.scan__empty) { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(245,242,235,.03); font-size: 13px; animation: slideIn .45s var(--ease) both; }
.scan__info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.scan__info > span:first-child { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.scan .score { font: 600 12px var(--f-mono); color: var(--text); }
.scan .gen { white-space: nowrap; font: 500 11px var(--f-ui); color: #F0A4AD; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(168,74,86,.45); background: rgba(142,59,70,.12); }
.scan .gen.is-done { color: var(--ok); border-color: rgba(79,181,138,.4); background: rgba(79,181,138,.1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } }

/* ---------- Montador ---------- */
.builder { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: start; }
.builder__options { display: flex; flex-direction: column; gap: 14px; }
.opt { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.opt:hover { transform: translateX(4px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__check { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .25s var(--ease); }
.opt__check::after { content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .25s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F5F2EB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center/contain no-repeat; }
.opt__ic { width: 44px; height: 44px; }
.opt__txt b { display: block; font: 700 18px/1.2 var(--f-title); letter-spacing: -.02em; }
.opt__txt small { display: block; color: var(--muted); font-size: 13.5px; }
.opt__price { font-size: 15px; color: var(--muted); }
.opt:has(input:checked), .opt.is-checked { border-color: rgba(168,74,86,.55); background: linear-gradient(180deg, rgba(142,59,70,.16), rgba(25,20,22,.75)); }
.opt:has(input:checked) .opt__check, .opt.is-checked .opt__check { background: var(--wine); border-color: var(--wine-2); box-shadow: 0 0 18px -2px rgba(168,74,86,.8); }
.opt:has(input:checked) .opt__check::after, .opt.is-checked .opt__check::after { transform: scale(1); }
.opt:has(input:checked) .opt__price, .opt.is-checked .opt__price { color: var(--text); }
.opt:has(input:focus-visible) { outline: 2px solid var(--wine-2); outline-offset: 3px; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.tier { padding: 14px; border-radius: 14px; border: 1px dashed var(--line-2); display: flex; flex-direction: column; gap: 2px; transition: all .35s var(--ease); }
.tier b { font-size: 20px; color: var(--dim); }
.tier span { font-size: 12.5px; color: var(--dim); }
.tier.is-on { border-style: solid; border-color: rgba(168,74,86,.6); background: rgba(142,59,70,.14); }
.tier.is-on b, .tier.is-on span { color: var(--text); }

.receipt { position: sticky; top: 104px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(35,28,31,.92), rgba(25,20,22,.96));
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(168,74,86,.12);
  -webkit-mask: radial-gradient(circle 10px at 0 168px, transparent 98%, #000) , radial-gradient(circle 10px at 100% 168px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.receipt__head { display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .01em; color: var(--muted); padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.receipt__items { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; min-height: 110px; border-bottom: 1px dashed var(--line-2); }
.receipt__items li { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; animation: slideIn .35s var(--ease); }
.receipt__items li span:last-child { font-family: var(--f-mono); color: var(--muted); }
.receipt__items .empty { color: var(--dim); font-size: 13.5px; }
.receipt__row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding-top: 12px; }
.receipt__row--disc span:last-child { color: var(--ok); }
.progress { margin: 18px 0 6px; }
.progress__track { position: relative; height: 8px; border-radius: 99px; background: rgba(245,242,235,.07); }
.progress__track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--wine), var(--wine-2), #E58A95); box-shadow: 0 0 16px rgba(168,74,86,.7); transition: width .7s var(--ease); }
.progress__track .mark { position: absolute; top: 50%; width: 12px; height: 12px; margin-left: -6px; transform: translateY(-50%); border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.progress__track .mark.is-on { border-color: #E58A95; background: var(--wine-2); }
.progress__msg { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.progress__msg b { color: var(--text); }
.receipt__total { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.receipt__total > span { color: var(--muted); font-size: 14px; }
.receipt__total div { text-align: right; }
.receipt__total s { display: block; font-size: 13px; color: var(--dim); min-height: 18px; }
.receipt__total b { font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.receipt__total small { color: var(--muted); font-size: 13px; margin-left: 2px; }
.receipt__save { margin: 10px 0 20px; text-align: right; font-size: 12.5px; color: var(--ok); }
.receipt__note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--dim); }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.06); color: #F0A4AD; } }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.step:nth-child(2) { --d: .1s; } .step:nth-child(3) { --d: .2s; }
.step__n { font-size: 12.5px; color: var(--wine-2); }
.step h3 { font: 700 21px/1.2 var(--f-title); letter-spacing: -.025em; }
.step p { color: var(--muted); font-size: 15px; }
.step__visual { height: 170px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13,11,12,.55); padding: 18px; display: flex; flex-direction: column; gap: 8px; justify-content: center; position: relative; overflow: hidden; }
.fake-input { height: 34px; border-radius: 9px; border: 1px solid var(--line-2); padding: 0 12px; display: flex; align-items: center; font-size: 12px; color: var(--muted); background: rgba(245,242,235,.03); }
.fake-input--pw span { letter-spacing: .2em; }
.fake-btn { height: 34px; border-radius: 99px; background: var(--wine); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.timer { position: absolute; top: 10px; right: 12px; font-size: 11px; color: var(--ok); }
.step__visual--devices { flex-direction: row; align-items: flex-end; justify-content: center; gap: 14px; }
.device { border: 1.5px solid var(--line-2); background: var(--surface); }
.device--laptop { width: 150px; height: 96px; border-radius: 10px 10px 4px 4px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.device--laptop i { height: 10px; border-radius: 4px; background: rgba(245,242,235,.08); }
.device--laptop i:first-child { width: 60%; background: rgba(168,74,86,.5); }
.device--phone { width: 62px; height: 118px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; animation: float 4s ease-in-out infinite; }
.device--phone svg { width: 28px; height: 28px; }
.device--phone span { font-size: 8.5px; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-6px); } }
.step__visual--unlock { flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
.unlock { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px; border-radius: 12px; border: 1px solid var(--line); background: rgba(245,242,235,.02); }
.unlock b { font-size: 11px; color: var(--ok); }
.step.is-in .unlock { animation: unlock .6s var(--ease) both; }
.step.is-in .unlock:nth-child(2) { animation-delay: .15s; } .step.is-in .unlock:nth-child(3) { animation-delay: .3s; }
@keyframes unlock { from { opacity: 0; transform: scale(.9); filter: grayscale(1); } }

/* ---------- Sob medida ---------- */
.custom { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 48px; align-items: center; overflow: hidden; }
.custom h2 { font-size: clamp(30px, 3.6vw, 46px); }
.custom > * { min-width: 0; }
.custom__text > p { margin-top: 18px; color: var(--muted); font-size: 16.5px; }
.custom__list { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.custom__list li { display: flex; gap: 12px; align-items: baseline; }
.custom__list span { flex: none; width: 58px; font-size: 12px; color: var(--wine-2); }
.custom__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.custom__visual { display: flex; flex-direction: column; gap: 18px; }
.flow { display: flex; flex-direction: column; gap: 0; }
.flow__node { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(13,11,12,.6); font: 600 15px var(--f-ui); display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
.flow__node span { grid-row: span 2; font-size: 12px; color: var(--wine-2); padding-top: 2px; }
.flow__node small { font: 400 12.5px var(--f-ui); color: var(--muted); }
.flow__node--hl { border-color: rgba(168,74,86,.6); background: rgba(142,59,70,.16); box-shadow: 0 0 40px -10px rgba(168,74,86,.6); }
.flow__line { height: 26px; margin-left: 32px; width: 2px; position: relative; overflow: hidden; background: rgba(245,242,235,.08); }
.flow__line i { position: absolute; left: 0; width: 2px; height: 12px; background: var(--wine-2); box-shadow: 0 0 8px var(--wine-2); animation: travel 1.6s linear infinite; }
@keyframes travel { from { top: -12px; } to { top: 26px; } }
.code { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #0A0809; font-size: 12.5px; line-height: 1.8; color: var(--muted); overflow-x: auto; }
.code .c { color: var(--dim); } .code .k { color: #F0A4AD; } .code .s { color: #D9C8A0; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 64px 0 28px; background: linear-gradient(180deg, transparent, rgba(142,59,70,.05)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin: 16px 0 18px; color: var(--muted); font-size: 14.5px; max-width: 320px; }
.footer h4 { font-size: 12.5px; letter-spacing: .01em; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__grid a { color: var(--muted); transition: color .2s; width: fit-content; }
.footer__grid a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { font-size: 12.5px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); }
.socials a:hover { border-color: rgba(168,74,86,.6); background: rgba(142,59,70,.12); }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--dim); }

/* ==========================================================================
   MODAIS
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,6,7,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .3s ease; }
.modal__box { position: relative; width: min(100%, 460px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px;
  border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #211A1D, #171214);
  box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(168,74,86,.12), 0 -30px 80px -40px rgba(168,74,86,.5) inset;
  animation: pop .45s var(--ease); scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.modal__box--wide { width: min(100%, 860px); }
.modal__box--doc { width: min(100%, 780px); padding: 40px 44px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); border: 1px solid var(--line); z-index: 2; background: rgba(13,11,12,.5); }
.modal__x:hover { color: var(--text); background: var(--surface-2); }
.modal__brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--f-title); letter-spacing: -.02em; margin-bottom: 20px; }
.modal__brand .brand__icon { width: 26px; height: 26px; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(13,11,12,.6); border: 1px solid var(--line); margin-bottom: 22px; width: fit-content; }
.tab { padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); transition: all .2s; }
.tab.is-active { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.mtab { display: none; } .mtab.is-active { display: block; animation: panelIn .4s var(--ease); }

.auth { max-width: 400px; margin: 0 auto; }
.auth__switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 18px; }
.auth__switch button { padding: 9px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.auth__switch button.is-active { background: rgba(142,59,70,.22); color: var(--text); }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field span { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input { height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(13,11,12,.7); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--dim); }
.field input:focus { border-color: var(--wine-2); box-shadow: 0 0 0 4px rgba(142,59,70,.25); }
.field input.is-invalid { border-color: #E06C7A; box-shadow: 0 0 0 4px rgba(224,108,122,.15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--wine); width: 16px; height: 16px; flex: none; }
.check a, .form__note a { color: #F0A4AD; text-decoration: underline; text-underline-offset: 2px; }
.check.is-invalid span { color: #F0A4AD; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form__note { text-align: center; font-size: 12px; color: var(--dim); }

/* painel Meus Sistemas */
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.dash__head h3 { font: 800 26px/1.2 var(--f-title); letter-spacing: -.03em; margin-top: 4px; }
.dash__head p { color: var(--muted); font-size: 14px; }
.plan-tag { font-size: 12px; padding: 8px 12px; border-radius: 99px; border: 1px solid rgba(168,74,86,.5); background: rgba(142,59,70,.14); }
.dash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-card { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(13,11,12,.5); display: flex; flex-direction: column; gap: 12px; min-height: 210px; transition: transform .3s var(--ease), border-color .3s; }
.app-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.app-card__top { display: flex; align-items: center; gap: 12px; }
.app-card h4 { font: 700 18px/1.2 var(--f-title); letter-spacing: -.02em; }
.app-card p { font-size: 13px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); letter-spacing: 0; padding: 6px 9px; border-radius: 99px; width: fit-content; }
.status--on { color: var(--ok); background: rgba(79,181,138,.12); border: 1px solid rgba(79,181,138,.35); }
.status--off { letter-spacing: .02em; font-size: 10px; white-space: nowrap; color: #F0A4AD; background: rgba(142,59,70,.14); border: 1px solid rgba(168,74,86,.45); }
.app-card .btn { margin-top: auto; }
.app-card.is-locked { border-style: dashed; background: rgba(142,59,70,.05); }
.app-card.is-locked .product__ic, .app-card.is-locked .app-card__top span:first-child { filter: grayscale(.6); opacity: .7; }

/* checkout */
.ck-steps { display: flex; gap: 6px; margin-bottom: 18px; counter-reset: ck; }
.ck-steps li { flex: 1; font-size: 12px; color: var(--dim); padding-top: 10px; border-top: 2px solid var(--line-2); transition: all .3s; }
.ck-steps li.is-active, .ck-steps li.is-done { color: var(--text); border-color: var(--wine-2); }
.ck-summary { padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--line-2); margin-bottom: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; }
.ck-summary .row { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.ck-summary .row b { color: var(--text); font-family: var(--f-mono); font-weight: 500; }
.ck-summary .row--total { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); color: var(--text); }
.ck-summary .row--total b { font-size: 17px; }
.ck-panel { display: none; } .ck-panel.is-active { display: flex; animation: panelIn .4s var(--ease); }
div.ck-panel.is-active { display: block; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay { position: relative; display: block; cursor: pointer; }
.pay input { position: absolute; opacity: 0; }
.pay span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); transition: all .2s; }
.pay small { color: var(--muted); font-size: 12px; }
.pay input:checked + span { border-color: var(--wine-2); background: rgba(142,59,70,.16); box-shadow: 0 0 0 3px rgba(142,59,70,.2); }
.pay input:focus-visible + span { outline: 2px solid var(--wine-2); outline-offset: 2px; }
.sim-box { font-size: 11.5px; line-height: 1.6; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: rgba(245,242,235,.03); border: 1px solid var(--line); }
.ck-actions { display: flex; gap: 10px; justify-content: space-between; }
.ck-actions .btn--primary { flex: 1; }
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; }
.success h3 { font: 800 26px var(--f-title); letter-spacing: -.03em; }
.success p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.success__ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(79,181,138,.12); border: 1px solid rgba(79,181,138,.45); box-shadow: 0 0 50px -10px rgba(79,181,138,.6); }
.success__ring svg { width: 36px; height: 36px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(245,242,235,.3); border-top-color: var(--text); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* documentos legais */
.doc { color: var(--muted); font-size: 15px; line-height: 1.75; }
.doc h2 { font: 800 34px/1.15 var(--f-title); letter-spacing: -.035em; color: var(--text); margin: 10px 0 16px; }
.doc h3 { font: 700 18px/1.3 var(--f-title); letter-spacing: -.015em; color: var(--text); margin: 28px 0 8px; scroll-margin-top: 20px; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { margin: 8px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc ul { list-style: disc; } .doc ol { list-style: decimal; }
.doc li::marker { color: var(--wine-2); }
.doc b { color: var(--text); font-weight: 600; }
.doc a { color: #F0A4AD; text-decoration: underline; text-underline-offset: 2px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 99px; font-size: 14px; background: rgba(35,28,31,.95); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.8); transition: all .35s var(--ease); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .builder { grid-template-columns: 1fr; }
  .receipt { position: relative; top: 0; }
  .custom { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__actions > .btn { display: none; }
  .nav__burger { display: block; }
  .showcase__body { grid-template-columns: 1fr; }
  .sc-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .sc-side__label, .sc-side__foot { display: none; }
  .sc-tab { flex: 1 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .dash__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding-top: 132px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats li:nth-child(3) { border-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .products { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { grid-column: 1 / -1; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-panels { padding: 16px; }
  .sc-tab small { display: none; }
  .win-url { display: none; }
  .section { padding: 88px 0; }
  .opt { grid-template-columns: auto 1fr auto; padding: 16px; gap: 12px; }
  .opt__ic { display: none; }
  .tiers { grid-template-columns: 1fr; }
  .custom { padding: 26px; }
  .modal { padding: 10px; }
  .modal__box, .modal__box--doc { padding: 24px 20px; }
  .pay-methods { grid-template-columns: 1fr; }
  .tabs { width: 100%; } .tab { flex: 1; padding: 9px 8px; font-size: 13px; }
}

/* ==========================================================================
   CADERNETA — produto em destaque com prévias reais
   ========================================================================== */
.featured { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 44px; padding: 40px; align-items: center; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 500 13px/1 var(--f-ui); color: #8FDDB9; background: rgba(79,181,138,.10); border: 1px solid rgba(79,181,138,.35); }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,181,138,.6); animation: pulse-ok 2s infinite; }
@keyframes pulse-ok { 0% { box-shadow: 0 0 0 0 rgba(79,181,138,.6); } 70% { box-shadow: 0 0 0 9px rgba(79,181,138,0); } 100% { box-shadow: 0 0 0 0 rgba(79,181,138,0); } }
.featured__info { display: flex; flex-direction: column; gap: 18px; }
.featured__title { font: 800 clamp(30px, 3.2vw, 42px)/1.08 var(--f-title); letter-spacing: -.035em; }
.featured__title span { display: block; margin-top: 6px; font-size: .52em; font-weight: 600; letter-spacing: -.02em; color: var(--muted); line-height: 1.3; }
.featured__lead { color: var(--muted); font-size: 16px; }
.plan { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(168,74,86,.4); background: linear-gradient(135deg, rgba(142,59,70,.18), rgba(25,20,22,.4)); }
.plan__trial b { display: block; font: 700 18px/1.2 var(--f-title); letter-spacing: -.02em; }
.plan__trial span { font-size: 13px; color: var(--muted); }
.plan__price { text-align: right; }
.plan__price span { display: block; font-size: 12.5px; color: var(--muted); }
.plan__price b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.plan__price small { color: var(--muted); font-size: 13px; }
.featured__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.featured__preview { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pv-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(13,11,12,.6); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pv-tabs::-webkit-scrollbar { display: none; }
.pv-tab { padding: 9px 16px; border-radius: 10px; font: 500 14px/1.2 var(--f-ui); color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.pv-tab:hover { color: var(--text); }
.pv-tab.is-active { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px -8px rgba(168,74,86,.6); }
.pv-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0A0809;
  box-shadow: 0 50px 100px -40px rgba(142,59,70,.45), 0 30px 60px -30px rgba(0,0,0,.9); }
.pv-real { font-size: 12px; color: #8FDDB9; display: flex; align-items: center; gap: 6px; }
.pv-real::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pv-stage { position: relative; aspect-ratio: 16 / 10; background: #F3F0E9; overflow: hidden; }
.pv-shot { position: absolute; inset: 0; display: block; animation: shotIn .5s var(--ease); }
.pv-shot[hidden] { display: none; }
.pv-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@keyframes shotIn { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.pv-caption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: rgba(25,20,22,.9); min-height: 50px; }

.live-dot { font: 500 11.5px/1 var(--f-ui); font-style: normal; color: #8FDDB9; margin-left: 8px; padding: 4px 8px; border-radius: 99px; background: rgba(79,181,138,.1); border: 1px solid rgba(79,181,138,.3); vertical-align: 3px; }

.contact { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; font-size: 14px; color: var(--muted); }
.contact b { color: var(--text); font-weight: 600; }
.contact a { color: var(--muted); width: fit-content; }
.contact a:hover { color: var(--text); }

@media (max-width: 1080px) {
  .featured { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 680px) {
  .products { grid-template-columns: 1fr; }
  .featured { padding: 22px; gap: 26px; }
  .plan { grid-template-columns: 1fr; }
  .plan__price { text-align: left; }
  .featured__ctas .btn { width: 100%; }
  .pv-stage { aspect-ratio: 780 / 1100; }
  .pv-stage.is-doc { aspect-ratio: 1632 / 948; background: #FFFFFF; }
  .pv-shot--doc img { object-position: left top; }
  .pv-tab { padding: 9px 12px; font-size: 13px; }
}
