/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #2E6B4E;
  line-height: 1.6;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: #2E6B4E;
  color: #fff;
  border-color: #2E6B4E;
}

.btn-primary:hover {
  background-color: #245a3f;
  border-color: #245a3f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 107, 78, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #2E6B4E;
  transform: translateY(-2px);
}

/* ==================== HEADER ==================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(46, 107, 78, 0.95);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 35px;
}

.nav-desktop a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: #C9A857;
}

.nav-desktop .btn-agendar {
  background-color: #C9A857;
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff;
}

.nav-desktop .btn-agendar:hover {
  background-color: #b8974d;
}

/* Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background-color: rgba(46, 107, 78, 0.98);
  padding: 20px;
  gap: 15px;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile .btn-agendar {
  background-color: #C9A857;
  padding: 12px 24px;
  border-radius: 50px;
  text-align: center;
  margin-top: 10px;
  border: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-mobile {
    display: none !important;
  }
  
  .logo {
    font-size: 28px;
  }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-top: 80px;
}

.hero-title {
  font-size: 42px;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #C9A857;
  font-style: italic;
  margin-bottom: 20px;
}

.hero-description {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
  
  .hero-tagline {
    font-size: 26px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==================== SECTION HEADER ==================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 28px;
  color: #2E6B4E;
  white-space: nowrap;
}

.section-header .line {
  flex: 1;
  max-width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6DBE8A, transparent);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 36px;
  }
  
  .section-header .line {
    max-width: 150px;
  }
}

/* ==================== TERAPIAS ==================== */
.terapias {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fdf9 0%, #fff 100%);
}

.terapias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.terapia-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terapia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.terapia-img {
  height: 200px;
  overflow: hidden;
}

.terapia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.terapia-card:hover .terapia-img img {
  transform: scale(1.05);
}

.terapia-content {
  padding: 25px;
  text-align: center;
}

.terapia-content h3 {
  font-size: 20px;
  color: #2E6B4E;
  margin-bottom: 10px;
}

.terapia-content p {
  color: #666;
  font-size: 14px;
}

@media (min-width: 768px) {
  .terapias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .terapias-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==================== BENEFÍCIOS ==================== */
.beneficios {
  padding: 80px 0;
  background-color: #fff;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.beneficio-card {
  background-color: #f8fdf9;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid #e8f5ec;
  transition: all 0.3s ease;
}

.beneficio-card:hover {
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(109, 190, 138, 0.15);
  border-color: #6DBE8A;
}

.beneficio-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #6DBE8A 0%, #2E6B4E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.beneficio-card h3 {
  font-size: 18px;
  color: #2E6B4E;
  margin-bottom: 12px;
}

.beneficio-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .beneficios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .beneficios-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==================== DEPOIMENTOS ==================== */
.depoimentos {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fdf9 0%, #edf7f0 100%);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.depoimento-card {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
  color: #C9A857;
  font-size: 18px;
  margin-bottom: 15px;
}

.depoimento-card p {
  font-style: italic;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.depoimento-card .autor {
  color: #2E6B4E;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .depoimentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== FORMULÁRIO ==================== */
.agendar {
  padding: 80px 0;
  background: linear-gradient(180deg, #edf7f0 0%, #d4eadb 100%);
}

.form-agendar {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6DBE8A;
  box-shadow: 0 0 0 3px rgba(109, 190, 138, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.full {
  margin-bottom: 20px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

.form-success {
  text-align: center;
  padding: 40px;
}

.form-success svg {
  width: 60px;
  height: 60px;
  color: #6DBE8A;
  margin-bottom: 20px;
}

.form-success h3 {
  color: #2E6B4E;
  font-size: 24px;
  margin-bottom: 10px;
}

.form-success p {
  color: #666;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: #2E6B4E;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #C9A857;
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #C9A857;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #C9A857;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 15px;
  min-width: 220px;
  display: none;
  animation: slideUp 0.3s ease;
}

.whatsapp-popup.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.popup-header span {
  color: #2E6B4E;
  font-weight: 600;
  font-size: 14px;
}

.popup-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.popup-close:hover {
  color: #666;
}

.whatsapp-number {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: rgba(37, 211, 102, 0.1);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: background-color 0.3s ease;
}

.whatsapp-number:last-child {
  margin-bottom: 0;
}

.whatsapp-number:hover {
  background-color: rgba(37, 211, 102, 0.2);
}

.whatsapp-number svg {
  width: 20px;
  height: 20px;
  color: #25D366;
}

.whatsapp-number span,
.whatsapp-number {
  color: #2E6B4E;
  font-weight: 500;
  font-size: 14px;
}

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

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.whatsapp-btn .pulse {
  position: absolute;
  inset: 0;
  background-color: #25D366;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ==================== SELECTION ==================== */
::selection {
  background-color: #6DBE8A;
  color: #fff;
}

/* ==================== FOCUS ==================== */
:focus-visible {
  outline: 2px solid #6DBE8A;
  outline-offset: 2px;
}
