:root {
  /* typography — from tokens/typography.css */
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --text-h1: clamp(30px, 5.5vw, 52px);
  --text-h2: clamp(26px, 3.5vw, 36px);
  --text-h3: clamp(18px, 2.6vw, 24px);
  --text-lead: clamp(16px, 2.2vw, 19px);
  --text-base: 16.5px;
  --text-small: 14.5px;
  --text-caption: 13px;
  --leading-heading: 1.12;
  --leading-body: 1.7;

  /* spacing — from tokens/spacing.css */
  --space-section: clamp(48px, 7vw, 88px);
  --space-inline: clamp(16px, 4vw, 32px);
  --content-max: 1080px;
  --radius-card: 28px;
  --radius-panel: 36px;
  --radius-photo: 20px;
  --radius-pill: 999px;
  --radius-section: 48px;

  /* colors — corrected: green CTA (final/current), not tokens/colors.css's stale orange */
  --nc-blue: #3A97BD;
  --nc-blue-deep: #2F6F88;
  --nc-blue-soft: #D9EBF2;
  --nc-blue-mist: #EAF4F8;
  --nc-cta: #1FA463;
  --nc-cta-hover: #17864F;
  --nc-whatsapp: #25D366;
  --nc-bg: #FDFCF9;
  --nc-bg-raised: #FFFFFF;
  --nc-bg-tint: #FBF8F1;
  --nc-section-warm: #F8ECD9;
  --nc-section-cool: #E7F2F6;
  --nc-ink: #3D3A34;
  --nc-ink-soft: #6B665C;
  --shadow-card: 0 2px 12px rgba(47, 111, 136, 0.06);
  --shadow-card-hover: 0 8px 20px rgba(47, 111, 136, 0.10);
  --shadow-cta: 0 6px 18px rgba(31, 164, 99, 0.35);
}

/* ===== Reset / base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nc-bg);
  font-family: var(--font-body);
  color: var(--nc-ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--space-inline);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--cta {
  background: var(--nc-cta);
  color: #fff;
  font-size: 17px;
  padding: 15px 32px;
  box-shadow: var(--shadow-cta);
}
.btn--cta:hover {
  background: var(--nc-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(31, 164, 99, 0.4);
}
.btn--nav {
  font-size: 14px;
  padding: 9px 18px;
  box-shadow: 0 3px 10px rgba(31, 164, 99, 0.3);
}
.btn--nav:hover { background: var(--nc-cta-hover); }
.btn--lg { font-size: 17px; padding: 15px 32px; }
.btn--outline {
  color: var(--nc-blue-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border: 2px solid rgba(47, 111, 136, 0.25);
  text-decoration: none;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
}
.btn--outline:hover { background: rgba(47, 111, 136, 0.06); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 151, 189, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.site-header__logo-link { display: flex; align-items: center; text-decoration: none; }
.site-header__logo { height: 44px; width: auto; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.5vw, 24px);
}
.nav-primary__links { display: flex; align-items: center; gap: clamp(10px, 2.5vw, 24px); }
.nav-primary__links a {
  color: var(--nc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 2.5px;
  background: var(--nc-blue-deep);
  border-radius: 2px;
  display: block;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #FDF9F1;
  border-top: 1px solid rgba(58, 151, 189, 0.12);
  padding: 8px 0;
  box-shadow: 0 12px 24px rgba(47, 111, 136, 0.12);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  color: var(--nc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFEFB 0%, #FBF6EC 100%);
  border-radius: 0 0 48% 48% / 0 0 6% 6%;
  padding: clamp(40px, 7vw, 80px) 20px clamp(56px, 8vw, 96px);
  text-align: center;
}
.hero__blob { position: absolute; border-radius: 55% 45% 50% 50% / 50% 55% 45% 50%; background: rgba(58, 151, 189, 0.08); }
.hero__blob--1 { left: -90px; top: -60px; width: 260px; height: 260px; }
.hero__blob--2 { right: -80px; bottom: -70px; width: 230px; height: 230px; border-radius: 45% 55% 55% 45% / 55% 45% 55% 45%; background: rgba(58, 151, 189, 0.06); }
.hero__inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero h1 {
  font-weight: 700;
  font-size: var(--text-h1);
  line-height: var(--leading-heading);
  color: var(--nc-blue-deep);
  text-wrap: balance;
}
.hero__lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--nc-ink-soft);
  max-width: 520px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  font-size: 13.5px;
  color: var(--nc-ink-soft);
  font-weight: 600;
}
/* ===== Sobre ===== */
.sobre { padding-block: var(--space-section); }
.sobre__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  justify-content: center;
}
.sobre__photo-frame {
  width: min(320px, 88vw);
  height: 320px;
  flex: none;
  border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
  overflow: hidden;
}
.sobre__photo-frame__img { width: 100%; height: 100%; object-fit: cover; }
.sobre__photo-frame__placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, var(--nc-section-warm), var(--nc-section-warm) 10px, #F2E1C4 10px, #F2E1C4 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}
.sobre__photo-frame__placeholder-label {
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  color: #8A7550;
  letter-spacing: 0.02em;
}
.sobre__text {
  flex: 1 1 320px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sobre__text h2 { font-weight: 700; font-size: var(--text-h2); color: var(--nc-blue-deep); }
.sobre__text p {
  /* intentionally distinct from --nc-ink-soft — matches design source exactly */
  font-size: var(--text-base);
  line-height: 1.75;
  color: #5C574D;
  text-wrap: pretty;
}

/* ===== Depoimento em destaque ===== */
.depoimento {
  background: var(--nc-blue-deep);
  border-radius: 40px;
  margin: 0 var(--space-inline) clamp(40px, 6vw, 72px);
  padding: clamp(36px, 6vw, 56px) clamp(20px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.depoimento h3 {
  font-weight: 600;
  font-size: var(--text-h3);
  color: #fff;
  text-align: center;
  max-width: 500px;
  text-wrap: balance;
}
.depoimento__media { width: 100%; max-width: 500px; margin: 0 auto; text-align: center; }
.depoimento__media iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: block;
}
.depoimento__media figcaption {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Terapias ===== */
.terapias { background: var(--nc-section-warm); border-radius: 40px 40px 0 0; padding-block: var(--space-section); }
.terapias__inner { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.terapias__heading { text-align: center; max-width: 560px; }
.terapias__heading h2 { font-weight: 700; font-size: var(--text-h2); color: var(--nc-blue-deep); margin-bottom: 10px; }
.terapias__heading p { font-size: var(--text-base); line-height: 1.6; color: var(--nc-ink-soft); }
.terapias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  width: 100%;
}
.card-terapia {
  background: var(--nc-bg-raised);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-terapia:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.chip-terapia {
  width: 52px;
  height: 52px;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.card-terapia:nth-child(odd) .chip-terapia { background: var(--nc-blue-soft); }
.card-terapia:nth-child(even) .chip-terapia { background: var(--nc-blue-mist); }
.card-terapia h3 { font-weight: 600; font-size: 19px; color: var(--nc-blue-deep); }
.card-terapia p { font-size: var(--text-small); line-height: 1.6; color: var(--nc-ink-soft); text-wrap: pretty; }

/* ===== Como funciona ===== */
.como-funciona { background: var(--nc-section-warm); padding: 0 var(--space-inline) var(--space-section); }
.como-funciona__panel {
  max-width: 900px;
  margin: 0 auto;
  background: var(--nc-bg-raised);
  border-radius: var(--radius-panel);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: 0 2px 14px rgba(47, 111, 136, 0.06);
}
.como-funciona__panel h2 { font-weight: 700; font-size: clamp(24px, 3vw, 32px); color: var(--nc-blue-deep); text-align: center; }
.como-funciona__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.step__num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--nc-blue-soft);
  color: var(--nc-blue-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--nc-ink); }
.step p { font-size: 14px; line-height: 1.55; color: var(--nc-ink-soft); text-wrap: pretty; }

/* ===== Equipe ===== */
.equipe { background: var(--nc-section-cool); padding-block: var(--space-section); }
.equipe__inner { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.equipe__inner > h2 { font-weight: 700; font-size: var(--text-h2); color: var(--nc-blue-deep); }
.equipe__grid { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 40px); justify-content: center; }
.member-card { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 240px; text-align: center; }
.member-card__photo { width: 220px; height: 260px; border-radius: var(--radius-photo); object-fit: cover; }
.member-card__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--nc-ink); }
.member-card__role { font-size: 13.5px; color: var(--nc-ink-soft); }

/* ===== Contato ===== */
.contato {
  background: var(--nc-blue-deep);
  border-radius: 48px 48px 0 0;
  padding: var(--space-section) var(--space-inline) clamp(32px, 5vw, 56px);
  color: #fff;
}
.contato__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  justify-content: center;
  align-items: stretch;
}
.contato__col { flex: 1 1 300px; max-width: 480px; display: flex; flex-direction: column; gap: 16px; }
.contato h2 { font-weight: 700; font-size: var(--text-h2); }
.contato p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.85); text-wrap: pretty; }
.contato address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}
.contato__whats-btn { align-self: flex-start; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.contato__tel { color: rgba(255, 255, 255, 0.85); text-decoration: underline; font-size: 14px; }
.contato__social { display: flex; gap: 12px; margin-top: 4px; }
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.social-icon:hover { background: rgba(255, 255, 255, 0.24); }

.contato__facade { border-radius: 24px; overflow: hidden; max-height: 370px; }
.contato__facade img { width: 100%; height: 100%; object-fit: cover; }
.contato__map { min-height: 170px; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.contato__map iframe { width: 100%; height: 170px; border: 0; display: block; }

.site-footer {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.site-footer a { color: rgba(255, 255, 255, 0.65); text-decoration: underline; }

/* ===== Floating WhatsApp button ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--nc-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px 0 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float span { font-size: 22px; line-height: 1; }

/* ===== Responsive nav (single breakpoint, matches design source) ===== */
.nav-primary__links { display: none; }
.hamburger { display: flex; }
.nav-mobile { display: none; }
.nav-mobile.is-open { display: flex; }

@media (min-width: 720px) {
  .nav-primary__links { display: flex; }
  .hamburger { display: none; }
  /* backstop: force-hide the dropdown at desktop widths even if .is-open lingers */
  .nav-mobile,
  .nav-mobile.is-open { display: none !important; }
}
