/* ===== ESTILOS DO CARROSSEL ===== */
.carousel-container {
  position: relative;
  min-height: 600px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  position: relative;
}

/* Estilos para desktop */
.carousel-slide.desktop-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

/* Estilos para mobile */
.carousel-slide.mobile-slide {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0;
}

.carousel-slide.mobile-slide .slide-image {
  order: 1;
  height: 280px;
  margin-bottom: 20px;
}

.carousel-slide.mobile-slide .text-left {
  order: 2;
  text-align: center;
  padding: 0 15px;
}

.carousel-slide.mobile-slide h2 {
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}

.carousel-slide.mobile-slide p {
  font-size: 0.875rem !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.carousel-slide.mobile-slide .slide-button {
  justify-content: center !important;
  width: 100%;
}

.slide-title, .slide-heading, .slide-text, .slide-button, .slide-image {
  will-change: transform, opacity;
}

.carousel-slide.active .slide-title {
  animation: softFloatUp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  opacity: 0;
}

.carousel-slide.active .slide-heading {
  animation: softFloatUp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

.carousel-slide.active .slide-text {
  animation: softFloatUp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.carousel-slide.active .slide-button {
  animation: softFloatUp 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.carousel-slide.active .slide-image {
  animation: softZoomIn 0.8s cubic-bezier(0.2, 0.9, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

@keyframes softFloatUp {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes softZoomIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.carousel-container:hover .carousel-arrow {
  opacity: 0.9;
  pointer-events: all;
}

.carousel-arrow:hover {
  background: #f5f5f5;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dot {
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot:hover {
  transform: scaleX(1.5);
  background-color: #659642 !important;
}

.slide-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.slide-image img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.seta-quicando {
  animation: quicar 1.5s ease-in-out infinite;
}

@keyframes quicar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

.seta-quicando:hover {
  animation-play-state: paused;
  opacity: 0.8;
}

.servicos-scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  margin-bottom: -20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.servicos-scroll-container::-webkit-scrollbar {
  display: none;
}

.servicos-scroll-wrapper {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.5rem 0 1rem 0;
}

.servico-card {
  width: 300px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .carousel-container { min-height: 700px; margin-bottom: 30px; }
  .servicos-scroll-wrapper { gap: 1rem; }
  .servico-card { width: 280px; }
  .servicos-arrow { display: none; }
  
  /* Esconde slides de desktop no mobile */
  .desktop-slide {
    display: none !important;
  }
  
  /* Mostra slides de mobile */
  .mobile-slide {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  /* Esconde slides de mobile no desktop */
  .mobile-slide {
    display: none !important;
  }
  
  /* Mostra slides de desktop */
  .desktop-slide {
    display: grid !important;
  }
}

.servicos-arrow {
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.group\/servicos:hover .servicos-arrow {
  opacity: 1;
  pointer-events: all;
}

.servicos-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

html { scroll-behavior: smooth; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Acessibilidade - Foco visível */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #659642;
  outline-offset: 2px;
}

/* Contraste melhorado */
.text-gray-500 { color: #4B5563; }
.bg-gray-50 { background-color: #F9FAFB; }

/* Estilos para o seletor de dias */
.day-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background: #f5f5f5;
  padding: 6px;
  border-radius: 50px;
}

.day-option {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  color: #666;
}

.day-option.active {
  background: #659642;
  color: white;
  box-shadow: 0 4px 10px rgb(255, 255, 255);
}

.day-option.weekday.active {
  background: #659642;
}

.day-option.saturday.active {
  background: #659642;
}

.info-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 0px solid #659642;
  font-size: 13px;
  color: #333;
}

.info-box .material-symbols-outlined {
  color: #659642;
  font-size: 20px;
}

.date-warning {
  font-size: 11px;
  color: #f44336;
  margin-top: 4px;
  margin-left: 16px;
  display: none;
}

.date-warning.show {
  display: block;
}

.time-title .material-symbols-outlined {
  font-size: 18px;
  color: #659642;
}

.time-btn.weekday-slot:hover,
.time-btn.saturday-slot:hover {
  border-color: #659642;
  background: rgba(101, 150, 66, 0.1);
}

.time-btn.selected {
  background: #659642;
  border-color: #659642;
  color: white;
}