/* ===========================
   BALANCE SAÚDE INTEGRADA
   Design System
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- Tokens --- */
:root {
  --gold: #C49A45;
  --gold-light: #D4AA5A;
  --gold-pale: #F5EDD8;
  --dark: #1A1A1A;
  --gray: #6B6B6B;
  --bg: #F9F7F4;
  --bg-section: #EFEBE3;
  --white: #FFFFFF;
  --border: #E0D8C8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1140px;
  --nav-h: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.15;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: 0.06em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 0.05em; line-height: 1.2; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); letter-spacing: 0.04em; }
h4 { font-size: 1.1rem; letter-spacing: 0.06em; }

p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }
p.lead { font-size: 1.05rem; color: var(--dark); }

/* Signature: linha dourada à esquerda de headlines de seção */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }
section.compact { padding: 60px 0; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(249,247,244,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo .text-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--dark);
}
.nav-logo .text-logo span { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { transform: scaleX(1); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, top 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  top: calc(100% + 8px);
}
.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown a:hover { color: var(--gold); background: var(--bg); }
.nav-dropdown a::after { display: none; }

.nav-cta {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  padding: 12px 28px !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }

.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--dark);
  font-size: 0.95rem;
  margin-left: 24px;
  transition: all 0.25s;
  flex-shrink: 0;
}
.nav-instagram:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg) 55%, var(--bg-section) 100%);
}
.hero-accent {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: var(--bg-section);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero-content h1 { color: var(--dark); margin-bottom: 28px; }
.hero-content h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-content p.lead {
  margin-bottom: 44px;
  font-size: 1rem;
  color: var(--gray);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: #B08A35; }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

.hero-info {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 2;
  align-items: flex-end;
}
.hero-stat {
  text-align: right;
  position: relative;
  padding-bottom: 40px;
}
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 1px;
  background: var(--border);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 8px;
}

/* --- About Strip --- */
.about-strip {
  background: var(--dark);
  padding: 80px 0;
}
.about-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-strip h2 { color: var(--white); }
.about-strip h2 em { color: var(--gold); font-style: italic; }
.about-strip p { color: rgba(255,255,255,0.6); margin-top: 20px; }
.about-strip .section-label { color: rgba(196,154,69,0.8); }
.about-strip .section-label::before { background: var(--gold); opacity: 0.6; }
.about-features { display: flex; flex-direction: column; gap: 28px; }
.about-feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
}
.about-feature-text h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.about-feature-text p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* --- Services Grid --- */
.services { background: var(--bg); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  padding: 48px 40px;
  transition: background 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.service-card:hover { background: var(--gold-pale); }
.service-card .service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--gold); }
.service-card h3 {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.85rem; color: var(--gray); }
.service-card .service-arrow {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-8px);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* --- Testimonial --- */
.testimonial {
  background: var(--bg-section);
  text-align: center;
  padding: 100px 0;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.testimonial blockquote::before {
  content: '"';
  display: block;
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 24px;
  font-style: normal;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.testimonial-dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.testimonial-dots button.active { background: var(--gold); width: 24px; border-radius: 3px; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--gold);
  padding: 80px 0;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 8px; }
.btn-white {
  background: var(--white);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 36px;
  flex-shrink: 0;
  transition: all 0.25s;
}
.btn-white:hover { background: var(--dark); color: var(--white); }

/* --- Location --- */
.location { background: var(--bg); }
.location .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.location-info h2 { margin-bottom: 32px; }
.location-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.location-detail .icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.9rem;
}
.location-detail p { font-size: 0.9rem; }
.location-detail strong { color: var(--dark); display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.map-container {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-section);
  overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* --- Footer --- */
footer {
  background: var(--dark);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .text-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand .text-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); max-width: 280px; }
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 160px 0 80px;
  background: var(--bg-section);
  text-align: center;
}
.page-header .section-label { justify-content: center; }
.page-header .section-label::before { display: none; }
.page-header h1 { margin-top: 12px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-strip .container { grid-template-columns: 1fr; gap: 48px; }
  .location .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-info { display: none; }
  .hero-accent { width: 30%; }
}

@media (max-width: 680px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 8px 0 0 16px;
    opacity: 1;
    pointer-events: all;
  }
  .nav-toggle { display: flex; }
  .nav-instagram { margin-left: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner .container { flex-direction: column; text-align: center; }
}
