/* ============================================================
   Drª Daniele Moreira · Fisioterapia Pélvica
   ============================================================ */

:root {
  /* Palette */
  --bg-dark: #170D13;
  --bg-dark-soft: #1F1219;

  --paper: #F7EEF1;
  --paper-soft: #C9A8B5;

  --accent: #E0357F;
  --accent-dark: #B82568;
  --accent-tint: #F6C9DC;

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --header-h: 77px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(224, 53, 127, 0.55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(224, 53, 127, 0.6); }
.btn-small { padding: 11px 22px; font-size: 0.88rem; }
.btn-large { padding: 19px 40px; font-size: 1.05rem; }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border: 1.5px solid rgba(247, 238, 241, 0.35);
}
.btn-outline-light:hover { border-color: var(--paper); background: rgba(247, 238, 241, 0.08); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(3px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(23, 13, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(247, 238, 241, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--paper);
  white-space: nowrap;
}
.brand-role {
  padding-left: 12px;
  border-left: 1px solid rgba(247, 238, 241, 0.28);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--paper);
  line-height: 1.2;
  white-space: nowrap;
}
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  color: var(--paper-soft);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-item--dropdown { position: relative; }
.nav-item--dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { transition: transform 0.25s var(--ease); flex-shrink: 0; }
.nav-item--dropdown:hover .nav-caret,
.nav-item--dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 44px);
  left: -14px;
  min-width: 230px;
  background: var(--bg-dark-soft);
  border: 1px solid rgba(247, 238, 241, 0.1);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--paper-soft);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: rgba(247, 238, 241, 0.06); color: var(--paper); }
.nav-dropdown li + li { margin-top: 2px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  height: 1.6px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 46%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 53, 127, 0.16) 0%, rgba(224, 53, 127, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 96px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(2.45rem, 3.6vw + 1rem, 4.3rem);
  line-height: 1.07;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-headline em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-rule {
  display: block;
  position: relative;
  width: 104px;
  height: 1px;
  margin: 32px 0 30px;
  background: linear-gradient(90deg, var(--accent), rgba(224, 53, 127, 0));
}
.hero-rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.hero-details { display: flex; flex-direction: column; gap: 20px; max-width: 54ch; }
.hero-detail + .hero-detail {
  padding-top: 20px;
  border-top: 1px solid rgba(247, 238, 241, 0.14);
}
.hero-detail-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: 1.14rem;
  letter-spacing: 0.005em;
}
.hero-detail-text {
  color: var(--paper-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-top: 5px;
}
.hero-detail-text:first-child { margin-top: 0; }
.hero-photo {
  aspect-ratio: 4/5;
  width: 100%;
  /* Width follows the leftover vertical space, so the 4:5 crop never gets squashed */
  max-width: min(400px, max(280px, (100svh - 300px) * 0.8));
  justify-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 44px 88px -30px rgba(0, 0, 0, 0.75);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--paper);
  background: rgba(247,238,241,0.08);
  border: 1px solid rgba(247,238,241,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.scroll-cue:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(-50%) translateY(-3px);
}
.scroll-cue-chevron { animation: cueMove 1.9s ease-in-out infinite; }
.scroll-cue:hover .scroll-cue-chevron { animation-duration: 1s; }
@keyframes cueMove {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-chevron,
  .scroll-cue:hover .scroll-cue-chevron { animation: none; }
}

/* ============ NUMBERS / BENTO ============ */
.numbers { background: var(--bg-dark-soft); padding: 110px 0; }
.numbers-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 0 44px;
  border-left: 1px solid rgba(247, 238, 241, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.stat-value--accent { color: var(--accent); }
.stat-label { color: var(--paper-soft); font-size: 1rem; }
.stat--quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--paper);
}
.stat--quote em { color: var(--accent); font-style: italic; }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 880px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 2.4vw + 1rem, 2.9rem);
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p { color: rgba(247, 238, 241, 0.9); font-size: 1.22rem; line-height: 1.6; }

/* ============ SPECIALTIES ============ */
.specialties { background: var(--bg-dark-soft); padding: 110px 0; }
.specialty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.specialty-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  width: 100%;
  text-align: left;
  padding: 26px 0;
  border-top: 1px solid rgba(247, 238, 241, 0.12);
}
.specialty-list .specialty-item:nth-child(7),
.specialty-list .specialty-item:nth-child(8) {
  border-bottom: 1px solid rgba(247, 238, 241, 0.12);
}
.specialty-toggle {
  display: contents;
  cursor: pointer;
}
.specialty-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}
.specialty-text {
  grid-column: 1;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  color: var(--paper-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  transition: max-height 0.55s var(--ease), margin-top 0.55s var(--ease), opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.specialty-text a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.specialty-text a:hover { border-color: var(--accent); }
.specialty-item[aria-expanded="true"] .specialty-text {
  max-height: 200px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}
.specialty-item[aria-expanded="true"] .specialty-title { color: var(--accent); }
.specialty-chevron {
  color: var(--paper-soft);
  margin-top: 6px;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
}
.specialty-item[aria-expanded="true"] .specialty-chevron { transform: rotate(180deg); color: var(--accent); }
.specialty-item:hover:not([aria-expanded="true"]) .specialty-chevron { animation: cueMove 1s ease-in-out infinite; }
.specialty-item:hover .specialty-title { color: var(--accent-tint); }

/* ============ ABOUT ============ */
.about { background: var(--bg-dark); padding: 110px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 110px;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.55);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(2rem, 2.4vw + 1rem, 2.8rem);
  margin-bottom: 24px;
}
.about-lead {
  font-weight: 500;
  color: var(--paper);
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 22px;
}
.about-copy p {
  color: var(--paper-soft);
  font-size: 1.04rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.pull-quote {
  position: relative;
  margin: 44px 0;
  padding: 56px 36px 58px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(224, 53, 127, 0.32);
  background:
    linear-gradient(135deg, rgba(224, 53, 127, 0.17), rgba(224, 53, 127, 0.04) 62%, rgba(224, 53, 127, 0.02));
  box-shadow: 0 22px 52px -26px rgba(224, 53, 127, 0.65);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.24rem, 0.6vw + 1.08rem, 1.5rem);
  color: var(--paper);
  line-height: 1.5;
  text-wrap: balance;
}
.pull-quote::before,
.pull-quote::after {
  position: absolute;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 3.7rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
  pointer-events: none;
}
.pull-quote::before {
  content: "\201C";
  top: 12px;
  left: 30px;
}
.pull-quote::after {
  content: "\201D";
  bottom: -15px;
  right: 30px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
/* Built from the pull quote's parts so the pair reads as one passage: the same
   tinted panel and glow, the display serif, and the hero rule's accent dot. */
.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(224, 53, 127, 0.45);
  background: linear-gradient(135deg, rgba(224, 53, 127, 0.24), rgba(224, 53, 127, 0.06) 72%);
  box-shadow:
    0 16px 34px -20px rgba(224, 53, 127, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--paper);
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
}
.tag-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ============ EXPERTISE ============ */
.expertise { background: var(--bg-dark); padding: 100px 0; }
.expertise-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  gap: 28px;
  align-items: center;
}
.expertise-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,0.45);
}
.expertise-photo img { width: 100%; height: 100%; object-fit: cover; }
.expertise-photo--alt { transform: translateY(28px); }
.expertise-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.8vw + 1rem, 2.3rem);
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 18px;
  text-align: center;
}
.expertise-copy p {
  color: var(--paper-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg-dark-soft); padding: 110px 0; }
.testimonial-card {
  background: var(--bg-dark);
  border: 1px solid rgba(247,238,241,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper-soft);
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-name {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}
.stars { display: flex; gap: 3px; color: var(--accent); }
.testimonial-text {
  color: var(--paper-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.testimonial-more { display: none; }
.testimonial-card.is-open .testimonial-more { display: inline; }
.testimonial-card.is-open .truncated::after { content: " "; }
.testimonial-toggle {
  align-self: flex-start;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.testimonial-toggle:hover { border-color: var(--accent); }
.testimonial-card.is-open .testimonial-toggle { display: none; }
.testimonial-cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.testimonial-cta p { color: var(--paper-soft); font-size: 1.05rem; }

/* ============ LOCATIONS ============ */
.locations { background: var(--bg-dark-soft); padding: 110px 0; }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.location-card {
  background: var(--bg-dark);
  border: 1px solid rgba(247,238,241,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}
.location-photo { aspect-ratio: 4/3; overflow: hidden; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; }
.location-photo--map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(0.95); }
.location-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.location-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
}
.location-body p { color: var(--paper-soft); font-size: 0.95rem; line-height: 1.55; flex-grow: 1; }
.location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 6px;
}
.location-card--online {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-dark) 100%);
  justify-content: center;
  padding: 28px;
}
.location-online-icon { color: #fff; margin-bottom: 18px; }
.location-card--online .location-body { padding: 0; }
.location-card--online h3 { color: #fff; }
.location-card--online p { color: rgba(255,255,255,0.85); }
.location-card--online .location-link { color: #fff; }

/* ============ CAROUSEL ============ */
.carousel-section { background: var(--bg-dark-soft); padding: 110px 0; }
.carousel-section--dark { background: var(--bg-dark); }
.carousel-section--dark .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.carousel { position: relative; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.carousel-viewport { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 32px 64px -20px rgba(0,0,0,0.5); }
.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/10;
  margin: 0;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel--square { max-width: 520px; }
.carousel--square .carousel-slide { aspect-ratio: 1/1; }

.carousel--testimonials { max-width: 680px; }
.carousel--testimonials .carousel-viewport {
  border-radius: 0;
  box-shadow: none;
  transition: height 0.4s var(--ease);
}
.carousel--testimonials .carousel-track { align-items: flex-start; }
.carousel--testimonials .carousel-slide { aspect-ratio: unset; }

.locations-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.locations-photo {
  margin: 0;
  aspect-ratio: 1280/549;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.locations-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  .locations-photos { grid-template-columns: 1fr; }
}

.gallery-intro {
  margin: 0 auto;
  max-width: 320px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.gallery-intro img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.photo-grid-item {
  margin: 0;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.photo-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid rgba(247,238,241,0.15);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); }
.carousel-arrow--prev { left: -4px; }
.carousel-arrow--next { right: -4px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(247,238,241,0.25);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dot.is-active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 640px) {
  .carousel { padding: 0 56px; }
  .carousel-arrow--prev { left: -6px; }
  .carousel-arrow--next { right: -6px; }
  .carousel-arrow { width: 40px; height: 40px; }
}

/* ============ VIDEO ============ */
.video-section { background: var(--bg-dark); padding: 110px 0; text-align: center; }
.video-section .section-head { margin-left: auto; margin-right: auto; }
.video-embed {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.5);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-cta { text-align: center; margin-top: 32px; }

/* ============ SOCIAL BAND ============ */
.social-band { background: var(--bg-dark); padding: 96px 0; text-align: center; }
.social-band-inner { display: flex; flex-direction: column; align-items: center; }
.social-band-inner .section-head { margin-bottom: 32px; }
.social-band-inner .section-head p { max-width: none; }
.social-links { display: flex; gap: 18px; }
.social-links a {
  color: var(--paper);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(247,238,241,0.18);
  border-radius: 50%;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* ============ FINAL CTA ============ */
.final-cta { background: radial-gradient(120% 100% at 50% 0%, #2A1420 0%, var(--bg-dark) 60%); padding: 120px 0; text-align: center; }
.final-cta-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(2.1rem, 2.6vw + 1rem, 3rem);
  line-height: 1.15;
}
.final-cta p { color: var(--paper-soft); font-size: 1.12rem; margin-bottom: 6px; }
.final-cta .btn-large { margin-top: 6px; }
.contact-details {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper-soft);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
a.contact-item:hover { color: var(--paper); }
.contact-item svg { color: var(--accent); flex-shrink: 0; }

/* ============ TREATMENT GUIDE CARDS (home) ============ */
.treatment-links { margin-top: 72px; }
.treatment-links-title {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper);
  font-size: 1.3rem;
  margin-bottom: 26px;
}
.treatment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.treatment-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-dark);
  border: 1px solid rgba(247, 238, 241, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.treatment-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 44px -18px rgba(245, 75, 194, 0.3);
}
.treatment-card-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
}
.treatment-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: 1.45rem;
  line-height: 1.15;
}
.treatment-card-text { color: var(--paper-soft); font-size: 0.95rem; line-height: 1.6; }
.treatment-card-arrow {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  display: inline-flex;
  transition: transform 0.3s var(--ease);
}
.treatment-card:hover .treatment-card-arrow { transform: translateX(6px); }

/* ============ TOPIC PAGES (Vaginismo / Dispareunia / Incontinência) ============ */
.topic-hero { background: var(--bg-dark); padding: 160px 0 100px; }
.topic-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.topic-hero-card {
  max-width: 380px;
  width: 100%;
  margin-left: auto;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.6);
  transform: rotate(1.5deg);
}
.topic-hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.topic-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper-soft);
  font-size: 0.92rem;
  margin-bottom: 44px;
  transition: color 0.2s var(--ease);
}
.topic-back:hover { color: var(--accent); }
.topic-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.topic-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(2.4rem, 3.4vw + 1rem, 3.6rem);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 22px;
}
.topic-lead {
  color: var(--paper-soft);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

.topic-block { background: var(--bg-dark-soft); padding: 100px 0; }
.topic-block--alt { background: var(--bg-dark); }
.topic-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.topic-grid--reverse { grid-template-columns: 0.85fr 1.15fr; }
.topic-grid--reverse .topic-photo { order: -1; }
.topic-copy h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  margin-bottom: 20px;
}
.topic-copy p { color: var(--paper-soft); font-size: 1.04rem; line-height: 1.75; margin-bottom: 18px; }
.topic-copy p:last-child { margin-bottom: 0; }
.topic-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,0.55);
}
.topic-photo img { width: 100%; height: 100%; object-fit: cover; }
.topic-photo--wide { aspect-ratio: 3/2; }
.topic-photo--wide img { object-position: 97% center; }

.topic-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 12px;
}
.topic-steps li { border-top: 1px solid rgba(247, 238, 241, 0.16); padding-top: 26px; }
.topic-steps h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.topic-steps p { color: var(--paper-soft); font-size: 0.98rem; line-height: 1.7; }

.topic-faq { background: var(--bg-dark); padding: 100px 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-top: 1px solid rgba(247, 238, 241, 0.12); }
.faq-list .faq-item:last-child { border-bottom: 1px solid rgba(247, 238, 241, 0.12); }
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
}
.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.14rem;
  color: var(--paper);
  transition: color 0.2s var(--ease);
}
.faq-chevron {
  color: var(--paper-soft);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item[aria-expanded="true"] .faq-question { color: var(--accent); }
.faq-item[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-toggle:hover .faq-question { color: var(--accent-tint); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease), margin-bottom 0.5s var(--ease);
}
.faq-item[aria-expanded="true"] .faq-answer { max-height: 320px; opacity: 1; transform: translateY(0); margin-bottom: 24px; }
.faq-answer p { color: var(--paper-soft); font-size: 1rem; line-height: 1.75; max-width: 62ch; }

.topic-related { background: var(--bg-dark-soft); padding: 76px 0; }
.topic-related-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.topic-related-inner > p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper);
  font-size: 1.2rem;
}
.topic-related-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.topic-testimonial { background: var(--bg-dark-soft); padding: 100px 0; }
.testimonial-card--featured {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}
.testimonial-card--featured .stars { justify-content: center; }
.testimonial-card--featured .testimonial-text { font-size: 1.15rem; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-dark); padding: 64px 0 36px; border-top: 1px solid rgba(247,238,241,0.08); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.footer-brand { color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.footer-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--paper-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 32ch;
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper-soft);
  font-size: 0.9rem;
  margin-top: 18px;
  transition: color 0.2s var(--ease);
}
.footer-instagram svg { color: var(--accent); flex-shrink: 0; }
.footer-instagram:hover { color: var(--paper); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { color: var(--paper); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.footer-col a { color: var(--paper-soft); font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-copy {
  grid-column: 1 / -1;
  color: var(--paper-soft);
  font-size: 0.82rem;
  text-align: center;
  border-top: 1px solid rgba(247,238,241,0.08);
  padding-top: 26px;
  margin-top: 10px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 128px; padding-bottom: 96px; }
  .hero-photo { max-width: 400px; max-height: none; width: 100%; margin: 0 auto; }
  /* Stacked hero is taller than one screen, so the cue can no longer act as a scroll hint */
  .scroll-cue { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; max-width: 440px; margin: 0 auto; }
  .expertise-grid { grid-template-columns: 1fr; gap: 40px; }
  .expertise-photo { max-width: 380px; margin: 0 auto; }
  .expertise-photo--alt { transform: none; }
  .testimonial-wall { columns: 1; }
  .locations-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .numbers-strip { grid-template-columns: 1fr; gap: 36px; }
  .stat { border-left: none; padding: 0 0 0 0; padding-top: 28px; border-top: 1px solid rgba(247, 238, 241, 0.16); }
  .stat:first-child { border-top: none; padding-top: 0; }
  .topic-grid, .topic-grid--reverse { grid-template-columns: 1fr; gap: 40px; }
  .topic-grid--reverse .topic-photo { order: 0; }
  .topic-photo { max-width: 440px; margin: 0 auto; }
  .topic-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .topic-hero-card { margin: 0 auto; max-width: 320px; transform: none; }
  .topic-steps { grid-template-columns: 1fr; gap: 30px; }
  .treatment-cards { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .topic-hero { padding: 130px 0 72px; }
  .topic-block, .topic-testimonial { padding: 72px 0; }
  .pull-quote { padding: 48px 24px 50px; margin: 36px 0; }
  .pull-quote::before { top: 10px; left: 20px; font-size: 3.1rem; }
  .pull-quote::after { bottom: -13px; right: 20px; font-size: 3.1rem; }
}

/* The full nav, the button and the brand stop fitting one row together below
   about 1020px, so the menu collapses from there rather than overflowing. */
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(247,238,241,0.08);
    padding: 12px 24px 28px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 4px; }
  .main-nav.is-open a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .main-nav.is-open::after {
    content: "";
    display: block;
    margin-top: 16px;
  }

  .nav-item--dropdown > a { justify-content: space-between; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    padding: 0 0 4px 16px;
    min-width: 0;
  }
  .nav-dropdown a { padding: 10px 0; font-size: 0.95rem; }
}

@media (max-width: 860px) {
  /* Re-blurring the sticky header's backdrop on every scroll frame makes it
     judder against the content on phones, so paint it opaque there instead. */
  .site-header {
    background: var(--bg-dark);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Animating a blur filter on dozens of elements is the other scroll cost;
     the fade and rise alone read the same and stay on the compositor. */
  .reveal, .reveal.is-visible { filter: none; }

  .specialty-list { grid-template-columns: 1fr; }
  .specialty-list .specialty-item:nth-child(7) { border-bottom: none; }
  .specialty-list .specialty-item:last-child { border-bottom: 1px solid rgba(36,20,25,0.12); }
}

/* The name and role share a row only where both fit: on narrow phones, and in
   the band where the full nav returns, they stack instead. */
@media (max-width: 480px), (min-width: 1021px) and (max-width: 1210px) {
  .brand { flex-direction: column; align-items: flex-start; gap: 2px; }
  .brand-role { padding-left: 0; border-left: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-grid { padding-top: 108px; padding-bottom: 76px; gap: 40px; }
  .hero-rule { margin: 26px 0 24px; }
  .specialties, .about, .expertise, .testimonials, .locations, .carousel-section, .video-section { padding: 72px 0; }
  .carousel--square { max-width: 100%; }
  .final-cta { padding: 88px 0; }
  .contact-details { flex-direction: column; align-items: flex-start; gap: 16px; }
  .final-cta-inner { align-items: flex-start; text-align: left; }
  .final-cta { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
