/* ==========================================================================
   VARIABLES & THEME SYSTEM
   ========================================================================== */
:root {
  /* Colors - Primary Palette */
  --primary: #c89d54;
  --primary-hover: #b8893d;
  --secondary: #75806a;
  --secondary-hover: #66725c;
  
  /* Colors - Neutral & Dark */
  --text-main: #2d2b29;
  --text-muted: #525c52;
  --text-light: #6a756a;
  
  /* Fundo das Sessões - Verde suave (#c7e5c7) */
  --bg-main: #c7e5c7; 
  --bg-card: #ffffff;
  --bg-accent: #b8deb8;
  --bg-light: #d6ebd6;
  
  /* Colors - UI Elements */
  --border-color: #b1d4b1;
  --star-rating: #fbbc05;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 15px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);

  /* Fonts */
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
.section-tag {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 600;
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  margin-top: 15px;
  color: var(--text-main);
}

.section-title-left {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  margin-top: 10px;
}

.section-description {
  max-width: 650px;
  margin: 15px auto 60px;
  text-align: center;
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 16px;
}

/* Buttons */
.btn-primary {
  background: green;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 40px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--text-main);
}

.btn-outline {
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 14px 34px;
  border-radius: 40px;
  transition: all 0.35s ease;
  font-size: 15px;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 226, 218, 0.5);
  transition: all 0.3s ease;
}

@media (min-width: 1025px) {
  header {
    position: sticky;
    top: 0;
    box-shadow: var(--shadow-sm);
  }
}

.navbar {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
}

.logo span {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 2px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 42px);
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

.btn-header {
  background: green;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 40px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("../img/primeira.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 5;
  color: #fff;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.1;
  font-weight: 500;
  max-width: 760px;
}

.hero p {
  margin-top: 25px;
  font-size: clamp(16px, 2vw, 22px);
  color: #efefef;
  max-width: 650px;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.slider {
  margin-top: 60px;
  display: flex;
  gap: 10px;
}

.slider span {
  width: 36px;
  height: 4px;
  background: #fff;
  opacity: 0.35;
  border-radius: 10px;
}

.slider .active {
  background: var(--primary);
  opacity: 1;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: clamp(60px, 10vw, 130px) 0;
  background: var(--bg-main);
}

.about-container {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.about-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 25px;
  color: var(--text-main);
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.about-footer h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
}

.about-footer span {
  color: var(--text-light);
  font-size: 14px;
}

/* ==========================================================================
   GOOGLE REVIEWS
   ========================================================================== */
.google-reviews {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg-main);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.google-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.google-title img {
  width: 60px;
}

.google-title h2 {
  margin: 0;
  font-size: 2rem;
  font-family: var(--font-serif);
}

.rating {
  margin-top: 8px;
  color: var(--star-rating);
  font-size: 20px;
  font-weight: 600;
}

.rating span {
  color: var(--text-main);
  margin-left: 10px;
}

.btn-google {
  background: green;
  color: #fff;
  padding: 15px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-google:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.review-top h4 {
  margin: 0;
  font-size: 18px;
}

.review-top span {
  color: var(--star-rating);
  font-size: 18px;
}

.review-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   STATISTICS
   ========================================================================== */
.stats {
  padding: 20px 0 clamp(60px, 8vw, 120px);
  background: var(--bg-main);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 30px 25px;
  transition: all 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-sm);
}

.stat-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-card p {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding-bottom: clamp(60px, 10vw, 130px);
  background: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 35px 30px;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 15px;
  flex-grow: 1;
}

.service-card a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card a:hover {
  color: var(--primary);
}

/* ==========================================================================
   FEATURES (DIFERENCIAIS)
   ========================================================================== */
.features {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bg-main);
}

.features-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.feature-card span {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.4;
  font-weight: 500;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery {
  padding: clamp(60px, 10vw, 130px) 0;
  background: var(--bg-main);
}

.gallery-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.gallery-filter button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  color: var(--text-muted);
}

.gallery-filter .active,
.gallery-filter button:hover {
  background: var(--secondary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 26px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.tall {
  grid-row: span 2;
}

/* ==========================================================================
   INTEGRATIVE HEALTH
   ========================================================================== */
.integrative {
  padding: clamp(60px, 10vw, 140px) 0;
  background: var(--bg-main);
}

.integrative-row {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 430px);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 120px);
}

.integrative-row:last-child {
  margin-bottom: 0;
}

.integrative-row.reverse {
  grid-template-columns: minmax(300px, 430px) 1fr;
}

.integrative-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  margin: 15px 0 25px;
  color: var(--text-main);
  line-height: 1.15;
}

.integrative-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.integrative-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.integrative-image img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.integrative-image:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   CTA (CALL TO ACTION)
   ========================================================================== */
.cta {
  background: var(--bg-accent);
  padding: clamp(60px, 8vw, 110px) 0;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-main);
}

.cta p {
  margin: 20px auto 35px;
  max-width: 650px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: green;
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 40px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.cta-button:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.map {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map iframe,
.map img {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  object-fit: cover;
}

.btn-maps {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-maps:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  margin: 10px 0 30px;
  line-height: 1.15;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-item i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #3e6b11;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 18px;
}

.contact-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-accent);
  margin-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--border-color);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(50px, 6vw, 80px) 0 50px;
}

.footer-brand h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.footer-brand p {
  max-width: 420px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--secondary);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-4px);
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--text-main);
  font-family: var(--font-serif);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-contact p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  text-align: center;
  padding: 22px 15px;
  color: var(--text-light);
  font-size: 14px;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE COMPLETA)
   ========================================================================== */

/* Tablets em modo paisagem / Desktops pequenos (≤ 1024px) */
@media (max-width: 1024px) {
  .stats-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-container,
  .integrative-row,
  .integrative-row.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .integrative-row.reverse .integrative-image {
    order: -1;
  }

  .map iframe,
  .map img {
    height: 380px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* Tablets em modo retrato e Celulares grandes (≤ 768px) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reviews-header {
    flex-direction: column;
    text-align: center;
  }

  .google-title {
    flex-direction: column;
  }

  .gallery-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.tall {
    grid-row: auto;
  }

  .map iframe,
  .map img {
    height: 320px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* ==========================================================================
   SMARTPHONES PEQUENOS (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {

  .stats-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    width: 100%;
    justify-content: center;
  }

  .gallery-filter button {
    width: 100%;
  }

  .about-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-footer .btn-outline {
    width: 100%;
    text-align: center;
  }

  /* GALERIA */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 20px;
  }

  .gallery-item {
    height: auto;
    overflow: hidden;
    border-radius: 18px;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .gallery-item.tall {
    grid-row: auto;
  }

  /* MAPA */
  .map iframe,
  .map img {
    height: 260px;
  }
}