/* Staging Stylesheet - Engenharia de Software, Consultoria Clássica, Alternância de Fundos & Apresentações de Produtos */
:root {
  --staging-primary: #4f46e5;
  --staging-emerald: #10b981;
  --staging-gold: #d9a938;
  --dark-bg: #090d16;
  --dark-card: #111827;
  --light-bg: #f8fafc;
  --light-card: #ffffff;
}

/* Staging Notice Bar */
.staging-bar {
  background: linear-gradient(90deg, #1e1b4b, #312e81);
  color: #e0e7ff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(165, 180, 252, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.staging-pill {
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Alternância Rigorosa de Fundos com Continuidade e Escala Fixa usando /assets/method.jpg */
.hero,
.section.light,
.hero-bg {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('/assets/method.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  color: #0f172a;
}
.section.light h2, .section.light h3, .section.light h4 {
  color: #0f172a;
}
.section.light .muted {
  color: #475569;
}
.section.light .card,
.section.light .product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.section.light .card:hover,
.section.light .product-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.12);
}
.section.light .product-content h3 {
  color: #0f172a;
}
.section.light .product-content p {
  color: #475569;
}
.section.light .crm-flagship-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}
.section.light .crm-content h3 {
  color: #0f172a;
}
.section.light .crm-content p {
  color: #334155;
}
.section.light .crm-pill {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3;
}

/* Seções Escuras com Imagem /assets/method.jpg em Continuidade Fixa */
.section.dark {
  background-image: linear-gradient(180deg, rgba(11, 15, 26, 0.92), rgba(11, 15, 26, 0.92)), url('/assets/method.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  color: #e5e7eb;
}
.section.dark h2, .section.dark h3, .section.dark h4 {
  color: #ffffff;
}
.section.dark .muted {
  color: #cbd5e1;
}
.section.dark .card,
.dark .card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.section.dark .kpi,
.dark .kpi {
  color: #ffffff !important;
}
.section.dark .card p,
.section.dark .card .muted,
.dark .card p,
.dark .card .muted {
  color: #cbd5e1 !important;
}

/* Badges e Tags de Seção */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(79, 70, 229, 0.14);
  color: #6366f1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.section.dark .section-tag {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.3);
}
.section-tag.gold {
  background: rgba(217, 169, 56, 0.15);
  color: #b45309;
  border-color: rgba(217, 169, 56, 0.3);
}
.section.dark .section-tag.gold {
  color: #fcd34d;
  border-color: rgba(252, 211, 77, 0.3);
}
.section-tag.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}
.section.dark .section-tag.emerald {
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.3);
}

/* Suítes Corporativas com Imagens de Produto */
.suites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px;
  margin-top: 36px;
}
.suite-card {
  background: linear-gradient(180deg, #131c30 0%, #0c1424 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.suite-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 18px 45px rgba(79,70,229,0.25);
}
.suite-card.highlight {
  border-color: #10b981;
  background: linear-gradient(180deg, #0d2225 0%, #07171a 100%);
  box-shadow: 0 12px 35px rgba(16,185,129,0.2);
}
.suite-card.highlight:hover {
  border-color: #34d399;
  box-shadow: 0 18px 50px rgba(16,185,129,0.35);
}
.suite-featured-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: linear-gradient(90deg, #10b981, #059669);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}

/* Imagem de Produto da Suíte (Screenshot do Dashboard/Interface) */
.suite-product-img {
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  position: relative;
}
.suite-product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(13, 20, 36, 0.8) 100%);
}

.suite-header h3 {
  font-size: 26px;
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.25;
}
.suite-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.suite-value-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
}
.suite-value-tag {
  color: #10b981;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.suite-value-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

/* Lista Estruturada de Módulos com Links Individuais */
.suite-modules-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
  margin: 0 0 12px;
}
.suite-modules-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.suite-module-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all .2s ease;
}
.suite-module-card:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(4px);
}
.suite-card.highlight .suite-module-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}
.suite-module-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.suite-module-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.suite-module-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}
.suite-module-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.suite-module-link:hover {
  background: var(--staging-primary);
  border-color: var(--staging-primary);
  color: #fff;
}
.suite-card.highlight .suite-module-link:hover {
  background: #10b981;
  border-color: #10b981;
}

.suite-btn-explore {
  background: var(--staging-primary);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
  display: block;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}
.suite-btn-explore:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.suite-card.highlight .suite-btn-explore {
  background: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.suite-card.highlight .suite-btn-explore:hover {
  background: #059669;
}

/* Flagship Showcase com Apresentação Visual do Produto & Avatar */
.crm-flagship-card {
  border-radius: 24px;
  padding: 38px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
}
.vanguarda-flagship-card {
  background: linear-gradient(135deg, #18150c 0%, #17202f 100%);
  border: 1px solid rgba(217, 169, 56, 0.35);
  border-radius: 24px;
  padding: 38px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 16px 45px rgba(217,169,56,0.12);
}
.crm-content h3, .vanguarda-content h3 {
  font-size: 30px;
  margin: 12px 0;
  line-height: 1.2;
}
.crm-content p, .vanguarda-content p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.crm-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.crm-pill {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #e2e8f0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Mídia Composta da Apresentação do Produto com Avatar */
.showcase-media-composite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.showcase-media-box {
  height: 320px;
  border-radius: 18px;
  background-size: cover;
  background-position: center top;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.section.dark .showcase-media-box {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45);
}

.crm-accelerators-heading {
  margin-top: 45px;
  margin-bottom: 20px;
}
.crm-accelerators-heading h4 {
  font-size: 18px;
  color: #0f172a;
  margin: 0;
  font-weight: 700;
}

.vanguarda-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

/* Divisão Clara de Serviços: Engenharia vs Consultoria Clássica */
.services-block {
  margin-top: 36px;
}
.services-block + .services-block {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.services-block-header {
  margin-bottom: 24px;
}
.services-block-header h3 {
  font-size: 24px;
  color: #fff;
  margin: 8px 0 6px;
}
.services-block-header p {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}
.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}
.tech-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Responsividade */
@media (max-width: 960px) {
  .crm-flagship-card, .vanguarda-flagship-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .showcase-media-composite {
    grid-template-columns: 1fr;
  }
  .showcase-media-box {
    height: 220px;
  }
  .suites-grid {
    grid-template-columns: 1fr;
  }
}
