/* ============================================================
   SAPER — Sistema visual oficial (Manual de Identidade)
   Branco dominante · degradê institucional · Montserrat
   Paleta: #7D2D6D roxo · #9F1F36 bordô · #ED323A vermelho · #FE632B coral
   ============================================================ */

:root {
  --purple:  #7D2D6D;
  --bordo:   #9F1F36;
  --red:     #ED323A;
  --coral:   #FE632B;

  /* Degradê institucional (roxo→coral) e variações */
  --grad:        linear-gradient(110deg, #7D2D6D 0%, #9F1F36 38%, #ED323A 70%, #FE632B 100%);
  --grad-rev:    linear-gradient(110deg, #FE632B 0%, #ED323A 30%, #9F1F36 62%, #7D2D6D 100%);
  --grad-band:   linear-gradient(120deg, #5e2052 0%, #7D2D6D 26%, #9F1F36 56%, #ED323A 82%, #FE632B 100%);

  --ink:     #14111a;   /* texto forte */
  --body:    #5b5563;   /* texto corrido (cinza marca ~#606062) */
  --muted:   #8b8593;
  --line:    #ece8ef;
  --line-2:  #f3f0f5;
  --bg:      #ffffff;
  --bg-soft: #f7f4f8;   /* seções claras alternadas */
  --on-dark:       #fdf1f6;
  --on-dark-soft:  #e9c9da;

  --maxw: 1180px;
  --r:    18px;
  --r-lg: 30px;
  --r-pill: 999px;
  --shadow:    0 30px 70px -34px rgba(125,45,109,.40);
  --shadow-sm: 0 16px 40px -22px rgba(125,45,109,.34);
  --shadow-photo: 0 40px 80px -30px rgba(20,17,26,.45);

  --ff: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p { color: var(--body); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--body); font-weight: 400; }
.tagline { font-style: italic; color: var(--purple); font-weight: 500; }

/* destaque com degradê no texto */
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.purple { color: var(--purple); }
.nowrap { white-space: nowrap; }
@media (max-width: 560px) { .nowrap { white-space: normal; } }

.eyebrow {
  display: none; align-items: center; gap: 9px;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bordo);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
/* Base de Conhecimento: eyebrow de volta dentro dos cards, sem o tracinho inicial */
.fcard .eyebrow { display: inline-flex; margin-bottom: 8px; }
.fcard .eyebrow::before { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 16px 30px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .22s ease, background-position .4s ease, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad); background-size: 180% 100%; background-position: 0% 0;
  color: #fff; box-shadow: 0 16px 34px -12px rgba(159,31,54,.5);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 22px 42px -12px rgba(237,50,58,.55); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }
/* sobre fundo escuro/degradê */
.on-dark .btn-ghost, .band .btn-ghost, .cta-box .btn-ghost, .site-footer .btn-ghost {
  background: rgba(255,255,255,.1); border-width: 2px; border-color: rgba(255,255,255,.5); color: #fff;
}
.on-dark .btn-ghost:hover, .band .btn-ghost:hover, .cta-box .btn-ghost:hover {
  background: rgba(255,255,255,.2); border-color: #fff; color: #fff; transform: translateY(-2px);
}
.on-dark .btn-primary, .band .btn-primary, .cta-box .btn-primary { background: #fff; color: var(--bordo); box-shadow: 0 16px 34px -14px rgba(0,0,0,.4); }
.on-dark .btn-primary:hover, .band .btn-primary:hover, .cta-box .btn-primary:hover { background: #fff; color: var(--coral); }

/* link com seta */
.arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--bordo); font-size: .95rem; }
.arrow svg { width: 16px; height: 16px; transition: transform .2s; }
a:hover > .arrow svg, .arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20,17,26,.5); background: rgba(255,255,255,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { height: 34px; width: auto; max-width: none; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: .94rem; font-weight: 500; color: var(--ink); transition: color .15s; position: relative; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--bordo); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta-mobile { display: none; } /* CTA "Agendar" só aparece dentro do menu mobile */
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Layout helpers ---------- */
section { padding: clamp(38px, 4.5vw, 66px) 0; }
.section-head { max-width: 660px; margin-bottom: 32px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 18px 0 16px; }
.section-head .lead { max-width: 600px; }
.section-head.center .lead { margin-inline: auto; }
.soft { background: var(--bg-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: -1; }

/* ---------- Foto com moldura + X ---------- */
.photo { position: relative; }
.photo img.shot { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-photo); object-fit: cover; aspect-ratio: 16 / 11; }
.photo .x-graph { position: absolute; width: 58%; max-width: 360px; pointer-events: none; filter: drop-shadow(0 16px 30px rgba(159,31,54,.35)); }
.photo .x-graph.tr { top: -7%; right: -8%; }
.photo .x-graph.bl { bottom: -10%; left: -9%; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 50px) 0 clamp(34px, 4.5vw, 58px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 420px at 92% 4%, rgba(254,99,43,.10), transparent 60%),
    radial-gradient(520px 420px at 4% 0%, rgba(125,45,109,.08), transparent 58%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .stat { transition: transform .3s cubic-bezier(.2,.7,.3,1); animation: statIn .6s cubic-bezier(.2,.7,.3,1) both; }
.hero-trust .stat:nth-child(2) { animation-delay: .12s; }
.hero-trust .stat:nth-child(3) { animation-delay: .24s; }
.hero-trust .stat:hover { transform: translateY(-5px); }
.hero-trust .stat strong { display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; transition: filter .3s ease; }
.hero-trust .stat:hover strong { filter: drop-shadow(0 8px 18px rgba(159,31,54,.30)); }
@keyframes statIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-trust .stat { animation: none; } }
.hero-trust .stat span { font-size: .85rem; color: var(--muted); display: block; margin-top: 8px; }

/* ---------- Faixa degradê (band) ---------- */
.band { background: var(--grad-band); color: #fff; position: relative; overflow: hidden; }
.band .wrap { position: relative; z-index: 1; }
.band-inner { max-width: 880px; }
.band h2 { color: #fff; }
.band p { color: var(--on-dark-soft); margin-top: 16px; font-size: 1.1rem; max-width: 640px; }

/* ---------- Ticket médio ---------- */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rung {
  position: relative; border: 2px solid var(--line); border-radius: var(--r);
  padding: 32px 30px; background: #fff; display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s, box-shadow .18s;
}
.rung:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.rung .tier { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rung .price { font-size: 2.7rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.rung .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.rung .desc { font-size: .92rem; }
.rung .delta { font-size: .82rem; font-weight: 700; color: var(--coral); }
.rung.best { color: #fff; border: 0; background: var(--grad); box-shadow: var(--shadow); }
.rung.best .tier { color: rgba(255,255,255,.85); }
.rung.best .price, .rung.best .desc { color: #fff; }
.rung.best .delta { color: #fff; }
.rung .tag {
  position: absolute; top: -15px; right: 22px; font-size: .74rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--coral); color: #fff; border: 2px solid #fff;
  box-shadow: 0 8px 22px -6px rgba(254,99,43,.7);
}
.note { margin-top: 30px; display: flex; gap: 14px; align-items: flex-start; max-width: 720px; color: var(--body); font-size: .98rem; }
.note svg { width: 24px; height: 24px; color: var(--bordo); flex-shrink: 0; margin-top: 2px; }
.note strong { color: var(--ink); }
.note .flag { display: inline-block; width: 20px; height: 14px; vertical-align: -2px; margin: 0 1px 0 5px; }

/* ---------- Cards de solução ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sol {
  display: block; position: relative; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px;
  box-shadow: 0 14px 36px -26px rgba(20,17,26,.4);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sol::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.sol:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.sol:hover::before { transform: scaleX(1); }
.sol .ico { width: 56px; height: 56px; margin-bottom: 22px; }
.sol .ico img { width: 100%; }
.sol h3 { font-size: 1.5rem; margin-bottom: 10px; }
.sol p { font-size: .98rem; margin-bottom: 24px; }
.sol ul { list-style: none; display: grid; gap: 9px; margin-bottom: 24px; }
.sol li { display: flex; gap: 10px; align-items: center; font-size: .92rem; color: var(--body); }
.sol li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
/* CTA preenchido dentro do card-link — deixa claro que é clicável */
.sol .sol-cta {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: .98rem; color: #fff;
  background: var(--grad); background-size: 180% 100%; background-position: 0 0;
  padding: 14px 26px; border-radius: var(--r-pill);
  box-shadow: 0 14px 30px -12px rgba(159,31,54,.5);
  transition: background-position .4s ease, box-shadow .22s ease, transform .18s ease;
}
.sol .sol-cta svg { width: 18px; height: 18px; transition: transform .2s; }
.sol:hover .sol-cta { background-position: 100% 0; box-shadow: 0 20px 40px -12px rgba(237,50,58,.55); }
.sol:hover .sol-cta svg { transform: translateX(4px); }

/* ---------- Bullets de destaque (A Saper) ---------- */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-top: 8px; }
.fact .n { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; padding-bottom: .12em; }
.fact h4 { font-size: 1rem; margin: 8px 0 4px; color: var(--ink); }
.fact p { font-size: .9rem; }

/* ---------- CTA final ---------- */
.cta-box {
  border-radius: var(--r-lg); padding: clamp(48px, 6vw, 86px) clamp(28px,5vw,72px); text-align: center;
  background: var(--grad-band); color: #fff; position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; left: -6%; bottom: -40%; width: 460px; height: 460px; opacity: .14;
  background: url("../img/x-white.png") no-repeat center/contain; pointer-events: none;
}
/* CTA com foto de fundo (--cta-img via inline) + camada degradê escura p/ legibilidade */
.cta-box.photo {
  background:
    linear-gradient(120deg, rgba(94,32,82,.93) 0%, rgba(125,45,109,.86) 32%, rgba(159,31,54,.80) 64%, rgba(254,99,43,.72) 100%),
    var(--cta-img) center/cover no-repeat;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box .lead { color: var(--on-dark-soft); max-width: 560px; margin: 16px auto 32px; }
.cta-box .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .cta-phone-label { margin-top: 30px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); }
.cta-box .cta-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: #fff; transition: color .18s, transform .18s; }
.cta-box .cta-phone svg { width: .82em; height: .82em; opacity: .9; }
.cta-box .cta-phone:hover { color: #ffd9c6; transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple); color: var(--on-dark); padding: 50px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 50px; }
.foot-about img { height: 30px; margin-bottom: 18px; }
.foot-about p { color: var(--on-dark-soft); font-size: .92rem; max-width: 300px; }
.foot-grid h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.foot-grid ul { list-style: none; display: grid; gap: 11px; }
.foot-grid a { color: var(--on-dark-soft); font-size: .92rem; transition: color .15s; }
.foot-grid a:hover { color: #fff; }
.foot-contact { display: grid; gap: 9px; font-size: .92rem; color: var(--on-dark-soft); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--on-dark-soft);
}

/* ---------- Página interna (hero compacto) ---------- */
.page-hero { padding: clamp(28px,4vw,48px) 0 clamp(10px,2vw,24px); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--bordo); }

/* genéricos remanescentes (páginas internas antigas) */
.feat-list { list-style: none; display: grid; gap: 13px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.feat-list li svg { width: 20px; height: 20px; color: var(--bordo); flex-shrink: 0; margin-top: 2px; }
.feat-list li strong { color: var(--ink); }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack span { font-size: .85rem; font-weight: 500; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--body); }
.stack span b { color: var(--bordo); }

/* ---------- Grids utilitários + feature cards (páginas internas) ---------- */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.fico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad); color: #fff; }
.fico svg { width: 24px; height: 24px; }
.fico.num { font-weight: 800; font-size: 1.25rem; }
.fcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.fcard h3 .badge { vertical-align: middle; margin-left: 8px; }
.fcard p { font-size: .93rem; }
.soft .fcard { border-color: var(--line-2); }

/* Grupos de componentes (núcleo global vs. conformidade Brasil) */
.grp-head { margin: 6px 0 22px; }
.grp-head .eyebrow { margin: 0; }
.grp-head p { color: var(--muted); margin-top: 10px; max-width: 640px; font-size: .98rem; text-wrap: pretty; }
.grp-head + .cards { margin-bottom: 48px; }
.grp-head + .cards:last-child { margin-bottom: 0; }
.badge-br { background: rgba(125,45,109,.12); color: var(--purple); }

/* ---------- Capacidade (datasheet) ---------- */
.cap-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.cap-kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 22px; text-align: center; transition: transform .18s, box-shadow .18s, border-color .18s; }
.cap-kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.cap-kpi strong { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.cap-kpi span { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }

.cap-chart { background: var(--purple); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.cap-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cap-chart-head h3 { color: #fff; font-size: 1.2rem; }
.cap-chart-head span { color: var(--on-dark-soft); font-size: .85rem; }
.bars { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 18px; }
.bar-label { font-size: .92rem; color: var(--on-dark); font-weight: 600; line-height: 1.25; }
.bar-label em { display: block; font-style: normal; font-weight: 400; font-size: .76rem; color: var(--on-dark-soft); margin-top: 3px; }
.bar-track { background: rgba(255,255,255,.14); border-radius: 999px; height: 36px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: flex-end; padding-right: 14px; min-width: 56px; transition: width 1.3s cubic-bezier(.16,1,.3,1); }
.bar-fill span { color: var(--bordo); font-weight: 800; font-size: .95rem; }
.cap-chart.in .bar-fill { width: var(--w); }
.cap-note { color: var(--on-dark-soft); font-size: .8rem; margin-top: 24px; line-height: 1.6; }
.cap-note a { color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* Gráfico de capacidade — duas séries (sem RTP / com RTP) */
.cap-legend { display: flex; gap: 16px; align-items: center; }
.cap-legend span { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--on-dark); font-weight: 600; }
.cap-legend i { width: 13px; height: 13px; border-radius: 4px; flex: 0 0 auto; }
.cap-legend .sw-sem { background: #fff; }
.cap-legend .sw-com { background: var(--coral); }
.bar-group { display: grid; gap: 8px; }
.bar-line { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 11px; }
.bar-tag { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.bar-tag.com { color: var(--coral); }
.bar-tag.sem { color: #fff; }
.bar-group .bar-track { height: 27px; }
.bar-group .bar-fill { min-width: 58px; padding-right: 11px; }
.bar-group .bar-fill span { font-size: .88rem; }
.bar-fill.com { background: var(--coral); }
.bar-fill.com span { color: #fff; }
@media (max-width: 720px) { .bar-line { grid-template-columns: 54px 1fr; gap: 8px; } .bar-tag { font-size: .62rem; } }

@media (max-width: 720px) {
  .cap-kpis { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 92px 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  /* No celular o rótulo (ex.: "Pro 4x — 1 Proxy + 6 Communication Servers")
     fica espremido ao lado das barras. Empilha o rótulo ACIMA das barras. */
  .bar-row { grid-template-columns: 1fr; gap: 8px; }
  .bar-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
  .bar-label em { display: inline; margin-top: 0; }
}

/* ---------- Formulário (agendar) ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: #fff;
  border: 1.5px solid var(--line); color: var(--ink); font-family: inherit; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(125,45,109,.13);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-ok {
  display: none; padding: 24px; border-radius: var(--r); text-align: center; font-weight: 600;
  background: rgba(125,45,109,.08); border: 1px solid rgba(125,45,109,.25); color: var(--bordo);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--body); margin-bottom: 18px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--bordo); }
.consent a { color: var(--bordo); font-weight: 600; text-decoration: underline; }

/* ---------- Mito × Realidade ---------- */
.mr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; transition: transform .18s, box-shadow .18s; }
.mr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.mr-line { display: flex; gap: 13px; align-items: flex-start; }
.mr-ico { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; }
.mr-ico svg { width: 15px; height: 15px; }
.mr-ico.x { background: var(--purple); color: #fff; }
.mr-ico.c { background: var(--coral); color: #fff; }
.mr-label { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mr-mito .mr-label { color: var(--purple); }
.mr-mito p { color: var(--muted); font-size: .95rem; margin-top: 2px; }
.mr-real .mr-label { color: var(--coral); }
.mr-real p { color: var(--ink); font-weight: 500; font-size: .98rem; margin-top: 2px; }
.mr-real b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.mr-div { height: 1px; background: var(--line); margin: 20px 0; }

/* ---------- Artigo / conteúdo (prose) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-top: 48px; }
.prose h2 .purple { color: var(--purple); }
.prose h3 { font-size: 1.2rem; color: var(--bordo); margin-top: 36px; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.75; color: var(--body); }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; display: grid; gap: 12px; padding-left: 0; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex-shrink: 0; margin-top: 10px; }
.prose .pull {
  border-left: 4px solid transparent; border-image: var(--grad) 1; padding: 6px 0 6px 24px;
  font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: -.01em;
}
.prose .sources { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 40px; }
.prose .sources a { color: var(--bordo); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.kpi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; text-align: center; }
.kpi .n { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.kpi span { display: block; font-size: .82rem; color: var(--body); margin-top: 8px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 16px 32px -10px rgba(37,211,102,.6);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-media { order: 0; }
  .sol-grid, .ladder, .cards.c2 { grid-template-columns: 1fr; }
  .cards.c3, .cards.c4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .photo .x-graph { max-width: 240px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 84px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 24px 28px; box-shadow: var(--shadow-sm);
  }
  .nav-cta .btn-ghost { display: none; }
  /* "Agendar reunião" sai da barra (evita rolagem horizontal) e vai pro menu */
  .nav-cta .btn-primary { display: none; }
  .nav-links.open .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: 4px; }
  .facts, .foot-grid, .cards.c3, .cards.c4, .field-row, .mr-grid, .kpis { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
  .hero-trust .stat strong { font-size: 2.1rem; }
  /* O "X" decorativo sobre a foto usa offsets negativos (right/left -8%) e
     vazaria da viewport no celular — é só enfeite, então some no mobile. */
  .photo .x-graph { display: none; }
}
@media (max-width: 940px) { .mr-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GUIAS "Quero começar" (telefonia fixa, PABX): seletor + cards de servidor
   ============================================================ */
/* Controle segmentado */
.seg-wrap { text-align: center; margin: 0 auto 16px; }
.seg-label {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bordo);
}
.seg-label svg { width: 16px; height: 16px; }
.seg {
  display: inline-flex; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-pill); padding: 6px; gap: 6px; max-width: 100%; box-shadow: var(--shadow-sm);
}
.seg button {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: inherit; font-weight: 600; font-size: .96rem; line-height: 1.2;
  padding: 14px 26px; border: 1.5px solid transparent; border-radius: var(--r-pill); background: transparent;
  color: var(--ink); cursor: pointer; transition: background .25s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap;
}
.seg button::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  flex-shrink: 0; transition: border-color .2s, background .2s;
}
.seg button:hover { background: var(--bg-soft); border-color: var(--line); }
.seg button.active { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(159,31,54,.55); }
.seg button.active::before { border-color: #fff; background: radial-gradient(circle at center, #fff 0 38%, transparent 44%); }
.seg-help { font-size: .9rem; color: var(--muted); max-width: 560px; margin: 0 auto; }
.seg-help b { color: var(--bordo); }
@media (max-width: 560px) { .seg { width: 100%; } .seg button { flex: 1; justify-content: center; padding: 13px 10px; font-size: .86rem; } }

/* Cabeçalho dos blocos de servidor */
.srv-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.srv-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Grade de cards de servidor */
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .srv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .srv-grid { grid-template-columns: 1fr; } }
.srv {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px;
  display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.soft .srv { border-color: var(--line-2); }
.srv:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.srv-abbr {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  height: 46px; min-width: 46px; padding: 0 14px; border-radius: 13px; margin-bottom: 18px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: .03em;
}
.srv h3 { font-size: 1.14rem; margin-bottom: 8px; }
.srv p { font-size: .93rem; }
.srv .tag-free {
  margin-top: 14px; align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--bordo); background: rgba(125,45,109,.07); border: 1px solid rgba(125,45,109,.18);
  padding: 6px 12px; border-radius: var(--r-pill);
}
.srv-divider { height: 1px; background: var(--line); margin: clamp(40px,5vw,56px) 0; }

/* Selo "você vai precisar deste" (essencial) */
.req-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(125,45,109,.08); color: var(--bordo); border: 1px solid rgba(125,45,109,.18);
  padding: 6px 11px; border-radius: var(--r-pill);
}
.req-badge svg { width: 12px; height: 12px; }
/* Selo "opcional" */
.opt-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: var(--bg-soft); color: var(--bordo); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: var(--r-pill);
}
.opt-badge svg { width: 12px; height: 12px; }

/* Lista de motivos com termo em negrito alinhado em coluna */
.prose ul.reason-list { gap: 18px; }
.prose ul.reason-list li { flex-wrap: wrap; column-gap: 18px; row-gap: 2px; }
.prose ul.reason-list li strong { flex: 0 0 150px; }
.prose ul.reason-list li span { flex: 1; min-width: 220px; }
@media (max-width: 560px) {
  .prose ul.reason-list li strong { flex-basis: 100%; }
}

/* ============================================================
   BLOG — listagem de posts + post individual
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 940px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.post-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft) center/cover no-repeat; }
.post-card .thumb.empty { background: var(--grad); position: relative; }
.post-card .thumb.empty::after { content: ""; position: absolute; inset: 0; background: url("../img/x-white.png") no-repeat center/42%; opacity: .25; }
.post-card .pc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: .78rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .02em; }
.post-card h3 { font-size: 1.2rem; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.post-card p { font-size: .93rem; margin-bottom: 18px; }
.post-card .arrow { margin-top: auto; }

/* Post individual */
.post-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-photo); margin: 8px 0 4px; }
.post-meta { font-size: .9rem; color: var(--muted); }
.prose img { border-radius: var(--r); margin: 8px 0; }
.prose blockquote { border-left: 4px solid transparent; border-image: var(--grad) 1; padding: 4px 0 4px 22px; color: var(--ink); font-weight: 500; font-style: italic; }

/* Estado vazio */
.blog-empty { text-align: center; max-width: 460px; margin: 0 auto; padding: 40px 0; }
.blog-empty .ico { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.blog-empty .ico svg { width: 30px; height: 30px; }

/* ============================================================
   Artigos da Base de Conhecimento (componentes reutilizáveis)
   ============================================================ */
/* Callout de curiosidade */
.curio { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--r); padding: 20px 22px; margin: 34px 0; }
.curio .curio-ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); }
.curio .curio-ico svg { width: 21px; height: 21px; color: #fff; }
.curio h4 { margin: 0 0 5px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.curio p { margin: 0; color: var(--body); font-size: .96rem; }
/* Figura / desenho (SVG) */
.figure { margin: 36px 0; }
.figure svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-soft); }
.figure figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* Post individual — layout refinado */
.post-top { padding-bottom: clamp(8px, 1.5vw, 16px); }
.post-header { max-width: 760px; margin: 0 auto; text-align: center; }
.post-header h1 { margin: 14px 0 14px; }
.post-header .post-sub { color: var(--body); max-width: 640px; margin: 0 auto 18px; }
.post-header .post-meta { font-size: .88rem; color: var(--muted); }
.post-body-sec { padding-top: clamp(14px, 2vw, 26px); }
.post-cover-wrap { max-width: 920px; margin: 0 auto clamp(26px, 4vw, 44px); }
.post-cover { width: 100%; margin: 0; }
.post-foot { max-width: 760px; margin: clamp(30px,4vw,44px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); }

/* Vídeo (YouTube/Vimeo) responsivo dentro do artigo */
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); margin: 10px 0; display: block; }

/* Código: bloco rola na horizontal (não estoura o mobile) + inline discreto */
.prose pre {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 16px; margin: 16px 0; line-height: 1.5;
}
.prose pre code {
  display: block; white-space: pre; background: none; border: 0; padding: 0;
  color: var(--ink); font-size: .86rem;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--bg-soft); color: var(--bordo);
  padding: .12em .4em; border-radius: 6px; word-break: break-word;
}

/* Redes sociais no rodapé */
.foot-social { display: flex; gap: 12px; margin-top: 20px; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; transition: background .18s, color .18s, transform .18s; }
.foot-social a:hover { background: #fff; color: var(--bordo); transform: translateY(-2px); }
.foot-social svg { width: 18px; height: 18px; }

/* Números centrados (band da página A Saper) */
.facts.facts-center { text-align: center; }
.facts.facts-center .fact { display: flex; flex-direction: column; align-items: center; }

/* Mapa "Onde estamos" */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-photo); }
.map-embed { width: 100%; height: clamp(300px, 42vw, 460px); border: 0; display: block; }

/* ---------- Seletor de idioma (bandeiras) ---------- */
.lang-switch { position: relative; }
.lang-switch > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::marker { content: ""; }
.lang-switch > summary:hover,
.lang-switch[open] > summary { border-color: var(--purple); }
.flag { display: block; width: 20px; height: 14px; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(20,17,26,.08); }
.lang-switch .caret { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang-switch[open] .caret { transform: rotate(180deg); }
.lang-switch .lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; z-index: 120;
  display: flex; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 6px;
}
.lang-switch .lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--ink); transition: background .15s, color .15s;
}
.lang-switch .lang-menu a:hover { background: var(--bg-soft); color: var(--bordo); }
@media (max-width: 980px) {
  .lang-switch { order: 3; }
}

/* ---------- Academy: catálogo de cursos (tabela) ---------- */
.course-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.course-table { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.course-table th, .course-table td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.course-table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); background: var(--bg-soft); }
.course-table tbody th { width: 34%; }
.course-table td { border-left: 1px solid var(--line-2); }
.course-table tbody tr:last-child th, .course-table tbody tr:last-child td { border-bottom: 0; }
.ct-name { display: block; font-weight: 700; color: var(--ink); font-size: 1.04rem; letter-spacing: -.01em; }
.ct-desc { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.ct-meta { display: block; font-size: .86rem; color: var(--body); margin-bottom: 9px; }
.ct-empty { color: #cfc9d6; font-size: 1.1rem; }
.incompany-band { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 20px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r); }
.incompany-band .ib-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); }
.incompany-band .ib-ico svg { width: 22px; height: 22px; color: #fff; }
.incompany-band p { margin: 0; color: var(--body); }
.incompany-band strong { color: var(--ink); }
@media (max-width: 720px) {
  .course-table { min-width: 0; border: 0; box-shadow: none; background: transparent; }
  .course-table thead { display: none; }
  .course-table, .course-table tbody, .course-table tr, .course-table th, .course-table td { display: block; width: 100%; }
  .course-table tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
  .course-table th, .course-table td { border: 0; }
  .course-table tbody th { width: auto; border-bottom: 1px solid var(--line); padding: 16px 18px; }
  .course-table td { padding: 10px 18px 12px; }
  .course-table td::before { content: attr(data-label); display: block; font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .course-table td.ct-empty { display: none; }
  .ct-meta { display: inline; margin-bottom: 0; }
}
/* ===== Ementas (abas + cards Essencial × Professional) ===== */
.ementa-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 30px; }
.ementa-tab { border: 0; background: transparent; font-family: inherit; font-weight: 700; font-size: .92rem; color: var(--body); padding: 11px 24px; border-radius: var(--r-pill); cursor: pointer; transition: background .18s, color .18s, box-shadow .18s; }
.ementa-tab:hover { color: var(--purple); }
.ementa-tab.is-active { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(159,31,54,.55); }
.ementa-panel { display: none; }
.ementa-panel.is-active { display: block; animation: ementaIn .35s ease; }
@keyframes ementaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ementa-cards { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto 1fr; gap: 22px; align-items: stretch; }
.ecard { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.ecard-pro { position: relative; border-color: transparent; box-shadow: var(--shadow); }
.ecard-pro::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.ecard-head { margin-bottom: 22px; }
.ecard-head h3 { font-size: 1.28rem; font-weight: 500; margin: 13px 0 8px; }
.ecard-meta { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.ecard-list { list-style: none; display: grid; gap: 13px; }
.ecard-list li { position: relative; padding-left: 30px; font-size: .96rem; line-height: 1.5; color: var(--body); }
.ecard-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); }
.ecard-list li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 820px) { .ementa-cards { grid-template-columns: 1fr; grid-template-rows: auto; } .ecard { display: block; grid-row: auto; } .ementa-tabs { display: flex; } .ementa-tab { padding: 10px 16px; font-size: .86rem; } }
/* ===== FAQ (acordeão) ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 26px; font-weight: 700; font-size: 1.02rem; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg); transition: transform .2s; margin-top: -3px; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-a { padding: 0 26px 22px; }
.faq-a p { color: var(--body); font-size: .97rem; line-height: 1.65; }
.badge { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.badge-free { background: rgba(0,146,70,.12); color: #0a7d39; }
.badge-paid { background: rgba(125,45,109,.12); color: var(--purple); }
.badge-soft { background: rgba(254,99,43,.14); color: #c2410c; }
/* reason-list utilizável fora do .prose (ex.: Academy) */
ul.reason-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
ul.reason-list li { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; align-items: baseline; }
ul.reason-list li strong { flex: 0 0 150px; color: var(--ink); }
ul.reason-list li span { flex: 1; min-width: 200px; color: var(--body); }

/* ---------- Submenu de navegação (Soluções) ---------- */
.nav-item.has-sub { position: relative; display: inline-flex; align-items: center; padding-bottom: 28px; margin-bottom: -28px; }
.nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font: inherit; font-size: .94rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; padding: 0; cursor: pointer; transition: color .15s;
  white-space: nowrap;
}
.nav-sub-toggle .caret { width: 13px; height: 13px; transition: transform .2s; }
.nav-item.has-sub:hover .nav-sub-toggle,
.nav-item.has-sub:focus-within .nav-sub-toggle,
.nav-item.has-sub.active .nav-sub-toggle { color: var(--bordo); }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 130;
}
.nav-item.has-sub:hover .submenu,
.nav-item.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item.has-sub:hover .caret, .nav-item.has-sub:focus-within .caret { transform: rotate(180deg); }
.submenu a { padding: 10px 14px; border-radius: 11px; font-size: .92rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.submenu a:hover, .submenu a.active { background: var(--bg-soft); color: var(--bordo); }

@media (max-width: 600px) {
  .nav-item.has-sub { flex-direction: column; align-items: flex-start; padding: 0; margin: 0; width: 100%; }
  .nav-sub-toggle .caret { display: none; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 10px 0 0 14px; min-width: 0; gap: 10px;
  }
  .submenu a { padding: 0; }
}

/* ===== Página "A Saper" (/empresa) — ajustes de branding ===== */
/* Números das estatísticas um pouco maiores */
.page-empresa .band .fact .n { font-size: clamp(2.6rem, 4.4vw, 3.4rem); }

/* Contorno dos cards um pouco mais perceptível, sem pesar */
.page-empresa .fcard { border-width: 1.5px; border-color: #e3dce9; }

/* CTA final: título e telefone em Medium; contorno branco do botão ghost mais espesso */
.page-empresa .cta-box .cta-phone { font-weight: 500; }
.page-empresa .cta-box .btn-ghost { border-width: 2px; }

/* ===== Página Softswitch SPX (/softswitch) — ajustes de branding ===== */
/* Mais destaque para os números do hero (+34% / 100%) */
.page-softswitch .hero-trust { gap: 48px; margin-top: 40px; }
.page-softswitch .hero-trust .stat strong { font-size: 3.2rem; }
.page-softswitch .hero-trust .stat span { font-size: .92rem; margin-top: 10px; }
@media (max-width: 720px) {
  .page-softswitch .hero-trust .stat strong { font-size: 2.6rem; }
}

/* ============================================================
   BASE DE CONHECIMENTO — busca + índice lateral
   ============================================================ */
.kb-search { position: sticky; top: 84px; z-index: 90; max-width: 720px; margin: 0 auto clamp(28px,4vw,44px); }
.kb-search .kb-search-ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.kb-search input {
  width: 100%; font-family: var(--ff); font-size: 1rem; color: var(--ink);
  padding: 16px 48px 16px 52px; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: #fff; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.kb-search input::placeholder { color: var(--muted); }
.kb-search input:focus { outline: none; border-color: var(--bordo); box-shadow: 0 0 0 4px rgba(159,31,54,.08); }
.kb-search input::-webkit-search-cancel-button { display: none; }
.kb-search #kbClear {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--bg-soft); color: var(--body); font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center; transition: background .15s, color .15s;
}
.kb-search #kbClear:hover { background: var(--bordo); color: #fff; }

.kb-layout { display: grid; grid-template-columns: 232px 1fr; gap: clamp(28px,4vw,52px); align-items: start; }

/* índice lateral */
.kb-nav { position: sticky; top: 156px; }
.kb-nav-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kb-nav nav { display: flex; flex-direction: column; gap: 2px; }
.kb-nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px;
  color: var(--body); font-size: .92rem; font-weight: 500; line-height: 1.2;
  border-left: 2px solid transparent; transition: background .15s, color .15s;
}
.kb-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: color .15s; }
.kb-nav-item span { flex: 1; }
.kb-nav-item b { font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border-radius: var(--r-pill); padding: 1px 8px; transition: background .15s, color .15s; }
.kb-nav-item:hover { background: var(--bg-soft); color: var(--ink); }
.kb-nav-item:hover svg { color: var(--bordo); }
.kb-nav-item.is-active { background: var(--bg-soft); color: var(--ink); }
.kb-nav-item.is-active svg { color: var(--bordo); }
.kb-nav-item.is-active b { background: var(--grad); color: #fff; }
.kb-nav-item.is-muted { opacity: .38; }
.kb-nav-total { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.kb-nav-total strong { color: var(--ink); }

/* coluna de artigos */
.kb-group { scroll-margin-top: 100px; }
.kb-group + .kb-group { margin-top: clamp(36px,4vw,52px); }
.kb-group .grp-head { margin-bottom: 22px; }
.kb-group .grp-head h2 { font-size: clamp(1.3rem,2.4vw,1.7rem); margin: 10px 0 0; }
.kb-main .cards.c3 { grid-template-columns: repeat(2, 1fr); }
.kb-card { padding: 24px; }
.kb-card h3 { font-size: 1.04rem; }

.kb-empty { text-align: center; padding: 48px 20px; color: var(--body); font-size: 1.02rem; }
.kb-empty strong { color: var(--ink); }
.kb-empty button { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--bordo); font-weight: 600; font-family: var(--ff); font-size: .95rem; cursor: pointer; text-decoration: underline; }

/* contador público de acessos (rodapé do artigo, acima de "Leia também") */
.kb-viewcount { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0; }
.kb-viewcount svg { width: 16px; height: 16px; opacity: .8; }

@media (max-width: 940px) {
  .kb-layout { grid-template-columns: 1fr; gap: 8px; }
  .kb-nav { position: static; margin-bottom: 12px; }
  .kb-nav-title { margin-bottom: 10px; }
  .kb-nav nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .kb-nav-item { border-left: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; }
  .kb-nav-item.is-active { border-color: transparent; background: var(--bg-soft); }
  .kb-nav-item svg { display: none; }
  .kb-nav-total { display: none; }
}
@media (max-width: 600px) {
  .kb-main .cards.c3 { grid-template-columns: 1fr; }
}
