/* ==========================================================================
   AQualidade — Estilos globais do site institucional
   ========================================================================== */

:root {
  --primary: #0b63e5;
  --primary-dark: #084bb3;
  --primary-soft: #eaf2ff;
  --navy: #0a2540;
  --navy-2: #0f2f52;
  --cyan: #13b5cf;
  --green: #12a46b;
  --amber: #f5a524;
  --red: #e5484d;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --text: #1d2939;
  --muted: #5b6b80;
  --border: #e6ecf5;
  --bg-soft: #f6f9fe;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(16, 42, 82, .05);
  --shadow: 0 12px 34px rgba(16, 42, 82, .08);
  --shadow-lg: 0 24px 60px rgba(16, 42, 82, .14);
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

p { color: var(--muted); }

.text-primary { color: var(--primary) !important; }
.text-gradient {
  background: linear-gradient(120deg, var(--primary) 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn-aq {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-aq-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(11, 99, 229, .28); }
.btn-aq-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 99, 229, .35); }
.btn-aq-outline { background: #fff; color: var(--primary); border-color: rgba(11, 99, 229, .35); }
.btn-aq-outline:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); transform: translateY(-2px); }
.btn-aq-light { background: #fff; color: var(--primary); }
.btn-aq-light:hover { background: #f0f5ff; color: var(--primary-dark); transform: translateY(-2px); }
.btn-aq-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-aq-ghost:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.btn-aq-wa { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .3); }
.btn-aq-wa:hover { background: #1fbb59; color: #fff; transform: translateY(-2px); }
.btn-aq-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-aq-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Barra superior + Cabeçalho
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: #fff; }
.topbar .sep { opacity: .35; margin: 0 .75rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(16, 42, 82, .08); border-color: var(--border); }

.site-header .nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand img { height: 50px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: static; }
.main-nav > li > a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .8rem; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.main-nav > li > a .bi-chevron-down { font-size: .7rem; transition: transform .2s; }
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--primary); background: var(--primary-soft); }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; border: 0; background: var(--primary-soft); color: var(--primary);
  width: 46px; height: 46px; border-radius: 12px; font-size: 1.5rem;
  align-items: center; justify-content: center;
}

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(16, 42, 82, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease;
  padding: 2rem 0;
}
.mega-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: .75rem;
}
.mega-link {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .6rem .7rem; border-radius: 12px; color: var(--text);
  transition: background .2s;
}
.mega-link:hover { background: var(--bg-soft); color: var(--text); }
.mega-link .mi {
  flex: 0 0 38px; height: 38px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.mega-link strong { display: block; font-size: .92rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.mega-link small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 2px; }
.mega-feature {
  background: linear-gradient(145deg, var(--navy), var(--primary-dark));
  color: #fff; border-radius: var(--radius); padding: 1.5rem; height: 100%;
  position: relative; overflow: hidden;
}
.mega-feature::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(19,181,207,.55), transparent 70%);
}
.mega-feature h5 { color: #fff; font-size: 1.1rem; }
.mega-feature p { color: rgba(255,255,255,.78); font-size: .88rem; }
.mega-feature a { color: #fff; font-weight: 700; position: relative; z-index: 1; }

@media (min-width: 1200px) {
  .main-nav > li.has-mega:hover > .mega,
  .main-nav > li.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
  .main-nav > li.has-mega:hover > a .bi-chevron-down { transform: rotate(180deg); }
}

/* Navegação móvel */
@media (max-width: 1199.98px) {
  :root { --header-h: 72px; }
  .site-header { backdrop-filter: none; background: #fff; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: #fff; overflow-y: auto;
    padding: 1rem 1.25rem 7rem;
    transform: translateX(100%); transition: transform .3s ease;
    border-top: 1px solid var(--border);
  }
  .nav-open .nav-panel { transform: none; }
  .nav-open { overflow: hidden; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > li { border-bottom: 1px solid var(--border); }
  .main-nav > li > a { justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0; background: none !important; }
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 1rem; display: none;
  }
  .main-nav > li.open > .mega { display: block; }
  .main-nav > li.open > a .bi-chevron-down { transform: rotate(180deg); }
  .mega .container { padding: 0; }
  .mega-feature { margin-top: 1rem; }
  .nav-actions-mobile { display: grid; gap: .6rem; margin-top: 1.5rem; }
  .nav-actions-desktop { display: none !important; }
}
@media (min-width: 1200px) {
  .nav-actions-mobile { display: none; }
}

/* --------------------------------------------------------------------------
   Seções e títulos
   -------------------------------------------------------------------------- */
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.bg-navy .eyebrow { background: rgba(255,255,255,.1); color: #8cc4ff; }

.section-head { max-width: 780px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { font-size: 1.08rem; margin: 0; }

.lead-lg { font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Hero da home
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(19,181,207,.16), transparent 60%),
    radial-gradient(800px 500px at -10% 20%, rgba(11,99,229,.12), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,99,229,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,99,229,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1.4rem; }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 580px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; }
.hero-checks span { font-weight: 600; font-size: .92rem; color: var(--navy); }
.hero-checks i { color: var(--green); margin-right: .35rem; }

.hero-visual { position: relative; }
.hero-visual .hero-img {
  border-radius: 22px; box-shadow: var(--shadow-lg); background: #fff;
  border: 1px solid var(--border); width: 100%; height: auto;
}
.float-card {
  position: absolute; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid var(--border);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fi {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.float-card strong { display: block; font-size: .95rem; color: var(--navy); line-height: 1.2; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card.fc-1 { left: -28px; top: 14%; }
.float-card.fc-2 { right: -18px; bottom: 12%; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   Hero das páginas internas
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(19,181,207,.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0d3a6e 60%, var(--primary-dark) 100%);
  color: #fff;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1.1rem; }
.page-hero .lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 720px; }
.page-hero .eyebrow { background: rgba(255,255,255,.12); color: #9fd0ff; }
.breadcrumb-aq { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .86rem; }
.breadcrumb-aq li { color: rgba(255,255,255,.65); }
.breadcrumb-aq li + li::before { content: '/'; margin-right: .4rem; opacity: .5; }
.breadcrumb-aq a { color: rgba(255,255,255,.9); }
.breadcrumb-aq a:hover { color: #fff; }
.page-hero-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; margin-bottom: 1.25rem;
}
.hero-aside {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 1.75rem; backdrop-filter: blur(6px);
}
.hero-aside h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.hero-aside ul { list-style: none; padding: 0; margin: 0; }
.hero-aside li { color: rgba(255,255,255,.88); padding: .4rem 0; display: flex; gap: .6rem; font-size: .95rem; }
.hero-aside li i { color: #7fe3b6; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card-aq {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem; height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.card-aq:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11,99,229,.25); }
.card-aq h3, .card-aq h4 { font-size: 1.15rem; margin-bottom: .6rem; }
.card-aq p { font-size: .95rem; margin-bottom: 0; }
.card-aq.flat:hover { transform: none; }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.55rem; margin-bottom: 1.25rem;
  background: var(--primary-soft); color: var(--primary);
}
.icon-box.grad { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; box-shadow: 0 10px 22px rgba(11,99,229,.25); }
.icon-box.green { background: #e6f7ef; color: var(--green); }
.icon-box.amber { background: #fff4e0; color: #c47f00; }
.icon-box.red { background: #fdecec; color: var(--red); }
.icon-box.cyan { background: #e2f7fb; color: #0b8ea5; }
.icon-box.sm { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; margin-bottom: 1rem; }

a.card-link { display: block; color: inherit; height: 100%; }
a.card-link:hover { color: inherit; }
a.card-link .link-arrow { margin-top: 1rem; color: var(--primary); }
a.card-link:hover h3 { color: var(--primary); }

.module-card { display: flex; flex-direction: column; }
.module-card .link-arrow { margin-top: auto; padding-top: 1rem; }
.module-card .tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); background: var(--bg-soft); padding: .25rem .6rem; border-radius: 999px;
}

.pain-card { border-left: 4px solid var(--red); }
.pain-card i { color: var(--red); font-size: 1.3rem; }

.badge-soft {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .76rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary);
}
.badge-soft.green { background: #e6f7ef; color: var(--green); }
.badge-soft.amber { background: #fff4e0; color: #b87400; }
.badge-soft.gray { background: #eef1f6; color: var(--muted); }

/* Listas com check */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: .45rem 0 .45rem 2rem; color: var(--text); }
.check-list li::before {
  content: '\F26B'; font-family: 'bootstrap-icons';
  position: absolute; left: 0; top: .45rem;
  color: var(--green); font-size: 1.15rem;
}
.check-list.two-cols { columns: 2; column-gap: 2rem; }
.check-list.two-cols li { break-inside: avoid; }
@media (max-width: 767px) { .check-list.two-cols { columns: 1; } }
.bg-navy .check-list li { color: rgba(255,255,255,.88); }
.bg-navy .check-list li::before { color: #7fe3b6; }

/* --------------------------------------------------------------------------
   Estatísticas
   -------------------------------------------------------------------------- */
.stats-band { margin-top: -56px; position: relative; z-index: 2; }
.stats-wrap {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 2rem 1rem;
}
.stat { text-align: center; padding: .5rem; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { color: var(--muted); font-size: .92rem; margin-top: .5rem; font-weight: 500; }
@media (max-width: 767px) {
  .stat + .stat { border-left: 0; }
  .stat-num { font-size: 2rem; }
}

/* --------------------------------------------------------------------------
   Fluxo integrado
   -------------------------------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; position: relative; }
.flow::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 38px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 3px; opacity: .35;
}
.flow-step { text-align: center; position: relative; }
.flow-step .dot {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1rem;
  background: #fff; border: 3px solid var(--primary-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--primary); box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.flow-step h4 { font-size: 1rem; margin-bottom: .35rem; }
.flow-step p { font-size: .85rem; margin: 0; }
@media (max-width: 991px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .flow::before { display: none; }
}

/* --------------------------------------------------------------------------
   Etapas (timeline)
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: 0 0 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { margin: 0; font-size: .95rem; }

.steps-h { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps-h .step { flex-direction: column; }

/* --------------------------------------------------------------------------
   Mockup da plataforma (interface ilustrativa)
   -------------------------------------------------------------------------- */
.mockup {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  font-size: .82rem;
}
.mockup-bar {
  background: #f1f4f9; padding: .65rem 1rem; display: flex; align-items: center; gap: .45rem;
  border-bottom: 1px solid var(--border);
}
.mockup-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }
.mockup-bar .url {
  margin-left: .8rem; flex: 1; background: #fff; border-radius: 8px; padding: .25rem .8rem;
  color: var(--muted); font-size: .74rem; border: 1px solid var(--border);
}
.mockup-body { display: grid; grid-template-columns: 135px minmax(0, 1fr); min-height: 320px; }
.mockup-side { background: var(--navy); padding: 1rem .75rem; }
.mockup-side .ms-logo { color: #fff; font-weight: 800; font-family: var(--font-head); margin-bottom: 1rem; font-size: .9rem; }
.mockup-side .ms-item { color: rgba(255,255,255,.65); padding: .4rem .55rem; border-radius: 8px; margin-bottom: .2rem; display: flex; gap: .45rem; align-items: center; font-size: .76rem; }
.mockup-side .ms-item.active { background: rgba(255,255,255,.12); color: #fff; }
.mockup-main { padding: 1.1rem; background: #fafcff; }
.mockup-main h6 { font-size: .95rem; margin-bottom: .9rem; color: var(--navy); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: .9rem; }
.mk-kpi { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .6rem .7rem; min-width: 0; }
.mk-kpi small { color: var(--muted); display: block; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-kpi b { font-size: 1.1rem; color: var(--navy); font-family: var(--font-head); }
.mk-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .6rem; margin-bottom: .9rem; }
.mk-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan), var(--primary)); opacity: .85; }
.mk-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .5rem .7rem; margin-bottom: .4rem; }
.mk-row span { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pill { font-size: .66rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: #e6f7ef; color: var(--green); }
.pill.warn { background: #fff4e0; color: #b87400; }
.pill.bad { background: #fdecec; color: var(--red); }
.pill.info { background: var(--primary-soft); color: var(--primary); }
.mockup-caption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .9rem; }
@media (max-width: 575px) {
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-side { display: none; }
}

/* --------------------------------------------------------------------------
   Integrações
   -------------------------------------------------------------------------- */
.integration {
  text-align: center; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1rem; height: 100%;
  transition: all .25s; box-shadow: var(--shadow-sm);
}
.integration:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow); }
.integration .icon-box { margin-left: auto; margin-right: auto; }
.integration h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.integration p { font-size: .84rem; margin-bottom: .8rem; }

/* --------------------------------------------------------------------------
   Pills de módulos / tags
   -------------------------------------------------------------------------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--border); color: var(--navy);
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  transition: all .2s;
}
.chip i { color: var(--primary); }
a.chip:hover, .chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Depoimentos
   -------------------------------------------------------------------------- */
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; height: 100%; box-shadow: var(--shadow-sm); position: relative; }
.testimonial .quote-mark { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 3rem; color: var(--primary-soft); line-height: 1; }
.testimonial .stars { color: var(--amber); margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial p { color: var(--text); font-size: 1.02rem; }
.testimonial .who { display: flex; gap: .75rem; align-items: center; margin-top: 1.25rem; }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.testimonial .who strong { display: block; color: var(--navy); font-size: .95rem; }
.testimonial .who small { color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ (accordion)
   -------------------------------------------------------------------------- */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 700; color: var(--navy); padding: 1.2rem 1.4rem; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--primary); background: #fbfdff; }
.faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(11,99,229,.15); }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; }

/* --------------------------------------------------------------------------
   Faixa de chamada para ação
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--cyan) 130%);
  border-radius: 28px; padding: 3.5rem; color: #fff;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta-band::before {
  content: ''; position: absolute; left: 30%; bottom: -120px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.06);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.08rem; }
@media (max-width: 767px) { .cta-band { padding: 2.25rem 1.5rem; } }

/* --------------------------------------------------------------------------
   Avisos / destaques
   -------------------------------------------------------------------------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fffaf0; border: 1px solid #ffe2a8; border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem; color: #6b4d00;
}
.notice i { font-size: 1.3rem; color: #c47f00; }
.notice p { color: #6b4d00; margin: 0; font-size: .94rem; }
.notice.info { background: var(--primary-soft); border-color: #c9ddff; color: var(--navy); }
.notice.info i { color: var(--primary); }
.notice.info p { color: var(--navy); }

.highlight-box {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  border-radius: 24px; padding: 2.5rem; color: #fff; height: 100%;
}
.highlight-box h3 { color: #fff; }
.highlight-box p { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Preços
   -------------------------------------------------------------------------- */
.price-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 2.25rem; height: 100%; position: relative; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .78rem; font-weight: 800; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.35rem; }
.price-card .price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--navy); margin: .75rem 0 .25rem; }
.price-card .check-list { margin: 1.25rem 0 1.75rem; }
.price-card .btn-aq { margin-top: auto; }

/* --------------------------------------------------------------------------
   Formulário WhatsApp
   -------------------------------------------------------------------------- */
.wa-form-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.wa-form-head { background: linear-gradient(120deg, var(--whatsapp-dark), var(--whatsapp)); color: #fff; padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1rem; }
.wa-form-head i { font-size: 2.2rem; }
.wa-form-head h2, .wa-form-head h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.wa-form-head p { color: rgba(255,255,255,.9); margin: 0; font-size: .9rem; }
.wa-form-body { padding: 2rem; }
.wa-form-body .form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.wa-form-body .form-control, .wa-form-body .form-select { border-radius: 12px; border-color: var(--border); padding: .7rem .9rem; }
.wa-form-body .form-control:focus, .wa-form-body .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,99,229,.12); }
.wa-form-body .form-check-label { font-size: .92rem; }
.wa-success { display: none; }
.wa-success.show { display: flex; }

/* --------------------------------------------------------------------------
   Conteúdos / blog
   -------------------------------------------------------------------------- */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all .25s; box-shadow: var(--shadow-sm); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-cover { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; color: #fff; position: relative; }
.post-cover.c1 { background: linear-gradient(135deg, #0b63e5, #13b5cf); }
.post-cover.c2 { background: linear-gradient(135deg, #0a2540, #0b63e5); }
.post-cover.c3 { background: linear-gradient(135deg, #12a46b, #13b5cf); }
.post-cover.c4 { background: linear-gradient(135deg, #6d4aff, #0b63e5); }
.post-cover.c5 { background: linear-gradient(135deg, #e5484d, #f5a524); }
.post-cover.c6 { background: linear-gradient(135deg, #0f2f52, #12a46b); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-body .badge-soft { align-self: flex-start; }
.post-body h3 { font-size: 1.12rem; margin: .6rem 0; }
.post-body h3 a { color: var(--navy); }
.post-body h3 a:hover { color: var(--primary); }
.post-meta { font-size: .8rem; color: var(--muted); display: flex; gap: 1rem; margin-top: auto; padding-top: 1rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-bar button { border: 1px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; padding: .5rem 1rem; border-radius: 999px; transition: all .2s; }
.filter-bar button.active, .filter-bar button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.article { max-width: 780px; margin: 0 auto; font-size: 1.07rem; }
.article h2 { font-size: 1.65rem; margin: 2.5rem 0 1rem; }
.article h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.article p, .article li { color: #344256; line-height: 1.8; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.25rem; }
.article li { margin-bottom: .4rem; }
.article blockquote { border-left: 4px solid var(--primary); background: var(--bg-soft); padding: 1.1rem 1.4rem; border-radius: 0 12px 12px 0; margin: 1.75rem 0; color: var(--navy); font-weight: 600; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; color: rgba(255,255,255,.75); font-size: .9rem; }
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-size: .95rem; margin-bottom: .75rem; }
.toc ol { padding-left: 1.1rem; margin: 0; }
.toc li { font-size: .9rem; margin-bottom: .45rem; }

.resource-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.resource-card .icon-box { flex: 0 0 56px; margin: 0; }

/* Páginas legais */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; }
.legal p, .legal li { color: #344256; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: #071a2f; color: rgba(255,255,255,.7); padding: 80px 0 0; position: relative; }
.site-footer h5 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 1.1rem; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.site-footer a.btn-aq-wa, .site-footer a.btn-aq-wa:hover { color: #fff; }
.site-footer a.btn-aq-light, .site-footer a.btn-aq-light:hover { color: var(--primary); }
.site-footer p { color: rgba(255,255,255,.6); }
.footer-logo { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: 14px; margin-bottom: 1.25rem; }
.footer-logo img { height: 44px; display: block; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; }
.footer-contact i { color: #6fb3ff; margin-top: 2px; }
.wa-icon-link { display: inline-flex; align-items: center; justify-content: center; color: var(--whatsapp); font-size: 1.15em; line-height: 1; transition: transform .2s; }
.wa-icon-link:hover { transform: scale(1.12); }
.topbar .wa-icon-link, .site-footer .wa-icon-link, .site-footer .wa-icon-link i { color: #25d366; font-size: 1.05rem; }
.footer-contact .wa-icon-link i { font-size: 1.35rem; margin-top: 0; }
a.icon-box { text-decoration: none; transition: transform .2s; }
a.icon-box:hover { transform: scale(1.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 1.5rem 0; font-size: .85rem; }
.footer-bottom a { font-size: .85rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-cta {
  background: linear-gradient(120deg, rgba(11,99,229,.25), rgba(19,181,207,.15));
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 1.75rem 2rem; margin-bottom: 56px;
}
.footer-cta h4 { color: #fff; font-size: 1.3rem; margin: 0; }
.footer-cta p { margin: .3rem 0 0; }

/* --------------------------------------------------------------------------
   Widget de WhatsApp
   -------------------------------------------------------------------------- */
.wa-widget { position: fixed; right: 24px; bottom: 24px; z-index: 1050; }
.wa-fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0;
  background: var(--whatsapp); color: #fff; font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s; position: relative;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: waPulse 2s infinite;
}
.wa-fab .wa-dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-tip {
  position: absolute; right: 74px; bottom: 12px; background: #fff; color: var(--navy);
  font-weight: 600; font-size: .86rem; padding: .55rem .9rem; border-radius: 12px;
  box-shadow: var(--shadow); white-space: nowrap;
  animation: tipIn .4s ease 2s both;
}
@keyframes tipIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.wa-open .wa-tip, .wa-open .wa-dot { display: none; }
.wa-panel {
  position: absolute; right: 0; bottom: 78px; width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right;
  transition: all .25s ease;
}
.wa-open .wa-panel { opacity: 1; visibility: visible; transform: none; }
.wa-panel-head { background: var(--whatsapp-dark); color: #fff; padding: 1rem 1.1rem; display: flex; gap: .75rem; align-items: center; }
.wa-panel-head .wa-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wa-panel-head .wa-avatar img { width: 36px; }
.wa-panel-head strong { display: block; font-size: .98rem; }
.wa-panel-head small { opacity: .85; font-size: .78rem; }
.wa-panel-head small::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7dffb0; margin-right: 5px; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.3rem; opacity: .8; }
.wa-close:hover { opacity: 1; }
.wa-panel-body {
  padding: 1.1rem; background: #ece5dd;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px;
}
.wa-bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: .75rem .9rem; font-size: .9rem; color: var(--text); box-shadow: 0 1px 1px rgba(0,0,0,.08); margin-bottom: .9rem; max-width: 92%; }
.wa-bubble small { display: block; text-align: right; color: #8a96a3; font-size: .7rem; margin-top: .2rem; }
.wa-options { display: grid; gap: .45rem; }
.wa-options a {
  display: flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--whatsapp-dark); font-weight: 600; font-size: .87rem;
  padding: .6rem .85rem; border-radius: 12px; border: 1px solid rgba(18,140,126,.2);
  transition: all .2s;
}
.wa-options a:hover { background: #dcf8c6; color: #075e54; }
.wa-panel-foot { padding: .9rem 1.1rem; background: #fff; }
.wa-panel-foot .btn-aq { width: 100%; }

/* Voltar ao topo */
.to-top {
  position: fixed; left: 24px; bottom: 24px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: var(--navy); color: #fff; font-size: 1.2rem;
  opacity: 0; visibility: hidden; transition: all .25s; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--primary); }

/* --------------------------------------------------------------------------
   Utilidades
   -------------------------------------------------------------------------- */
.rounded-xl { border-radius: 24px; }
.mw-680 { max-width: 680px; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.number-badge { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--primary-soft); line-height: 1; }

@media (max-width: 991px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0 100px; }
  .float-card.fc-1 { left: 0; }
  .float-card.fc-2 { right: 0; }
}
@media (max-width: 575px) {
  .section { padding: 56px 0; }
  .wa-widget { right: 16px; bottom: 16px; }
  .wa-tip { display: none; }
  .to-top { left: 16px; bottom: 16px; }
  .float-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
