:root {
  --primary: #2a242a; /* Roxo Escuro - Cor principal */
  --primary-hover: #1a1a1a;
  --secondary: #8068a9; /* Lilás - Cor secundária */
  --secondary-hover: #6d5a8f;
  --accent-1: #a295af; /* Lavanda - Para elementos de destaque */
  --accent-2: #d6ad94; /* Terracota Suave - Para elementos de destaque */
  --accent-3: #f1e4dd; /* Bege Claro - Para fundos e elementos sutis */
  --text-dark: #2a242a;
  --text-light: #666;
  --background-light: #f1e4dd;
  --color-primary: #2a242a;
  --color-primary-light: #8068a9;
  --color-secondary: #d6ad94;
  --color-background: #f1e4dd;
  --color-text: #2a242a;
  --gradient-primary: linear-gradient(135deg, #f1e4dd 0%, #d6ad94 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
header {
  transition: all 0.3s ease;
  background: rgba(42, 36, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 0;
}

header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(42, 36, 42, 0.95) !important;
}

header h1,
header a {
  color: white !important;
}

header a:hover {
  opacity: 0.8;
}

/* Header Navigation */
header nav a,
header .text-white {
  color: #ffffff !important;
}

header nav a:hover {
  opacity: 0.8;
}

/* Header Logo */
header a img {
  height: 64px;
  width: auto;
  transition: all 0.3s ease;
}

header.scrolled a img {
  height: 48px;
}

/* Mobile Menu - Z-index máximo */
#mobile-menu {
  z-index: 999999 !important;
  position: fixed !important;
}

#mobile-menu.active {
  z-index: 999999 !important;
  position: fixed !important;
}

/* Garantir que o menu mobile tenha prioridade máxima */
#mobile-menu,
#mobile-menu.active {
  z-index: 999999 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* Solução nuclear - forçar o menu para ficar por cima de TUDO */
#mobile-menu {
  z-index: 2147483647 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: #000000 !important;
}

/* Garantir que todos os textos do menu mobile sejam brancos */
#mobile-menu,
#mobile-menu * {
  color: #ffffff !important;
}

#mobile-menu a,
#mobile-menu button,
#mobile-menu span {
  color: #ffffff !important;
}

#mobile-menu a:hover {
  color: #fbbf24 !important; /* Amarelo claro no hover */
}

/* Resetar z-index de outros elementos que possam estar interferindo */
header, nav, .hero-gradient, section, div, button, a {
  z-index: auto !important;
}

@media (max-width: 768px) {
  header a img {
    height: 48px;
  }
  
  header.scrolled a img {
    height: 36px;
  }
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../images/herobg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-gradient h1,
.hero-gradient p {
  color: white !important;
}

/* Textos do hero */
.hero-gradient h1 {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-gradient p {
  color: #ffffff !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ajuste do texto do hero para garantir legibilidade */
.hero-gradient h1,
.hero-gradient p,
.hero-gradient .text-white {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-gradient p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Botões do hero */
.hero-gradient .btn-whatsapp {
  background-color: #25D366;
  color: white;
  transition: all 0.3s ease;
}

.hero-gradient .btn-whatsapp:hover {
  background-color: #20ba57;
  transform: scale(1.05);
}

/* Section Gradient */
.section-gradient {
  background: linear-gradient(135deg, #f1e4dd 0%, #d6ad94 100%);
}

/* Testimonial Card */
.testimonial-card {
  border: 1px solid rgba(128, 104, 169, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(138, 122, 164, 0.05);
  background-color: #f1e4dd;
}

.testimonial-card:hover {
  border-color: #8068a9;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(128, 104, 169, 0.1);
}

/* FAQ Styles */
.faq-answer.active {
  max-height: 500px !important;
  opacity: 1 !important;
}

.faq-btn span.active {
  transform: rotate(180deg);
}

/* Utility Classes */
.text-primary {
  color: var(--color-primary) !important;
}

.text-secondary {
  color: var(--color-secondary) !important;
}

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

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

.bg-secondary {
  background-color: var(--color-secondary) !important;
}

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

.bg-white {
  background-color: white !important;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-gradient {
    padding-top: 80px;
  }
}

/* Button styles */
.btn-primary {
  background-color: #8068a9;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #6d5a8f;
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #f1e4dd;
  color: #2a242a;
  border: 2px solid #8068a9;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #8068a9;
  color: white;
  transform: scale(1.05);
}

/* Navigation hover effects */
nav a {
  color: var(--color-text) !important;
  opacity: 0.9;
}

nav a:hover {
  color: var(--color-primary) !important;
  opacity: 1;
}

/* FAQ section */
.faq-btn:hover {
  color: var(--color-primary);
}

/* Footer styles */
footer {
  background-color: #2a242a;
  background-image: linear-gradient(135deg, #2a242a 0%, #8068a9 100%);
}

footer a:hover {
  color: var(--color-secondary) !important;
  opacity: 0.9;
}

/* WhatsApp button override */
.whatsapp-btn {
  background-color: #25D366 !important;
}

.whatsapp-btn:hover {
  background-color: #20ba57 !important;
}

/* WhatsApp button override */
.whatsapp-floating-btn {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: #25D366;
  animation: gentlePulse 4s infinite;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  animation: none;
}

.whatsapp-floating-btn svg {
  flex-shrink: 0;
}

.whatsapp-floating-btn span {
  white-space: nowrap;
  margin-left: 0.5rem;
  position: relative;
}

@keyframes gentlePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

/* Removendo o ponto verde e suas animações */
.whatsapp-floating-btn::before {
  display: none;
}

/* Header refinements */
#header {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

#header.bg-opacity-90 {
  background-color: rgba(138, 122, 164, 0.85) !important;
}

/* Text contrast improvements */
.hero-gradient .text-white {
  color: var(--color-text) !important;
  text-shadow: none;
}

/* Animações e Transições */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Aplicação das animações */
.hero-content {
  animation: fadeIn 1s ease-out forwards;
}

.about-content {
  animation: slideInLeft 1s ease-out forwards;
}

.about-image {
  animation: slideInRight 1s ease-out forwards;
}

.treatment-card {
  animation: scaleIn 0.5s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(42, 36, 42, 0.1);
}

.testimonial-card {
  animation: fadeIn 0.8s ease-out forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(42, 36, 42, 0.1);
}

.facility-item {
  animation: slideInLeft 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.facility-item:hover {
  transform: translateX(5px);
}

.faq-item {
  animation: fadeIn 0.8s ease-out forwards;
  transition: all 0.3s ease;
}

.faq-btn {
  transition: all 0.3s ease;
}

.faq-btn:hover {
  transform: translateX(5px);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* Botões com animação */
.btn-animate {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-animate:hover {
  transform: translateY(-2px);
}

.btn-animate::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-animate:hover::after {
  width: 300px;
  height: 300px;
}

/* Links com animação */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

footer .grid {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  gap: 2rem;
}

footer .grid > div {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

footer ul {
  align-items: center;
}

footer .text-left,
footer .text-right {
  text-align: center !important;
}

@media (max-width: 1024px) {
  footer .grid {
    flex-direction: column !important;
    align-items: center;
    gap: 2rem;
  }
}

/* Cor verde WhatsApp para destaques de contato */
.color-contact {
  color: #179c4b !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Cookie Notice Styles */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-notice p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  padding-right: 1rem;
}

.cookie-notice .cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-notice button {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-notice .accept-btn {
  background: #25D366;
  color: white;
  border: none;
}

.cookie-notice .accept-btn:hover {
  background: #20ba57;
}

.cookie-notice .decline-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-notice .decline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .cookie-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-notice p {
    padding-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-notice .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Swiper Styles */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-accommodations,
.swiper-common-areas {
  height: 500px !important; /* Aumentando a altura dos sliders */
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: #25D366 !important;
  background: rgba(255, 255, 255, 0.8);
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
}

.swiper-pagination-bullet {
  background: #25D366 !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Facilities Section Refinements */
.facilities-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

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

.facilities-card .swiper {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.facilities-card .swiper-slide {
  position: relative;
}

.facilities-card .swiper-slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  pointer-events: none;
}

/* Ajustando o espaçamento entre os cards */
.grid-cols-1.lg\:grid-cols-2.gap-8 {
  gap: 2rem;
}

/* Ajustando o padding do conteúdo abaixo do slider */
.p-6 {
  padding: 1.5rem;
}
