body {
  font-family: "Montserrat", sans-serif;
}

/* Cores baseadas no logo */
:root {
  --color-primary-dark: #3d352a;
  --color-primary-light: #f5f5f5;
  --color-accent: #ffb800;
  --color-text-dark: #333333;
  --color-text-light: #ffffff;
}

.bg-primary-dark {
  background-color: var(--color-primary-dark);
}

.bg-primary-light {
  background-color: var(--color-primary-light);
}

.bg-accent {
  background-color: var(--color-accent);
}

.text-accent {
  color: var(--color-accent);
}

.border-accent {
  border-color: var(--color-accent);
}

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item-testimonial {
  min-width: 80%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .carousel-item-testimonial {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-item-testimonial {
    min-width: 33.33%;
  }

  #galleryCarousel .carousel-item {
    min-width: 33.3333%;
    max-width: 33.3333%;
  }
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.testimonial-card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-left: 5px solid var(--color-accent);
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #FFF;
  text-decoration: none;
}

/* Tooltip do WhatsApp */
.whatsapp-float::before {
  content: "Entre em contato";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Classe específica para o botão da hero */
.hero-cta-button {
  display: inline-block;
  word-wrap: break-word;
  max-width: 100%;
}

/* Responsivo para mobile */
@media screen and (max-width: 767px) {
  /* WhatsApp button mobile */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  /* Tooltip menor no mobile */
  .whatsapp-float::before {
    right: 60px;
    font-size: 12px;
    padding: 6px 8px;
  }

  .whatsapp-float::after {
    right: 55px;
  }

  /* Botão principal da hero section */
  .hero-cta-button {
    font-size: 14px !important;
    padding: 12px 16px !important;
    text-align: center;
    line-height: 1.2;
  }

  /* Formulário de contato */
  #contato .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #contato h2 {
    font-size: 24px !important;
    line-height: 1.3;
  }

  #contato p {
    font-size: 16px !important;
  }

  /* Botão do formulário */
  #contato button[type="submit"] {
    font-size: 16px !important;
    padding: 12px 16px !important;
  }

  /* Botão WhatsApp do formulário */
  #contato .bg-green-500 {
    font-size: 14px !important;
    padding: 10px 16px !important;
  }
}

/* Melhorias adicionais para tablets */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .hero-cta-button {
    font-size: 16px !important;
    padding: 14px 20px !important;
  }
}