:root {
  --primary-color: #2E8B57;
  /* Verde floresta */
  --secondary-color: #D4AF37;
  /* Dourado */
  --accent-color: #F5F5DC;
  /* Bege */
  --light-color: #F8F9FA;
  --dark-color: #333333;
  --text-color: #495057;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

/* ==================== HEADER ==================== */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  /* Adicionado para remover sublinhado do link */
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-subtext {
  font-size: 14px;
  color: var(--secondary-color);
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #ddd;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: none;
  min-height: 100svh;
  /* Melhor para browsers mobile com barras dinâmicas */
  height: 100svh;
  display: flex;
  align-items: center;
  color: white;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.7) 0%, rgba(212, 175, 55, 0.6) 100%);
  z-index: 2;
}

.hero-content {
  max-width: 700px;
  z-index: 3;
  position: relative;
}

.hero .hero-title {
  /* Seletor mais específico, sem !important */
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: 300;
  color: white;
}

.hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-style: italic;
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid white;
}

.cta-button:hover {
  background-color: transparent;
  color: white;
}

.cta-button.secondary {
  background-color: transparent;
  border-color: white;
  color: white;
}

.cta-button.secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

/* ==================== ABOUT SECTION ==================== */
.about {
  padding: 100px 0;
  background-color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-text p i {
  color: var(--primary-color);
  margin-right: 8px;
}

.specialty-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 5px;
  font-weight: 600;
  margin-top: 20px;
  border-left: 4px solid var(--primary-color);
}

/* ==================== SERVICES SECTION ==================== */
.services {
  padding: 100px 0;
  background-color: var(--accent-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  border-top: 4px solid var(--primary-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* ==================== NUTRIESSENCE SECTION ==================== */
.nutriessence {
  padding: 100px 0;
  background-color: white;
}

.nutriessence-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.nutriessence-info {
  padding: 30px;
}

.nutriessence-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.nutriessence-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==================== APPOINTMENT SECTION ==================== */
.appointment {
  padding: 100px 0;
  background-color: white;
}

.appointment-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
}

#appointment-form {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.2);
}

.required {
  color: #e74c3c;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

.submit-btn {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 1.1rem;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.whatsapp-info {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(46, 139, 87, 0.1);
  border-radius: 5px;
  font-size: 0.9rem;
}

/* ==================== CONTACT SECTION (UNIFICADO) ==================== */
.contact {
  padding: 100px 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.contact-item p,
.contact-item address {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
  font-style: normal;
  /* Reset para a tag address */
}

.contact-item a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-link:hover {
  transform: translateY(-5px);
  background-color: var(--secondary-color);
}

/* ==================== FOOTER ==================== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ccc;
}

.dev {
  color: var(--primary-color);
  text-decoration: none;
}

.dev:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .hero {
    min-height: 90svh;
    height: 90svh;
  }

  .hero-slide {
    background-position: 60% center;
  }
}

@media (max-width: 992px) {

  .about-content,
  .contact-grid,
  .nutriessence-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80svh;
    height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-slide {
    background-position: 65% center;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    /* Adicionar JS para toggle no futuro */
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: 70svh;
    padding: 100px 0 50px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-slide {
    background-position: 70% center;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .appointment-container {
    padding: 20px;
    margin: 0 10px;
  }

  .instagram-embed-container {
    margin-top: 40px;
  }

  .contact-grid {
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60svh;
    padding: 90px 0 40px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-slide {
    background-position: 75% center;
  }
}

/* ==================== ABOUT VIDEO ==================== */
.about-video {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  background-color: #000;
}

.about-video:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary-color);
  border-radius: 10px;
  top: 15px;
  left: 15px;
  z-index: -1;
}

.about-video video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}

.about-video:hover video {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-video video {
    max-height: 400px;
    object-fit: cover;
  }
}

/* ==================== INSTAGRAM EMBED ==================== */
.instagram-embed-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.instagram-media {
  margin: 0 auto !important;
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
  padding: 100px 0;
  background-color: var(--accent-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  aspect-ratio: 4 / 5; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.gallery-item img:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

