/* Paleta de cores customizada */
:root {
  --color-cream: #e2d9ca;
  --color-rose-light: #d3ae9f;
  --color-rose: #ba8776;
  --color-burgundy: #702d36;
  --color-dark-brown: #542b23;
  --color-white: #ffffff;
  --color-text-light: #8b7355;
  --color-text-dark: #542b23;
}

/* Configurações globais */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(135deg, var(--color-cream) 0%, #ede6df 100%);
  color: var(--color-text-dark);
  overflow-x: hidden;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--color-dark-brown);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--color-dark-brown);
}

.section-subtitle {
  font-family: "Montserrat", sans-serif;
  color: var(--color-text-light);
}

/* Classes de cores customizadas */
.bg-brand-cream {
  background-color: var(--color-cream);
}
.bg-brand-rose-light {
  background-color: var(--color-rose-light);
}
.bg-brand-rose {
  background-color: var(--color-rose);
}
.bg-brand-burgundy {
  background-color: var(--color-burgundy);
}
.bg-brand-dark-brown {
  background-color: var(--color-dark-brown);
}

.text-brand-cream {
  color: var(--color-cream);
}
.text-brand-rose-light {
  color: var(--color-rose-light);
}
.text-brand-rose {
  color: var(--color-rose);
}
.text-brand-burgundy {
  color: var(--color-burgundy);
}
.text-brand-dark-brown {
  color: var(--color-dark-brown);
}
.text-brand-light {
  color: var(--color-text-light);
}

.border-brand-cream {
  border-color: var(--color-cream);
}
.border-brand-rose-light {
  border-color: var(--color-rose-light);
}
.border-brand-rose {
  border-color: var(--color-rose);
}
.border-brand-burgundy {
  border-color: var(--color-burgundy);
}

.hover\:bg-brand-rose-light:hover {
  background-color: var(--color-rose-light);
}
.hover\:bg-brand-rose:hover {
  background-color: var(--color-rose);
}
.hover\:text-brand-burgundy:hover {
  color: var(--color-burgundy);
}
.hover\:border-brand-rose:hover {
  border-color: var(--color-rose);
}

/* Botões */
.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-rose) 0%,
    var(--color-burgundy) 100%
  );
  color: #ffffff;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(186, 135, 118, 0.39);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--color-burgundy) 0%,
    var(--color-dark-brown) 100%
  );
  box-shadow: 0 6px 20px 0 rgba(186, 135, 118, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-rose-light);
  color: var(--color-burgundy);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--color-rose-light);
  border-color: var(--color-rose);
  color: white;
  transform: translateY(-2px);
}

/* Tipografia */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: "Nunito", sans-serif;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Navegação */
.nav-link {
  color: var(--color-text-dark);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-rose);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--color-rose);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Cards e elementos interativos */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Swiper customizado */
.swiper-container {
  overflow: hidden;
}

.swiper-wrapper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  width: 100% !important;
  height: auto !important;
}

@media (min-width: 768px) {
  .swiper-slide {
    width: calc(50% - 15px) !important;
  }
}

@media (min-width: 1024px) {
  .swiper-slide {
    width: calc(33.333% - 20px) !important;
  }
}

/* Estilos específicos para o carrossel de depoimentos */
.testimonials-swiper {
  overflow: hidden;
  padding: 0 10px;
}

.testimonials-swiper .swiper-slide {
  height: auto;
}

.testimonials-swiper .swiper-slide > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .testimonials-swiper .swiper-slide {
    width: calc(50% - 15px) !important;
  }
}

@media (min-width: 1024px) {
  .testimonials-swiper .swiper-slide {
    width: calc(33.333% - 20px) !important;
  }
}

/* Alpine.js */
[x-cloak] {
  display: none !important;
}

/* Swiper customization - bullets fora dos cards */
.testimonials-swiper .swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  margin: 2rem auto;
  padding: 1rem 0;
  text-align: center;
  display: flex !important;
  justify-content: center !important;
  overflow: visible !important;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: var(--color-rose);
  opacity: 0.3;
  width: 12px;
  height: 12px;
  margin: 0 8px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
  background: linear-gradient(135deg, var(--color-rose), var(--color-burgundy));
  box-shadow: 0 4px 12px rgba(186, 135, 118, 0.3);
}

/* Modal fixes */
.modal-open {
  overflow: hidden !important;
}

/* Modal responsivo */
@media (max-width: 640px) {
  .modal-container {
    margin: 1rem !important;
    max-height: calc(100vh - 2rem) !important;
    overflow-y: auto !important;
  }

  .modal-content {
    max-height: calc(100vh - 4rem) !important;
    overflow-y: auto !important;
  }

  .modal-header {
    padding: 1.5rem !important;
  }

  .modal-body {
    padding: 1.5rem !important;
  }
}

/* Backgrounds e elementos decorativos */
.hero-bg {
  background: linear-gradient(
    135deg,
    rgba(139, 90, 246, 0.1) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
}

.specialty-icon {
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-rose-light) 100%
  );
  transition: all 0.3s ease;
}

.specialty-card:hover .specialty-icon {
  background: linear-gradient(
    135deg,
    var(--color-rose) 0%,
    var(--color-burgundy) 100%
  );
  color: white;
}

/* Responsividade */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* Imagens responsivas */
.hero-image {
  max-width: 400px;
  height: auto;
}

.about-image {
  max-width: 350px;
  height: auto;
}

@media (min-width: 768px) {
  .hero-image {
    max-width: 450px;
  }
  .about-image {
    max-width: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    max-width: 500px;
  }
  .about-image {
    max-width: 450px;
  }
}
