:root {
  --primary: #0f4c75; /* Azul Profundo - Cor principal */
  --primary-hover: #0a3550;
  --secondary: #3282b8; /* Azul Médio - Cor secundária */
  --secondary-hover: #1e5f8a;
  --accent-1: #bbe1fa; /* Azul Claro - Para elementos de destaque */
  --accent-2: #2ec4b6; /* Verde Água - Para elementos de destaque */
  --accent-3: #e8f5f4; /* Verde Muito Claro - Para fundos e elementos sutis */
  --text-dark: #0f4c75;
  --text-light: #666;
  --background-light: #e8f5f4;
  --color-primary: #0f4c75;
  --color-primary-light: #3282b8;
  --color-secondary: #2ec4b6;
  --color-background: #e8f5f4;
  --color-text: #0f4c75;
  --gradient-primary: linear-gradient(135deg, #e8f5f4 0%, #bbe1fa 50%, #3282b8 100%);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 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(15, 76, 117, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(15, 76, 117, 0.95) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

header a:hover {
  opacity: 0.8;
}

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

header nav a:hover {
  opacity: 1;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #bbe1fa;
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

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

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

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

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, rgba(15, 76, 117, 0.85) 0%, rgba(50, 130, 184, 0.75) 50%, rgba(46, 196, 182, 0.7) 100%), url('../images/Homem no campo ao amanhecer.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 76, 117, 0.6) 0%, rgba(50, 130, 184, 0.5) 100%);
  z-index: 0;
}

.hero-gradient > * {
  position: relative;
  z-index: 1;
}

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

/* Textos do hero */
.hero-gradient h1 {
  color: #ffffff !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  font-weight: 900;
}

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

/* 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 6px rgba(0, 0, 0, 0.3);
}

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

/* 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);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Section Gradient */
.section-gradient {
  background: linear-gradient(135deg, #e8f5f4 0%, #bbe1fa 50%, #3282b8 100%);
  position: relative;
  overflow: hidden;
}

.section-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(187, 225, 250, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(50, 130, 184, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.section-gradient > * {
  position: relative;
  z-index: 1;
}

/* Testimonial Card */
.testimonial-card {
  border: 2px solid rgba(50, 130, 184, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(50, 130, 184, 0.1);
  background-color: #ffffff;
  border-radius: 12px;
}

.testimonial-card:hover {
  border-color: #3282b8;
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(50, 130, 184, 0.2);
}

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

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

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

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

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

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

.btn-primary:hover {
  background-color: #1e5f8a;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(50, 130, 184, 0.4);
}

.btn-secondary {
  background-color: #e8f5f4;
  color: #0f4c75;
  border: 2px solid #3282b8;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #3282b8;
  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: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(187, 225, 250, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(46, 196, 182, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

footer > * {
  position: relative;
  z-index: 1;
}

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 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  background-color: #25D366;
  animation: gentlePulse 4s infinite;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
  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 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
}

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

#header.bg-opacity-90 {
  background-color: rgba(15, 76, 117, 0.95) !important;
}

/* 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;
  border-radius: 12px;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(50, 130, 184, 0.2);
}

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

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(50, 130, 184, 0.2);
}

.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;
  border-radius: 8px;
  padding: 0.5rem;
}

.faq-btn:hover {
  transform: translateX(5px);
  background-color: rgba(50, 130, 184, 0.1);
}

.faq-answer {
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* 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(15, 76, 117, 0.95);
  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;
  backdrop-filter: blur(10px);
}

.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: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

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

.cookie-notice .accept-btn:hover {
  background: #20ba57;
  transform: scale(1.05);
}

.cookie-notice .decline-btn {
  background: transparent;
  color: white;
  border: 2px 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;
}

.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: #3282b8 !important;
  background: rgba(255, 255, 255, 0.9);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(50, 130, 184, 0.3);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #3282b8;
  color: white !important;
  transform: scale(1.1);
}

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

.swiper-pagination-bullet {
  background: #3282b8 !important;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

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

/* Facilities Section Refinements */
.facilities-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.facilities-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(50, 130, 184, 0.25);
}

.facilities-card .swiper {
  border-radius: 12px 12px 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(15, 76, 117, 0.6), transparent);
  pointer-events: none;
}

/* Unit Badge Styles */
.facilities-card .relative {
  position: relative;
}

.facilities-card .absolute {
  position: absolute;
}

.facilities-card .top-4 {
  top: 1rem;
}

.facilities-card .right-4 {
  right: 1rem;
}

.facilities-card .z-10 {
  z-index: 10;
}

/* Badge styles para unidade masculina/feminina */
.bg-secondary {
  background-color: var(--color-secondary) !important;
}

.bg-pink-500 {
  background-color: #ec4899 !important;
}

/* Scroll to top button */
#scroll-top-btn {
  background-color: #3282b8;
  color: white;
  transition: all 0.3s ease;
}

#scroll-top-btn:hover {
  background-color: #0f4c75;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(15, 76, 117, 0.4);
}

/* Melhorias visuais gerais */
section {
  position: relative;
}


/* Responsividade aprimorada */
@media (max-width: 768px) {
  .hero-gradient h1 {
    font-size: 1.75rem;
  }
  
  .hero-gradient p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

