/* ── Design tokens (MVP Nuva Face) ── */
:root {
  --white: #ffffff;
  --off: #f7f5f0;
  --sand: #c8b8a6;
  --sand-light: #e8e0d6;
  --graphite: #1f1f1f;
  --graphite-mid: #2b2b2b;
  --graphite-soft: #3d3d3d;
  --text-muted: #525252;
  --gold-dark: #8a7048;
  --gold: #b89a63;
  --gold-mid: #c9a96e;
  --gold-light: #e2cfa0;
  --gold-shine: #f0e4cc;
  --gold-gradient: linear-gradient(
    105deg,
    var(--gold-dark) 0%,
    var(--gold-mid) 28%,
    var(--gold-light) 50%,
    var(--gold-mid) 72%,
    var(--gold-dark) 100%
  );

  /* Hero taglines — degradê bem suave, quase uniforme */
  --gold-gradient-hero: linear-gradient(
    105deg,
    #7a623f 0%,
    #c4a56a 42%,
    #c6a86f 50%,
    #c4a56a 58%,
    #7a623f 100%
  );

  --font-brand: "Josefin Sans", system-ui, sans-serif;

  --header-h: 76px;
  --section-pad: clamp(72px, 10vw, 120px);
  --container-pad: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 40px rgba(43, 43, 43, 0.06);
  --shadow-lg: 0 20px 60px rgba(43, 43, 43, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

/* ── Reset & base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
  font-family: var(--font-brand);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

address {
  font-style: normal;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Typography ── */
.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--off);
}

.section--dark {
  background: #141414;
  color: var(--white);
}

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section-label--light {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 200;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}

.text-brand {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.72rem;
}

.btn--primary {
  background: var(--graphite);
  color: var(--white);
  border-color: var(--graphite);
}

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn--dark {
  background: var(--graphite);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--graphite);
  border-color: var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--graphite);
  border-color: var(--white);
}

.btn--gold {
  background: var(--gold-gradient);
  color: var(--graphite);
  border-color: var(--gold-mid);
  font-weight: 500;
}

.btn--gold:hover {
  filter: brightness(1.08);
  color: var(--graphite);
  transform: translateY(-1px);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: rgba(200, 184, 166, 0.35);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--graphite);
}

.logo--menu {
  gap: 12px;
}

.logo__symbol {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo__wordmark {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--graphite);
  white-space: nowrap;
}

/* Logo dourada oficial */
.brand-logo {
  margin: 0;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Fundo claro (card do hero) — logo integra ao branco */
.brand-logo--on-light {
  margin: 0 auto 18px;
}

.brand-logo--on-light img {
  width: min(180px, 75%);
  max-height: 115px;
}

/* Card do hero — quadro compacto, logo em destaque */
.hero__card .brand-logo--on-light {
  margin-bottom: 14px;
}

.hero__card .brand-logo--on-light img {
  width: min(300px, 96%);
  max-height: 210px;
}

/* Fundo escuro (contato, rodapé) — PNG dourado com transparência real */
.section--dark .brand-logo--on-dark {
  justify-content: flex-start;
  align-self: start;
}

.section--dark .brand-logo--on-dark img {
  width: min(180px, 42vw);
  max-height: 118px;
  object-fit: contain;
}

.footer .brand-logo--on-dark img {
  width: min(150px, 38vw);
  max-height: 98px;
  object-fit: contain;
  image-rendering: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--graphite);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--graphite);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 20%, rgba(200, 184, 166, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(184, 154, 99, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, var(--off) 0%, var(--off) 36%, var(--white) 58%, var(--white) 100%);
}

.hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background: url("photos/hero-portrait.jpg") 58% 38% / cover no-repeat;
  opacity: 0.62;
  filter: saturate(0.92) brightness(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 16%, rgba(0, 0, 0, 0.75) 36%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 16%, rgba(0, 0, 0, 0.75) 36%, #000 52%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--off) 0%, rgba(247, 245, 240, 0.88) 30%, rgba(247, 245, 240, 0.42) 58%, rgba(247, 245, 240, 0.12) 82%, transparent 100%),
    linear-gradient(180deg, rgba(247, 245, 240, 0.08) 0%, transparent 42%, rgba(255, 255, 255, 0.32) 100%);
  pointer-events: none;
}


.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 80px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-lines {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-lines span:first-child,
.brand-lines__sub {
  text-transform: uppercase;
  background: var(--gold-gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-lines span:first-child {
  font-size: clamp(0.65rem, 1.4vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.22em;
}

.brand-lines__sep {
  opacity: 0.72;
  margin-inline: 0.35em;
  -webkit-text-fill-color: initial;
  color: var(--gold-dark);
}

.brand-lines__sub {
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  font-weight: 300;
  letter-spacing: 0.26em;
}

.hero__title {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 200;
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: 0.06em;
  color: var(--graphite);
  text-transform: none;
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__trust li {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero__trust li::before {
  content: "— ";
  color: var(--gold);
}

.hero__card {
  align-self: center;
  width: 100%;
  max-width: 360px;
  justify-self: end;
}

.hero__card-inner {
  background: var(--white);
  border: 1px solid rgba(200, 184, 166, 0.55);
  padding: clamp(24px, 3vw, 32px) clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero__card-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.hero__card-divider {
  height: 1px;
  background: var(--gold-gradient);
  margin-bottom: 18px;
  opacity: 0.6;
}

.hero__card-address {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--graphite);
}

.hero__card-phone {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--graphite-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.hero__card-phone:hover {
  color: var(--gold-dark);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(184, 154, 99, 0.4);
  border-radius: 12px;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ── Filosofia ── */
.filosofia {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--graphite-mid);
  color: var(--white);
}

.filosofia__inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.filosofia .section-label {
  color: var(--sand);
}

.filosofia__quote {
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 200;
  font-style: italic;
  line-height: 1.65;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--white);
}

/* ── Clínica ── */
.clinica__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.clinica__text p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.clinica__text p:last-child {
  margin-bottom: 0;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(200, 184, 166, 0.5);
}

.pillar {
  background: var(--white);
  padding: 28px 24px;
}

.section--alt .pillar {
  background: var(--off);
}

.pillar__accent {
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold-gradient);
}

.pillar h3 {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pillar h3 {
  color: var(--graphite);
}

/* ── Estrutura ── */
.estrutura__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.estrutura__item h3 {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 20px 0 8px;
}

.estrutura__item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.estrutura__item h3 {
  color: var(--graphite);
}

.estrutura__visual {
  aspect-ratio: 4/3;
  background: var(--off);
  border: 1px solid rgba(200, 184, 166, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.estrutura__num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 200;
  letter-spacing: 0.08em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.45;
}

/* ── Cards (Especialidades) ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  padding: clamp(28px, 3vw, 36px);
  border: 1px solid rgba(200, 184, 166, 0.55);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__accent {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 20px;
  flex-shrink: 0;
  background: var(--gold-gradient);
}

.card__title {
  font-family: var(--font-brand);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 16px;
  min-height: 2.8em;
  max-width: 16em;
}

.card__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ── Equipe ── */
.equipe__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(32px, 4vw, 48px);
}

.profile {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 28px);
  height: 100%;
  padding: clamp(28px, 4vw, 40px);
  background: var(--off);
  border: 1px solid rgba(200, 184, 166, 0.55);
}

.profile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 100%;
}

.profile__initials {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  border: 1px solid rgba(184, 154, 99, 0.45);
  background: var(--white);
}

.profile__header {
  margin-bottom: clamp(14px, 2.5vw, 18px);
  min-height: 4.25rem;
}

.profile__name {
  font-family: var(--font-brand);
  font-size: clamp(0.86rem, 1.45vw, 0.98rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  text-wrap: balance;
  margin: 0 0 8px;
  hyphens: none;
}

.profile__role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.45;
  margin: 0;
  min-height: 2.2rem;
  hyphens: none;
}

.profile__role-part {
  white-space: nowrap;
}

.profile__bio {
  flex: 1;
  font-size: 0.94rem;
  font-weight: 300;
  color: var(--text-muted);
  margin: 0;
  padding-bottom: 1.65em;
  line-height: 1.65;
  text-align: justify;
  text-wrap: pretty;
  hyphens: none;
}

@media (min-width: 769px) {
  .equipe__grid .profile__bio {
    text-align: justify;
  }
}

.profile__reg {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(200, 184, 166, 0.45);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0;
}

/* ── Contato ── */
.contato__intro {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contato__intro-text {
  min-width: 0;
}

.contato__intro-text .section-label {
  margin-bottom: 10px;
}

.contato__intro-text .section-title {
  margin-bottom: 20px;
}

.contato__lead {
  margin: 0 0 28px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

.contato__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contato__actions--intro {
  margin-top: 0;
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.contato__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contato-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 22px;
}

.contato-card--wide {
  grid-column: 1 / -1;
}

.contato-card h3 {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.contato-card__hint {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.contato-card a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.contato-card a:hover {
  color: var(--gold-light);
}

.contato-card__address {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white);
}

.horarios {
  list-style: none;
  margin: 0;
  padding: 0;
}

.horarios li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.horarios li strong {
  color: var(--white);
  font-weight: 500;
}

.horarios__note {
  font-size: 0.9rem;
}

.contato__map {
  position: relative;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contato__map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.contato__map-link {
  display: block;
  padding: 14px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-light);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: color var(--transition);
}

.contato__map-link:hover {
  color: var(--white);
}

/* ── Footer ── */
.footer {
  background: #1e1e1e;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "logo meta"
    "copy copy";
  align-items: center;
  gap: 20px 32px;
}

.footer__brand {
  grid-area: logo;
  text-decoration: none;
  line-height: 0;
}

.footer__meta {
  grid-area: meta;
  justify-self: end;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.footer__phone,
.footer__social {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--sand);
  letter-spacing: 0.04em;
}

.footer__phone:hover,
.footer__social:hover {
  color: var(--gold-light);
}

.footer__sep {
  color: rgba(255, 255, 255, 0.35);
}

.footer__copy {
  grid-area: copy;
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.85;
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero: visível ao abrir (sem esperar scroll) */
.hero .reveal {
  opacity: 1;
  transform: none;
}

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  .btn:hover { transform: none; }
  .card:hover { transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(20px, 4vw, 32px);
    padding-block: clamp(28px, 5vw, 48px);
  }

  .hero__card {
    order: -1;
    max-width: 300px;
    width: 100%;
    margin-inline: auto;
  }

  .hero__card-inner {
    padding: clamp(16px, 4vw, 22px) clamp(18px, 4vw, 24px);
  }

  .hero__card-extra {
    display: none;
  }

  .hero__card .brand-logo--on-light {
    margin-bottom: 0;
  }

  .hero__card .brand-logo--on-light img {
    max-height: 150px;
    width: min(260px, 92%);
  }

  .hero__content {
    order: 0;
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__bg::before {
    top: 26%;
    right: 0;
    width: 100%;
    height: 54%;
    opacity: 0.66;
    background-position: 76% 36%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.8) 52%, #000 68%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.8) 52%, #000 68%);
  }

  .hero__bg::after {
    background:
      linear-gradient(180deg, var(--off) 0%, rgba(247, 245, 240, 0.9) 22%, rgba(247, 245, 240, 0.18) 40%, transparent 56%),
      linear-gradient(90deg, rgba(247, 245, 240, 0.92) 0%, rgba(247, 245, 240, 0.48) 36%, rgba(247, 245, 240, 0.06) 66%, transparent 100%);
  }

  .clinica__grid {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
  }

  .estrutura__grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .card__title {
    min-height: auto;
    max-width: none;
  }

  .equipe__grid {
    grid-template-columns: 1fr;
  }

  .contato__intro {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .section--dark .brand-logo--on-dark {
    justify-content: center;
    align-self: center;
  }

  .contato__lead {
    margin-inline: auto;
  }

  .contato__actions--intro {
    justify-content: center;
  }

  .contato__grid {
    grid-template-columns: 1fr;
  }

  .contato__map iframe {
    min-height: 360px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "meta"
      "copy";
    justify-items: center;
    text-align: center;
  }

  .footer__meta {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  .section-title {
    letter-spacing: 0.08em;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .logo__symbol {
    height: 32px;
  }

  .logo__wordmark {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }

  .header__inner {
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero__bg::before {
    top: 24%;
    height: 58%;
    opacity: 0.7;
    background-position: 80% 34%;
  }

  .hero__grid {
    padding-block: clamp(20px, 5vw, 40px);
    gap: 20px;
  }

  .brand-lines {
    margin-bottom: 14px;
  }

  .hero__title {
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
  }

  .hero__subtitle {
    margin-bottom: 20px;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    line-height: 1.6;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 16px;
    gap: 10px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--container-pad));
    padding-inline: var(--container-pad);
  }

  .hero__trust::-webkit-scrollbar {
    display: none;
  }

  .hero__trust li {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero__card {
    max-width: 260px;
  }

  .hero__card .brand-logo--on-light img {
    max-height: 130px;
    width: min(240px, 90%);
  }

  .header__cta {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .logo__symbol {
    height: 34px;
  }

  .section--dark .brand-logo--on-dark img {
    width: min(180px, 55vw);
    max-height: 120px;
  }

  .contato__cards {
    grid-template-columns: 1fr;
  }

  .contato-card--wide {
    grid-column: auto;
  }

  .horarios li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: var(--white);
    border-bottom: 1px solid rgba(200, 184, 166, 0.35);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(200, 184, 166, 0.2);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: flex;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .logo__wordmark {
    display: none;
  }

  .logo--menu {
    gap: 0;
  }

  .brand-lines span:first-child {
    letter-spacing: 0.14em;
  }

  .filosofia__quote {
    font-size: 1.05rem;
  }
}
