/* =========================
   CARDS E COMPONENTES
   ========================= */

.service-card { margin-bottom: 30px; }
.service-bullets li { margin: 6px 0; }

.product-card { margin-bottom: 20px; }
.product-tags { margin-top: 10px; }

.tag {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 6px;
  font-size: 12px;
  color: #555;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
}

.content-embed {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.case-box {
  margin: 12px 0;
  padding: 10px 15px;
  background: #fff;
  border-left: 4px solid #fed136;
  border-radius: 6px;
}


/* =========================
   HERO (OVERLAY + TEXTO)
   ========================= */

header { position: relative; }

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

header .intro-text {
  position: relative;
  z-index: 2;
}

header .intro-lead-in,
header .intro-heading {
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}


/* =========================
   NAVBAR (PADRÃO DIGITAI)
   ========================= */

#mainNav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background 0.3s ease;
}

/* Menu */
#mainNav .navbar-nav > li > a {
  color: #111 !important;
  font-weight: 600;
}

#mainNav .navbar-nav > li > a:hover,
#mainNav .navbar-nav > li > a:focus {
  color: #007bff !important;
}

/* Mobile */
#mainNav .navbar-toggle {
  border-color: rgba(0,0,0,0.25);
}

#mainNav .navbar-toggle .icon-bar {
  background-color: #111;
}

/* Logo */
.navbar-brand img {
  filter: none;
}

/* Navbar após scroll */
#mainNav.navbar-shrink {
  background: rgba(255, 255, 255, 0.92);
}

/* =========================
   MOBILE TUNING (<= 768px)
   ========================= */
@media (max-width: 768px) {

  /* Navbar: reduz altura visual */
  #mainNav { padding: 6px 0; }
  .navbar-brand img { max-height: 34px; width: auto; }
  .navbar-toggle { margin-top: 6px; margin-bottom: 6px; }

  /* Seções: reduz "respiro" excessivo do template */
  section { padding: 40px 0; }
  .section-heading { font-size: 26px; line-height: 1.15; }
  .section-subheading { font-size: 14px; line-height: 1.45; margin-bottom: 24px; }

  /* Contato: melhora hierarquia e remove "buracos" */
  #contact .fa-stack { font-size: 2.6em; } /* reduz ícones */
  #contact .service-heading { margin-top: 10px; font-size: 16px; }
  #contact p.text-muted { font-size: 13px; margin-bottom: 18px; }

  /* Botões: largura total, porém com altura adequada */
  .btn-xl {
    width: 100%;
    max-width: 420px;
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Produtos: cards mais compactos e botões alinhados */
  .product-card .panel { margin-bottom: 14px; }
  .product-card .panel-body { padding: 14px; }
  .product-card h4 { font-size: 16px; margin-top: 0; }
  .product-card p.text-muted { font-size: 13px; }

  .product-tags { margin-top: 8px; }
  .tag { font-size: 11px; padding: 2px 7px; margin-right: 5px; }

  .product-card .btn {
    width: 100%;
    padding: 10px 12px;
    font-weight: 700;
    border-radius: 6px;
  }

  /* Hero: título grande pode quebrar demais no mobile */
  header .intro-lead-in { font-size: 18px; }
  header .intro-heading { font-size: 34px; line-height: 1.05; }
}

/* =========================
   MOBILE EXTRA (<= 420px)
   ========================= */
@media (max-width: 420px) {
  .section-heading { font-size: 22px; }
  header .intro-heading { font-size: 30px; }
  .btn-xl { font-size: 13px; padding: 13px 14px; }
}

/* =========================
   CHATBOT FAB (DESKTOP + MOBILE)
   ========================= */

.digitai-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483646;
}

/* Ajuste de conforto no mobile */
@media (max-width: 768px) {
  .digitai-fab button {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 28px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  }
}



