/* ============================================
   Soluções Integradas — Custom Styles
   Bootstrap 5.3 base
   ============================================ */

:root {
  --si-primary: #1a3a6b;
  --si-accent: #0ea5e9;
  --si-green: #10b981;
  --si-dark: #1f2937;
  --si-light: #f8fafc;
  --si-gray: #6b7280;
  --si-border: #e5e7eb;
  --si-ink: #0f2855;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--si-dark);
  background: #fff;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--si-primary) !important;
  padding: 0.6rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
  letter-spacing: 0.3px;
}
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.1);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Buttons ---- */
.btn-si-primary {
  background: var(--si-green);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.62rem 1.65rem;
  border-radius: 7px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-si-primary:hover {
  background: #0d9968;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.35);
}
.btn-si-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.65);
  font-weight: 600;
  padding: 0.6rem 1.65rem;
  border-radius: 7px;
  transition: all 0.2s;
}
.btn-si-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: #fff;
}
.btn-accent {
  background: var(--si-accent);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 7px;
  transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover {
  background: #0284c7;
  color: #fff;
  transform: translateY(-1px);
}

/* ---- Hero ---- */
.hero-section {
  background:
    linear-gradient(rgba(13,71,161,0.82), rgba(13,71,161,0.82)),
    url('/assets/img/escritorio.png') center/cover no-repeat;
  padding: 5.5rem 0 4.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  display: none;
}
.hero-section::after {
  display: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-section h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.hero-section p.lead {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 580px;
  line-height: 1.75;
}

/* ---- Page Hero (internal pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--si-primary) 0%, #0f2855 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
}
.page-hero p {
  opacity: 0.85;
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}

/* ---- Sections ---- */
.section-light  { background: var(--si-light); padding: 5rem 0; }
.section-white  { background: #fff;            padding: 5rem 0; }
.section-dark   { background: var(--si-dark);  color: #fff; padding: 5rem 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.6rem;
}
.section-title-white { color: #fff; }
.section-subtitle {
  color: var(--si-gray);
  font-size: 1.03rem;
  line-height: 1.7;
  max-width: 560px;
}
.section-divider {
  width: 50px;
  height: 4px;
  background: var(--si-green);
  border-radius: 2px;
  margin: 0.6rem 0 2.2rem;
}
.section-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Product Cards (home grid) ---- */
.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--si-border);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.icon-blue   { background: rgba(14,165,233,0.12);  color: var(--si-accent); }
.icon-green  { background: rgba(16,185,129,0.12);  color: var(--si-green);  }
.icon-purple { background: rgba(139,92,246,0.12);  color: #8b5cf6;          }
.icon-orange { background: rgba(249,115,22,0.12);  color: #f97316;          }

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.5rem;
}
.product-card p {
  color: var(--si-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.2rem;
}
.card-link {
  color: var(--si-accent);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 8px; color: var(--si-accent); }

/* ---- Differentials ---- */
.diff-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  height: 100%;
}
.diff-icon {
  font-size: 2.4rem;
  margin-bottom: 0.9rem;
}
.diff-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.5rem;
}
.diff-card p {
  color: var(--si-gray);
  font-size: 0.91rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- Segment Pills ---- */
.segment-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.segment-pill {
  background: rgba(14,165,233,0.09);
  color: #0369a1;
  border: 1.5px solid rgba(14,165,233,0.25);
  border-radius: 20px;
  padding: 0.32rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- Mission / Vision / Values ---- */
.mvv-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem 2rem 2.2rem;
  border-left: 4px solid var(--si-green);
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  height: 100%;
}
.mvv-card h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--si-accent);
  margin-bottom: 0.85rem;
}
.mvv-card p {
  color: var(--si-dark);
  font-size: 0.98rem;
  line-height: 1.75;
  font-style: italic;
  margin: 0;
}
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: var(--si-light);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--si-green);
  flex-shrink: 0;
  margin-top: 5px;
}
.value-card p {
  margin: 0;
  font-weight: 600;
  color: var(--si-dark);
  font-size: 0.95rem;
}

/* ---- Product Detail (produtos page) ---- */
.product-detail {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--si-border);
}
.product-detail:last-child { border-bottom: none; }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.28rem 0.85rem;
  border-radius: 5px;
  margin-bottom: 0.9rem;
}
.tag-green  { background: rgba(16,185,129,0.12);  color: #059669; }
.tag-blue   { background: rgba(14,165,233,0.12);  color: #0369a1; }
.tag-purple { background: rgba(139,92,246,0.12);  color: #7c3aed; }
.tag-orange { background: rgba(249,115,22,0.12);  color: #c2410c; }

.product-detail h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--si-primary);
  margin-bottom: 0.65rem;
}
.product-tagline {
  font-size: 1.05rem;
  color: var(--si-gray);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  font-size: 0.94rem;
  color: var(--si-dark);
  line-height: 1.5;
}
.feature-list li::before {
  content: '✓';
  color: var(--si-green);
  font-weight: 700;
  flex-shrink: 0;
}
.product-visual {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 18px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  font-size: 5.5rem;
  text-align: center;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--si-primary) 0%, #1e40af 100%);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.cta-section p {
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---- Contact ---- */
.contact-info-card {
  background: var(--si-light);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(14,165,233,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--si-accent);
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--si-gray);
  margin: 0 0 0.25rem;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  color: var(--si-dark);
  text-decoration: none;
  font-weight: 500;
  margin: 0;
}
.contact-info-card a:hover { color: var(--si-accent); }

/* Form */
.form-control,
.form-select {
  border: 1.5px solid var(--si-border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--si-accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--si-dark);
  margin-bottom: 0.4rem;
}
textarea.form-control { resize: vertical; min-height: 130px; }

/* ---- Footer ---- */
.footer {
  background: var(--si-dark);
  color: rgba(255,255,255,0.72);
  padding: 3.5rem 0 1.5rem;
}
.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.87rem;
  line-height: 1.65;
  max-width: 270px;
}
.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
}

/* ---- Product Logo in Cards ---- */
.product-logo-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}
.product-logo-img {
  max-height: 64px;
  max-width: 190px;
  object-fit: contain;
  width: auto;
}

/* ---- Lang Switcher ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.lang-switcher a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang-switcher a.active,
.lang-switcher a:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.lang-switcher span {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}

/* ---- Utilities ---- */
.text-primary-si { color: var(--si-primary) !important; }
.text-accent      { color: var(--si-accent)  !important; }
.text-green       { color: var(--si-green)   !important; }

/* ---- Fade-in animation ---- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Page Hero anchor buttons ---- */
.page-hero .btn-outline-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.page-hero .btn-outline-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* ---- Founder Cards ---- */
.founder-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--si-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--si-green);
  margin-bottom: 1.1rem;
}
.founder-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.2rem;
}
.founder-role {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--si-accent);
  margin-bottom: 0.85rem;
}
.founder-credentials {
  font-size: 0.88rem;
  color: var(--si-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ---- Team Carousel ---- */
.team-carousel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section     { padding: 3.5rem 0 3rem; }
  .section-light,
  .section-white,
  .section-dark     { padding: 3.5rem 0; }
  .product-visual   { min-height: 200px; font-size: 3.5rem; }
  .cta-section      { padding: 3.5rem 0; }
}

/* ============================================
   Refinamento Visual — jun/2026
   Apêndice: não altera as regras acima.
   ============================================ */

/* 1 — Centraliza os cards órfãos da última linha (5 cards em grid de 3) */
#produtos .row { justify-content: center; }

/* 2 — Faixa de logo padronizada: mesma altura e logo centralizado em todos os cards */
.product-logo-wrap {
  height: 84px;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--si-border);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.product-logo-img { max-height: 56px; }

/* 3 — Cards com mais profundidade + barra de accent no topo ao passar o mouse */
.product-card { position: relative; overflow: hidden; }
.product-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--si-accent), var(--si-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.product-card:hover::after { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(26, 58, 107, 0.16);
}

/* 4 — Acessibilidade: respeita "reduzir movimento" e garante conteúdo sempre visível */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 5 — Hero com profundidade: gradiente diagonal + glow de accent (sem foto) */
.hero-section {
  background: linear-gradient(120deg, var(--si-ink) 0%, #143a7a 52%, #0e5fa8 100%);
}
.hero-section::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 10%, rgba(14, 165, 233, 0.35) 0%, rgba(14, 165, 233, 0) 55%);
  z-index: 1;
  pointer-events: none;
}

/* 6 — Pills de segmento com leve interação ao hover */
.segment-pill {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.segment-pill:hover {
  background: rgba(14, 165, 233, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
}

/* ============================================
   Refinamento v2 — jun/2026 (visual + UX + a11y)
   ============================================ */

/* Profundidade no hero das páginas internas */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--si-primary) 0%, #0f2855 58%, #0a1f44 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 75% 12%, rgba(14, 165, 233, 0.20) 0%, rgba(14, 165, 233, 0) 55%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }

/* diff-cards: barra de accent + hover (consistência com os product-cards) */
.diff-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--si-border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.diff-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--si-accent), var(--si-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.diff-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(26, 58, 107, 0.12); }
.diff-card:hover::after { transform: scaleX(1); }

/* Accent por produto na home (ordem: Quantto, CompraCerta, SOFIN, ManOS, MeuSeguro) */
#produtos .row > div:nth-child(1) .product-card::after { background: linear-gradient(90deg, #10b981, #0ea5e9); }
#produtos .row > div:nth-child(2) .product-card::after { background: linear-gradient(90deg, #10b981, #34d399); }
#produtos .row > div:nth-child(3) .product-card::after { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
#produtos .row > div:nth-child(4) .product-card::after { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
#produtos .row > div:nth-child(5) .product-card::after { background: linear-gradient(90deg, #f97316, #fb923c); }

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-link "pular para o conteúdo" */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 2000;
  background: var(--si-green);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* Botão flutuante "voltar ao topo" */
.to-top {
  position: fixed;
  /* fica acima do balão do WhatsApp (56px + folga), centros alinhados */
  right: 25px;
  bottom: 88px;
  z-index: 1030;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--si-primary);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--si-green); }
@media (max-width: 575px) { .to-top { right: 23px; bottom: 82px; width: 42px; height: 42px; } }

/* 7 — Case em destaque: card horizontal + faixa de métricas reais */
.case-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #fff;
  border: 1px solid var(--si-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
}
.case-body { padding: 2.5rem; }
.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--si-accent);
  background: rgba(14, 165, 233, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.case-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--si-primary);
  margin-bottom: 0.6rem;
}
.case-body p {
  color: var(--si-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.case-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--si-primary) 0%, #0f2855 100%);
  color: #fff;
}
.case-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.case-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 768px) {
  .case-card { grid-template-columns: 1fr; }
  .case-body, .case-stats { padding: 1.75rem; }
  .case-stats { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 1.5rem; }
  .case-stat { flex: 1 1 28%; }
  .case-stat-num { font-size: 2rem; }
}

/* ============================================
   Polish v3 — jun/2026 (âncoras, produtos, rodapé)
   ============================================ */

/* Âncoras não ficam escondidas atrás da navbar fixa */
:target { scroll-margin-top: 88px; }
section[id], [id^="faq"], .product-detail[id] { scroll-margin-top: 88px; }

/* Painel visual do produto: logo comedido + acabamento (em vez de logo gigante) */
.product-visual {
  border: 1px solid rgba(14, 165, 233, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.product-visual img {
  max-width: 62%;
  max-height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 25, 60, 0.10));
}

/* Linha de accent no topo do rodapé (acabamento de marca) */
.footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--si-accent), var(--si-green)) 1;
}

/* Listas de recursos padronizadas: check em selo circular (produtos, serviços, etc.) */
.feature-list li { gap: 0.7rem; align-items: flex-start; }
.feature-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--si-green);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

/* Serviços: cartão "O que fazemos" e contexto de mercado com mais respiro */
#varejo .feature-list li,
#industria .feature-list li,
#servicos-ti .feature-list li {
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--si-border);
  font-size: 0.92rem;
}
#varejo .feature-list li:last-child,
#industria .feature-list li:last-child,
#servicos-ti .feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ===== Balão flutuante de WhatsApp ===== */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0;
  background: #25d366;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  /* sem overflow:hidden aqui; o rótulo (.wa-fab-label) se recorta sozinho */
  transition: gap .25s ease, padding .25s ease, box-shadow .2s ease, transform .2s ease;
}
.wa-fab .bi {
  font-size: 1.6rem;
  width: 56px;
  text-align: center;
  flex-shrink: 0;
  line-height: 56px;
}
.wa-fab-label {
  max-width: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  overflow: hidden;
  transition: max-width .25s ease, opacity .2s ease;
}
.wa-fab:hover,
.wa-fab:focus-visible {
  color: #fff;
  gap: 0.1rem;
  padding-left: 1.1rem;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}
.wa-fab:hover .wa-fab-label,
.wa-fab:focus-visible .wa-fab-label {
  max-width: 220px;
  opacity: 1;
}
@media (max-width: 575.98px) {
  .wa-fab { right: 16px; bottom: 16px; }
  /* No mobile o rótulo nunca expande (sem hover): mantém o círculo */
  .wa-fab:hover .wa-fab-label,
  .wa-fab:focus-visible .wa-fab-label { max-width: 0; opacity: 0; }
  .wa-fab:hover, .wa-fab:focus-visible { padding-left: 0; }
}

/* ============================================
   Hero v2 + tipografia de display — jun/2026
   ============================================ */

/* Fonte de display (Sora) em títulos e marca — corpo segue em Inter */
h1, h2, h3, h4,
.navbar-brand, .footer-brand,
.section-title, .cta-section h2,
.case-body h3, .product-detail h2,
.hero-section h1, .page-hero h1 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.4px;
}

/* Hero: layout em 2 colunas (texto + painel) */
.hero-section { padding: 4.5rem 0 4rem; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.14);
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  margin-bottom: 1.1rem;
}
.hero-section h1 .hero-w2 { color: #38bdf8; }
.hero-section h1 .hero-w3 { color: var(--si-green); }

/* Painel "dashboard" decorativo do hero (aria-hidden) */
.hero-dash {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}
.hero-dash-top { display: flex; gap: 0.4rem; margin-bottom: 0.8rem; }
.hero-dash-top i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.hero-dash-card { background: #fff; border-radius: 10px; padding: 0.9rem 1rem; color: var(--si-dark); height: 100%; }
.hero-dash-kpi {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--si-primary);
  line-height: 1;
}
.hero-dash-kpi small { font-size: 0.7rem; font-weight: 600; color: var(--si-green); margin-left: 0.3rem; }
.hero-dash-kpi small.down { color: var(--si-accent); }
.hero-dash-lbl { font-size: 0.72rem; color: var(--si-gray); margin-top: 0.2rem; }
.hero-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 0.4rem; }
.hero-bars span {
  flex: 1;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  border-radius: 3px 3px 0 0;
  opacity: 0.9;
}

@media (max-width: 991.98px) {
  .hero-dash { margin-top: 2rem; max-width: 460px; }
}

/* ============================================
   Seção "Nosso Método" (tripé) — jun/2026
   ============================================ */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--si-accent);
}

.tripod {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tri {
  position: relative;
  background: #fff;
  border: 1px solid var(--si-border);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 40, 85, 0.06);
}
.tri-ic {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  color: #fff;
}
.tri:nth-child(1) .tri-ic { background: linear-gradient(135deg, var(--si-primary), #0e5fa8); }
.tri:nth-child(2) .tri-ic { background: linear-gradient(135deg, var(--si-accent), #38bdf8); }
.tri:nth-child(3) .tri-ic { background: linear-gradient(135deg, var(--si-green), #34d399); }
.tri h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--si-primary);
  margin-bottom: 0.4rem;
}
.tri p {
  color: var(--si-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.tri-plus {
  position: absolute;
  right: -1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--si-green);
  z-index: 3;
}

.method-result {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.method-eq {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--si-green);
  line-height: 1;
}
.result-band {
  background: linear-gradient(135deg, var(--si-primary) 0%, var(--si-ink) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.3rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2.2rem;
  width: 100%;
  max-width: 720px;
  box-shadow: 0 18px 40px rgba(15, 40, 85, 0.18);
}
.result-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.result-item i { color: #34d399; }

.flow-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--si-gray);
  margin-top: 2.6rem;
}
.method-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--si-border);
  border-radius: 30px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--si-primary);
}
.flow-step i { color: var(--si-green); }
.flow-arr { color: var(--si-gray); }

@media (max-width: 768px) {
  .tripod { grid-template-columns: 1fr; gap: 1rem; }
  .tri-plus { display: none; }
}

/* ============================================
   Selos B2C + dados institucionais — jun/2026
   ============================================ */
.product-card .product-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.28);
  padding: 0.12rem 0.5rem;
  border-radius: 20px;
}
.product-tag.b2c-pill {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  letter-spacing: 0.6px;
}
.footer-address {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.footer-cnpj {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
