/* ═══════════════════════════════════════════════════════════════
   INTER — FONTES LOCAIS
   Arquivos em /fonts/ (gerados via fontsource ou baixados de rsms.me/inter)
   ═══════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Banner personalizado para o primeiro slide do carrossel */
.slide-banner1 {
  background: url('../images/banner1.jpg') center center/cover no-repeat !important;
  min-height: 560px;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
/* Sobreposição escura para legibilidade do texto */
.slide-banner1::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.slide-banner1 .slide-content,
.slide-banner1 .slide-bg-pattern {
  position: relative;
  z-index: 2;
}
/* Footer links styling */
.main-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.2s, text-decoration 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.main-footer .footer-links a:hover, .main-footer .footer-links a:focus {
  color: #00e09e;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .main-footer .footer-links a {
    display: block;
    margin: 0.25rem 0;
  }
}
/* ═══════════════════════════════════════════════════════════════
   99EPC – STYLESHEET
   ═══════════════════════════════════════════════════════════════ */

/* ─── Logo images ────────────────────────────────────────────── */
.nav-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);   /* torna branca sobre fundo escuro */
  opacity: 0.85;
  margin-bottom: 6px;
}

/* ─── Root Variables ─────────────────────────────────────────── */
:root {
  --brand-blue:        #1565C0;
  --brand-blue-light:  #4DA6FF;
  --nav-bg:            rgba(4, 16, 48, 0.97);

  --sce-blue-dark:     #06123E;
  --sce-blue-mid:      #0D2480;
  --sce-blue-light:    #1043A8;

  --sce-green-dark:    #061410;
  --sce-green-mid:     #0B3520;
  --sce-green-light:   #0F4D2C;

  --focus-blue-bg:     rgba(37, 99, 235, 0.25);
  --focus-green-bg:    rgba(22, 163, 74, 0.25);

  --mod-blue:          #2563EB;
  --mod-orange:        #EA7214;
  --mod-green:         #16A34A;

  --text-light:        rgba(255,255,255,0.75);
  --transition:        0.3s ease;
}

/* ─── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #f0f4f8;
  color: #1e293b;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
#mainNav {
  background: #000 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
  transition: box-shadow var(--transition);
  z-index: 1050;
}

#mainNav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Logo */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.logo-99  { color: var(--brand-blue-light); }
.logo-epc { color: #ffffff; }

.logo-divider {
  display: block;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
}

.logo-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav links */
#mainNav .nav-link {
  color: rgba(255,255,255,0.80);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-nav-cta {
  background: var(--brand-blue);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 8px;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-nav-cta:hover {
  background: #1976D2;
  transform: translateY(-1px);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   HERO CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
#heroCarousel {
  margin-top: 64px; /* navbar height */
}

.hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Slide backgrounds */
.slide-main {
  background: linear-gradient(135deg, #040E2C 0%, #0A1E60 45%, #0D1E4E 100%);
}
.slide-blue {
  background: linear-gradient(135deg, #040E2C 0%, #071A74 50%, #061042 100%);
}
.slide-green {
  background: linear-gradient(135deg, #040E1A 0%, #073520 50%, #041410 100%);
}

/* Subtle mesh-pattern overlay */
.slide-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 0;
  animation: fadeUp 0.6s ease both;
}

/* Black semi-transparent box on slides */
.slide-content-box {
  background-color: rgba(0,0,0,0.75);
  padding: 30px 36px;
  border-radius: 10px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.carousel-item:not(.active) .slide-content { animation: none; }

.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  flex-shrink: 0;
}
.dot-blue  { background: #60A5FA; }
.dot-green { background: #4ADE80; }

.eyebrow-blue  { color: #93C5FD; }
.eyebrow-green { color: #86EFAC; }

.slide-title {
  font-size: clamp(2rem, 2vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.title-accent    { color: var(--brand-blue-light); font-style: italic; }
.title-hl-blue   { color: #60A5FA; font-style: normal; }
.title-hl-green  { color: #4ADE80; font-style: normal; }

.slide-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

/* CTA Buttons */
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.btn-hero-primary {
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-hero-primary:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.45);
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 11px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.btn-hero-outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-hero-green {
  background: #16A34A;
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-hero-green:hover {
  background: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.4);
  color: #fff;
}

/* Stats row */
.slide-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num  { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-div  { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* Feature pills */
.slide-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* Module chips */
.slide-modules { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.mod-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}
.chip-blue   { background: rgba(37,99,235,0.3);  border: 1px solid #3B82F6; color: #93C5FD; }
.chip-orange { background: rgba(234,114,20,0.3); border: 1px solid #F97316; color: #FED7AA; }
.chip-green  { background: rgba(22,163,74,0.3);  border: 1px solid #22C55E; color: #86EFAC; }

/* NOVO small pill in eyebrow */
.novo-pill-sm {
  display: inline-block;
  background: #F59E0B;
  color: #1C1917;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 50px;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.5px;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: 1; }

.carousel-indicators [data-bs-target] {
  width: 28px; height: 4px;
  border-radius: 2px;
  opacity: 0.4;
  transition: opacity var(--transition), width var(--transition);
  border-top: none; border-bottom: none;
}
.carousel-indicators .active { opacity: 1; width: 40px; }

/* ═══════════════════════════════════════════════════════════════
   SOLUTIONS SECTION
   ═══════════════════════════════════════════════════════════════ */
.solutions-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #e8eef6 0%, #dce6f2 100%);
  position: relative;
}

.solutions-heading {
  text-align: center;
  margin-bottom: 56px;
}

.solutions-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.solutions-heading h2 span {
  color: var(--brand-blue);
}

.solutions-heading p {
  color: #64748B;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Wrapper & bubble ──────────────────────────────────────── */
.sol-wrapper { display: flex; flex-direction: column; align-items: center; }

.sol-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 50px;
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

.bubble-blue {
  background: rgba(219, 234, 254, 0.9);
  border: 1.5px solid #93C5FD;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
}

.bubble-green {
  background: rgba(220, 252, 231, 0.9);
  border: 1.5px solid #86EFAC;
  box-shadow: 0 4px 16px rgba(22,163,74,0.12);
}

.bubble-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}

.hl-blue  { color: #1D4ED8; }
.hl-green { color: #15803D; }

.bubble-sub {
  font-size: 18px;
  font-weight: 800;
  color: #64748B;
}

/* Badge row inside bubble */
.bubble-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.bb-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.bb-blue   { background: #DBEAFE; color: #1E40AF; }
.bb-orange { background: #FFEDD5; color: #C2410C; }
.bb-green  { background: #DCFCE7; color: #166534; }

/* Arrow connector */
.bubble-arrow {
  font-size: 1.5rem;
  color: #94A3B8;
  line-height: 1;
  margin: 2px 0;
}

/* ─── Solution card ──────────────────────────────────────────── */
.sol-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.sol-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.sol-card-link:hover .sol-card {
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.44);
}

/* Blue card */
.sol-card-blue {
  background: linear-gradient(145deg, var(--sce-blue-dark) 0%, var(--sce-blue-mid) 55%, var(--sce-blue-light) 100%);
}

/* Green card */
.sol-card-green {
  background: linear-gradient(145deg, var(--sce-green-dark) 0%, var(--sce-green-mid) 55%, var(--sce-green-light) 100%);
}

/* ─── Card Header ── */
.sol-card-header {
  background-color: rgb(0, 0, 62);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px 22px;
}

.sol-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 1.35rem;
  gap: 3px;
}

.ibox-blue {
  background: rgba(96,165,250,0.15);
  border: 1.5px solid rgba(96,165,250,0.35);
  color: #93C5FD;
}

.ibox-green {
  background: rgba(74,222,128,0.15);
  border: 1.5px solid rgba(74,222,128,0.35);
  color: #86EFAC;
  font-size: 1.1rem;
}

.sol-product-name {
  font-size: 1.88rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.sol-product-name em {
  font-style: normal;
  color: #93C5FD;
}

.em-green { color: #4ADE80 !important; }

.novo-tag {
  display: inline-block;
  background: #F59E0B;
  color: #1C1917;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  vertical-align: super;
  margin-left: 6px;
  letter-spacing: 0.8px;
}

.sol-focus-tag {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

.ftag-blue  { background: var(--focus-blue-bg); color: #93C5FD; border: 1px solid rgba(96,165,250,0.3); }
.ftag-green { background: var(--focus-green-bg); color: #86EFAC; border: 1px solid rgba(74,222,128,0.3); }

/* ─── Card Body (Blue – split layout) ── */
.sol-card-body {
  display: flex;
  gap: 0;
  background: #fff;
  margin: 0 20px 4px;
  border-radius: 14px;
  overflow: hidden;
  min-height: 168px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.sol-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  flex-shrink: 0;
  min-width: 164px;
  max-width: 196px;
  overflow: hidden;
}

.vis-blue {
  padding: 0;
  background: #f0f4ff;
  border-right: 1px solid #e2e8f0;
}

.sol-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-text-block {
  padding: 12px 12px;
  display:block;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.stb-brand {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b93b8;
  line-height: 1;
}

.stb-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.stb-title strong { color: #1e3a5f; }

.stb-features {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.55;
  margin-top: 2px;
}

/* ─── Modules Grid (Green card) ── */
.sol-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 16px;
}

.sol-module {
  background: rgba(255,255,255,0.94);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background var(--transition);
}

.mod-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.miw-blue   { background: #DBEAFE; color: var(--mod-blue); }
.miw-orange { background: #FFEDD5; color: var(--mod-orange); }
.miw-green  { background: #DCFCE7; color: var(--mod-green); }

.mod-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.mod-sub {
  font-size: 0.7rem;
  color: #64748B;
  line-height: 1.3;
}

/* ─── Card Footer ── */
.sol-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 16px 28px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.footer-blue {
  background: rgba(37,99,235,0.30);
  border-top: 1px solid rgba(96,165,250,0.30);
  color: #bfdbfe;
}

.footer-green {
  background: rgba(22,163,74,0.30);
  border-top: 1px solid rgba(74,222,128,0.30);
  color: #bbf7d0;
}

.sol-card-footer strong { color: #fff; }

.sol-card-footer .bi-arrow-right {
  font-size: 0.9rem;
  transition: transform var(--transition);
}
.sol-card-link:hover .sol-card-footer .bi-arrow-right {
  transform: translateX(4px);
}

/* ─── Card Badge ── */
.sol-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
}
.badge-popular     { background: #F59E0B; color: #1C1917; }
.badge-recommended { background: #10B981; color: #fff; }

/* ─── Benefit list (Clássico body) ── */
.sol-benefits {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sol-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: #2d3f55;
  line-height: 1.45;
}
.sol-benefits li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ─── Feature chips ── */
.sol-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px 10px;
}
.sol-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.chip-blue  { background: rgba(219,234,254,0.18); color: #93C5FD; border: 1px solid rgba(147,197,253,0.35); }
.chip-green { background: rgba(220,252,231,0.18); color: #86EFAC; border: 1px solid rgba(134,239,172,0.35); }

/* ─── Benefit list (Integrado sub-cards) ── */
.cf-benefits {
  list-style: none;
  padding: 0;
  margin: 7px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cf-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #374151;
  line-height: 1.45;
}
.cf-benefits li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES STRIP
   ═══════════════════════════════════════════════════════════════ */
.features-strip {
  background: #0D1B3E;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feat-item i {
  font-size: 1.75rem;
  color: var(--brand-blue-light);
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #040E2C 0%, #0A1E60 100%);
  padding: 80px 0;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 32px;
}

.btn-cta-primary {
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cta-primary:hover {
  background: #1976D2;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.4);
  color: #fff;
}

.btn-cta-whatsapp {
  background: #16A34A;
  color: #fff;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-cta-whatsapp:hover {
  background: #15803D;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   CASES SECTION
   ═══════════════════════════════════════════════════════════════ */
.cases-section {
  background: #f8fafc;
  padding: 52px 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.cases-heading {
  text-align: center;
  margin-bottom: 36px;
}

.cases-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94A3B8;
}

.cases-logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.case-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  /* caixa de tamanho fixo para normalizar logos de proporções diferentes */
  width: 160px;
  height: 72px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.case-logo-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.case-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* mantém proporção sem cortar */
  object-position: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.case-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Ajustes para cases logos em grid Bootstrap --- */
.cases-logos-row .case-logo-img {
  max-width: 120px;
  max-height: 60px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.25s, opacity 0.25s;
}
.cases-logos-row .case-logo-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 575px) {
  .cases-logos-row .case-logo-img {
    max-width: 90px;
    max-height: 40px;
  }
}

/* --- Footer custom --- */
.footer-top {
  background: #020A1F;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.single-footer h2, .single-footer .h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.single-footer {
  color: #fff;
  font-size: 1rem;
}
.get-quote .btn-cta-whatsapp {
  background: #16A34A;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  font-size: 0.95rem;
  padding: 10px 22px;
  transition: background 0.2s, box-shadow 0.2s;
}
.get-quote .btn-cta-whatsapp:hover {
  background: #15803D;
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,163,74,0.18);
}
.single-clients img {
  display: block;
  margin: 0 auto;
  max-width: 110px;
  max-height: 110px;
}
.copyright-content {
  color: #fff;
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer-copy {
  color: #fff;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════════
   DETAIL PAGE SHARED STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Page hero */
.page-hero {
  margin-top: 64px;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero.hero-blue {
  background: linear-gradient(135deg, #040E2C 0%, #0D2480 55%, #061040 100%);
}

.page-hero.hero-green {
  background: linear-gradient(135deg, #040E1A 0%, #0B3520 55%, #041410 100%);
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.badge-hero-blue  { background: rgba(37,99,235,0.3);  border: 1px solid #3B82F6; color: #93C5FD; }
.badge-hero-green { background: rgba(22,163,74,0.3);  border: 1px solid #22C55E; color: #86EFAC; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.page-hero p.lead {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.65;
}

/* Features section */
.features-section {
  padding: 10px 0;
  background: #f8fafc;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-label.lbl-blue  { color: var(--brand-blue); }
.section-label.lbl-green { color: #16A34A; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.section-desc {
  color: #64748B;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 540px;
}

/* Feature card */
.feat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.feat-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.fci-blue   { background: #EFF6FF; color: #1D4ED8; }
.fci-green  { background: #F0FDF4; color: #15803D; }
.fci-orange { background: #FFF7ED; color: #C2410C; }
.fci-purple { background: #FAF5FF; color: #7E22CE; }

.feat-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Module cards (detail pages) */
.module-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.module-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.module-detail-card .mod-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0px;
}

.module-detail-card .mod-head-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.module-detail-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.module-detail-card .mod-sub-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-detail-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: #334155;
  padding: 5px 0;
  line-height: 1.5;
}

.module-detail-card ul li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.mdc-blue   ul li::before { color: var(--mod-blue); }
.mdc-orange ul li::before { color: var(--mod-orange); }
.mdc-green  ul li::before { color: var(--mod-green); }

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  transition: color var(--transition);
}
.back-link:hover { color: #fff; }

/* ─── Scroll-in animation ─────────────────────────────────── */
.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-ready.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-slide { min-height: 480px; }
  .slide-content { padding: 40px 0; }
  .slide-stats { gap: 16px; }

  .sol-bubble { padding: 10px 18px; }
  .sol-modules-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mod-name { font-size: 0.72rem; }
  .mod-sub  { font-size: 0.62rem; }
  .mod-icon-wrap { width: 36px; height: 36px; font-size: 1rem; }

  .sol-visual { min-width: 100px; max-width: 130px; padding: 0; }
}

@media (max-width: 480px) {
  .sol-modules-grid { grid-template-columns: 1fr; }
  .bubble-badges { flex-direction: column; align-items: center; }
}
