/* ============================================
   DESIGN SYSTEM — DRA. THAISLA DINIZ
   Identidade: warm luxury, terracotta, editorial
   ============================================ */

:root {
  --dark:        #2C1608;
  --dark-md:     #4A2210;
  --medium:      #7B3F1E;
  --cream-light: #E8D5BB;
  --cream-text:  #F5EDE0;
  --gold:        #C9965A;
  --gold-light:  #D4A875;
  --white-warm:  #FEFAF5;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1180px;
  --section-pad: 100px 0;
  --radius: 4px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--dark); color: var(--cream-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
.section-pretitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream-text);
  margin-bottom: 40px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,150,90,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--cream-text);
  border: 1px solid rgba(245,237,224,0.4);
}
.btn--outline:hover {
  border-color: var(--cream-text);
  background: rgba(245,237,224,0.08);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ── FOCUS VISIBLE (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(201,150,90,0.25);
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: var(--dark);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo { flex-shrink: 0; }

/* Keep only the second (updated) version of .header__logo-img */
.header__logo-img {
  width: 260px;
  height: 66px;
  object-fit: cover;
  object-position: center 51.2%;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.header__nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.header__nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream-text);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.header__nav-link:hover { opacity: 1; }

.header__cta { margin-left: 12px; padding: 10px 24px; }

/* ── Nav CTA (mobile only) ── */
.header__nav-cta {
  display: none;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.header__menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream-text);
  transition: all var(--transition);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 88dvh;
  max-height: 920px;
  background: var(--dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left,  rgba(44,22,8,1.00) 0%, rgba(44,22,8,0.98) 44%, rgba(44,22,8,0.65) 58%, rgba(44,22,8,0.00) 73%),
    linear-gradient(to top,   rgba(44,22,8,0.85) 0%, rgba(44,22,8,0.00) 24%),
    linear-gradient(to right, rgba(44,22,8,0.42) 0%, rgba(44,22,8,0.00) 14%),
    linear-gradient(to bottom,rgba(44,22,8,0.48) 0%, rgba(44,22,8,0.00) 10%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 580px;
  margin-left: auto;
  margin-right: max(24px, calc(50vw - 590px));
}

.hero__pretitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream-text);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(245,237,224,0.65);
  letter-spacing: 0.04em;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ================================================
   DIFERENCIAIS
   ================================================ */
.diferenciais {
  padding: var(--section-pad);
  background: var(--dark-md);
  text-align: center;
  overflow: hidden;
}

.diferenciais__headline {
  max-width: 700px;
  margin: 0 auto 64px;
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.diferencial-card {
  background: rgba(255,255,255,0.04);
  padding: 48px 32px;
  transition: background var(--transition);
}
.diferencial-card:hover { background: rgba(255,255,255,0.07); }

.diferencial-card__icon {
  color: var(--gold-light);
  margin: 0 auto 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,150,90,0.3);
  border-radius: 50%;
}

.diferencial-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream-text);
  margin-bottom: 12px;
}

.diferencial-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245,237,224,0.65);
}

/* ================================================
   SOBRE
   ================================================ */
.sobre {
  padding: var(--section-pad);
  background: var(--dark);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre__foto {
  position: relative;
}

.sobre__foto-slide {
  width: 100% !important;
  height: 100% !important;
  border-radius: 2px;
}

.sobre__foto::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(201,150,90,0.25);
  border-radius: 2px;
  pointer-events: none;
}

.sobre__conteudo { padding: 20px 0; }

.sobre__texto {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(245,237,224,0.8);
  margin-bottom: 14px;
}

.sobre .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.sobre__quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 24px 0;
  line-height: 1.5;
}

.sobre__formacao {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,237,224,0.12);
}

.formacao-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.formacao-item strong {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.formacao-item span {
  font-size: 0.9rem;
  color: rgba(245,237,224,0.75);
  line-height: 1.5;
}

/* ── Botoes extras ── */
.btn--dark { background: var(--dark); color: var(--cream-text); }
.btn--dark:hover { background: var(--dark-md); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: var(--cream-text); border: 1px solid rgba(245,237,224,0.4); }
.btn--outline-light:hover { border-color: var(--cream-text); }

/* ── Carrossel de fotos — Secao Sobre ── */
.sobre__fotos-track {
  position: relative;
  width: 100%;
  height: 620px;
  border-radius: 2px;
  overflow: hidden;
}

.sobre__foto-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}

.sobre__foto-slide.active { opacity: 1; }

.sobre__fotos-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.sobre__foto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201,150,90,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.sobre__foto-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

/* ── Bio Reset — Protocolo Featured ── */
.proc-bloco--featured {
  border-left: 3px solid var(--gold);
}

.proc-bloco--featured .proc-bloco__nome {
  color: var(--dark);
}

/* ================================================
   DOCTHAMED
   ================================================ */
.docthamed {
  padding: var(--section-pad);
  background: var(--dark-md);
}

.docthamed__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}

.docthamed__foto {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.docthamed__foto img {
  width: 100%;
  height: 640px;
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 2px;
}

.docthamed__conteudo { padding: 20px 0; }

.docthamed__texto {
  font-size: 0.875rem;
  line-height: 1.85;
  color: rgba(245,237,224,0.75);
  margin-bottom: 16px;
}

.docthamed .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ================================================
   PROCEDIMENTOS — ACORDEAO V2
   ================================================ */
.procedimentos {
  padding: var(--section-pad);
  background: var(--cream-light);
}
.procedimentos .section-pretitle { color: var(--medium); }
.procedimentos .section-title { color: var(--dark); }
.procedimentos__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(44,22,8,0.65);
  max-width: 600px;
  margin-bottom: 48px;
}

.proc-acordeao {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(123,63,30,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.proc-bloco {
  background: var(--white-warm);
  border-bottom: 1px solid rgba(123,63,30,0.09);
}
.proc-bloco:last-child { border-bottom: none; }

.proc-bloco__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 32px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  border-left: 3px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.proc-bloco__header:hover {
  background: rgba(123,63,30,0.04);
  border-left-color: rgba(201,150,90,0.35);
}
.proc-bloco__header[aria-expanded="true"] {
  background: rgba(123,63,30,0.055);
  border-left-color: var(--gold);
}

.proc-bloco__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.45;
  min-width: 44px;
  line-height: 1;
  transition: opacity var(--transition);
}
.proc-bloco__header:hover .proc-bloco__num { opacity: 0.7; }
.proc-bloco__header[aria-expanded="true"] .proc-bloco__num { opacity: 1; }

.proc-bloco__nome {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.proc-bloco__seta {
  color: var(--medium);
  opacity: 0.5;
  transition: transform var(--transition), opacity var(--transition);
  flex-shrink: 0;
}
.proc-bloco__header:hover .proc-bloco__seta { opacity: 0.8; }
.proc-bloco__header[aria-expanded="true"] .proc-bloco__seta {
  transform: rotate(180deg);
  opacity: 1;
}

/* ── Accordion body — animacao por max-height ── */
.proc-bloco__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(123,63,30,0.07);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.42s var(--ease),
    opacity    0.30s var(--ease),
    padding    0.30s var(--ease);
  padding: 0;
}
.proc-bloco__body.is-open {
  opacity: 1;
  padding: 20px 32px 28px;
}

/* ── Sub-cards ── */
.proc-sub {
  background: var(--white-warm);
  padding: 24px 22px;
  border-top: 2px solid rgba(201,150,90,0.22);
  border-radius: 0;
  transition: border-top-color var(--transition);
}
.proc-sub:hover { border-top-color: var(--gold); }

.proc-sub--span {
  grid-column: 1 / -1;
  border-top: 2px solid var(--gold);
}
.proc-sub--span .proc-sub__desc { max-width: 680px; }

.proc-sub__titulo {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--medium);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(123,63,30,0.1);
}

.proc-sub__desc {
  font-size: 0.85rem;
  color: rgba(44,22,8,0.68);
  line-height: 1.65;
  margin-bottom: 14px;
  font-style: italic;
}

.proc-sub ul { display: flex; flex-direction: column; gap: 8px; }
.proc-sub li {
  font-size: 0.875rem;
  color: rgba(44,22,8,0.82);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.proc-sub li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* ── Featured — Bio Reset ── */
.proc-bloco--featured { background: #FEFAF5; }
.proc-bloco--featured .proc-bloco__header:hover,
.proc-bloco--featured .proc-bloco__header[aria-expanded="true"] {
  background: rgba(201,150,90,0.07);
  border-left-color: var(--gold);
}
.proc-bloco--featured .proc-bloco__num { opacity: 0.9; }
.proc-bloco--featured .proc-bloco__header[aria-expanded="true"] .proc-bloco__num { opacity: 1; }

/* Keep only the second (updated) version of .proc-bloco__badge */
.proc-bloco__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 2px;
  font-style: normal;
  flex-shrink: 0;
}

/* ── Procedure highlight CTA (BioReset inline) ── */
.proc-destaque-cta {
  padding: 32px 24px;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.proc-destaque-cta .btn {
  white-space: normal;
  text-align: center;
  width: auto;
  max-width: 100%;
}

.procedimentos__cta { text-align: center; }

/* ================================================
   RESULTADOS — FILTROS
   ================================================ */
.resultados {
  padding: var(--section-pad);
  background: var(--dark-md);
  text-align: center;
}
.resultados__sub {
  font-size: 0.9rem;
  color: rgba(245,237,224,0.6);
  max-width: 500px;
  margin: -16px auto 36px;
  line-height: 1.7;
}

.resultados__filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filtro-btn {
  padding: 8px 22px;
  border: 1px solid rgba(245,237,224,0.25);
  border-radius: 100px;
  background: transparent;
  color: rgba(245,237,224,0.65);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}
.filtro-btn:hover { border-color: var(--gold-light); color: var(--gold-light); }
.filtro-btn.active { background: var(--gold); border-color: var(--gold); color: var(--dark); font-weight: 600; }

.resultados__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 32px;
}

.resultado-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}
.resultado-item.hidden { display: none; }

.resultado-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.resultado-item:hover img { transform: scale(1.05); }

.resultado-item__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 14px 10px;
  background: linear-gradient(transparent, rgba(44,22,8,0.9));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-text);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}
.resultado-item:hover .resultado-item__label,
.resultado-item:focus .resultado-item__label { transform: none; }

.resultados__cfm {
  font-size: 0.75rem;
  color: rgba(245,237,224,0.5);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Carrossel de resultados ── */
.res-carrossel { margin-bottom: 40px; }

.res-track { /* height driven by content */ }

.res-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.res-slide.active {
  display: grid;
  animation: resFadeIn 0.4s var(--ease) forwards;
}
@keyframes resFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.res-slide__img-wrap {
  position: relative;
  border-radius: var(--radius);
  background: rgba(44,22,8,0.6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 520px;
}
.res-slide__img-wrap img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.res-slide__info {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.res-slide__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,90,0.12);
  border: 1px solid rgba(201,150,90,0.25);
  padding: 6px 16px;
  border-radius: 100px;
}

.res-slide__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--cream-text);
  line-height: 1.2;
}

.res-slide__desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245,237,224,0.65);
}

.res-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.res-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245,237,224,0.2);
  background: transparent;
  color: rgba(245,237,224,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.res-btn:hover { border-color: var(--gold); color: var(--gold); }

.res-dots { display: flex; gap: 8px; }
.res-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245,237,224,0.22);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}
.res-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ================================================
   DEPOIMENTOS — CARROSSEL
   ================================================ */
.depoimentos {
  padding: var(--section-pad);
  background: var(--cream-light);
  text-align: center;
}
.depoimentos__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.depoimentos__rating span { font-size: 0.85rem; color: rgba(44,22,8,0.55); }
.depoimentos .section-pretitle { color: var(--medium); }
.depoimentos .section-title { color: var(--dark); }

.dep-carrossel {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto 32px;
}

.dep-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.dep-slide {
  min-width: 100%;
  padding: 48px 48px 40px;
  background: rgba(44,22,8,0.06);
  border: 1px solid rgba(44,22,8,0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dep-slide__stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 3px; }

.dep-slide__texto {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(44,22,8,0.82);
  flex: 1;
}

.dep-slide__autor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(44,22,8,0.1);
}

.dep-slide__autor div { display: flex; flex-direction: column; gap: 3px; }
.dep-slide__autor strong { font-size: 0.9rem; color: var(--dark); }
.dep-slide__autor span { font-size: 0.75rem; color: var(--medium); }

.dep-controles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.dep-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(44,22,8,0.2);
  background: transparent;
  color: rgba(44,22,8,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.dep-btn:hover { border-color: var(--medium); color: var(--medium); }

.dep-dots { display: flex; gap: 8px; }
.dep-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(44,22,8,0.18);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}
.dep-dot.active { background: var(--medium); width: 22px; border-radius: 4px; }

.depoimentos__gmb { margin-top: 12px; }
.depoimentos .btn--outline-light {
  border-color: rgba(44,22,8,0.3);
  color: var(--dark);
}
.depoimentos .btn--outline-light:hover {
  border-color: var(--medium);
  background: rgba(44,22,8,0.05);
}

/* ================================================
   LOCALIZACAO
   ================================================ */
.localizacao {
  padding: var(--section-pad);
  background: var(--cream-light);
}

.localizacao__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.localizacao .section-pretitle { color: var(--medium); }
.localizacao .section-title { color: var(--dark); margin-bottom: 32px; }

.localizacao__dados {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.localizacao__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.localizacao__item svg { color: var(--medium); flex-shrink: 0; margin-top: 2px; }

.localizacao__item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.localizacao__item strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medium);
}

.localizacao__item span,
.localizacao__item a {
  font-size: 0.9rem;
  color: rgba(44,22,8,0.75);
  line-height: 1.5;
}

.localizacao__item a:hover { color: var(--medium); text-decoration: underline; }

.localizacao .btn--gold { background: var(--dark); color: var(--cream-text); }
.localizacao .btn--gold:hover { background: var(--dark-md); }

.mapa-card {
  background: var(--dark);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 56px 40px;
}

.mapa-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.mapa-card__pin {
  color: var(--gold);
  margin-bottom: 8px;
}

.mapa-card__nome {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--cream-text);
}

.mapa-card__end {
  color: rgba(255,248,240,0.60);
  font-size: 0.875rem;
  line-height: 1.75;
}

.mapa-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--dark);
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  margin-top: 12px;
  transition: opacity 0.22s;
}

.mapa-card__btn:hover { opacity: 0.82; }

/* ================================================
   CTA FINAL
   ================================================ */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
}

.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 22, 8, 0.82);
}

.cta-final__inner {
  position: relative;
  z-index: 2;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream-text);
  margin-bottom: 24px;
}
.cta-final__title em { font-style: italic; color: var(--gold-light); }

.cta-final__sub {
  font-size: 1rem;
  color: rgba(245,237,224,0.7);
  max-width: 440px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  padding: 48px 0;
  border-top: 1px solid rgba(245,237,224,0.08);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

/* Keep only the second (updated) version of .footer__logo img */
.footer__logo img {
  width: 220px;
  height: 70px;
  object-fit: cover;
  object-position: center 48.6%;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
}

.footer__info p,
.footer__info a {
  font-size: 0.82rem;
  color: rgba(245,237,224,0.5);
  line-height: 1.5;
}

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

.footer__legal {
  font-size: 0.75rem;
  color: rgba(245,237,224,0.3);
  line-height: 1.7;
  text-align: right;
}

/* ================================================
   WHATSAPP FLUTUANTE
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ================================================
   MOBILE CTA BAR (CRO)
   ================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--dark);
  border-top: 1px solid rgba(201,150,90,0.2);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.mobile-cta-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.mobile-cta-bar__btn:hover {
  background: var(--gold-light);
}

/* ================================================
   PREFERS REDUCED MOTION (accessibility)
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; opacity: 0.6; }
}

/* ================================================
   RESPONSIVE — TABLET (< 1024px)
   ================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 0; }

  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .resultados__grid { grid-template-columns: repeat(3, 1fr); }
  .proc-bloco__body { grid-template-columns: repeat(2, 1fr); }
  .proc-bloco__body.is-open { padding: 18px 24px 24px; }
  .res-slide.active { grid-template-columns: 1fr 1fr; gap: 36px; }

  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre__fotos-track { height: 440px; }

  .docthamed__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .docthamed__foto img { height: auto; max-height: 480px; }

  .localizacao__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer__logo { margin: 0 auto; }
  .footer__info { padding: 0; align-items: center; }
  .footer__legal { text-align: center; }
}

/* ================================================
   RESPONSIVE — MOBILE (< 768px)
   ================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  /* Mobile CTA bar */
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 72px; }
  .whatsapp-float { bottom: 84px; }

  /* Logo mobile */
  .header__logo-img {
    width: 160px;
    height: 42px;
  }

  /* Header mobile */
  .header__nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 850;
  }

  .header__nav.open { transform: none; }

  .header__nav-link {
    font-size: 1.4rem;
    font-family: var(--font-display);
    opacity: 1;
  }

  .header__cta { display: none; }

  /* Nav CTA inside mobile menu */
  .header__nav-cta {
    display: inline-flex;
    margin-top: 20px;
  }

  .header__menu-btn { display: flex; position: relative; z-index: 900; }

  .header__menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .header__menu-btn.open span:nth-child(2) { opacity: 0; }
  .header__menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Hero */
  .hero__photo {
    width: 100%;
    object-position: 30% top;
  }

  .hero__content {
    padding: 120px 24px 80px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(44, 22, 8, 0.78) 0%,
      rgba(44, 22, 8, 0.88) 100%
    );
  }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  /* Diferenciais — carousel scroll no mobile */
  .diferenciais__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 24px 20px;
    margin: 0 -24px;
  }
  .diferenciais__grid::-webkit-scrollbar { display: none; }
  .diferencial-card {
    flex: 0 0 78vw;
    max-width: 320px;
    scroll-snap-align: center;
    padding: 36px 24px;
  }
  .diferenciais .section-title { margin-bottom: 32px; }

  .resultados__grid { grid-template-columns: repeat(2, 1fr); }
  .res-slide.active { grid-template-columns: 1fr; gap: 24px; }
  .res-slide__img-wrap { max-height: 360px; min-height: 200px; }
  .dep-slide { padding: 32px 24px 28px; }

  /* Sobre — fotos mobile */
  .sobre__foto::before { display: none; }
  .sobre__inner { gap: 20px; }
  .sobre__fotos-track { height: 320px; }
  .sobre__foto-slide { object-position: center 25% !important; }

  /* Docthamed mobile — foto cheia, placa visivel a esquerda, texto a direita */
  .docthamed {
    position: relative;
    background-image: url('../images/clinica-foto.jpg');
    background-size: cover;
    background-position: 30% center;
    min-height: 580px;
  }
  .docthamed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 22, 8, 0.70);
    z-index: 0;
  }
  .docthamed::after { content: none; }
  .docthamed__inner {
    position: relative;
    z-index: 1;
    gap: 0;
    padding-left: 37%;
  }
  .docthamed__foto { display: none; }
  .docthamed .section-pretitle { color: var(--gold-light); }
  .docthamed .section-title { color: var(--cream-text); }
  .docthamed__texto { color: rgba(245,237,224,0.78); }

  /* Botoes mobile — tap targets maiores */
  .btn { padding: 14px 28px; font-size: 0.9rem; }
  .btn--lg { padding: 16px 32px; font-size: 0.95rem; }

  /* Procedimentos mobile */
  .proc-bloco__body { grid-template-columns: 1fr; gap: 1px; }
  .proc-bloco__body.is-open { padding: 16px 16px 20px; }
  .proc-sub { padding: 18px 16px; }
  .proc-sub--span { grid-column: 1 / -1; }
  .proc-sub__titulo { font-size: 0.64rem; }
  .proc-bloco__num { font-size: 1.3rem; min-width: 32px; }
  .proc-bloco__nome { font-size: 1.1rem; }
  .proc-bloco__header { padding: 18px 16px; gap: 14px; }
  .procedimentos__cta { display: flex; justify-content: center; }

  /* Depoimentos mobile */
  .dep-slide__texto { font-size: 1.05rem; line-height: 1.65; }

  /* Resultados carousel mobile */
  .res-slide__titulo { font-size: 1.4rem; }
  .res-slide__desc { font-size: 0.875rem; }

  /* Localizacao mobile */
  .mapa-card { min-height: 280px; padding: 40px 24px; }

  /* Footer mobile */
  .footer__logo img { width: 160px; height: 50px; }
  .footer__inner { gap: 20px; }

  .cta-final { padding: 80px 0; }

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