/* ==========================================================
   MinxCore — estilo "nítido"
   Estrutura por borda de 1px. Sem gradiente, sem roxo.
   ========================================================== */

:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --border: #eaeaec;
  --border-strong: #d6d6da;
  --text: #0b0b0c;
  --text-2: #5f5f68;
  --primary: #0b0b0c;
  --on-primary: #ffffff;
  --link: #2f5bea;
  --ok: #16794a;
  --ok-bg: #e9f5ef;
  --warn: #8a5300;
  --warn-bg: #fbf1e3;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 12px 32px -8px rgba(11, 11, 12, .14);

  --r-ctl: 8px;
  --r-card: 12px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08080a; --surface: #0e0e11; --border: #28282f; --border-strong: #3a3a43;
    --text: #f4f4f5; --text-2: #9d9da6; --primary: #f4f4f5; --on-primary: #08080a;
    --link: #7f9cff; --ok: #4cc38a; --ok-bg: #0f2a1d; --warn: #e0a64a; --warn-bg: #2c1f0b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -8px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08080a; --surface: #0e0e11; --border: #28282f; --border-strong: #3a3a43;
  --text: #f4f4f5; --text-2: #9d9da6; --primary: #f4f4f5; --on-primary: #08080a;
  --link: #7f9cff; --ok: #4cc38a; --ok-bg: #0f2a1d; --warn: #e0a64a; --warn-bg: #2c1f0b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px -8px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.muted { color: var(--text-2); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--r-ctl); }

.ms {
  font-family: "Material Symbols Outlined"; font-weight: 300; font-style: normal;
  font-size: 20px; line-height: 1; display: inline-block; white-space: nowrap;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 20;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  vertical-align: middle; overflow: hidden; width: 1em; flex: none;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-ctl);
  font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: color-mix(in srgb, var(--primary) 82%, var(--bg)); }
.btn--secondary { background: var(--bg); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface); }
.btn--ghost:hover { background: var(--surface); }
.btn--lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn--block { width: 100%; }
.btn .ms { font-size: 18px; }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: var(--r-ctl); cursor: pointer;
}
.icon-btn:hover { background: var(--surface); border-color: var(--border); }

/* ---------- Faixa de anúncio ---------- */
.announce { background: var(--primary); color: var(--on-primary); font-size: 14px; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.announce .tag {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; opacity: .85;
}
.announce__link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.announce__link .ms { font-size: 16px; }

/* ---------- Menu ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand__mark { width: 31px; height: 22px; color: var(--text); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 6px 12px; border-radius: var(--r-ctl); color: var(--text-2); font-size: 15px; }
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__menu { display: none; }
.mobile-menu { border-top: 1px solid var(--border); padding: 8px 16px 16px; }
.mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 17px; }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu__row { display: flex; gap: 8px; margin-top: 8px; }
.mobile-menu__row .btn { flex: 1; height: 44px; }
.mobile-menu__row .btn--primary { color: var(--on-primary); }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 560px) {
  .nav__login, #theme-toggle, .nav__actions .btn--primary { display: none; }
}

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-2); margin-bottom: 16px;
}
.lead { font-size: 19px; color: var(--text-2); max-width: 640px; }
.section { padding: 112px 0; border-top: 1px solid var(--border); }
.section--alt { background: var(--surface); --mark-gap: var(--surface); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 16px; }
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .lead { font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; overflow: hidden; }
.hero__title { font-size: clamp(38px, 6.6vw, 76px); letter-spacing: -0.04em; font-weight: 600; max-width: 15ch; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 620px; margin-top: 24px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .hero__title br { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}


/* Janela de app (mockup) */
.win { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; font-size: 13px; line-height: 1.45; }
.win__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--border-strong); }
.win__title { font-size: 12px; color: var(--text-2); }
.win__body { padding: 16px; display: grid; gap: 12px; }

.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mk-table { width: 100%; border-collapse: collapse; }
.mk-table th { text-align: left; font-weight: 500; color: var(--text-2); font-size: 12px; padding: 8px 8px; border-bottom: 1px solid var(--border); }
.mk-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); }
.mk-table tr:last-child td { border-bottom: 0; }
.mk-foot { display: flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.mk-foot .ms { font-size: 16px; }
.mk-field { display: grid; gap: 4px; }
.mk-field label { font-size: 12px; color: var(--text-2); }
.mk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input { height: 34px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--r-ctl); color: var(--text-2); }
.seg { display: flex; border: 1px solid var(--border-strong); border-radius: var(--r-ctl); padding: 2px; }
.seg span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; color: var(--text-2); }
.seg .is-on { background: var(--primary); color: var(--on-primary); }
.mk-status { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ok); font-weight: 500; font-size: 12.5px; }
.mk-status .ms { font-size: 17px; }

.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.pill .ms { font-size: 14px; }
.pill--ok { color: var(--ok); background: var(--ok-bg); border-color: transparent; }
.pill--warn { color: var(--warn); background: var(--warn-bg); border-color: transparent; }

/* Celular (mockup) */
.phone { background: var(--bg); border: 1px solid var(--border-strong); border-radius: 30px; padding: 10px; box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.4; }
.phone__notch { width: 70px; height: 18px; margin: 2px auto 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.phone__body { display: grid; gap: 8px; padding: 0 4px 10px; }
.phone__hi { font-weight: 600; font-size: 14px; margin: 2px 2px 4px; }
.phone__card { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--border); border-radius: 10px; }
.phone__card strong, .phone__card .muted { display: block; }
.phone__card .ms { margin-top: 1px; }

/* ---------- Logos ---------- */
.logos { border-top: 1px solid var(--border); padding: 48px 0; }
.logos__label { text-align: center; color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.logos__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos__row li {
  height: 56px; display: grid; place-items: center; text-align: center; padding: 0 8px;
  border: 1px dashed var(--border-strong); border-radius: var(--r-ctl);
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
}
@media (max-width: 800px) { .logos__row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cartões ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; }
.card__icon { font-size: 24px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-ctl); margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 16px; }

/* ---------- Diagrama da plataforma ---------- */
.stack { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); padding: 28px; --mark-gap: var(--bg); }
.stack__layer { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; }
.stack__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); }
.stack__items { display: grid; gap: 10px; }
.stack__items--3 { grid-template-columns: repeat(3, 1fr); }
.stack__items--4 { grid-template-columns: repeat(4, 1fr); }
.stack__items--5 { grid-template-columns: repeat(5, 1fr); }
.stack__link { display: grid; grid-template-columns: 180px repeat(4, 1fr); gap: 20px; height: 28px; }
.stack__link i { border-left: 1px dashed var(--border-strong); margin-left: 50%; }
.stack__link i:first-child { grid-column: 2; }
.node {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-ctl);
  background: var(--surface); font-weight: 500; font-size: 15px; line-height: 1.3;
}
.node small { flex-basis: 100%; font-weight: 400; color: var(--text-2); font-size: 13px; }
.node--strong, .node--base { flex-wrap: wrap; }
.node--strong { background: var(--bg); border-color: var(--border-strong); font-size: 16px; padding: 18px; }
.node--strong small { padding-left: 30px; margin-top: -6px; }
.node--soon { border-style: dashed; }
.node--base { background: var(--primary); color: var(--on-primary); border-color: var(--primary); font-size: 17px; padding: 20px; --mark-gap: var(--primary); }
.node--base small { color: inherit; opacity: .7; flex-basis: auto; margin-left: auto; }
.node__mark { width: 28px; height: 20px; color: var(--on-primary); }
@media (max-width: 960px) {
  .stack { padding: 20px; }
  .stack__layer { grid-template-columns: 1fr; gap: 10px; }
  .stack__items--5 { grid-template-columns: repeat(2, 1fr); }
  .stack__items--5 .node:last-child { grid-column: span 2; }
  .stack__items--3, .stack__items--4 { grid-template-columns: 1fr; }
  .stack__link { grid-template-columns: 1fr; height: 24px; }
  .stack__link i { grid-column: 1 !important; }
  .stack__link i + i { display: none; }
  .node--base small { flex-basis: 100%; margin-left: 0; }
}

/* ---------- Abas de produtos ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: calc(var(--r-ctl) + 4px); background: var(--surface); width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 32px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  background: none; border: 1px solid transparent; border-radius: var(--r-ctl);
  font-weight: 500; font-size: 15px; color: var(--text-2); cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--bg); color: var(--text); border-color: var(--border); box-shadow: 0 1px 2px rgba(11,11,12,.06); }
.tab__hint { font-weight: 400; font-size: 13px; color: var(--text-2); }
.badge-soon { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--warn); background: var(--warn-bg); padding: 2px 7px; border-radius: 999px; font-weight: 500; }
@media (max-width: 560px) {
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 10px; }
  .tab__hint, .tab .badge-soon { display: none; }
}

.panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px; }
.panel[hidden] { display: none; }
.panel__product { font-family: var(--mono); font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.panel h3 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 16px; }
.panel__text > p { color: var(--text-2); }
.features { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.features li { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.features li .ms { font-size: 20px; margin-top: 2px; color: var(--text); }
.features strong { display: block; color: var(--text); font-weight: 500; }
.also { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.also strong { color: var(--text); font-weight: 500; }
.soon-inline { color: var(--warn); }
.panel__cta { margin-top: 28px; }
.panel__mock { margin: 0; position: sticky; top: 96px; align-self: center; }
.panel__phone { margin: 0 auto; width: 260px; }
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; gap: 36px; padding: 24px; }
  .panel__mock { position: static; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .panel__cta .btn { width: 100%; white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; text-align: center; }
  .panel__mock .mk-table th:nth-child(3), .panel__mock .mk-table td:nth-child(3) { display: none; }
}

/* Documento e assinatura (mockup) */
.doc { border: 1px solid var(--border); border-radius: 10px; padding: 12px; display: grid; gap: 2px; }
.doc__lines { display: grid; gap: 6px; margin-top: 10px; }
.doc__lines i { height: 6px; border-radius: 3px; background: var(--surface); border: 1px solid var(--border); }
.doc__lines .short { width: 60%; }
.sign-box { border: 1px dashed var(--border-strong); border-radius: 10px; padding: 8px 10px; color: var(--text); }
.sign-box .muted { font-size: 11px; }
.sign-box svg { width: 100%; height: 40px; }

/* Lista de espera */
.waitlist { margin-top: 32px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.waitlist label { display: block; font-size: 15px; color: var(--text-2); margin-bottom: 12px; }
.waitlist label strong { color: var(--text); font-weight: 500; }
.waitlist__row { display: flex; gap: 8px; }
.waitlist input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; font: inherit; font-size: 15px;
  color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-ctl);
}
.waitlist input:focus { outline: 2px solid var(--link); outline-offset: -1px; border-color: transparent; }
.form-msg { font-size: 14px; margin-top: 10px; min-height: 1em; }
.form-msg:empty { display: none; }
.form-msg.is-ok { color: var(--ok); }
.form-msg.is-err { color: var(--warn); }
@media (max-width: 480px) { .waitlist__row { flex-direction: column; } }

/* ---------- Depoimento ---------- */
.quote { margin: 16px 0 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); padding: 40px; }
.quote blockquote { margin: 0 0 28px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.015em; max-width: 900px; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.quote figcaption strong, .quote figcaption .muted { display: block; }
@media (max-width: 640px) { .quote { padding: 24px; } }

/* ---------- Chamada final ---------- */
.final { padding: 128px 0; border-top: 1px solid var(--border); text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(34px, 5.6vw, 64px); letter-spacing: -0.04em; margin-bottom: 20px; }
.final .lead { margin: 0 auto; }
.final .hero__cta { justify-content: center; }
.final__contact { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: var(--text-2); font-size: 15px; }
.final__contact > span, .final__contact > a { display: inline-flex; align-items: center; gap: 6px; }
.final__contact .ms { font-size: 18px; }
@media (max-width: 640px) { .final { padding: 80px 0; } .final h2 br { display: none; } }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--border); background: var(--surface); --mark-gap: var(--surface); font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 48px; }
.footer__brand p { margin-top: 14px; max-width: 320px; font-size: 14px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 13px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 4px; }
.footer__col a:hover { color: var(--link); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 13px; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   CORES DOS PRODUTOS + ANIMAÇÕES
   Skolyo = azul · MinxERP = roxo · Assinatura = verde-água
   Para trocar os tons, mude só estas variáveis.
   ========================================================== */
:root {
  --custom: #ea580c; --custom-2: #fdba74; --custom-soft: #fff1e8;
  --skolyo: #2563eb; --skolyo-2: #60a5fa; --skolyo-soft: #eef3ff;
  --minx: #7c3aed;   --minx-2: #c084fc;   --minx-soft: #f4eeff;
  --sign: #0d9488;   --sign-2: #5eead4;   --sign-soft: #e9f8f6;
  --brand-grad: linear-gradient(110deg, var(--skolyo), var(--minx));
  --accent: var(--skolyo); --accent-2: var(--skolyo-2); --accent-soft: var(--skolyo-soft);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --skolyo: #4f86ff; --skolyo-soft: #0d1530; --minx: #9d6bff; --minx-soft: #170f2c; --sign: #2cc5b5; --sign-soft: #0b201e;
    --logo-leg: #7c3aed; --logo-band: #9d6bff;
  }
}
:root[data-theme="dark"] {
  --skolyo: #4f86ff; --skolyo-soft: #0d1530; --minx: #9d6bff; --minx-soft: #170f2c; --sign: #2cc5b5; --sign-soft: #0b201e;
  --logo-leg: #7c3aed; --logo-band: #9d6bff;
}

/* Botões coloridos */
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--accent) 70%, transparent); transition: background-color .5s, box-shadow .5s, transform .15s; }
.btn--accent:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -6px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn--light { background: #fff; color: #0b0b0c; }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* Faixa de anúncio em degradê animado */
.announce { background: linear-gradient(90deg, var(--skolyo), var(--minx), var(--skolyo)); background-size: 200% 100%; animation: flow 10s linear infinite; color: #fff; }
@keyframes flow { to { background-position: -200% 0; } }

/* Hero */
.hero { position: relative; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.blob--s { width: 520px; height: 520px; background: var(--skolyo); top: -160px; right: 8%; animation: drift1 16s ease-in-out infinite alternate; }
.blob--m { width: 460px; height: 460px; background: var(--minx); top: 80px; right: -120px; animation: drift2 18s ease-in-out infinite alternate; }
.blob--x { width: 300px; height: 300px; background: var(--minx-2); top: 360px; left: -120px; opacity: .25; animation: drift1 20s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(-140px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-200px, -60px) scale(.9); } }
@media (max-width: 640px) { .blob { filter: blur(50px); opacity: .3; } .blob--s { width: 300px; height: 300px; } .blob--m { width: 280px; height: 280px; } }

.hl { position: relative; white-space: nowrap; }
.hl--s { color: var(--skolyo); }
.hl--m { color: var(--minx); }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px;
  background: currentColor; opacity: .25; transform: scaleX(0); transform-origin: left;
  animation: underline .9s cubic-bezier(.2,.8,.2,1) forwards;
}
.hl--s::after { animation-delay: .6s; }
.hl--m::after { animation-delay: 1s; }
@keyframes underline { to { transform: scaleX(1); } }

/* Entrada do hero */
.hero .eyebrow, .hero__title, .hero__sub, .hero .hero__cta, .hero-phone { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero__title { animation-delay: .08s; }
.hero__sub { animation-delay: .18s; }
.hero .hero__cta { animation-delay: .28s; }
.hero-phone { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* Colagem colorida e flutuando */
@keyframes float { 50% { transform: translateY(-12px); } }

.win--skolyo { border-top: 3px solid var(--skolyo); }
.win--minx { border-top: 3px solid var(--minx); }
.win--skolyo .win__title::before, .win--minx .win__title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--skolyo); }
.win--minx .win__title::before { background: var(--minx); }
.win--minx .seg .is-on, .win--minx .btn--primary { background: var(--minx); color: #fff; }
.phone--skolyo { border-color: color-mix(in srgb, var(--skolyo) 40%, var(--border)); }
.phone--skolyo .phone__card .ms { color: var(--skolyo); }

/* Logos em carrossel */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .logos__row { display: flex; width: max-content; gap: 12px; animation: marquee 30s linear infinite; }
.marquee .logos__row li { width: 180px; flex: none; }
.marquee:hover .logos__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Ícones dos cartões coloridos */
.grid-3 .card:nth-child(3n+1) .card__icon { color: var(--skolyo); background: var(--skolyo-soft); border-color: transparent; }
.grid-3 .card:nth-child(3n+2) .card__icon { color: var(--minx); background: var(--minx-soft); border-color: transparent; }
.grid-3 .card:nth-child(3n+3) .card__icon { color: var(--sign); background: var(--sign-soft); border-color: transparent; }
.card { transition: border-color .3s, box-shadow .3s; }
.grid-3 .card:nth-child(3n+1):hover { border-color: var(--skolyo); box-shadow: 0 0 0 4px var(--skolyo-soft); }
.grid-3 .card:nth-child(3n+2):hover { border-color: var(--minx); box-shadow: 0 0 0 4px var(--minx-soft); }
.grid-3 .card:nth-child(3n+3):hover { border-color: var(--sign); box-shadow: 0 0 0 4px var(--sign-soft); }

/* Diagrama */
.node--skolyo { border-color: var(--skolyo); background: var(--skolyo-soft); }
.node--skolyo > .ms { color: var(--skolyo); }
.node--minx { border-color: var(--minx); background: var(--minx-soft); }
.node--minx > .ms { color: var(--minx); }
.node--sign { border-color: var(--sign); background: var(--sign-soft); }
.node--sign > .ms { color: var(--sign); }
.stack__link i { border-left: 0; width: 2px; margin-left: calc(50% - 1px);
  background: repeating-linear-gradient(180deg, var(--minx) 0 5px, transparent 5px 10px); background-size: 2px 20px;
  animation: dash .8s linear infinite; }
.stack__link i:nth-child(1) { background-image: repeating-linear-gradient(180deg, var(--skolyo) 0 5px, transparent 5px 10px); }
.stack__link i:nth-child(3) { background-image: repeating-linear-gradient(180deg, var(--sign) 0 5px, transparent 5px 10px); }
@keyframes dash { to { background-position: 0 20px; } }
.node--base { background: linear-gradient(110deg, var(--skolyo), var(--minx), var(--skolyo)); background-size: 200% 100%; animation: flow 8s linear infinite; border: 0; color: #fff;
  --mark-gap: transparent; --logo-ink: #fff; --logo-band: #fff; --logo-leg: rgba(255,255,255,.6); }
.node--base small { color: #fff; }
.node__mark { color: #fff; }

/* ---------- Seção que alterna as cores ---------- */
.showcase { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); --mark-gap: var(--bg); }
/* Fundo: grade de pontos que some nas bordas + brilho na cor do produto ativo */
.showcase::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 60%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 60%, #000 35%, transparent 85%);
}
.showcase::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 1100px; height: 640px; left: 50%; top: 62%; border-radius: 50%;
  background: var(--accent); opacity: .26; filter: blur(120px);
  transform: translate(-30%, -50%);
  transition: background-color .8s ease;
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-60%, -42%) scale(1.12); opacity: .36; } }
@media (max-width: 640px) { .showcase::after { width: 420px; height: 420px; filter: blur(80px); } }
.showcase[data-active="skolyo"] { --accent: var(--skolyo); --accent-2: var(--skolyo-2); --accent-soft: var(--skolyo-soft); }
.showcase[data-active="minx"] { --accent: var(--minx); --accent-2: var(--minx-2); --accent-soft: var(--minx-soft); }
.showcase[data-active="assinatura"] { --accent: var(--sign); --accent-2: var(--sign-2); --accent-soft: var(--sign-soft); }
.showcase .eyebrow { color: var(--accent); transition: color .5s; }
.showcase .tabs { background: var(--bg); border-color: color-mix(in srgb, var(--accent) 25%, var(--border)); }
.tab { position: relative; overflow: hidden; transition: color .3s, background-color .4s; }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.tab[aria-selected="true"] .tab__hint { color: rgba(255,255,255,.8); }
.tab[aria-selected="true"] .badge-soon { background: rgba(255,255,255,.2); color: #fff; }
.tab__progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255,255,255,.75); transform: scaleX(0); transform-origin: left; }
.showcase.is-auto .tab[aria-selected="true"] .tab__progress { animation: progress 7s linear forwards; }
.showcase:not(.in-view) .tab__progress, .showcase:hover .tab__progress, .showcase:focus-within .tab__progress { animation-play-state: paused !important; }
@keyframes progress { to { transform: scaleX(1); } }

.showcase .panel { background: var(--bg); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent); transition: border-color .6s, box-shadow .6s; }
.panel:not([hidden]) .panel__text > * { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
.panel:not([hidden]) .panel__text > :nth-child(2) { animation-delay: .05s; }
.panel:not([hidden]) .panel__text > :nth-child(3) { animation-delay: .1s; }
.panel:not([hidden]) .panel__text > :nth-child(4) { animation-delay: .15s; }
.panel:not([hidden]) .panel__text > :nth-child(n+5) { animation-delay: .2s; }
.panel:not([hidden]) .panel__mock, .panel:not([hidden]) .panel__phone { animation: popIn .7s cubic-bezier(.2,.8,.2,1) .1s both; }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96) rotate(-1deg); } }
.panel__product { color: var(--accent); }
.features li .ms { color: var(--accent); background: var(--accent-soft); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; margin-top: 0; }
.panel .win__bar { background: var(--accent-soft); }
.panel__phone { border-color: var(--accent); }
.panel__phone .btn--primary { background: var(--accent); color: #fff; }
.sign-box { color: var(--accent); }
.sign-box path { stroke-dasharray: 400; stroke-dashoffset: 400; }
#assinatura:not([hidden]) .sign-box path { animation: sign 2s ease .7s forwards; }
@keyframes sign { to { stroke-dashoffset: 0; } }
.waitlist { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }

/* Depoimento */

/* Chamada final em degradê animado */
.final--brand { position: relative; overflow: hidden; color: #fff; border-top: 0;
  background: linear-gradient(120deg, var(--skolyo), var(--minx), #4338ca, var(--skolyo)); background-size: 300% 300%; animation: flowXY 14s ease infinite; }
@keyframes flowXY { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.final--brand .lead, .final--brand .final__contact { color: rgba(255,255,255,.85); }
.final--brand::before, .final--brand::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.final--brand::before { width: 520px; height: 520px; left: -180px; top: -200px; animation: spin 40s linear infinite; border-style: dashed; }
.final--brand::after { width: 380px; height: 380px; right: -120px; bottom: -160px; animation: spin 30s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.final__inner { position: relative; z-index: 1; }
.wiggle { display: inline-block; animation: wiggle 2.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-8deg); } 84% { transform: rotate(6deg); } 92% { transform: rotate(-3deg); } }

/* Aparecer ao rolar a página */
html.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .hl::after { transform: none; }
  .sign-box path { stroke-dashoffset: 0; }
}

/* Palavra que alterna no título (escola / loja) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rotator { display: inline-grid; justify-items: start; vertical-align: bottom; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.rotator__w { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1), filter .5s; }
.rotator__w.is-on { opacity: 1; transform: none; filter: none; }
.rotator__w.is-out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.rotator__w.hl::after { animation: none; transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1) .2s; }
.rotator__w.is-on.hl::after { transform: scaleX(1); }
.c-s { color: var(--skolyo); font-weight: 600; }
.c-m { color: var(--minx); font-weight: 600; }

/* ==========================================================
   CELULAR — ajustes finais (vêm por último para valerem sobre o resto)
   ========================================================== */
.announce__short { display: none; }

/* Celular animado do hero (só aparece em telas pequenas) */
.hero-phone {
  display: block; position: relative; height: 380px; margin: 36px -16px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, var(--skolyo-soft), var(--bg) 55%, var(--minx-soft));
}
.hero-phone::before {   /* brilho que muda de cor com o produto */
  content: ""; position: absolute; width: 300px; height: 300px; left: 50%; top: 52%; border-radius: 50%;
  transform: translate(-50%, -50%); filter: blur(60px); opacity: .35; background: var(--skolyo);
  transition: background-color .8s ease;
}
.hero-phone[data-mode="minx"]::before { background: var(--minx); }
.hp-device {
  position: absolute; left: 50%; top: 44px; width: 228px; height: 420px; transform: translateX(-50%);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 36px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(11, 11, 12, .35);
  animation: rise .8s cubic-bezier(.2,.8,.2,1) .4s both;
}
.hp-notch { width: 74px; height: 20px; margin: 2px auto 0; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); }
.hp-screen {
  position: absolute; left: 10px; right: 10px; top: 42px; display: grid; z-index: 0; gap: 8px; font-size: 12.5px; line-height: 1.35;
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-phone[data-mode="skolyo"] .hp-screen--s, .hero-phone[data-mode="minx"] .hp-screen--m { opacity: 1; transform: none; transition-delay: .12s; }
.hp-top { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 13px; padding: 9px 12px; border-radius: 12px; }
.hp-top .ms { font-size: 18px; }
.hp-screen--s .hp-top { background: var(--skolyo); }
.hp-screen--m .hp-top { background: var(--minx); }
.hp-hi { font-weight: 600; font-size: 15px; margin: 4px 2px 0; }
.hp-card { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.hp-card .ms { color: var(--skolyo); background: var(--skolyo-soft); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 17px; }
.hp-card strong, .hp-card span:not(.ms) { display: block; }
.hp-card span:not(.ms) { color: var(--text-2); font-size: 11.5px; }
.hp-row { display: flex; justify-content: space-between; gap: 8px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.hp-row--total { font-weight: 600; border-bottom: 0; }
.hp-btn { background: var(--minx); color: #fff; text-align: center; font-weight: 500; padding: 10px; border-radius: 10px; margin-top: 4px; }
.hp-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border); box-shadow: 0 10px 24px -10px rgba(11, 11, 12, .3);
  font-size: 12.5px; font-weight: 500; color: var(--ok); white-space: nowrap;
  opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1.4);
}
.hp-chip .ms { font-size: 17px; }
.hp-chip--s { left: 12px; top: 14px; }
.hp-chip--m { right: 12px; top: 14px; }
.hero-phone[data-mode="skolyo"] .hp-chip--s, .hero-phone[data-mode="minx"] .hp-chip--m { opacity: 1; transform: none; transition-delay: .55s; }
@media (max-width: 360px) { .hp-chip--s { left: 6px; } .hp-chip--m { right: 6px; } }

@media (max-width: 640px) {
  body { font-size: 16px; }

  /* Faixa de anúncio em uma linha só */
  .announce__full { display: none; }
  .announce__short { display: inline; font-weight: 500; }
  .announce__inner { flex-wrap: nowrap; gap: 8px; min-height: 40px; font-size: 13px; }
  .announce .tag { display: none; }
  .announce__link { white-space: nowrap; }
  .announce__link { font-size: 0; }               /* esconde o texto longo… */
  .announce__link::before { content: "Avise-me"; font-size: 13px; }  /* …e mostra um curto */
  .announce__link .ms { font-size: 16px; }

  /* Ritmo vertical mais curto */
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .section__head h2 { font-size: 28px; }
  .eyebrow { font-size: 11.5px; margin-bottom: 12px; }
  .lead { font-size: 16px; }

  /* Hero */
  .hero { padding-top: 40px; }
  .hero__title { font-size: 40px; }
  .hero__sub { font-size: 16px; margin-top: 16px; }
  .hero__cta { margin-top: 24px; gap: 10px; }

  /* No celular, o palco do topo mostra só o celular */
  .hs-browser { display: none; }

  /* Logos */
  .logos { padding: 32px 0; }
  .logos__label { font-size: 13px; margin-bottom: 16px; }
  .marquee .logos__row li { width: 140px; height: 48px; font-size: 11px; }

  /* Cartões viram linhas compactas: ícone à esquerda, texto à direita */
  .grid-3 { gap: 10px; }
  .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; padding: 16px; align-items: start; }
  .card__icon { grid-row: span 2; width: 40px; height: 40px; font-size: 20px; margin: 0; }
  .card h3 { font-size: 17px; margin: 0; line-height: 1.3; padding-top: 2px; }
  .card p { font-size: 15px; line-height: 1.5; }

  /* Diagrama mais enxuto */
  .stack { padding: 14px; }
  .stack__label { font-size: 11px; }
  .node { padding: 10px 12px; font-size: 14px; }
  .node--strong { padding: 12px 14px; font-size: 15px; }
  .node--strong small { font-size: 12.5px; }
  .stack__link { height: 18px; }
  .node--base { padding: 14px; font-size: 16px; }
  .node--base small { font-size: 12.5px; }

  /* Produtos: tela de exemplo logo depois do título, texto mais curto */
  .tabs { margin-bottom: 16px; }
  .tab { height: 40px; font-size: 14px; gap: 6px; }
  .panel { display: flex; flex-direction: column; gap: 0; padding: 20px 16px; }
  .panel__text { display: contents; }
  .panel__product { order: 1; margin-bottom: 10px; font-size: 12px; }
  .panel h3 { order: 2; font-size: 22px; margin-bottom: 10px; }
  .panel__text > p:not(.panel__product):not(.also) { order: 3; font-size: 15px; }
  .panel__mock, .panel__phone { order: 4; margin: 20px 0 4px; }
  .panel__mock { font-size: 12px; }
  .panel__mock .win__body { padding: 12px; }
  .features { order: 5; margin-top: 20px; gap: 14px; }
  .features li { font-size: 14px; }
  .features li .ms { width: 32px; height: 32px; font-size: 18px; }
  .also { order: 6; font-size: 14px; margin-top: 18px; padding-top: 14px; }
  .panel__cta, .waitlist { order: 7; }
  .panel__cta { margin-top: 20px; }
  .waitlist { margin-top: 20px; padding: 16px; }
  .panel__phone { width: 240px; align-self: center; }

  /* Depoimento */
  .quote { padding: 20px; }
  .quote blockquote { font-size: 18px; margin-bottom: 18px; }

  /* Chamada final */
  .final { padding: 64px 0; }
  .final h2 { font-size: 34px; }
  .final .lead { font-size: 16px; }
  .final__contact { flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
  .final--brand::before { width: 320px; height: 320px; }
  .final--brand::after { width: 240px; height: 240px; }

  /* Rodapé em 3 colunas curtas */
  .footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; padding-top: 40px; padding-bottom: 32px; }
  .footer__col { gap: 8px; font-size: 14px; }
  .footer__col h4 { font-size: 11px; }
  .footer__bottom { flex-direction: column; gap: 4px; }
}

/* ==========================================================
   PALCO DO TOPO NO COMPUTADOR: navegador + celular, trocando com o título
   ========================================================== */
.hs-browser { display: none; }
@media (min-width: 641px) {
  .hero-phone {
    height: 480px; margin: 64px 0 0; border: 1px solid var(--border); border-bottom: 0;
    border-radius: var(--r-card) var(--r-card) 0 0;
  }
  .hero-phone::before { width: 620px; height: 420px; left: 40%; top: 60%; filter: blur(90px); opacity: .28; }
  .hp-device { left: auto; right: 6%; top: 92px; transform: none; z-index: 2; }
  .hp-chip { z-index: 3; }
  .hp-chip--s, .hp-chip--m { left: 3%; right: auto; top: auto; bottom: 36px; }

  .hs-browser {
    display: block; position: absolute; left: 5%; right: calc(6% + 150px); top: 48px; height: 560px;
    background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(11, 11, 12, .35);
  }
  .hb-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
  .hb-url {
    flex: 1; max-width: 320px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 26px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-2);
  }
  .hb-url .ms { font-size: 14px; }
  .hb-url-w { display: inline-grid; }
  .hb-url-w > span { grid-area: 1 / 1; transition: opacity .4s; }
  .hero-phone[data-mode="skolyo"] .hb-url-m, .hero-phone[data-mode="minx"] .hb-url-s { opacity: 0; }
  .hb-body { position: relative; height: calc(100% - 40px); }
  .hb-screen {
    position: absolute; inset: 0; display: grid; grid-template-columns: 170px 1fr; font-size: 13px;
    opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .hero-phone[data-mode="skolyo"] .hb-screen--s, .hero-phone[data-mode="minx"] .hb-screen--m { opacity: 1; transform: none; transition-delay: .08s; }
  .hb-screen--s { --c: var(--skolyo); --c-soft: var(--skolyo-soft); }
  .hb-screen--m { --c: var(--minx); --c-soft: var(--minx-soft); }
  .hb-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--border); background: var(--surface); }
  .hb-side > span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); }
  .hb-side .ms { font-size: 18px; }
  .hb-side .is-on { background: var(--c-soft); color: var(--c); font-weight: 600; }
  .hb-main { padding: 20px 100px 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
  .hb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .hb-head strong { font-size: 18px; letter-spacing: -0.02em; }
  .hb-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hb-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
  .hb-tile .ms { color: var(--c); background: var(--c-soft); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 18px; }
  .hb-list { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .hb-list__t { font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
  .hb-li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); }
  .hb-li:last-child { border-bottom: 0; }
  .hb-li .ms { color: var(--c); font-size: 18px; }
  .hb-sale { display: grid; grid-template-columns: 1fr 190px; gap: 12px; align-items: start; }
  .hb-items { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .hb-items .hb-li { grid-template-columns: 1fr 50px 90px; }
  .hb-items .hb-li > :not(:first-child) { text-align: right; }
  .hb-li--h { background: var(--surface); color: var(--text-2); font-size: 12px; font-weight: 500; }
  .hb-summary { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
  .hb-summary .muted { font-size: 12px; margin-top: 4px; }
  .hb-total { font-size: 20px; }
  .hb-btn { margin-top: 10px; background: var(--c); color: #fff; text-align: center; font-weight: 500; padding: 9px; border-radius: 9px; }
  .hb-ok { display: flex; align-items: center; gap: 5px; color: var(--ok); font-size: 12px; font-weight: 500; margin-top: 6px; }
  .hb-ok .ms { font-size: 16px; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .hb-main { padding-right: 70px; }
  .hb-tiles { grid-template-columns: 1fr 1fr; }
  .hb-tile:nth-child(3) { display: none; }
  .hb-screen { grid-template-columns: 1fr; }
  .hb-side { display: none; }
  .hb-sale { grid-template-columns: 1fr; }
  .hs-browser { right: calc(6% + 110px); }
}

/* ==========================================================
   O PROBLEMA: cabeçalho em duas colunas e a solução em cada cartão
   ========================================================== */
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section__head--split h2 { margin-bottom: 0; }
.problems .card { display: flex; flex-direction: column; }
.card__fix {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--border-strong);
  display: flex; gap: 8px; align-items: flex-start; color: var(--text) !important; font-size: 15px;
}
.problems .card > p:not(.card__fix) { margin-bottom: 18px; }
.card__fix .ms { font-size: 19px; margin-top: 1px; }
.problems .card:nth-child(1) .card__fix .ms, .problems .card:nth-child(1) .card__fix strong { color: var(--skolyo); }
.problems .card:nth-child(2) .card__fix .ms, .problems .card:nth-child(2) .card__fix strong { color: var(--minx); }
.problems .card:nth-child(3) .card__fix .ms, .problems .card:nth-child(3) .card__fix strong { color: var(--sign); }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .problems .card { display: grid; }
  .card__fix { grid-column: 1 / -1; margin-top: 12px; padding-top: 12px; font-size: 14px; }
  .problems .card > p:not(.card__fix) { margin-bottom: 0; }
}

/* ==========================================================
   DEPOIMENTO: barra lateral nas cores dos produtos e etiqueta do produto
   ========================================================== */
.quote { position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand-grad); }
.quote__tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 4px 10px; border-radius: 999px;
  background: var(--skolyo-soft); color: var(--skolyo); font-size: 13px; font-weight: 500;
}
.quote__tag .ms { font-size: 16px; }
.final__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Lista de espera: campo-armadilha escondido e nota de privacidade */
.waitlist__isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist__nota { font-size: 13px; color: var(--text-2); margin-top: 10px; }
.waitlist__nota a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.waitlist button[disabled] { opacity: .6; cursor: wait; }

/* ==========================================================
   PÁGINAS LEGAIS (termos.html, privacidade.html)
   ========================================================== */
.legal { padding-block: 64px 96px; }
.legal__wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; margin-bottom: 8px; }
.legal__data { color: var(--text-2); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--link); }
@media (max-width: 640px) { .legal { padding-block: 40px 64px; } .legal .nav__actions .btn { padding: 0 12px; } }

/* ==========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================== */
.wa-float {
  --wa: #1fa855; /* verde do WhatsApp, um pouco mais escuro para o texto branco ter contraste */
  position: fixed; z-index: 45;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 10px 30px -8px rgba(11, 11, 12, .45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1.3), background-color .2s;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: #178a45; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float.is-on svg { animation: wa-balanca 4s ease-in-out 1.5s infinite; }
@keyframes wa-balanca { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } 97% { transform: rotate(-6deg); } }
@media (max-width: 640px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .wa-float__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ==========================================================
   SISTEMAS SOB MEDIDA
   ========================================================== */
.custom { position: relative; overflow: hidden; }
.custom::before {   /* brilho discreto nas duas cores, atrás dos cartões */
  content: ""; position: absolute; z-index: 0; pointer-events: none; width: 900px; height: 520px; left: 50%; top: 58%;
  transform: translate(-50%, -50%); border-radius: 50%; filter: blur(120px); opacity: .14; background: var(--brand-grad);
}
.custom .wrap { position: relative; z-index: 1; }
.custom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.custom__card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; }
.custom__card h3 { font-size: 20px; margin-bottom: 20px; }
.custom__list, .custom__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.custom__list li, .custom__steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.custom__list strong, .custom__steps strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.custom__list .ms {
  font-size: 20px; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 10px;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
}
.custom__list li:nth-child(odd) .ms { color: var(--skolyo); background: var(--skolyo-soft); border-color: transparent; }
.custom__list li:nth-child(even) .ms { color: var(--minx); background: var(--minx-soft); border-color: transparent; }
.custom__steps { position: relative; }
.custom__steps::before {   /* a linha que liga os passos */
  content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(var(--skolyo), var(--minx)); opacity: .35;
}
.custom__n {
  position: relative; width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--minx); color: var(--minx); font-family: var(--mono); font-weight: 500; font-size: 14px;
}
.custom__steps li:first-child .custom__n { border-color: var(--skolyo); color: var(--skolyo); }
.custom__cta { margin-top: 28px; align-self: flex-start; }
@media (max-width: 860px) { .custom__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .custom__card { padding: 20px 16px; }
  .custom__cta { align-self: stretch; }
  .custom::before { width: 420px; height: 600px; }
}

/* ==========================================================
   SOB MEDIDA no diagrama e nas abas (laranja: o projeto do cliente)
   ========================================================== */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --custom: #fb923c; --custom-soft: #2a1608; } }
:root[data-theme="dark"] { --custom: #fb923c; --custom-soft: #2a1608; }
.node--custom { border-color: var(--custom); background: var(--custom-soft); transition: transform .2s, box-shadow .2s; }
.node--custom > .ms { color: var(--custom); }
.node--custom:hover { box-shadow: 0 0 0 4px var(--custom-soft); }
.stack__link i:nth-child(4) { background-image: repeating-linear-gradient(180deg, var(--custom) 0 5px, transparent 5px 10px); }
.showcase[data-active="sob-medida-aba"] { --accent: var(--custom); --accent-2: var(--custom-2); --accent-soft: var(--custom-soft); }
.win--custom { border-top: 3px solid var(--custom); }
.win--custom .win__title::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--custom); }
.win--custom .btn--primary { background: var(--custom); color: #fff; }
.panel__cta--duplo { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 961px) and (max-width: 1100px) { .stack__items--4 { grid-template-columns: repeat(2, 1fr); } .stack__link { grid-template-columns: 180px repeat(2, 1fr); } .stack__link i:nth-child(n+3) { display: none; } }
@media (max-width: 640px) {
  .tab { padding: 0 8px; gap: 4px; font-size: 13px; }
  .tab .ms { font-size: 18px; }
  .panel__cta--duplo .btn { flex: 1 1 100%; }
  .win--custom .mk-table th:nth-child(3), .win--custom .mk-table td:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  /* Quatro abas não cabem numa linha: viram uma grade 2 × 2 */
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; overflow: visible; }
  .tab { justify-content: center; font-size: 14px; }
}
