/*
 * Dr. Jeser Castro — Design System
 * ─────────────────────────────────
 * Cores:   Terra #703515 · Ocre #D99549 · Caqui #B49863 · Dark #703515
 * Fontes:  Cormorant Garamond (display) · Inter (interface)
 */

/* ═══════════════════════════════════════
   0. Custom Properties
═══════════════════════════════════════ */
:root {
  /* Brand */
  --terra:           #703515;
  --ocre:            #D99549;
  --caqui:           #B49863;
  --terra-tint:      #f5ebe3;
  --ocre-tint:       #fdf3e3;
  --caqui-tint:      #f4ede0;
  --dark-blue:       #703515;

  /* Neutrals */
  --white:           #ffffff;
  --gray-50:         #f7f7f7;
  --gray-100:        #efefef;
  --gray-300:        #d4d4d4;
  --text:            #1c1c1c;
  --text-muted:      #7a7a7a;

  /* Typography */
  --font-display:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:       'Inter', 'Century Gothic', 'Trebuchet MS', sans-serif;

  /* Misc */
  --radius-pill:     50px;
  --transition:      0.22s ease;
}

/* ═══════════════════════════════════════
   1. Reset & Base
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html   { scroll-behavior: smooth; font-size: 16px; }

body   {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ═══════════════════════════════════════
   2. Navbar — Logo · Pílula centrada
═══════════════════════════════════════ */

/*
 * Estrutura gerada por main.js (injetada em #navbar-wrapper):
 *   header.nav-wrapper
 *     ├── a.nav-logo      (esquerda, no fluxo flex)
 *     └── nav.nav-pill    (centrada via position:absolute — todos os links + Contato + hamburger)
 */

/* #navbar-wrapper: passthrough — o header filho cuida do layout */
#navbar-wrapper {
  display: contents;
}

/* ── Wrapper principal: flex, fixo no topo ── */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 16px 40px;
  pointer-events: none;
}

/* ── Logo — esquerda ── */
.nav-logo {
  pointer-events: all;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Pílula — absolutamente centrada na viewport ── */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  pointer-events: all;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: box-shadow 0.3s ease;
}

.nav-pill.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}

/* Nav list dentro da pílula */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Nav item */
.nav-item { position: relative; }

/* Nav link */
.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #333;
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.nav-link:hover { background: #f5f5f5; }

.nav-link.active {
  background: #f0ebe4;
  color: var(--terra);
  font-weight: 500;
}

/* ── Botão Contato — dentro da pílula ── */
.nav-cta-pill {
  background: var(--dark-blue);
  color: #fff !important;
  font-weight: 500;
  margin-left: 4px;
}

.nav-cta-pill:hover {
  background: var(--terra) !important;
  color: #fff !important;
}

/* ── Seta do dropdown ── */
.arrow {
  font-style: normal;
  font-size: 9px;
  opacity: 0.45;
  transition: transform var(--transition);
  display: inline-block;
}

.nav-dropdown:hover .arrow,
.nav-dropdown.open  .arrow { transform: rotate(180deg); }

/* ── Dropdown — hover no container pai ── */
.nav-dropdown { position: relative; }

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 50;
}

/* Ponte invisível sobre o gap de 8px — impede que o hover quebre ao atravessar */
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Extensão da área de hover do nav-dropdown sobre o gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 14px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown.open  .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-sub-link {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: #333;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-sub-link:hover,
.nav-sub-link.active { background: #f0ebe4; color: var(--terra); }

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 999px;
  transition: background var(--transition);
  margin-left: 4px;
}

.hamburger:hover { background: #f5f5f5; }

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: var(--transition);
}

/* ── Menu mobile aberto ── */

/* Dropdown: painel fixo na viewport, largura quase total */
.nav-pill.mobile-open .navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: fixed;
  top: 70px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.14),
    0 0 0 1px rgba(0,0,0,0.05);
  padding: 8px;
  gap: 2px;
  z-index: 999;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

/* Links principais */
.nav-pill.mobile-open .nav-link {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Submenu: oculto por padrão — só abre quando .nav-dropdown.open */
.nav-pill.mobile-open .nav-submenu {
  display: none;
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  transform: none;
  box-shadow: none;
  min-width: unset;
}

/* Submenu visível apenas quando explicitamente aberto */
.nav-pill.mobile-open .nav-dropdown.open .nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 6px 8px;
  margin-top: 2px;
}

/* Sub-links: indentados e com fundo suave */
.nav-pill.mobile-open .nav-sub-link {
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  background: #f9f6f2;
  white-space: normal;
  line-height: 1.3;
}

.nav-pill.mobile-open .nav-sub-link:hover,
.nav-pill.mobile-open .nav-sub-link.active {
  background: #f0ebe4;
  color: var(--terra);
}

/* Botão Contato — destaque no fim do menu */
.nav-pill.mobile-open .nav-cta-pill {
  background: var(--dark-blue);
  color: #fff !important;
  text-align: center;
  margin-top: 4px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════
   3. Hero Section
═══════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  max-height: 780px;
}

/* Container interno — max-width 1280px, grid 45/55 */
.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 90vh;
  max-height: 780px;
}

/* Left column — content */
.hero-left {
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 0 40px 60px 64px;
  z-index: 1;
  max-width: 560px;
}

.hero-content { max-width: 420px; width: 100%; }

/* Eyebrow text */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Hero title — única fonte serifada na hero */
.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-title .accent {
  text-decoration: underline;
  text-decoration-color: var(--ocre);
  text-decoration-thickness: 2.5px;
  text-underline-offset: 7px;
}

/* Description */
.hero-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 600;
}

/* Actions row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA Button */
.btn-cta {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ocre);
  padding: 14px 26px;
  border-radius: 4px;
  display: inline-block;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(217,149,73,0.28);
}

.btn-cta:hover {
  background: #c07828;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217,149,73,0.38);
}

/* Google Rating Badge */
.rating-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  background: var(--white);
}

.rating-score {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.rating-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rating-google {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: #4285F4;
}

.rating-stars {
  font-size: 11px;
  color: #FBBC04;
  letter-spacing: 1.5px;
}

.rating-label {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-muted);
}

/* Right column — photo */
.hero-right {
  position: relative;
  overflow: hidden;
  background: #e8e0d8;          /* fallback quando imagem ausente */
}

/* Gradiente de corte sutil na base da imagem */
.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #ffffff 0%, transparent 100%);
  pointer-events: none;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder shown when image isn't loaded */
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 48px;
  gap: 8px;
  pointer-events: none;
}

.hero-img-placeholder span {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
}

/* ═══════════════════════════════════════
   4. Sub-pages (blank layout)
═══════════════════════════════════════ */
.site-wrapper { min-height: 100vh; }

/* Spacer to push content below fixed navbar */
.page-spacer {
  height: 88px;
  background: var(--terra-tint);
}

.page-body {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 80px 32px;
  text-align: center;
}

.page-body h1 {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 300;
  color: var(--terra);
  opacity: 0.22;
  line-height: 1;
}

.page-body p {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.55;
}

/* ═══════════════════════════════════════
   5. Responsive
═══════════════════════════════════════ */

/* ─ 1200px ─ */
@media (max-width: 1200px) {
  .hero-left  { padding: 0 36px 60px 48px; }
  .hero-title { font-size: 44px; }
}

/* ─ 1024px ─ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 50% 50%; }
  .hero-left  { padding: 0 28px 56px 36px; }
  .hero-title { font-size: 40px; }
  .nav-wrapper { padding: 14px 24px; }
}

/* ─ 768px ─ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-wrapper { padding: 12px 16px; }
  .nav-link    { font-size: 12px; padding: 5px 10px; }

  /* Hero empilhado */
  .hero           { min-height: auto; max-height: none; }
  .hero-container { grid-template-columns: 1fr; min-height: auto; max-height: none; }
  .hero-left      { padding: 100px 24px 48px; max-width: 100%; }
  .hero-content   { max-width: 100%; }
  .hero-right     { min-height: 105vw; }
  .hero-right img { position: absolute; inset: 0; min-height: unset; object-position: center top; }
  .hero-right::after { height: 40px; }
  .hero-title     { font-size: 36px; }

  .page-body h1   { font-size: 36px; }
}

/* ─ 600px ─ */
@media (max-width: 600px) {
  /* Esconde links, mostra hamburger — Contato fica no menu mobile */
  .navbar-nav { display: none; }
  .hamburger  { display: flex; }
  .nav-wrapper { padding: 10px 16px; }

  /* Pílula: sai da posição centrada e âncora no canto superior direito */
  .nav-pill {
    position: fixed;
    top: 16px;
    right: 16px;
    left: auto;
    transform: none;
  }

  .hero-title  { font-size: 34px; }
  .hero-left   { padding: 100px 24px 48px; }
  .hero-desc   { font-size: 14px; }
  .btn-cta     { font-size: 11px; padding: 13px 24px; }
}

/* ─ 400px ─ */
@media (max-width: 400px) {
  .hero-title     { font-size: 30px; }
  .hero-actions   { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ═══════════════════════════════════════
   6. Faixa de Especialidades
═══════════════════════════════════════ */
.specialties-bar {
  background: var(--dark-blue);
  padding: 56px 88px;
  position: relative;
  z-index: 10;
  margin-top: -60px;
  border-radius: 0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.specialties-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* Tagline esquerda */
.specialties-tagline {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 48px;
}

.spec-tag-sub {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

.spec-tag-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
}

/* Separador vertical */
.spec-sep {
  width: 1px;
  height: 88px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* Item de especialidade */
.specialty-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
}

/* Círculo placeholder */
.specialty-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.specialty-circle:hover {
  background: rgba(217,149,73,0.1);
  border-color: rgba(217,149,73,0.45);
}

.specialty-circle-dim {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.specialty-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── Círculos de especialidade — hover + overlay ── */
.especialidade-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  position: relative;
  cursor: pointer;
}

.especialidade-circulo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
}

.especialidade-circulo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.especialidade-circulo:hover img {
  transform: scale(1.08);
}

.especialidade-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(112, 53, 21, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.especialidade-circulo:hover .especialidade-overlay {
  opacity: 1;
}

.especialidade-overlay span {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .especialidade-overlay {
    animation: pulse-overlay 3s ease-in-out infinite;
    opacity: 0;
  }

  @keyframes pulse-overlay {
    0%, 60%, 100% { opacity: 0; }
    30%           { opacity: 1; }
  }

  .especialidade-circulo:active .especialidade-overlay {
    opacity: 1;
    animation: none;
  }

  .especialidade-item:nth-child(1) .especialidade-overlay { animation-delay: 0s; }
  .especialidade-item:nth-child(2) .especialidade-overlay { animation-delay: 1s; }
  .especialidade-item:nth-child(3) .especialidade-overlay { animation-delay: 2s; }
}

/* ═══════════════════════════════════════
   7. Seção Principais Atendimentos
═══════════════════════════════════════ */
.treatments-section {
  padding: 96px 88px;
  background: var(--white);
}

.treatments-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho */
.treatments-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.treatments-title {
  font-family: 'Roboto Slab', var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--terra);
  line-height: 1.15;
}

.treatments-title-bar {
  width: 48px;
  height: 2px;
  background: var(--ocre);
  border-radius: 2px;
}

/* Layout: índice + carrossel */
.treatments-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* Índice lateral */
.treatments-index {
  flex: 0 0 196px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.t-idx-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  background: none;
  border: none;
  border-left: 2px solid var(--gray-300);
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition:
    color var(--transition),
    border-color var(--transition),
    font-weight var(--transition);
}

.t-idx-btn:hover {
  color: var(--terra);
  border-left-color: var(--caqui);
}

.t-idx-btn.active {
  color: var(--terra);
  font-weight: 600;
  border-left-color: var(--terra);
}

/* Área do carrossel */
.carousel-area {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;                   /* evita overflow do flex */
}

/* Carrossel */
.treatments-carousel {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;            /* espaço para sombra do card */
  min-width: 0;
}

.treatments-carousel::-webkit-scrollbar { display: none; }

/* Card individual */
.treatment-card {
  flex: 0 0 calc(50% - 12px);    /* 2 cards visíveis em desktop */
  scroll-snap-align: start;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.treatment-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

/* Placeholder de imagem (padrão do design system) */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f0ebe4;
  border-bottom: 1.5px dashed var(--caqui);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--caqui);
  font-family: var(--font-body);
  font-size: 12px;
  gap: 8px;
}

/* Imagem real do card de tratamento */
.tc-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Corpo do card */
.tc-body {
  padding: 22px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ocre);
  text-transform: uppercase;
}

.tc-title {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--terra);
  line-height: 1.35;
}

.tc-hl { color: var(--ocre); font-weight: 700; }

.tc-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
}

.tc-link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ocre);
  letter-spacing: 0.02em;
  display: inline-block;
  margin-top: 4px;
  transition: color var(--transition);
}

.tc-link:hover { color: var(--terra); }

/* Setas do carrossel */
.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ocre);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.carousel-arrow:hover {
  background: #c07828;
  transform: scale(1.06);
}

/* Dots de paginação (visíveis apenas no mobile) */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 4px;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.c-dot.active {
  background: var(--terra);
  transform: scale(1.25);
}

/* ── Responsivo — Atendimentos ── */
@media (max-width: 1024px) {
  .treatments-section  { padding: 80px 48px; }
  .treatments-layout   { gap: 32px; }
  .treatments-index    { flex: 0 0 170px; }
}

@media (max-width: 768px) {
  .treatments-section  { padding: 56px 24px; }
  .treatments-header   { margin-bottom: 32px; }
  .treatments-layout   { flex-direction: column; gap: 20px; }
  .treatments-title    { font-size: 32px; }

  /* Índice vira scroll horizontal em pills */
  .treatments-index    {
    flex: unset;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
    width: 100%;
    padding-bottom: 4px;
  }
  .treatments-index::-webkit-scrollbar { display: none; }
  .t-idx-btn {
    border-left: none;
    border: 1.5px solid var(--gray-300);
    border-radius: 999px;
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .t-idx-btn.active {
    border-color: var(--terra);
    background: #f5ebe3;
    color: var(--terra);
    font-weight: 600;
    border-left-color: var(--terra);
  }

  /* Cards: 1 de cada vez, largura total, imagem mais baixa */
  .treatment-card  { flex: 0 0 100%; }
  .tc-img          { aspect-ratio: unset; height: 200px; }
  .img-placeholder { aspect-ratio: unset; height: 200px; }
  .tc-body         { padding: 18px 20px 22px; gap: 8px; }
  .tc-desc         { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .treatments-carousel { gap: 0; }

  /* Carrossel vai de borda a borda (compensa o padding da section: 24px) */
  .carousel-area {
    position: relative;
    gap: 0;
    margin-left: -24px;
    margin-right: -24px;
    width: calc(100% + 48px);
  }

  /* Setas sobrepostas na área da imagem */
  .carousel-arrow {
    position: absolute;
    top: 90px; /* centro da imagem de 200px */
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--terra);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }
  .carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }

  /* Dots de paginação */
  .carousel-dots { display: flex; }
}

@media (max-width: 480px) {
  .treatments-section  { padding: 48px 16px; }
  .treatments-title    { font-size: 26px; }
  .treatment-card      { flex: 0 0 100%; }
  .tc-img              { height: 180px; }
  .tc-body             { padding: 16px 16px 20px; }
  .tc-title            { font-size: 14.5px; }

  /* Ajuste do margin para padding da section: 16px */
  .carousel-area {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
  .carousel-arrow { top: 80px; } /* centro da imagem de 180px */
}

/* ── Responsivo — Especialidades ── */
@media (max-width: 1024px) {
  .specialties-bar       { padding: 48px 48px; }
  .specialty-item        { padding: 0 20px; }
  .specialty-circle      { width: 130px; height: 130px; }
  .specialties-tagline   { flex: 0 0 200px; padding-right: 32px; }
}

@media (max-width: 768px) {
  .specialties-bar       { padding: 40px 24px; }
  .specialties-inner     { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .specialties-tagline   { flex: 0 0 100%; text-align: center; padding-right: 0; }
  .spec-sep              { display: none; }
  .specialty-item        { flex: 0 0 calc(33% - 24px); padding: 0; }
  .specialty-circle      { width: 110px; height: 110px; }
}

@media (max-width: 480px) {
  .specialty-item        { flex: 0 0 calc(50% - 16px); padding: 0; }
  .specialty-circle      { width: 96px; height: 96px; }
  .specialty-label       { font-size: 11px; }
  .spec-tag-title        { font-size: 26px; }
  .specialties-bar       { padding: 32px 16px; }
}

/* ═══════════════════════════════════════
   8. Seção Sua Jornada
═══════════════════════════════════════ */
.jornada-section {
  background: #faf8f5;
  position: relative;
  /* altura calculada via JS para 160px fixos por card + 1 viewport de buffer */
  height: 200vh;
}

.jornada-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  /* Sticky container: stays in viewport as user scrolls through tall section */
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  /* overflow visible: stacked cards may peek above the wrapper */
  overflow: visible;
}

/* ── Coluna esquerda ── */
.jornada-esquerda {
  /* sticky handled by parent .jornada-inner */
}

.jornada-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 12px;
}

.jornada-headline {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 300;
  color: var(--terra);
  line-height: 1.25;
  margin-bottom: 16px;
}

.jornada-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}

.jornada-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ── Coluna direita ── */
.jornada-direita {
  /* sticky handled by parent .jornada-inner */
}

/*
 * Wrapper dos cards: margin-top grande para dar espaço visual
 * aos cards anteriores que "espreitam" acima como um baralho aberto
 */
.jornada-card-wrapper {
  position: relative;
  height: 240px;
  margin-top: 160px; /* espaço para até 3 cards espreitando acima */
  overflow: visible;
}

.jornada-card {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 36px 40px;
  /* estado inicial: aguardando abaixo, pronto para subir */
  opacity: 0;
  transform: translateY(100px) scale(0.90);
  transition: opacity 0.45s ease,
              transform 0.60s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: transform, opacity;
}

/* Fallback CSS para quando o JS ainda não rodou */
.jornada-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Badge */
.jornada-badge {
  display: inline-block;
  background: #f0ebe4;
  color: var(--caqui);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.jornada-card h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.jornada-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}

/* Hint de scroll */
.jornada-scroll-hint {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--caqui);
  text-align: center;
  margin-top: 20px;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
  animation: fade-hint 2s ease-in-out infinite;
}

@keyframes fade-hint {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   }
}

/* ── Responsivo — Jornada ── */
@media (max-width: 1024px) {
  .jornada-inner { padding: 0 40px; gap: 40px; }
}

@media (max-width: 768px) {
  /* On mobile: disable the scroll-story — show all cards normally */
  .jornada-section  { height: auto; padding: 64px 0; }
  .jornada-inner    { grid-template-columns: 1fr; padding: 0 24px; gap: 40px;
                      position: static; height: auto; overflow: visible; }
  .jornada-esquerda { position: static; }
  .jornada-direita  { position: static; }
  .jornada-card-wrapper { height: auto; margin-top: 0; }
  /* !important garante que o CSS mobile vence eventuais estilos inline do JS */
  .jornada-card     { position: relative !important; top: auto !important;
                      opacity: 1 !important; transform: none !important;
                      pointer-events: all !important; margin-bottom: 16px; }
  .jornada-card.active { transform: none !important; }
  .jornada-scroll-hint { display: none; }
}

@media (max-width: 480px) {
  .jornada-inner  { padding: 0 20px; }
  .jornada-card   { padding: 24px; }
}

/* ═══════════════════════════════════════
   9. Animações Reveal + Stagger
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Variantes direcionais */
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-left.visible,
.reveal-right.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Stagger em listas */
.stagger-list li {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-list.visible li:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(7) { transition-delay: 0.65s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(8) { transition-delay: 0.75s; opacity: 1; transform: none; }
.stagger-list.visible li:nth-child(9) { transition-delay: 0.85s; opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   10. Seção Sobre o Dr. Jeser Castro
═══════════════════════════════════════ */
.sobre-section {
  background: #faf8f5;
  padding: 96px 88px;
}

.sobre-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 72px;
  align-items: flex-start;
}

/* ── Coluna esquerda ── */
.sobre-left {
  flex: 0 0 400px;
}

.sobre-img-wrap {
  position: relative;
}

.sobre-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 20px;
  display: block;
}

/* Placeholder quando a foto não existe */
.sobre-img-ph {
  border-radius: 20px;
  aspect-ratio: 3/4;
  width: 100%;
  border-bottom: none;         /* sobrepõe a regra genérica do .img-placeholder */
  border: 1.5px dashed var(--caqui);
}

/* Badge flutuante de credencial */
.sobre-credential-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--terra);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(112,53,21,0.22);
}

.sobre-cred-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}

.sobre-cred-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  line-height: 1.35;
  text-align: center;
}

/* ── Coluna direita ── */
.sobre-right {
  flex: 1;
  padding-top: 8px;
  min-width: 0;
}

.sobre-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 16px;
}

.sobre-headline {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1.2;
  margin-bottom: 16px;
}

.sobre-sub {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Lista de credenciais */
.sobre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.sobre-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.sobre-list li span {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.55;
}

/* Divisória */
.sobre-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 32px 0;
}

/* Mini cards de números */
.sobre-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sobre-stat-card {
  background: var(--white);
  border: 0.5px solid var(--caqui);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.sobre-stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--terra);
  line-height: 1;
}

.sobre-stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Botão CTA */
.btn-sobre-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ocre);
  padding: 15px 28px;
  border-radius: 8px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(217,149,73,0.28);
}

.btn-sobre-cta:hover {
  background: #c07828;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217,149,73,0.38);
}

/* ── Responsivo — Sobre ── */
@media (max-width: 1024px) {
  .sobre-section   { padding: 80px 48px; }
  .sobre-inner     { gap: 48px; }
  .sobre-left      { flex: 0 0 340px; }
  .sobre-headline  { font-size: 30px; }
}

@media (max-width: 768px) {
  .sobre-section   { padding: 64px 32px; }
  .sobre-inner     { flex-direction: column; gap: 56px; }  /* 56px pois o badge sobrepõe 24px */
  .sobre-left      { flex: unset; width: 100%; }
  .sobre-credential-badge { bottom: -20px; right: -12px; padding: 16px 20px; }
  .sobre-cred-num  { font-size: 30px; }
  .sobre-headline  { font-size: 28px; }
  .reveal-left,
  .reveal-right    { transform: translateY(24px); }  /* no mobile só desce, não desloca horizontal */
}

@media (max-width: 480px) {
  .sobre-section      { padding: 56px 20px; }
  .sobre-headline     { font-size: 22px; }
  .sobre-stats        { flex-direction: column; }
  .sobre-stat-card    { min-width: unset; }
  .sobre-left         { padding-bottom: 24px; }
  .sobre-credential-badge { bottom: -16px; right: -8px; padding: 12px 16px; }
  .sobre-cred-num     { font-size: 26px; }
  .sobre-cred-label   { font-size: 10px; }
}

/* ═══════════════════════════════════════
   11. Seção Depoimentos
═══════════════════════════════════════ */
.dep-section {
  background: var(--white);
  padding: 96px 88px;
}

.dep-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cabeçalho */
.dep-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.dep-header-left { flex: 1; min-width: 280px; }

.dep-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 12px;
}

.dep-headline {
  font-family: 'Roboto Slab', serif;
  font-size: 36px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 520px;
}

/* Google badge */
.dep-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  padding: 8px 16px;
}

.dep-google-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.dep-stars { color: #F8A800; }

/* Setas */
.dep-header-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.dep-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.dep-arrow:hover {
  background: var(--ocre);
  border-color: var(--ocre);
  color: var(--white);
}

/* Carrossel */
.dep-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.dep-carousel::-webkit-scrollbar { display: none; }

/* Card */
.dep-card {
  flex: 0 0 calc(33.333% - 16px);  /* 3 visíveis — gap 24px → 48/3=16 */
  scroll-snap-align: start;
  border: 0.5px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dep-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dep-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av, #ccc);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.dep-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dep-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.dep-time {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.dep-g-icon { flex-shrink: 0; }

.dep-stars-row {
  font-size: 15px;
  color: #F8A800;
  letter-spacing: 0.04em;
}

.dep-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ── Responsivo — Depoimentos ── */
@media (max-width: 1024px) {
  .dep-section  { padding: 80px 48px; }
  .dep-headline { font-size: 30px; }
  .dep-card     { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  .dep-section  { padding: 64px 32px; }
  .dep-header   { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dep-card     { flex: 0 0 85%; }
  .dep-headline { font-size: 26px; }
}

@media (max-width: 480px) {
  .dep-section  { padding: 56px 20px; }
  .dep-card     { flex: 0 0 calc(100% - 4px); }
}

/* ═══════════════════════════════════════
   11a. WhatsApp Flutuante
═══════════════════════════════════════ */
#btn-whatsapp-float {
  animation: float-in 0.6s ease 1.5s both;
}

@keyframes float-in {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

/* Bounce na seta "Saiba mais" */
#btn-saibamais svg {
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0);  }
  50%       { transform: translateY(4px); }
}

/* ═══════════════════════════════════════
   11b. Seção A Clínica
═══════════════════════════════════════ */
.clinica-section {
  background: #fff;
  padding: 80px 88px;
}

.clinica-section .section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 14px;
}

.clinica-headline {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  color: var(--terra);
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 620px;
}

.clinica-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 0 40px;
}

/* Grid de fotos */
.clinica-grid-fotos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 60px;
}

.img-placeholder {
  height: 260px;
  background: #f0ebe4;
  border: 1.5px dashed var(--caqui);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--caqui);
  font-family: var(--font-body);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

.img-placeholder svg {
  opacity: 0.55;
}

.clinica-grid-fotos img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Localização */
.clinica-loc-title {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--terra);
  margin: 0 0 10px;
}

.clinica-loc-divider {
  border: none;
  border-top: 0.5px solid var(--caqui);
  margin: 0 0 32px;
}

.clinica-localizacao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 48px;
}

.clinica-mapa {
  display: flex;
}

.clinica-mapa iframe {
  width: 100%;
  height: auto;
  min-height: 440px;
  flex: 1;
  border: 0.5px solid #B49863;
  border-radius: 16px;
  display: block;
}

/* Coluna direita: foto + card empilhados */
.clinica-col-direita {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clinica-col-direita img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 16px;
  display: block;
}

.clinica-info-card {
  background: #faf8f5;
  border: 0.5px solid var(--caqui);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.clinica-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.clinica-info-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--ocre);
}

.clinica-info-item a {
  color: var(--ocre);
  text-decoration: none;
  font-weight: 500;
}

.clinica-info-item a:hover {
  text-decoration: underline;
}

/* CTA faixa */
.clinica-cta-faixa {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--terra);
  border-radius: 20px;
  padding: 40px 48px;
  margin-top: 60px;
}

.clinica-cta-title {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}

.clinica-cta-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.6;
  max-width: 480px;
}

.clinica-cta-btn {
  display: inline-block;
  background: var(--ocre);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 32px;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.clinica-cta-btn:hover {
  transform: translateY(-2px);
  background: #c4813a;
}

/* Responsivo */
@media (max-width: 1024px) {
  .clinica-section { padding: 80px 48px; }
}

@media (max-width: 1024px) {
  .clinica-grid-fotos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .clinica-section    { padding: 64px 32px; }
  .clinica-grid-fotos { grid-template-columns: repeat(2, 1fr); }
  .clinica-localizacao { grid-template-columns: 1fr; }
  .clinica-cta-faixa  { grid-template-columns: 1fr; text-align: center; padding: 32px 28px; }
  .clinica-cta-sub    { max-width: 100%; }
}

@media (max-width: 480px) {
  .clinica-section         { padding: 56px 20px; }
  .clinica-cta-faixa       { padding: 28px 20px; }
  .clinica-headline        { font-size: 22px; }
  .clinica-cta-title       { font-size: 20px; }
  .clinica-grid-fotos      { gap: 10px; }
  .clinica-grid-fotos img,
  .clinica-grid-fotos .img-placeholder { height: 200px; }
}

/* ═══════════════════════════════════════
   12. Seção FAQ
═══════════════════════════════════════ */
.faq-section {
  background: #faf8f5;
  padding: 96px 88px;
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* Coluna esquerda sticky */
.faq-left {
  flex: 0 0 280px;
  position: sticky;
  top: 110px;
}

.faq-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 14px;
}

.faq-headline {
  font-family: 'Roboto Slab', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1.15;
  margin-bottom: 16px;
}

.faq-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--caqui);
  border-radius: 999px;
  padding: 11px 20px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-whatsapp:hover {
  background: var(--ocre);
  border-color: var(--ocre);
  color: var(--white);
}

/* Coluna direita — accordion */
.faq-right {
  flex: 1;
  min-width: 0;
}

.faq-item {
  border-top: 0.5px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: 0.5px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--caqui);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Responsivo — FAQ ── */
@media (max-width: 1024px) {
  .faq-section  { padding: 80px 48px; }
  .faq-inner    { gap: 48px; }
  .faq-left     { flex: 0 0 240px; }
  .faq-headline { font-size: 34px; }
}

@media (max-width: 768px) {
  .faq-section  { padding: 64px 32px; }
  .faq-inner    { flex-direction: column; gap: 40px; }
  .faq-left     { flex: unset; width: 100%; position: static; top: auto; }
  .faq-headline { font-size: 30px; }
}

@media (max-width: 480px) {
  .faq-section  { padding: 56px 20px; }
  .faq-headline { font-size: 26px; }
}

/* ═══════════════════════════════════════
   13. Seção Blog
═══════════════════════════════════════ */
.blog-section {
  background: #f7f4ef;
  padding: 96px 88px;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-header {
  text-align: center;
  margin-bottom: 56px;
}

.blog-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 12px;
}

.blog-headline {
  font-family: 'Roboto Slab', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1.2;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Card */
.blog-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* Placeholder de imagem do blog */
.blog-img-ph {
  width: 100%;
  height: 180px;
  background: #f0ebe4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px dashed var(--caqui);
  flex-shrink: 0;
}

.blog-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-date {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocre);
}

.blog-title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.blog-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.blog-link {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--terra);
  margin-top: 6px;
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}

.blog-link:hover { text-decoration-color: var(--terra); }

/* ── Responsivo — Blog ── */
@media (max-width: 1024px) {
  .blog-section   { padding: 80px 48px; }
  .blog-grid      { grid-template-columns: repeat(2, 1fr); }
  .blog-headline  { font-size: 34px; }
}

@media (max-width: 768px) {
  .blog-section   { padding: 64px 32px; }
  .blog-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .blog-card      { flex: 0 0 280px; scroll-snap-align: start; }
  .blog-headline  { font-size: 28px; }
}

@media (max-width: 480px) {
  .blog-section   { padding: 56px 20px; }
  .blog-card      { flex: 0 0 260px; }
  .blog-headline  { font-size: 24px; }
}

/* ═══════════════════════════════════════
   14. Footer
═══════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 0.5px solid var(--caqui);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  padding: 64px 88px 48px;
}

/* Coluna marca */
.footer-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  display: block;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--terra);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-crm {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--caqui);
  letter-spacing: 0.04em;
}

/* Título de coluna */
.footer-col-title {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

/* Links rápidos */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--terra); }

.footer-cta-link {
  color: var(--ocre) !important;
  font-weight: 600;
}

/* Contatos */
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--caqui);
  opacity: 0.85;
}

.footer-contacts a,
.footer-contacts span,
.footer-contact-btn {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--transition);
}

/* Botão do WhatsApp no footer — sem estilos nativos de button */
.footer-contact-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.footer-contacts a:hover,
.footer-contact-btn:hover { color: var(--terra); }

/* Botão CTA do footer nav (era <a>, agora <button>) */
button.footer-cta-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13.5px;
}

/* Barra inferior */
.footer-bottom {
  border-top: 0.5px solid var(--gray-100);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom span,
.footer-bottom a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom a:hover { color: var(--terra); }

/* ── Responsivo — Footer ── */
@media (max-width: 1024px) {
  .footer-inner   { padding: 56px 48px 40px; gap: 40px; }
  .footer-bottom  { padding: 18px 48px; }
}

@media (max-width: 768px) {
  .footer-inner   { grid-template-columns: 1fr 1fr; padding: 48px 32px 32px; gap: 32px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-bottom  { padding: 16px 32px; flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 480px) {
  .footer-inner   { grid-template-columns: 1fr; padding: 40px 20px 24px; }
  .footer-bottom  { padding: 14px 20px; }
}

/* ─── Reset para <button> que substituíram <a> nos CTAs ─── */
.btn-cta,
.btn-sobre-cta,
.clinica-cta-btn,
.btn-whatsapp,
.clinica-info-link {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

/* clinica-info-link: herda aparência de link simples */
.clinica-info-link {
  background: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.clinica-info-link:hover { color: var(--terra); }

/* ═══════════════════════════════════════
   CRM — Modal de Captação de Lead
═══════════════════════════════════════ */
.crm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 12, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 11000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.crm-overlay.active { display: flex; }

.crm-modal {
  background: #fff;
  border-radius: 20px;
  padding: 48px 44px 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(112, 53, 21, 0.15);
  animation: crm-in 0.3s cubic-bezier(.22,.68,0,1.1) both;
}

@keyframes crm-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.crm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--caqui);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.crm-close:hover { color: var(--terra); background: #f5f0eb; }

.crm-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caqui);
  margin-bottom: 10px;
}

.crm-title {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1.3;
  margin-bottom: 8px;
}

.crm-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.crm-form { display: flex; flex-direction: column; gap: 12px; }

.crm-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e0d9d0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: #faf8f5;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.crm-input::placeholder { color: #b8afa4; }
.crm-input:focus {
  border-color: var(--caqui);
  box-shadow: 0 0 0 3px rgba(180, 152, 99, 0.15);
  background: #fff;
}

.crm-submit {
  width: 100%;
  padding: 15px 24px;
  background: var(--terra);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s, transform 0.2s;
}
.crm-submit:hover {
  background: #5a2a10;
  transform: translateY(-1px);
}
.crm-submit:active { transform: translateY(0); }

.crm-privacy {
  font-family: var(--font-body);
  font-size: 11px;
  color: #b8afa4;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .crm-modal { padding: 36px 24px 28px; }
  .crm-title { font-size: 20px; }
}
