/* Overrides para normalizar cards e imagens na seção Áreas */
:root {
  --card-image-height: 220px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-thumb {
  width: 100%;
  height: var(--card-image-height);
  object-fit: cover;
  display: block;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem
}

.feature-card .feature-icon {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 0.5rem;
  margin: 12px 0
}

.feature-card h5 {
  margin-top: 8px;
  margin-bottom: 6px;
  font-weight: 600
}

.feature-card p {
  color: rgba(17, 24, 39, 0.75);
  margin-bottom: 0;
  flex: 1
}

/* Ensure equal card heights inside the grid */
.row.g-4>.col-md-6>.feature-card,
.row.g-4>.col-md-6.col-lg-3>.feature-card {
  min-height: 360px
}

/* Small screens: lower image height for better fit */
@media (max-width:767px) {
  :root {
    --card-image-height: 160px
  }

  .feature-card .feature-icon {
    height: 60px
  }
}

/* Minor spacing fixes for the areas section */
.section-header {
  margin-bottom: 1.25rem
}

/* WhatsApp floating: ensure it sits above fixed elements */
#whatsapp-floating {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.15)
}

/* Alternating subtle backgrounds for page sections */

/* Ensure sections have vertical padding so backgrounds are visible */
section {
  padding-top: 48px;
  padding-bottom: 48px
}

/* Keep footer distinct and compact */
footer.bg-dark {
  padding-top: 28px;
  padding-bottom: 28px
}

/* ensure card content stays aligned */
.feature-card>.feature-icon+h5 {
  margin-top: 12px
}

/* Depoimentos */
.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(13, 110, 253, 0.3);
}

.testimonial-card blockquote {
  font-style: italic;
  color: #495057;
  margin: 0;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-card .small {
  color: rgba(2, 6, 23, 0.6);
}

@media (max-width:767px) {
  .testimonial-card {
    padding: 1rem
  }
}

.verified-badge {
  font-size: 0.85rem;
  color: rgba(2, 6, 23, 0.65)
}

.verified-badge a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(2, 6, 23, 0.06)
}

.verified-badge a:hover {
  color: rgba(2, 6, 23, 0.85)
}

/* Global Navbar Styles */
:root {
  --tech-primary: #0d6efd;
  --tech-dark: #0f172a;
  --tech-darker: #020617;
  --tech-accent: #38bdf8;
  --tech-glow: 0 0 15px rgba(13, 110, 253, 0.3);
}

.nav-tech {
  background: linear-gradient(90deg, rgba(10, 40, 100, 0.85), rgba(13, 110, 253, 0.75));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.nav-tech.scrolled {
  background: linear-gradient(90deg, rgba(10, 40, 100, 0.4), rgba(13, 110, 253, 0.3)) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(13, 110, 253, 0.2) !important;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: var(--tech-accent) !important;
}

.navbar-nav .nav-link.active {
  color: var(--tech-accent) !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  position: relative;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Estilos para avaliações do Google */
.google-rating {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.google-rating .stars {
  color: #ffc107;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.google-rating .rating-text {
  color: #495057;
  font-weight: 600;
}

.review-stars {
  font-size: 1.3rem;
  letter-spacing: 3px;
  display: inline-block;
}

#refresh-reviews {
  transition: all 0.3s ease;
}

#refresh-reviews:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#refresh-reviews svg {
  transition: transform 0.3s ease;
}

/* Estilos do Carrossel de Depoimentos */
#reviewsCarousel {
  min-height: 400px;
  position: relative;
  padding: 2rem 0;
}

#reviewsCarousel .carousel-inner {
  min-height: 350px;
}

#reviewsCarousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

/* Botões de navegação do carrossel */
#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(13, 110, 253, 0.8);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

#reviewsCarousel .carousel-control-prev {
  left: -60px;
}

#reviewsCarousel .carousel-control-next {
  right: -60px;
}

#reviewsCarousel .carousel-control-prev:hover,
#reviewsCarousel .carousel-control-next:hover {
  opacity: 1;
  background: rgba(13, 110, 253, 1);
  transform: translateY(-50%) scale(1.1);
}

#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
  width: 24px;
  height: 24px;
}

/* Indicadores do carrossel */
#reviewsCarousel .carousel-indicators {
  bottom: -40px;
}

#reviewsCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.5);
  border: none;
  transition: all 0.3s ease;
}

#reviewsCarousel .carousel-indicators button.active {
  background-color: rgba(13, 110, 253, 1);
  width: 14px;
  height: 14px;
}

/* Responsividade para mobile */
@media (max-width: 991px) {
  #reviewsCarousel .carousel-control-prev {
    left: -20px;
  }

  #reviewsCarousel .carousel-control-next {
    right: -20px;
  }
}

@media (max-width: 767px) {
  #reviewsCarousel {
    min-height: 300px;
  }

  #reviewsCarousel .carousel-inner {
    min-height: 250px;
  }

  #reviewsCarousel .carousel-control-prev {
    left: 0;
    width: 40px;
    height: 40px;
  }

  #reviewsCarousel .carousel-control-next {
    right: 0;
    width: 40px;
    height: 40px;
  }

  #reviewsCarousel .carousel-control-prev-icon,
  #reviewsCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
  }
}