/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --dark2:   #1a1a1a;
  --beige:   #f5f0e8;
  --cream:   #faf8f4;
  --white:   #ffffff;
  --gold:    #c9a96e;
  --gold-lt: #e8d5b0;
  --gray:    #6b6b6b;
  --gray-lt: #e0ddd8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-light  { background: var(--cream); }
.section-dark   { background: var(--dark); color: var(--white); }
.section-beige  { background: var(--beige); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 16px; }
.section-header p  { color: var(--gray); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,169,110,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(201,169,110,0.3);
}
.section-tag.light { background: rgba(201,169,110,0.18); }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
em { font-style: italic; color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn.full-width { width: 100%; text-align: center; font-size: 1rem; padding: 16px; }

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo-img {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-img img {
  display: block;
  transition: opacity var(--transition);
}
.logo-img:hover img { opacity: 0.8; }

/* Logo com fundo transparente — texto: x=880–2758, y=235–553 do original */
.logo-image {
  height: 72px;
  width: auto;
  display: block;
  /* Inverte para preto sobre hero claro */
  filter: invert(1);
  transition: filter var(--transition), opacity var(--transition);
}
/* Volta ao branco quando header scrollado */
#header.scrolled .logo-image {
  filter: invert(0);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 0;
  margin-right: auto;
}
.nav-links a {
  color: #222;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--gold); }
/* Links brancos quando header scrollado (fundo escuro) */
#header.scrolled .nav-links a { color: rgba(255,255,255,0.82); }
#header.scrolled .nav-links a:hover { color: var(--gold); }

/* Barra vertical entre links da nav */
.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(0,0,0,0.2);
  display: block;
  flex-shrink: 0;
}
#header.scrolled .nav-divider { background: rgba(255,255,255,0.25); }

.btn-nav {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
}
.btn-whatsapp {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #c8c8c8, #f0f0f0, #a8a8a8) !important;
  color: #1a1a1a !important;
  box-shadow: 0 2px 10px rgba(200,200,200,0.25);
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #d8d8d8, #ffffff, #bcbcbc) !important;
  color: #000 !important;
  box-shadow: 0 4px 18px rgba(200,200,200,0.4);
  transform: translateY(-1px);
}
.wpp-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #1a1a1a;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}

/* Foto portrait — mais ao centro para reduzir espaço vazio */
.hero-doctor-img {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  display: block;
  z-index: 1;
}

/* Gradiente integrado: esquerda→direita (branco→transparente) + baixo→cima suave */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* fade lateral — cobre texto e funde com a foto */
    linear-gradient(
      to right,
      #ffffff  0%,
      #ffffff  40%,
      rgba(255,255,255,0.90) 50%,
      rgba(255,255,255,0.35) 62%,
      rgba(255,255,255,0.00) 76%
    ),
    /* fade inferior — ancora a foto ao fundo */
    linear-gradient(
      to top,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.00) 30%
    );
}

/* Texto centralizado na hero */
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 140px;
  max-width: 600px;
  margin-left: clamp(24px, 8vw, 100px);
}
.hero-content h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: #111;
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  background: rgba(180,180,180,0.12);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(160,160,160,0.4);
  margin-bottom: 24px;
}
/* Quebras de linha condicionais */
.desktop-br { display: none; }
.mobile-br { display: inline; }
@media (min-width: 901px) {
  .desktop-br { display: inline; }
  .mobile-br { display: none; }
  .hero-content h1 em { line-height: 1.05; display: inline-block; }
}

.hero-sub {
  font-size: 1.15rem;
  color: #555;
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero .btn-outline {
  color: #222;
  border-color: rgba(0,0,0,0.3);
}
.hero .btn-outline:hover {
  border-color: #aaa;
  color: #555;
}
/* Botão Agendar Avaliação na hero — maior + efeito brilho */
.hero .btn-whatsapp {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 36px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(180,180,180,0.35) !important;
}

/* Reflexo de luz deslizando sobre o botão */
.hero .btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0)   0%,
    rgba(255,255,255,0.55)  50%,
    rgba(255,255,255,0.0)  100%
  );
  transform: skewX(-20deg);
  animation: btnShine 3.5s ease-in-out infinite;
}

@keyframes btnShine {
  0%   { left: -75%; }
  40%  { left: 125%; }
  100% { left: 125%; }
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #999;
  line-height: 1;
  margin-bottom: 4px;
}
.stat span {
  font-size: 0.82rem;
  color: #666;
  max-width: 110px;
  line-height: 1.4;
}
/* Remove divisores da hero */
.hero .stat-divider { display: none; }
.hero .hero-stats { gap: 32px; }

/* Nome da doutora — base mobile: dentro da foto, mais acima */
.hero-doctor-name {
  display: block;
  position: absolute;
  right: 16px;
  bottom: 28%;
  z-index: 4;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: #333;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(6px);
  padding: 8px 16px;
  letter-spacing: 0.03em;
}
/* Desktop: faixa elegante semi-transparente */
@media (min-width: 901px) {
  .hero-doctor-name {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: 48% !important;
    bottom: 200px !important;
    top: auto !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    font-family: var(--font-serif) !important;
    font-size: 1.15rem !important;
    font-style: italic !important;
    color: #444 !important;
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 10px 28px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    letter-spacing: 0.04em !important;
    z-index: 4 !important;
  }
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,0.15);
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(0,0,0,0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* Ajustes hero — apenas desktop: alinha texto e foto com os cards */
@media (min-width: 901px) {
  /* Foto: borda direita alinhada com o fim do 4º card */
  .hero-doctor-img {
    right: max(24px, calc((100vw - 1160px) / 2 + 24px));
    mask-image:
      linear-gradient(to right, transparent 0%, black 8%, black 100%),
      linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
    mask-composite: intersect;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, black 8%, black 100%),
      linear-gradient(to bottom, transparent 0%, black 5%, black 88%, transparent 100%);
    -webkit-mask-composite: source-in;
  }
  /* Texto: começa onde o 1º card começa */
  .hero-content {
    max-width: 1160px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-content h1,
  .hero-content .hero-badge,
  .hero-content .hero-sub,
  .hero-content .hero-ctas,
  .hero-content .hero-stats {
    max-width: 600px;
  }
  .hero .btn-whatsapp {
    font-size: 1.2rem !important;
    padding: 20px 72px !important;
  }
}

/* ===== ANTES & DEPOIS — CARROSSEL ===== */
.section-white { background: #fff; }

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  padding: 0 4px;
}

/* Par antes/depois */
.ba-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.ba-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.ba-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8e4df 0%, #d8d4cf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-img-placeholder.depois-bg {
  background: linear-gradient(135deg, #e8e0d5 0%, #d4c8b8 100%);
}
.ba-upload-hint {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.35);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Imagem real no carrossel */
.ba-real-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.ba-label.antes  { background: rgba(0,0,0,0.55); color: #fff; }
.ba-label.depois { background: var(--gold); color: var(--dark); }

.ba-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}

/* Setas */
.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  color: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(201,169,110,0.4);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0ccc8;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== STEPS / HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.08); }
.step-card:hover::after { transform: scaleX(1); }
.step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p  { color: var(--gray); font-size: 0.95rem; }

/* Cards versão escura (seção Como Funciona) */
.step-card-dark {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.step-card-dark h3 { color: #fff; }
.step-card-dark p  { color: rgba(255,255,255,0.6); }
.step-card-dark .step-num { color: var(--gold); opacity: 0.5; }
.step-card-dark::after  { background: linear-gradient(90deg, var(--gold), var(--gold-lt)); }

/* ===== PROTOCOLO ===== */
.proto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.proto-text h2 { color: var(--white); margin: 16px 0 24px; }
.proto-text p   { color: rgba(255,255,255,0.72); margin-bottom: 24px; }
.proto-list {
  list-style: none;
  margin-bottom: 36px;
}
.proto-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.check {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}
.proto-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.proto-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}
.proto-card:hover {
  background: rgba(201,169,110,0.07);
  border-color: rgba(201,169,110,0.25);
}
.proto-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  flex-shrink: 0;
}
.proto-icon svg { width: 100%; height: 100%; }
.proto-card h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.proto-card p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ===== DOUTORA ===== */
.doctor-section-white { background: #fff; }

.doctor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.doctor-img-wrap {
  position: relative;
}

/* Foto grande com fade nas bordas */
.doctor-photo-wrap {
  position: relative;
  overflow: hidden;
  /* sem border-radius — funde diretamente com o fundo */
}
.doctor-real-img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
/* Fade lateral direito: funde com o fundo branco — contido dentro da coluna */
.doctor-fade-right {
  position: absolute;
  top: 0; right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
/* Fade inferior: ancora a foto ao fundo branco */
.doctor-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
/* Garante que o texto nunca fique atrás da foto */
.doctor-img-wrap { overflow: visible; }
.doctor-text { position: relative; z-index: 2; }
.doctor-text h2 { margin: 12px 0 4px; }
.doctor-subtitle {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.doctor-text p { color: var(--gray); margin-bottom: 16px; font-size: 0.97rem; }
.credentials {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.credential-item strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.credential-item span {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
/* Badge Google na seção */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 18px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.google-stars-total {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 10px;
}
.google-stars-total strong { color: #fff; }

/* Topo do card: estrelas + ícone Google */
.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.google-icon-sm {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Grid 4 cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.stars { color: #FBBC05; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; color: #fff; }
.testi-author span   { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ===== CONTACT ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { color: var(--white); margin: 16px 0 12px; }
.contact-info > p { color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-icon {
  font-size: 1.4rem;
  width: 40px;
  flex-shrink: 0;
  line-height: 1.5;
}
.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-item span {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.6;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 100px;
  transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--dark); }

/* ===== FORM ===== */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h3 {
  color: var(--white);
  font-family: var(--font-serif);
  margin-bottom: 28px;
  font-size: 1.4rem;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,169,110,0.06);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.65);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding: 64px 24px;
}
.footer-brand .logo { color: var(--white); font-size: 1.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 20px; }
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }

.footer-links h4,
.footer-legal h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-legal p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.8;
}

/* Dica "clique para ampliar" — oculta no desktop */
.carousel-hint-mobile { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .proto-inner,
  .doctor-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .doctor-inner { grid-template-columns: 1fr; }
  .doctor-img-wrap { max-width: 380px; margin: 0 auto; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; opacity: 0.5; }
  .nav-links .nav-divider { opacity: 0.3; }
  .hamburger { display: flex; z-index: 1001; }
  .hero-content h1 { font-size: clamp(3rem, 11vw, 3.8rem); color: #000; }
  .hero-content h1 em { color: #a8842e; }
  .hero-badge { color: #555; border-color: rgba(100,100,100,0.5); background: rgba(255,255,255,0.85); }
  .hero-sub { color: #333; }
  .hero-sub { font-size: 1rem; }
  .hero-doctor-img {
    mask-image:
      linear-gradient(to right, transparent 0%, black 8%, black 100%);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, black 8%, black 100%);
  }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 28px 20px; }
  .proto-visual { display: none; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero .btn-whatsapp { justify-content: center; text-align: center; }

  /* Carrossel mobile — fotos completas sem corte */
  .carousel-wrapper { gap: 0; flex-direction: column; }
  .carousel-arrow { display: none; }
  .ba-pair { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ba-divider { display: none; }
  .ba-real-img { aspect-ratio: auto; width: 100%; height: auto; object-fit: contain; cursor: pointer; }
  .ba-label { font-size: 0.7rem; bottom: 8px; left: 8px; padding: 3px 10px; }
  .carousel-viewport { border-radius: 12px; }
  #resultados.section { padding: 60px 0; }
  #resultados .section-header { margin-bottom: 24px; }
  #resultados .section-header h2 { font-size: 1.6rem; }
  #resultados .section-header p { font-size: 0.9rem; }
  .carousel-dots { margin-top: 20px; }
  .carousel-hint-mobile {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 14px;
    font-size: 0.82rem;
    color: rgba(0,0,0,0.4);
    letter-spacing: 0.02em;
  }

  /* Hero mobile — texto sobre a metade inferior da foto */
  .hero {
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0;
    position: relative;
  }
  .hero-doctor-img {
    position: absolute;
    top: -5%;
    left: 5%;
    right: 0;
    width: 95%;
    height: 85%;
    object-fit: cover;
    object-position: top center;
    transform: none;
  }
  .hero-overlay {
    display: block;
    background:
      linear-gradient(
        to top,
        #ffffff 0%,
        #ffffff 18%,
        rgba(255,255,255,0.98) 28%,
        rgba(255,255,255,0.92) 38%,
        rgba(255,255,255,0.60) 50%,
        rgba(255,255,255,0.0) 65%
      ) !important;
  }
  .hero-content {
    padding-top: 78vh;
    padding-bottom: 32px;
    position: relative;
    z-index: 3;
    text-align: center;
  }
  .hero-content .hero-badge,
  .hero-content h1,
  .hero-content .hero-sub,
  .hero-content .hero-ctas,
  .hero-content .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content .hero-ctas { justify-content: center; }
  .hero-content .hero-stats { justify-content: center; }
  .hero-doctor-name {
    display: block;
    position: absolute;
    left: 12px;
    transform: none;
    top: 22%;
    bottom: auto;
    right: auto;
    writing-mode: horizontal-tb;
    font-family: var(--font-serif);
    font-size: 0.7rem;
    font-style: italic;
    color: #444;
    background: rgba(255,255,255,0.35);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6px 18px;
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    letter-spacing: 0.04em;
    z-index: 5;
  }
}

/* ===== BOTÃO FLUTUANTE WHATSAPP ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8c8c8, #f0f0f0, #a8a8a8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: var(--transition);
  text-decoration: none;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #d8d8d8, #ffffff, #bcbcbc);
}
.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}

/* ===== LIGHTBOX (ampliar imagens) ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
