/* Tipografia e cores */
:root {
  --primary: #218DA6;
  --dark: #0D0D0D;
  --accent: #ffb703;
  --white: #FFFFFF;
  --muted: #6c757d;
}

html, body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: #1f2937;
}

.text-accent { color: var(--accent) !important; }
.bg-accent-soft { background: rgba(255, 183, 3, 0.15) !important; }
.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
  border-width: 1px;
  font-weight: 600;
  border-radius: .5rem;
  transition: background-color .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-accent:hover, .btn-accent:active {
  background-color: var(--accent);
  border-color: var(--accent);
  filter: brightness(0.95);
  color: var(--dark);
}
.btn-accent:focus, .btn-accent:focus-visible {
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(255,183,3,0.35);
}

/* Navbar */
.bg-dark-gradient {
  background: linear-gradient(180deg, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.85) 100%);
  backdrop-filter: blur(6px);
}
.navbar .nav-link { font-size: .95rem; padding: .5rem .75rem; }
.navbar .btn { font-size: .95rem; padding: .5rem .9rem; }
.navbar-brand .brand-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,183,3,0.15);
}

/* Hero */
.pt-8 { padding-top: 7rem !important; }
.pb-6 { padding-bottom: 4rem !important; }
.pt-6 { padding-top: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.hero-section {
  position: relative;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(33,141,166,0.25), transparent 60%),
              radial-gradient(1000px 500px at 80% 0%, rgba(255,183,3,0.12), transparent 60%),
              linear-gradient(180deg, #0F1113 0%, #0D0D0D 60%, #0D0D0D 100%);
}
.hero-section { color: #FFFFFF; }
.hero-section .card { color: #FFFFFF; }
.hero-section .text-secondary { color: rgba(255,255,255,0.85) !important; }
.glass-card {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-shape {
  position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  pointer-events: none;
}

/* Cards/Features */
.feature-card {
  background: #fff; border: 1px solid rgba(13,13,13,0.06); border-radius: 12px;
}
.feature-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.icon-lg { font-size: 2rem; }

/* Módulos */
.module-card {
  background: #fff; border: 1px solid rgba(13,13,13,0.06); border-radius: 14px; padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }
.module-card h5 { margin-top: .75rem; margin-bottom: .5rem; }
.module-card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.module-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }

/* Integrações */
.integrations-card { background: #fff; border: 1px dashed rgba(13,13,13,0.12); border-radius: 16px; }
.logo-box { border: 1px solid rgba(13,13,13,0.1); border-radius: 12px; padding: 1.25rem; color: #111; background: linear-gradient(180deg,#fff, #f9fafb); font-weight: 600; }

/* Fluxo PCP */
.stepper { list-style: none; margin: 0; padding: 0; position: relative; }
.stepper::before { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: rgba(13,13,13,0.1); }
.stepper li { position: relative; padding-left: 44px; margin-bottom: .5rem; }
.stepper .step { width: 100%; text-align: left; background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 12px; padding: .6rem .8rem; display: flex; align-items: center; gap: .6rem; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
.stepper .step i { color: var(--primary); }
.stepper .step:hover { transform: translateX(2px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.stepper .step.is-active { border-color: rgba(33,141,166,0.5); box-shadow: 0 10px 24px rgba(33,141,166,0.12); }
.stepper li::before { content: ""; position: absolute; left: 9px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); box-shadow: 0 0 0 3px rgba(33,141,166,0.12); }
.stepper li .step.is-active + .dummy, .stepper li .step.is-active { position: relative; }

.flow-panels { background: #fff; border: 1px solid rgba(13,13,13,0.06); border-radius: 16px; padding: 1rem; }
.flow-panel { display: none; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.flow-panel.active { display: block; opacity: 1; transform: none; }
.flow-head .badge { font-weight: 600; }
.flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.flow-list li { display: flex; align-items: center; gap: .5rem; color: #334155; }
.flow-list i { color: var(--primary); }

/* Responsivo */
@media (max-width: 991.98px) {
  .pt-8 { padding-top: 6rem !important; }
}
@media (max-width: 767.98px) {
  /* Stepper vira carrossel horizontal */
  .stepper { display: flex; overflow-x: auto; gap: .6rem; padding: .25rem .25rem .5rem .25rem; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .stepper::-webkit-scrollbar { height: 6px; }
  .stepper::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }
  .stepper::before { display: none; }
  .stepper li { padding-left: 0; margin-bottom: 0; flex: 0 0 auto; }
  .stepper .step { min-width: 220px; scroll-snap-align: start; }
  .flow-panels { margin-top: .75rem; }
  /* Colunas em 1 no footer listagem */
  .footer-section .two-col { columns: 1; }
}
@media (max-width: 575.98px) {
  /* Ajuste CTA: botões empilhados mais confortáveis */
  .cta-section .btn { width: 100%; }
  .whatsapp-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* Hero: reduzir título e lead para caber melhor */
  .hero-section .display-5 { font-size: 2rem; line-height: 1.2; }
  .hero-section .lead { font-size: 1rem; }
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(900px 400px at 10% 20%, rgba(255,183,3,0.18), transparent 60%),
              linear-gradient(135deg, rgba(33,141,166,1) 0%, rgba(19,103,122,1) 45%, #0D0D0D 100%);
}
.cta-section::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 220px;
  background: radial-gradient(closest-side, rgba(255,183,3,0.22), rgba(255,183,3,0));
  filter: blur(16px);
}
.cta-section .card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: #fff;
}
.cta-section h3 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85) !important; }
.cta-section .btn-primary {
  background-color: #fff;
  color: #0D0D0D;
  border-color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}
.cta-section .btn-primary:hover { filter: brightness(0.95); color: #0D0D0D; }
.cta-section .btn-success { box-shadow: 0 8px 18px rgba(0,0,0,0.22); }

/* Benefícios - seção chamativa */
.benefits-section {
  position: relative;
  background: radial-gradient(1000px 420px at 80% 10%, rgba(255,183,3,0.25), transparent 60%),
              linear-gradient(120deg, #0D0D0D 0%, #13677a 55%, #218DA6 100%);
  color: #fff;
}
.benefits-section .text-secondary { color: rgba(255,255,255,0.85) !important; }
.benefit-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 1rem; height: 100%; color: #fff; }
.benefit-card .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.12); color: var(--accent); font-size: 1.25rem; }
.benefit-card h6 { margin: .75rem 0 .25rem; color: #fff; }
.benefit-card p { margin: 0; color: rgba(255,255,255,0.85); }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.kpi { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; padding: 1rem; text-align: center; color: #fff; }
.kpi-value { font-weight: 700; font-size: 1.75rem; line-height: 1; }
.kpi-label { margin: .25rem 0 0; color: rgba(255,255,255,0.85); font-size: .95rem; }
@media (max-width: 991.98px) { .kpis { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575.98px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi-value { font-size: 1.5rem; } }

/* Comparação de planos */
.plans-compare { background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 16px; overflow: hidden; }
.plans-compare .compare-controls { padding: 1rem; border-bottom: 1px dashed rgba(13,13,13,0.12); background: linear-gradient(180deg,#fff,#fafafa); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th { background: rgba(33,141,166,0.08); color: #0D0D0D; font-weight: 600; padding: .85rem; border-bottom: 1px solid rgba(13,13,13,0.1); }
.compare-table tbody th { text-align: left; padding: .75rem .85rem; font-weight: 500; color: #334155; background: #fff; border-bottom: 1px dashed rgba(13,13,13,0.08); }
.compare-table td { text-align: center; padding: .75rem; border-bottom: 1px dashed rgba(13,13,13,0.08); }
.compare-table .yes { color: #16a34a; }
.compare-table .no { color: #ef4444; opacity: .7; }
.compare-table .plus { color: var(--accent); }
.compare-sticky { position: sticky; top: 64px; z-index: 1; }

@media (max-width: 991.98px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table td, .compare-table th { display: block; width: 100%; }
  .compare-table tr { border-bottom: 1px solid rgba(13,13,13,0.06); }
  .compare-table tbody th { background: #f9fafb; }
  .compare-table td { display: grid; grid-template-columns: 1fr auto; justify-content: space-between; text-align: left; }
  .compare-table td::before { content: attr(data-col); color: #64748b; }
}
/* Footer */
.footer-section { background: #0D0D0D; }
.footer-section .two-col { columns: 2; gap: 1.25rem; }
.footer-section .two-col li { break-inside: avoid; margin-bottom: .25rem; opacity: .9; }

/* WhatsApp Floater */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; font-size: 1.5rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18); z-index: 1040;
}
.whatsapp-float:hover { color: #fff; filter: brightness(0.95); }

/* Utilities */
.opacity-90 { opacity: .9; }
.opacity-85 { opacity: .85; }

/* Overrides Bootstrap */
.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { filter: brightness(1.08); }
.text-primary { color: var(--primary) !important; }
.bg-primary-subtle { background-color: rgba(33,141,166,0.12) !important; }

/* Revelar ao rolar */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition-property: opacity, transform;
  transition-duration: .7s;
  transition-timing-function: cubic-bezier(.2,.65,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Direções opcionais */
[data-reveal="left"] { transform: translateX(-18px); }
[data-reveal="right"] { transform: translateX(18px); }
[data-reveal="up"] { transform: translateY(18px); }
[data-reveal="down"] { transform: translateY(-18px); }

/* Delays utilitários */
.delay-0 { transition-delay: 0ms; }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* Pricing */
.pricing-card { background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 16px; overflow: hidden; }
.pricing-card .pricing-header { padding: 1.25rem 1.25rem 0.75rem 1.25rem; border-bottom: 1px dashed rgba(13,13,13,0.08); background: linear-gradient(180deg,#fff, #fafafa); }
.pricing-card .pricing-body { padding: 1rem 1.25rem 1.25rem 1.25rem; }
.pricing-card.highlight { border-color: rgba(255,183,3,0.55); box-shadow: 0 12px 32px rgba(255,183,3,0.15); }

.pricing-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pricing-list.two-col { columns: 2; gap: 1rem; }
.pricing-list li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.pricing-list li i { color: var(--primary); font-size: 1rem; }
.pricing-list li.plus i { color: var(--accent); }


/* Seção informativa escura */
.info-section-dark {
  background: radial-gradient(900px 420px at 85% 15%, rgba(255,183,3,0.2), transparent 60%),
              linear-gradient(120deg, #0D0D0D 0%, #121417 60%, #0D0D0D 100%);
  color: #FFFFFF;
}
.info-section-dark h2, .info-section-dark h3, .info-section-dark h4, .info-section-dark h5, .info-section-dark h6 { color: #FFFFFF; }
.info-section-dark .text-secondary { color: rgba(255,255,255,0.85) !important; }
.info-section-dark .badge.bg-primary-subtle { background-color: rgba(255,255,255,0.15) !important; color: #FFFFFF; }
.info-section-dark .list-check { list-style: none; padding: 0; margin: 0; }
.info-section-dark .list-check li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .35rem; opacity: .95; }
.info-section-dark .list-check i { color: var(--accent); margin-top: .2rem; }

/* Soluções setoriais - fundo destacado */
.solutions-sector {
  background: linear-gradient(180deg, #0D0D0D 0%, #121417 60%, #0D0D0D 100%);
  color: #FFFFFF;
}
.solutions-sector .text-secondary { color: rgba(255,255,255,0.85) !important; }
.solutions-sector h2 { color: #FFFFFF; }
.solutions-sector h5 { color: #0D0D0D; }
/* Não inverter os cards internos */
.solutions-sector .module-card { background: #FFFFFF; color: #1f2937; }
.solutions-sector .module-card ul { color: #6c757d; }
/* Elementos internos para contraste */
.solutions-sector .badge.bg-primary-subtle { background-color: rgba(255,255,255,0.12) !important; color: #FFFFFF; }
.solutions-sector .badge.bg-accent-soft { background-color: rgba(255,183,3,0.25) !important; color: #FFFFFF; }
.solutions-sector .text-muted { color: rgba(255,255,255,0.7) !important; }
.solutions-sector .icon-lg, .solutions-sector .module-icon i { color: var(--primary); }
.solutions-sector a:not(.btn) { color: #FFFFFF; }

/* Orbit - funcionalidades girando */
.orbit-section { position: relative; }
.orbit-wrap { position: relative; width: 100%; max-width: 780px; aspect-ratio: 1/1; margin: 0 auto; }
.orbit-center { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 220px; height: 220px; border-radius: 50%; background: linear-gradient(180deg,#0D0D0D,#121417); color: #fff; border: 1px solid rgba(255,255,255,0.12); display: grid; place-items: center; text-align: center; padding: 1rem; }
.orbit-center .brand { font-weight: 700; font-size: 1.1rem; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(13,13,13,0.15); animation: orbit-rotate 40s linear infinite; }
.orbit-items { position: absolute; inset: 0; animation: orbit-rotate 40s linear infinite; }
.orbit-item { position: absolute; width: 110px; height: 110px; border-radius: 12px; background: #fff; border: 1px solid rgba(13,13,13,0.08); display: grid; place-items: center; text-align: center; padding: .5rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.orbit-item i { font-size: 1.2rem; color: var(--primary); }
.orbit-item .label { margin-top: .25rem; font-weight: 600; font-size: .9rem; color: #0D0D0D; }
.orbit-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.orbit-item.active { border-color: rgba(33,141,166,0.5); box-shadow: 0 12px 28px rgba(33,141,166,0.18); }
.orbit-wrap:hover .orbit-ring, .orbit-wrap:hover .orbit-items { animation-play-state: paused; }

@keyframes orbit-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Posições polares dos itens (8 itens) */
.pos-0 { top: 0%; left: 50%; transform: translate(-50%, -50%); }
.pos-1 { top: 20%; left: 82%; transform: translate(-50%, -50%); }
.pos-2 { top: 50%; left: 100%; transform: translate(-50%, -50%); }
.pos-3 { top: 82%; left: 80%; transform: translate(-50%, -50%); }
.pos-4 { top: 100%; left: 50%; transform: translate(-50%, -50%); }
.pos-5 { top: 82%; left: 20%; transform: translate(-50%, -50%); }
.pos-6 { top: 50%; left: 0%; transform: translate(-50%, -50%); }
.pos-7 { top: 20%; left: 18%; transform: translate(-50%, -50%); }

.orbit-desc { max-width: 820px; margin: 1.25rem auto 0; background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 14px; padding: 1rem 1.25rem; }
.orbit-desc h5 { margin-bottom: .25rem; }
.orbit-desc p { margin: 0; color: #334155; }

@media (max-width: 991.98px) {
  .orbit-center { width: 180px; height: 180px; }
  .orbit-item { width: 96px; height: 96px; }
}
@media (max-width: 575.98px) {
  .orbit-wrap { max-width: 520px; }
  .orbit-center { width: 160px; height: 160px; padding: .75rem; }
  .orbit-item { width: 90px; height: 90px; }
}
/* Integrações - seção interativa */
.flow-tabs { background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 12px; padding: .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.flow-tabs .btn { border-radius: 999px; padding: .4rem .9rem; }
.flow-tabs .btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.integration-panels { margin-top: 1rem; }
.integration-panel { display: none; }
.integration-panel.active { display: block; }
.flow-steps { display: grid; grid-template-columns: repeat(6, minmax(120px,1fr)); gap: .75rem; }
.flow-steps .step-card { background: #fff; border: 1px solid rgba(13,13,13,0.08); border-radius: 12px; padding: .75rem; text-align: center; }
.flow-steps .step-card i { font-size: 1.25rem; color: var(--primary); }
.flow-steps .step-card .title { font-weight: 600; margin-top: .35rem; }
.code-block { background: #0D0D0D; color: #e5e7eb; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); position: relative; }
.code-block pre { margin: 0; padding: 1rem 1.25rem; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: .9rem; }
.code-block .copy-btn { position: absolute; top: 8px; right: 8px; }
@media (max-width: 991.98px){ .flow-steps { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 575.98px){ .flow-steps { grid-template-columns: repeat(2,1fr); } }

