/* ====== Tokens ====== */
:root {
  --pink-50:  #fff5f8;
  --pink-100: #ffe3ec;
  --pink-200: #ffc9dc;
  --pink-300: #ffa9c6;
  --pink-400: #f886ac;
  --pink-500: #ee6a97;
  --pink-600: #d94f7d;
  --pink-700: #b13a64;

  --peach-100: #fff1e6;
  --peach-300: #ffd3b0;
  --peach-400: #ffb98a;
  --peach-500: #f79a5c;

  --gold-400: #e8c07d;
  --gold-500: #d9a955;

  --ink-900: #3a2b32;
  --ink-700: #5c4750;
  --ink-500: #8a747c;
  --ink-300: #c9b8bf;

  --cream: #fffaf7;
  --white: #ffffff;

  --font-head: "Playfair Display", "Nunito", system-ui, serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;

  --shadow-soft: 0 12px 30px rgba(217, 79, 125, 0.14);
  --shadow-card: 0 8px 24px rgba(217, 79, 125, 0.10);

  --header-height: 84px;
}

/* ====== Reset ====== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
#topo, #sobre, #especialidades, #diferencial, #galeria, #depoimentos, #localizacao {
  scroll-margin-top: var(--header-height);
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink-900); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; color: var(--ink-700); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-eyebrow {
  display: inline-block;
  font-weight: 800;
  color: var(--pink-600);
  background: var(--pink-100);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.section-sub { color: var(--ink-500); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #4fce5d, #2fb548);
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 181, 72, .28);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(47, 181, 72, .35); }
.icon-wpp { width: 20px; height: 20px; fill: currentColor; }
.btn-outline {
  border-color: var(--pink-300);
  color: var(--pink-600);
  background: var(--white);
}
.btn-outline:hover { background: var(--pink-50); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 247, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pink-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.25rem; }
.brand-heart { height: 22px; width: auto; display: block; }
.brand-text strong { color: var(--pink-600); }

.nav {
  display: none;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}
.nav a { color: var(--ink-700); font-size: .95rem; }
.nav a:hover { color: var(--pink-600); }
.nav-cta { padding: 10px 20px; font-size: .9rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--pink-100);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--pink-600);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav {
    display: flex;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    border-radius: 0 0 24px 24px;
  }
  .nav.open { display: flex; }
  .nav-cta { align-self: stretch; justify-content: center; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 80px;
  min-height: calc(100vh - var(--header-height) + 60px);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(100deg, rgba(255, 245, 248, .92) 0%, rgba(255, 245, 248, .8) 35%, rgba(255, 245, 248, .35) 55%, rgba(255, 245, 248, .15) 75%),
    url("../assets/img/hero-bg-consultorio.webp");
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}
.eyebrow {
  display: inline-block;
  background: var(--white);
  color: var(--pink-600);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
  font-size: .85rem;
}
.hero-text h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
}
.highlight { color: var(--pink-600); font-style: italic; position: relative; }
.hero-lede { font-size: 1.05rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }
.hero-social { display: flex; flex-direction: column; gap: 4px; font-weight: 700; color: var(--ink-500); font-size: .9rem; }
.ig-badge { color: var(--pink-600); }

.hero-figure { position: relative; display: flex; justify-content: center; }
.hero-photo-frame {
  position: relative;
  width: min(440px, 88vw);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--pink-200), var(--peach-300));
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 85%; }
.hero-photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  gap: 8px;
}
.hero-photo-fallback span { font-size: 3rem; }
.hero-photo-fallback p { color: var(--white); font-weight: 700; margin: 0; }
.img-fallback .hero-photo { display: none; }
.img-fallback .hero-photo-fallback { display: flex; }

.hero-badge {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  width: calc(100% - 24px);
  max-width: 300px;
  font-size: .8rem;
}
.hero-badge strong { display: block; font-family: var(--font-head); color: var(--pink-600); font-size: .95rem; }
.hero-badge span { color: var(--ink-500); }

.hero-sticker { position: absolute; font-size: 1.6rem; }
.sticker-1 { top: 10px; left: -6px; }
.sticker-2 { bottom: 40px; right: -8px; }

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

/* ====== Sobre ====== */
.about-inner { display: grid; gap: 40px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-card strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--pink-600); }
.stat-card span { font-size: .78rem; color: var(--ink-500); }

.about-visual { display: none; position: relative; }
.about-photo-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
}
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

@media (min-width: 960px) {
  .about-inner { grid-template-columns: 1.2fr .8fr; }
  .about-visual { display: block; }
}

/* ====== Especialidades ====== */
.section-especialidades { background: var(--pink-50); border-radius: var(--radius-lg); margin: 0 16px; }
.specialties-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.specialty-card {
  flex: 1 1 260px;
  max-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.specialty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.specialty-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--pink-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.specialty-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.specialty-card p { font-size: .9rem; margin: 0; }

/* ====== Diferencial ====== */
.diferencial-inner { display: grid; gap: 40px; align-items: center; }
.diferencial-visual { display: flex; justify-content: center; position: relative; }
.diferencial-visual::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(177, 58, 100, .35) 0%, rgba(177, 58, 100, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.diferencial-photo {
  width: min(380px, 82vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}
.diferencial-list { display: grid; gap: 14px; margin-top: 20px; }
.diferencial-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--ink-900); }
.diferencial-list li span { font-size: 1.3rem; }

@media (min-width: 960px) {
  .diferencial-inner { grid-template-columns: .8fr 1.2fr; }
}

/* ====== Equipe ====== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--pink-100);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role {
  display: block;
  font-weight: 700;
  color: var(--pink-600);
  font-size: .85rem;
  margin-bottom: 2px;
}
.team-cred {
  display: block;
  color: var(--ink-500);
  font-size: .78rem;
  margin-bottom: 10px;
}
.team-card p { font-size: .88rem; margin-bottom: 14px; }
.team-social {
  display: inline-block;
  font-weight: 700;
  color: var(--pink-600);
  font-size: .85rem;
}
.team-social:hover { text-decoration: underline; }

/* ====== Galeria ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 2/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-facade {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-color: #000;
  cursor: pointer;
}
.yt-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .65);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding-left: 4px;
}

@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ====== Depoimentos ====== */
.section-depoimentos { background: linear-gradient(180deg, var(--peach-100), var(--cream)); border-radius: var(--radius-lg); margin: 0 16px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 20px;
  box-shadow: var(--shadow-card);
  margin: 0;
  position: relative;
}
.testimonial-card p { font-style: italic; color: var(--ink-900); margin-bottom: 12px; font-size: .88rem; }
.testimonial-card footer { font-weight: 700; color: var(--pink-600); font-size: .8rem; }
.testimonial-card::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--pink-200);
  position: absolute;
  top: 4px;
  right: 18px;
  line-height: 1;
}
.testimonial-stars {
  display: block;
  color: var(--gold-500);
  font-size: 1.2rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-300), var(--peach-400));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testimonial-head strong { display: block; font-size: .9rem; color: var(--ink-900); }

/* ====== Localização ====== */
.localizacao-inner { display: grid; gap: 32px; }
.info-list { display: grid; gap: 20px; margin: 22px 0 28px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pink-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-list strong { color: var(--ink-900); }
.localizacao-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 960px) {
  .localizacao-inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .localizacao-map { height: 100%; min-height: 380px; }
}

/* ====== CTA final ====== */
.section-cta {
  background: linear-gradient(135deg, var(--pink-500), var(--peach-500));
  padding: 70px 0;
  text-align: center;
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 40px 16px;
}
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-heart { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.section-cta h2 { color: var(--white); }
.section-cta p { color: rgba(255,255,255,.92); margin-bottom: 26px; }
.section-cta .btn-whatsapp { background: var(--white); color: #2fb548; box-shadow: 0 10px 24px rgba(0,0,0,.15); }

/* ====== Footer ====== */
/* ====== Padrão de coraçõezinhos (identidade visual da clínica) ====== */
.hero, .section-sobre, .section-diferencial, .section-depoimentos, .section-localizacao, .site-footer {
  position: relative;
  overflow: hidden;
}
.section-sobre::before,
.section-diferencial::before,
.section-depoimentos::before,
.section-localizacao::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .85;
  pointer-events: none;
  background-image: url("../assets/img/hero-pattern.webp");
  background-size: 836px auto;
  background-repeat: repeat;
  background-attachment: fixed;
}
.hero > .container,
.section-sobre > .container,
.section-diferencial > .container,
.section-depoimentos > .container,
.section-localizacao > .container,
.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}
.footer-brand { justify-content: center; margin-bottom: 14px; }
.site-footer p { font-size: .88rem; color: var(--ink-500); margin-bottom: 6px; }
.footer-ig a { color: var(--pink-600); font-weight: 700; }
.footer-cnpj { font-size: .78rem; opacity: .65; margin-top: 10px; }
.footer-copy { margin-top: 14px; opacity: .7; }

/* ====== WhatsApp floating button ====== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #4fce5d, #2fb548);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(47,181,72,.4);
  z-index: 60;
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,181,72,.45); }
  70% { box-shadow: 0 0 0 14px rgba(47,181,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,181,72,0); }
}

@media (min-width: 900px) {
  .whatsapp-float { display: none; }
}

/* ====== Compactação mobile ====== */
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .section-eyebrow { margin-bottom: 10px; font-size: .78rem; padding: 5px 14px; }
  .section-head h2 { font-size: 1.5rem; }

  .hero { padding: 36px 0 56px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-lede { font-size: .95rem; }
  .hero-actions { gap: 10px; margin: 18px 0 16px; }
  .hero-figure { margin-top: 8px; }
  .hero-badge { bottom: -14px; padding: 8px 16px; }

  .about-inner { gap: 26px; }
  .about-stats { gap: 8px; margin-top: 20px; }
  .stat-card { padding: 12px 8px; }
  .stat-card strong { font-size: 1.2rem; }
  .stat-card span { font-size: .7rem; }

  .specialties-grid { gap: 10px; }
  .specialty-card { flex-basis: calc(50% - 5px); max-width: calc(50% - 5px); padding: 14px 12px; }
  .specialty-icon { width: 40px; height: 40px; font-size: 1.15rem; margin-bottom: 8px; }
  .specialty-card h3 { font-size: .88rem; margin-bottom: 4px; line-height: 1.25; }
  .specialty-card p { font-size: .76rem; line-height: 1.35; }

  .diferencial-inner { gap: 22px; }
  .diferencial-photo { width: min(260px, 68vw); }
  .diferencial-list { gap: 10px; margin-top: 14px; }

  .gallery-grid { gap: 8px; }

  .testimonials-grid { gap: 12px; }
  .testimonial-card { padding: 16px 16px; }
  .testimonial-head { margin-bottom: 10px; }
  .testimonial-avatar { width: 34px; height: 34px; font-size: .85rem; }

  .localizacao-inner { gap: 20px; }
  .info-list { gap: 14px; margin: 16px 0 20px; }
  .localizacao-map { height: 220px; }

  .section-cta { padding: 40px 0; margin: 24px 12px; }
  .cta-heart { font-size: 2rem; }

  .site-footer { padding: 32px 0 80px; }
}
