:root {
  --primary: #2c5aa0; /* Azul Médio - Cor principal (harmoniza com o logotipo) */
  --primary-hover: #1e3f73;
  --secondary: #4a7c59; /* Verde Suave - Cor secundária (harmoniza com o logotipo) */
  --secondary-hover: #3d6549;
  --accent-1: #6b9bd2; /* Azul Claro - Para elementos de destaque */
  --accent-2: #7fb069; /* Verde Claro - Para elementos de destaque */
  --accent-3: #f0f8f5; /* Verde Muito Claro - Para fundos e elementos sutis */
  --text-dark: #2c5aa0;
  --text-light: #666;
  --background-light: #f0f8f5;
  --color-primary: #2c5aa0;
  --color-primary-light: #4a7c59;
  --color-secondary: #7fb069;
  --color-background: #f0f8f5;
  --color-text: #2a242a;
  --gradient-primary: linear-gradient(135deg, #f0f8f5 0%, #7fb069 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;
  overflow-x: hidden;
}

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: transform 0.3s ease, padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Header some ao rolar para baixo, volta ao rolar para cima */
header.header-hidden {
  transform: translateY(-100%);
}

header h1,
header a {
  color: var(--color-primary) !important;
}

header a:hover {
  opacity: 0.8;
  color: var(--secondary) !important;
}

/* Header Navigation */
header nav a,
header .text-white {
  color: var(--color-primary) !important;
}

header nav a:hover {
  opacity: 0.8;
  color: var(--secondary) !important;
}

/* 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;
}

/* Botão do menu mobile no header */
#menu-toggle {
  color: var(--color-primary) !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.webp');
  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, #f0f8f5 0%, #7fb069 100%);
}

/* Testimonial Card */
.testimonial-card {
  border: 1px solid rgba(74, 124, 89, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(127, 176, 105, 0.05);
  background-color: #f0f8f5;
}

.testimonial-card:hover {
  border-color: #4a7c59;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(74, 124, 89, 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: #2c5aa0;
  background-image: linear-gradient(135deg, #2c5aa0 0%, #4a7c59 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;
}

/* ===== WhatsApp Popup (botão flutuante + modal escolha atendente) ===== */
.whatsapp__float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

/* Balão "digitando" ao lado do botão */
.whatsapp__typing-balloon {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-right: 12px;
  margin-bottom: 4px;
}

.whatsapp__typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.whatsapp__typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite both;
}

.whatsapp__typing-dots span:nth-child(1) { background: #e53935; animation-delay: 0s; }
.whatsapp__typing-dots span:nth-child(2) { background: #fdd835; animation-delay: 0.2s; }
.whatsapp__typing-dots span:nth-child(3) { background: #43a047; animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.whatsapp__main-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp__main-btn:hover {
  transform: scale(1.1);
  background: #128C7E;
}

.whatsapp__pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Modal overlay */
.whatsapp__menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp__menu.show {
  opacity: 1;
  visibility: visible;
}

.whatsapp__menu-container {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: whatsappSlideUp 0.4s ease-out;
}

@keyframes whatsappSlideUp {
  0% { transform: translateY(50px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.whatsapp__menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 24px 24px 0 0;
}

.whatsapp__menu-header h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.35rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp__menu-header h4::before {
  content: '💬';
  font-size: 1.5rem;
}

.whatsapp__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.whatsapp__close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.whatsapp__menu-subtitle {
  text-align: center;
  color: #475569;
  font-size: 0.9375rem;
  margin: 1rem 0 0;
  padding: 0 1.5rem;
}

.whatsapp__menu-list {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp__contact {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.whatsapp__contact:hover {
  background: #DCF8C6;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.whatsapp__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.whatsapp__info {
  flex: 1;
  min-width: 0;
}

.whatsapp__info strong {
  display: block;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  font-size: 1.0625rem;
}

.whatsapp__info span {
  font-size: 0.8125rem;
  color: #10b981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.whatsapp__info span::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: onlineGlow 2s ease-in-out infinite;
}

@keyframes onlineGlow {
  0%, 100% { background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { background: #34d399; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
}

.whatsapp__contact-icon {
  color: #25D366;
  flex-shrink: 0;
}

/* Divisórias entre seções - responsivo */
.section-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin: 0;
  overflow: hidden;
}
.section-divider svg {
  width: 100%;
  height: 4.5rem;
  min-height: 48px;
  display: block;
  vertical-align: middle;
}
.section-divider--white { color: #ffffff; }
.section-divider--gray { color: #f9fafb; }
.section-divider--green { color: #f0f8f5; }
.section-divider--primary { color: #2c5aa0; }
@media (max-width: 768px) {
  .section-divider svg {
    height: 3rem;
    min-height: 40px;
  }
  .whatsapp__float {
    bottom: 1rem;
    right: 1rem;
  }
  .whatsapp__typing-balloon {
    padding: 0.5rem 0.75rem;
    margin-right: 8px;
  }
  .whatsapp__main-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }
}

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

#header.bg-opacity-90 {
  background-color: rgba(255, 255, 255, 0.95) !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;
}
