@font-face {
  font-family: 'Carla Sans';
  src: url('../fonts/CarlaSans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Carla Sans';
  src: url('../fonts/CarlaSansLight.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #11283b;
  --secondary: #efe4d6;
  --secondary-2: #f8f3ec;
  --white: #ffffff;
  --ink: #203544;
  --muted: #6c7a83;
  --line: rgba(17, 40, 59, .14);
  --shadow: 0 24px 80px rgba(17, 40, 59, .14);
  --shadow-soft: 0 14px 40px rgba(17, 40, 59, .10);
  --radius: 28px;
  --radius-sm: 18px;
  --font-body: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Carla Sans', 'Montserrat', system-ui, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--secondary-2) 55%, #fff 100%);
  line-height: 1.6;
  overflow-x: hidden
}

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

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  z-index: 1000
}

.skip-link:focus {
  top: 16px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0)
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .35s ease
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(17, 40, 59, .06)
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand img {
  width: 170px;
  height: auto
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--primary)
}

.nav-menu a:not(.btn) {
  position: relative
}

.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .3s
}

.nav-menu a:hover::after {
  width: 100%
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: .25s
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 18px 38px rgba(17, 40, 59, .22);
  transition: .25s ease;
  border: 1px solid var(--primary)
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(17, 40, 59, .28)
}

.btn-small {
  min-height: 40px;
  padding: 10px 18px
}

.btn-ghost {
  background: rgba(255, 255, 255, .48);
  color: var(--primary);
  box-shadow: none;
  border-color: rgba(17, 40, 59, .18)
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 130px 0 0;
  background: radial-gradient(circle at 15% 20%, rgba(239, 228, 214, .9), transparent 28%), linear-gradient(135deg, #fff 0%, var(--secondary) 52%, #fff 100%);
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 40, 59, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 40, 59, .04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%)
}

.hero-bg-mark {
  position: absolute;
  right: 5%;
  top: 15%;
  width: min(430px, 55vw);
  opacity: .055;
  animation: float 8s ease-in-out infinite
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: center;
  gap: 58px;
  min-height: calc(100svh - 190px)
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--primary);
  font-size: .72rem;
  font-weight: 800
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .7
}

.hero h1,
.section h2,
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .92;
  margin: 18px 0;
  color: var(--primary);
  letter-spacing: -.06em;
  font-weight:300
}

.hero h1 {
  max-width: 720px
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 650px;
  color: #435463;
  margin: 0 0 28px
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px
}

.hero-meta span {
  padding: 10px 16px;
  border: 1px solid rgba(17, 40, 59, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-weight: 700;
  color: var(--primary);
  font-size: .84rem
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.hero-visual {
  position: relative;
  justify-self: center
}

.photo-frame {
  position: relative;
  width: min(430px, 80vw);
  aspect-ratio: 3/4.15;
  border-radius: 46% 46% var(--radius) var(--radius);
  overflow: hidden;
  background: var(--primary);
  box-shadow: var(--shadow)
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(239, 228, 214, .75);
  border-radius: inherit;
  z-index: 2;
  pointer-events: none
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.96) contrast(1.02)
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  animation: float 5.4s ease-in-out infinite
}

.floating-card i {
  font-size: 1.1rem
}

.floating-card img {
  width: 22px
}

.card-top {
  top: 10%;
  left: -70px
}

.card-bottom {
  right: -58px;
  bottom: 14%;
  animation-delay: 1.3s
}

.conditions-marquee {
  position: relative;
  margin-top: 40px;
  background: rgba(17, 40, 59, .72);
  backdrop-filter: blur(14px);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .16)
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 15px 34px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .94
}

.marquee-track span::before {
  content: "✦";
  margin-right: 26px;
  color: var(--secondary)
}

.section {
  padding: 110px 0;
  position: relative
}

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center
}

.soft-card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden
}

.image-card {
  padding: 14px;
  transform: rotate(-2deg)
}

.image-card img {
  border-radius: calc(var(--radius) - 12px);
  width: 100%;
  height: 600px;
  object-fit: cover
}

.section h2 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 14px 0 20px
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 1rem
}

.section-copy h2 {
  text-align: center;
}

.signature-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 20px;
  border-left: 3px solid var(--primary);
  background: rgba(239, 228, 214, .55);
  border-radius: 0 18px 18px 0
}

.signature-note img {
  width: 44px
}

.signature-note p {
  margin: 0;
  color: var(--primary);
  font-weight: 600
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px
}

.align-left {
  text-align: left;
  margin-inline: 0
}

.align-left .eyebrow::before {
  display: none
}

.formation {
  background: var(--primary);
  color: #fff;
  overflow: hidden
}

.formation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/icon.webp') center/360px no-repeat;
  opacity: .035
}

.formation .eyebrow,
.formation h2 {
  color: #fff
}

.formation .section-heading p {
  color: rgba(255, 255, 255, .72)
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(239, 228, 214, .28)
}

.timeline-item {
  position: relative;
  padding: 34px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(239, 228, 214, .18);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  min-height: 250px
}

.timeline-icon,
.location-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 22px
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.18rem
}

.timeline-item p {
  color: rgba(255, 255, 255, .72);
  margin: 0
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.condition-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(17, 40, 59, .06);
  min-height: 310px;
  overflow: hidden;
  transition: .3s
}

.condition-card::after {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(239, 228, 214, .55);
  transition: .3s
}

.condition-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft)
}

.condition-card:hover::after {
  transform: scale(1.25)
}

.condition-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 20px;
  position: relative;
  z-index: 1
}

.condition-card h3 {
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-size: 1.18rem;
  margin: 0 0 12px
}

.condition-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: .94rem;
  margin: 0
}

.featured-card {
  background: var(--primary);
  color: #fff
}

.featured-card i {
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: var(--secondary)
}

.featured-card h3 {
  color: #fff
}

.featured-card p {
  color: rgba(255, 255, 255, .78)
}

.consults {
  background: linear-gradient(180deg, var(--secondary-2), #fff)
}

.consults-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 22px;
  align-items: stretch
}

.consult-card {
  padding: 34px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft)
}

.consult-card i {
  font-size: 2rem;
  color: var(--primary);
  margin: 12px 0 24px
}

.consult-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0 0 12px
}

.consult-card p {
  color: var(--muted);
  margin: 0
}

.consult-tag {
  display: inline-flex;
  padding: 7px 12px;
  background: var(--secondary);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 800;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 56px;
  align-items: start
}

.accordion details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(17, 40, 59, .05);
  overflow: hidden
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 58px 22px 24px;
  font-weight: 800;
  color: var(--primary);
  position: relative
}

.accordion summary::-webkit-details-marker {
  display: none
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--secondary);
  transition: .25s
}

.accordion details[open] summary::after {
  content: "–"
}

.accordion details p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted)
}

.locations {
  background: var(--secondary)
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.location-card {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(17, 40, 59, .12);
  box-shadow: var(--shadow-soft)
}

.location-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 10px
}

.location-card p {
  color: #52626d
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-weight: 800;
  color: var(--primary)
}

.text-link i {
  color: #21b55b
}

.online-card {
  background: var(--primary);
  color: #fff
}

.online-card .location-icon {
  background: #fff
}

.online-card h3,
.online-card .text-link {
  color: #fff
}

.online-card p {
  color: rgba(255, 255, 255, .75)
}

.cta-section {
  padding: 90px 0;
  background: #fff
}

.cta-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--primary), #183b55);
  color: #fff;
  border-radius: 36px;
  padding: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 260px;
  height: 260px;
  background: rgba(239, 228, 214, .1);
  border-radius: 50%
}

.cta-card img {
  width: 72px;
  filter: brightness(0) invert(1);
  opacity: .8
}

.cta-card h2 {
  font-size: clamp(1.7rem, 4vw, 3.3rem);
  color: #fff;
  margin: 8px 0 0;
  letter-spacing: -.04em
}

.cta-card .eyebrow {
  color: var(--secondary)
}

.cta-card .btn {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: none;
  white-space: nowrap
}

.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 62px 0 24px
}

.footer-signature {
  display: grid;
  grid-template-columns: 260px 1px 1fr auto;
  align-items: center;
  gap: 34px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(239, 228, 214, .18);
  border-right: 8px solid var(--secondary);
  border-radius: 4px;
  padding: 34px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15)
}

.footer-logo-block img {
  width: 230px;
  filter: brightness(0) invert(1);
  opacity: .88
}

.footer-divider {
  height: 96px;
  background: rgba(239, 228, 214, .5)
}

.footer-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  color: rgba(255, 255, 255, .82);
  font-size: .94rem
}

.footer-info i {
  color: var(--secondary);
  width: 18px
}

.footer-menu {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem
}

.footer-menu a:hover {
  color: #fff
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .56);
  font-size: .78rem;
  margin-top: 22px
}

.footer-bottom p {
  margin: 0
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 2rem;
  z-index: 90;
  box-shadow: 0 18px 40px rgba(37, 211, 102, .35);
  transition: .25s
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04)
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.is-visible {
  opacity: 1;
  transform: none
}

.delay-1 {
  transition-delay: .12s
}

.delay-2 {
  transition-delay: .22s
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

@media (max-width:980px) {
  .nav-toggle {
    display: flex
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .25s
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none
  }

  .nav-menu a {
    padding: 13px 10px
  }

  .nav-menu .btn {
    margin-top: 8px
  }

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

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

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

  .hero-grid,
  .two-col,
  .faq-grid {
    grid-template-columns: 1fr
  }

  .hero-grid {
    gap: 34px
  }

  .hero-copy {
    text-align: center
  }

  .hero .eyebrow,
  .hero-meta,
  .hero-actions {
    justify-content: center
  }

  .card-top {
    left: 0
  }

  .card-bottom {
    right: 0
  }

  .timeline,
  .conditions-grid,
  .consults-grid,
  .locations-grid {
    grid-template-columns: 1fr 1fr
  }

  .timeline::before {
    display: none
  }

  .consults-grid .section-heading {
    grid-column: 1/-1
  }

  .footer-signature {
    grid-template-columns: 1fr;
    text-align: center
  }

  .footer-logo-block img {
    margin: auto
  }

  .footer-divider {
    display: none
  }

  .footer-info p {
    justify-content: center
  }

  .footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px
  }

  .cta-card {
    grid-template-columns: 1fr;
    text-align: center
  }

  .cta-card img {
    margin: auto
  }

  .cta-card .btn {
    justify-self: center
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center
  }
}

@media (max-width:640px) {
  .container {
    width: min(100% - 28px, 1160px)
  }

  .nav {
    height: 74px
  }

  .brand img {
    width: 146px
  }

  .nav-menu {
    top: 74px
  }

  .hero {
    padding-top: 110px
  }

  .hero-grid {
    min-height: auto
  }

  .hero-actions {
    display: grid
  }

  .hero-actions .btn {
    width: 100%
  }

  .photo-frame {
    width: min(330px, 88vw);
    border-radius: 44% 44% 24px 24px
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin: 12px auto 0;
    justify-content: center
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.7rem)
  }

  .section {
    padding: 78px 0
  }

  .image-card img {
    height: 420px
  }

  .timeline,
  .conditions-grid,
  .consults-grid,
  .locations-grid {
    grid-template-columns: 1fr
  }

  .condition-card,
  .consult-card,
  .location-card {
    padding: 26px
  }

  .conditions-marquee {
    margin-top: 24px
  }

  .marquee-track span {
    padding: 12px 24px
  }

  .footer-signature {
    padding: 26px;
    border-right: 0;
    border-bottom: 7px solid var(--secondary)
  }

  .footer-logo-block img {
    width: 210px
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px
  }

  .cta-card {
    padding: 30px 22px;
    border-radius: 26px
  }
}

.brand img {
  width: 205px;
  max-height: 48px;
  object-fit: contain
}

.hero {
  min-height: auto;
  padding: 82px 0 0;
  background:
    radial-gradient(circle at 24% 34%, rgba(255, 255, 255, .23), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(239, 228, 214, .22), transparent 20%),
    radial-gradient(circle at 42% 88%, rgba(255, 255, 255, .12), transparent 18%),
    linear-gradient(112deg, #11283b 0%, #11283b 55%, #17344b 78%, #0e2233 100%);
}

.hero::before {
  background-image: linear-gradient(rgba(239, 228, 214, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 228, 214, .045) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, #000, rgba(0, 0, 0, .78) 78%, transparent 98%);
}

.hero-bg-mark {
  right: 3%;
  top: 18%;
  opacity: .055;
  animation: none;
  filter: brightness(0) invert(1)
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 4
}

.hero .eyebrow {
  color: var(--secondary)
}

.hero .eyebrow::before {
  background: var(--secondary)
}

.hero-name {
  font-family: 'Carla Sans', 'Montserrat', system-ui, sans-serif !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 16px !important;
  max-width: 100% !important;
  color: var(--secondary) !important;
  letter-spacing: 0 !important;
  line-height: .86 !important;
  font-weight: 300 !important;
}

.hero-name-prefix {
  display: block;
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  line-height: 1;
  margin-left: 16%;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-name-main {
  display: block;
  white-space: nowrap;
  font-size: clamp(3.4rem, 7.4vw, 7.9rem);
  line-height: .82;
  text-transform: uppercase;
  font-weight: 300;
}

.hero-name-specialty {
  display: block;
  align-self: center;
  margin-top: 12px;
  color: rgba(239, 228, 214, .86);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(.62rem, 1vw, .86rem);
  letter-spacing: .72em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-subtitle {
  max-width: 600px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(.98rem, 1.42vw, 1.18rem);
  margin-bottom: 22px
}

.hero-meta {
  margin-bottom: 22px
}

.hero-meta span {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(239, 228, 214, .28);
  color: #fff
}

.btn-ghost {
  background: rgba(239, 228, 214, .94);
  border-color: rgba(239, 228, 214, .94)
}

.hero-visual {
  align-self: end;
  justify-self: end;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  z-index: 3
}

.photo-frame {
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible
}

.photo-frame::before {
  display: none
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none
}

.floating-card {
  z-index: 5;
  background: rgba(255, 255, 255, .86);
  color: var(--primary);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16)
}

.card-top {
  top: 22%;
  left: auto;
  right: 15%
}

.card-bottom {
  right: 1%;
  bottom: 12%;
  max-width: 280px
}

.card-bottom img {
  width: 28px;
  opacity: .75
}

.conditions-marquee {
  margin-top: 0;
  background: rgba(239, 228, 214, .12);
  border-block: 1px solid rgba(239, 228, 214, .22);
  color: var(--secondary)
}

.marquee-track span {
  position: relative;
  padding: 13px 38px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase
}

.marquee-track span::before {
  content: none
}

.marquee-track span::after {
  content: "✦";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(239, 228, 214, .88);
  font-size: .72rem
}

.formation .section-heading {
  margin-bottom: 40px
}

.timeline {
  gap: 24px
}

.timeline::before {
  display: none
}

.timeline-item {
  min-height: 210px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(239, 228, 214, .2);
  overflow: hidden
}

.timeline-item::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(239, 228, 214, .08)
}

.timeline-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1
}

.timeline-item h3,
.timeline-item p {
  position: relative;
  z-index: 1
}

.timeline-item h3 {
  font-size: 1.16rem
}

.timeline-item p {
  font-size: .96rem;
  line-height: 1.65
}

.consult-card i {
  display: none !important
}

.consult-card {
  padding-top: 34px
}

.consult-card h3 {
  margin-top: 24px
}

.location-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 1.3rem
}

.online-card .location-icon {
  color: var(--primary)
}

@media (min-width:981px) {
  .hero-copy {
    padding-bottom: 22px
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 12px 20px
  }

  .hero-meta span {
    padding: 9px 14px
  }

  .site-header {
    background: rgba(255, 255, 255, .88)
  }
}

@media (max-width:1180px) {
  .hero-name-main {
    font-size: clamp(3.1rem, 7vw, 6rem)
  }

  .photo-frame {
    width: min(390px, 36vw)
  }

  .card-top {
    right: 6%
  }

  .card-bottom {
    right: 0
  }
}

@media (max-width:980px) {
  .hero {
    padding-top: 96px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 22px
  }

  .hero-copy {
    text-align: center
  }

  .hero-name {
    align-items: center
  }

  .hero-name-prefix {
    margin-left: 0
  }

  .hero-name-main {
    white-space: normal;
    text-align: center;
    font-size: clamp(3.7rem, 14vw, 6rem)
  }

  .hero-name-specialty {
    letter-spacing: .45em
  }

  .hero-visual {
    height: auto;
    justify-self: center;
    align-self: center
  }

  .photo-frame {
    width: min(390px, 80vw);
    height: 520px
  }

  .card-top,
  .card-bottom {
    position: relative;
    inset: auto;
    margin: 10px auto
  }

  .floating-card {
    animation: none
  }

  .hero-subtitle {
    margin-inline: auto
  }

  .brand img {
    width: 180px;
    max-height: 44px
  }
}

@media (max-width:640px) {
  .hero {
    padding-top: 78px
  }

  .hero-name-main {
    font-size: clamp(3rem, 16vw, 4.5rem)
  }

  .hero-name-prefix {
    font-size: clamp(1.6rem, 8vw, 2.7rem)
  }

  .hero-name-specialty {
    letter-spacing: .3em
  }

  .photo-frame {
    height: 430px
  }

  .marquee-track span {
    padding: 12px 30px
  }

  .brand img {
    width: 158px;
    max-height: 38px
  }

  .consult-card h3 {
    margin-top: 18px
  }
}

/* Ajuste hero para telas grandes e ultrawide */
@media (min-width: 981px) {
  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .hero-grid {
    min-height: clamp(620px, calc(100vh - 132px), 760px);
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    height: clamp(560px, calc(100vh - 132px), 720px);
    align-self: end;
    justify-self: end;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .photo-frame {
    width: clamp(430px, 31vw, 560px);
    height: clamp(560px, calc(100vh - 150px), 720px);
  }

  .hero-name-main {
    font-size: clamp(4.6rem, 5.4vw, 7rem);
  }

  .hero-name-prefix {
    font-size: clamp(2.4rem, 3vw, 3.8rem);
    margin-left: 14%;
  }

  .hero-subtitle {
    max-width: 640px;
  }
}

/* Ajuste específico para telas muito largas */
@media (min-width: 1500px) {
  .container {
    width: min(1320px, calc(100% - 80px));
  }

  .hero-grid {
    min-height: 720px;
    grid-template-columns: 1fr 0.9fr;
  }

  .photo-frame {
    width: clamp(520px, 29vw, 620px);
    height: 720px;
  }

  .hero-bg-mark {
    width: min(520px, 32vw);
    right: 7%;
  }
}

/* Ajuste para notebooks menores */
@media (min-width: 981px) and (max-height: 760px) {
  .hero-grid {
    min-height: 590px;
  }

  .hero-visual {
    height: 590px;
  }

  .photo-frame {
    width: clamp(400px, 30vw, 500px);
    height: 590px;
  }

  .hero-name-main {
    font-size: clamp(3.8rem, 5vw, 5.8rem);
  }
}

/* Ajustes solicitados pela cliente — julho/2026 */
.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-instagram i {
  font-size: 1.08rem;
}

.hero-professional-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-instagram {
  background: transparent;
  color: var(--secondary);
  border-color: rgba(239, 228, 214, .48);
}

.hero-instagram:hover {
  background: rgba(239, 228, 214, .1);
  color: #fff;
}

.story-copy {
  max-width: 660px;
}

.story-copy .eyebrow {
  margin-bottom: 24px;
}

.story-lead {
  color: var(--primary) !important;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem) !important;
  line-height: 1.75;
  font-weight: 500;
}

.formation .section-heading h2 {
  margin-top: 0;
}

.conditions-heading {
  max-width: 920px;
}

.conditions-heading h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.35rem);
}

.condition-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 30px;
  overflow: visible;
}

.condition-card::after {
  display: none;
}

.condition-card:hover {
  transform: translateY(-6px);
}

.condition-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 24px;
  background: var(--secondary-2);
  border: 1px solid rgba(17, 40, 59, .1);
  box-shadow: 0 12px 30px rgba(17, 40, 59, .08);
}

.condition-icon img {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 24px;
}

.condition-icon i {
  margin: 0;
  color: var(--primary);
  font-size: 2rem;
}

.condition-icon-inverse {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(255, 255, 255, .24);
}

.condition-card h3 {
  font-size: clamp(1.24rem, 1.5vw, 1.42rem);
  line-height: 1.28;
  margin-bottom: 14px;
}

.condition-card p {
  line-height: 1.72;
}

.featured-card .condition-icon i {
  color: var(--primary);
}

.faq {
  background: linear-gradient(180deg, #fff 0%, var(--secondary-2) 100%);
  overflow: hidden;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.faq-content {
  min-width: 0;
}

.faq-heading {
  margin-bottom: 32px;
}

.faq-heading h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.faq-heading .eyebrow {
  display: flex;
  width: fit-content;
  margin-bottom: 12px;
}

.portrait-frame {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 2 / 3;
  margin-inline: auto;
  padding: 14px;
  border-radius: 220px 220px 30px 30px;
  background: var(--secondary);
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  border: 1px solid rgba(17, 40, 59, .22);
  border-radius: inherit;
  z-index: 0;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 18%;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .08;
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 206px 206px 18px 18px;
}

.instagram-section {
  padding: 0 0 100px;
  background: var(--secondary-2);
}

.instagram-card {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 34px 38px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.instagram-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--secondary);
  background: var(--primary);
  font-size: 2rem;
}

.instagram-card h2 {
  margin: 6px 0 4px;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -.035em;
}

.instagram-card p {
  margin: 0;
  color: var(--muted);
}

.btn-instagram {
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(17, 40, 59, .35);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .nav-instagram {
    justify-content: flex-start;
  }

  .hero-professional-line {
    justify-content: center;
  }

  .two-col, .faq-layout {
    grid-template-columns: 1fr;
  }

  .section-media, .faq-photo {
    order: 2;
  }

  .section-copy, .faq-content {
    order: 1;
  }

  .portrait-frame {
    width: min(390px, 82vw);
  }

  .instagram-card {
    grid-template-columns: 70px 1fr;
  }

  .instagram-card .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .hero-professional-line {
    margin: 18px 0 22px;
    font-size: .7rem;
    letter-spacing: .12em;
  }

  .story-copy .eyebrow {
    margin-bottom: 18px;
  }

  .conditions-heading h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .condition-card {
    min-height: auto;
  }

  .faq-heading h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
  }

  .faq-photo {
    margin-top: 8px;
  }

  .portrait-frame {
    width: min(330px, 84vw);
    padding: 10px;
  }

  .portrait-frame::before {
    inset: 20px -10px -12px 20px;
  }

  .instagram-section {
    padding-bottom: 78px;
  }

  .instagram-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }

  .instagram-mark,
  .instagram-card .btn {
    margin-inline: auto;
  }

  .instagram-card .btn {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}



/* Hero com fotografia sentada em moldura — julho/2026 */
.hero-photo-frame {
  position: relative;
  isolation: isolate;
  width: clamp(360px, 27vw, 460px);
  height: clamp(560px, calc(100vh - 150px), 690px);
  padding: 12px;
  border: 1px solid rgba(239, 228, 214, .52);
  border-radius: 240px 240px 34px 34px;
  background: linear-gradient(145deg, rgba(239, 228, 214, .96), rgba(255, 255, 255, .72));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 24px -20px -20px 24px;
  z-index: -1;
  border: 1px solid rgba(239, 228, 214, .34);
  border-radius: inherit;
  pointer-events: none;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 214px 214px 20px 20px;
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 226px 226px 22px 22px;
  filter: saturate(.96) contrast(1.02);
}

@media (min-width: 981px) {
  .hero-visual {
    align-items: center;
    padding: 34px 0 42px;
  }
}

@media (max-width: 1180px) {
  .hero-photo-frame {
    width: clamp(360px, 34vw, 450px);
    height: clamp(510px, calc(100vh - 180px), 610px);
  }
}

@media (max-width: 980px) {
  .hero-visual {
    padding: 8px 0 38px;
  }

  .hero-photo-frame {
    width: min(420px, 82vw);
    height: min(610px, 118vw);
  }
}

@media (max-width: 640px) {
  .hero-photo-frame {
    width: min(340px, 86vw);
    height: min(500px, 126vw);
    padding: 9px;
    border-radius: 180px 180px 24px 24px;
  }

  .hero-photo-frame::before {
    inset: 18px -10px -12px 18px;
  }

  .hero-photo-frame::after {
    inset: 20px;
    border-radius: 158px 158px 14px 14px;
  }

  .hero-photo-frame img {
    border-radius: 170px 170px 16px 16px;
    object-position: center 50%;
  }
}


/* Correção: evita que o nome invada a fotografia em telas grandes */
@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .hero-name {
    width: 100%;
    max-width: 100% !important;
  }

  .hero-name-main {
    /* O tamanho passa a respeitar melhor a largura disponível da coluna */
    font-size: clamp(4rem, 4.65vw, 6.15rem);
    white-space: nowrap;
  }
}

@media (min-width: 1500px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr);
    gap: clamp(56px, 5vw, 96px);
  }

  .hero-name-main {
    font-size: clamp(5rem, 4.7vw, 6.8rem);
  }

  .hero-photo-frame {
    width: clamp(450px, 24vw, 520px);
    height: 650px;
  }
}

@media (min-width: 2100px) {
  .container {
    width: min(1500px, calc(100% - 120px));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(540px, .9fr);
    gap: 110px;
  }

  .hero-name-main {
    font-size: 6.7rem;
  }

  .hero-photo-frame {
    width: 500px;
    height: 650px;
  }
}

/* =========================================================
   Correções finais — moldura do hero e assinatura do menu
   ========================================================= */

/* Assinatura horizontal do cabeçalho.
   O texto deixa de depender do recorte interno de uma imagem,
   garantindo que "Dra." apareça sempre acima de Paula Toledo. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--primary);
  line-height: 1;
}

.brand-symbol {
  display: block;
  flex: 0 0 auto;
  width: 48px;
}

.brand-symbol img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: center;
  min-width: 0;
  transform: translateY(-1px);
}

.brand-doctor {
  justify-self: start;
  margin: 0 0 1px 8px;
  font-family: var(--font-display);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .92;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-specialty {
  margin-top: 4px;
  font-size: .43rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* A foto inicial passa a usar a mesma construção da moldura da FAQ:
   proporção 2:3, aro bege, contorno deslocado e círculo decorativo.
   O contorno fica em uma camada própria, sem atravessar a fotografia. */
.hero-photo-frame {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(100%, 440px) !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  margin-inline: auto;
  padding: 14px;
  border: 0;
  border-radius: 220px 220px 30px 30px;
  background: var(--secondary);
  box-shadow: var(--shadow);
  overflow: visible;
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  z-index: 0;
  border: 1px solid rgba(239, 228, 214, .52);
  border-radius: inherit;
  pointer-events: none;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto;
  left: -30px;
  top: 18%;
  z-index: 0;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  opacity: .12;
  pointer-events: none;
}

.hero-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 206px 206px 18px 18px;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(.96) contrast(1.02);
}

/* Remove alturas antigas do contêiner que faziam a moldura parecer
   comprimida ou desalinhada em algumas proporções de tela. */
@media (min-width: 981px) {
  .hero-visual {
    height: auto;
    min-height: 650px;
    align-self: center;
    align-items: center;
    padding: 34px 0 42px;
  }
}

@media (max-width: 980px) {
  .brand-lockup {
    gap: 8px;
  }

  .brand-symbol {
    width: 44px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand-specialty {
    font-size: .38rem;
    letter-spacing: .15em;
  }

  .hero-photo-frame {
    width: min(390px, 82vw) !important;
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    gap: 7px;
  }

  .brand-symbol {
    width: 38px;
  }

  .brand-doctor {
    margin-left: 6px;
    font-size: .48rem;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-specialty {
    margin-top: 3px;
    font-size: .31rem;
    letter-spacing: .12em;
  }

  .hero-photo-frame {
    width: min(330px, 84vw) !important;
    padding: 10px;
    border-radius: 165px 165px 24px 24px;
  }

  .hero-photo-frame::before {
    inset: 20px -10px -12px 20px;
  }

  .hero-photo-frame::after {
    left: -24px;
    width: 70px;
    height: 70px;
  }

  .hero-photo-frame img {
    border-radius: 155px 155px 16px 16px;
  }
}

/* Assinatura do rodapé coerente com o novo texto profissional. */
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-align: left;
}

.footer-brand-symbol {
  width: 58px;
  flex: 0 0 auto;
}

.footer-brand-symbol img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .88;
}

.footer-brand-copy {
  display: grid;
  line-height: 1;
}

.footer-brand-doctor {
  margin: 0 0 2px 9px;
  font-family: var(--font-display);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-brand-specialty {
  margin-top: 5px;
  font-size: .44rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .footer-brand-lockup {
    justify-content: center;
  }
}

/* =========================================================
   Estabilização responsiva — menu e seção do Instagram
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main,
.site-header,
.hero,
.section,
.instagram-section,
.site-footer {
  width: 100%;
  max-width: 100%;
}

.nav > *,
.hero-grid > *,
.two-col > *,
.faq-layout > *,
.instagram-card > * {
  min-width: 0;
}

.instagram-section {
  overflow: hidden;
}

.instagram-card > div:nth-child(2) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.instagram-card h2,
.instagram-card p {
  max-width: 100%;
}

@media (max-width: 980px) {
  .nav.container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 20px;
  }

  .nav {
    gap: 12px;
  }

  .brand-lockup {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    overflow: hidden;
  }

  .brand-copy,
  .brand-name,
  .brand-specialty {
    min-width: 0;
    max-width: 100%;
  }

  .brand-specialty {
    overflow: hidden;
    text-overflow: clip;
  }

  .nav-toggle {
    flex: 0 0 46px;
    margin-left: auto;
  }

  .nav-menu {
    max-width: calc(100% - 40px);
  }

  .instagram-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .instagram-card h2 {
    min-width: 0;
    overflow-wrap: normal;
    word-break: normal;
  }

  .instagram-card p {
    overflow-wrap: anywhere;
  }

  .instagram-card .btn,
  .btn-instagram {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .nav.container {
    width: 100%;
    padding-inline: 14px;
  }

  .nav {
    gap: 10px;
  }

  .brand-lockup {
    max-width: calc(100% - 54px);
    gap: 6px;
  }

  .brand-symbol {
    width: 34px;
  }

  .brand-doctor {
    margin-left: 5px;
    font-size: .45rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-specialty {
    margin-top: 3px;
    font-size: .28rem;
    letter-spacing: .09em;
    white-space: nowrap;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }

  .instagram-card.container {
    width: calc(100% - 28px);
    margin-inline: 14px;
    padding: 28px 18px;
  }

  .instagram-card h2 {
    width: 100%;
    font-size: clamp(1.25rem, 7vw, 1.8rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    white-space: nowrap;
  }

  .instagram-card .eyebrow {
    max-width: 100%;
    justify-content: center;
    font-size: .62rem;
    letter-spacing: .16em;
  }

  .instagram-card p {
    font-size: .9rem;
    line-height: 1.55;
  }

  .instagram-card .btn {
    justify-self: stretch;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand-symbol {
    width: 32px;
  }

  .brand-name {
    font-size: .94rem;
  }

  .brand-specialty {
    font-size: .255rem;
    letter-spacing: .075em;
  }

  .instagram-card h2 {
    font-size: 1.25rem;
  }
}

/* =========================================================
   Ajustes extras para celulares estreitos — julho/2026
   Evita estouro do título da FAQ e do @ do Instagram.
   ========================================================= */
@media (max-width: 480px) {
  .faq-heading,
  .faq-heading h2,
  .instagram-card,
  .instagram-card > div {
    min-width: 0;
    max-width: 100%;
  }

  .faq-heading h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.78rem, 8.8vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .instagram-card h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(.95rem, 4.8vw, 1.55rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    white-space: nowrap;
    overflow: visible;
  }
}

@media (max-width: 340px) {
  .faq-heading h2 {
    font-size: 1.72rem;
  }

  .instagram-card h2 {
    font-size: .92rem;
  }
}
