﻿/* ================================================================
   MELO CLINIC — Odontologia Sistêmica
   Paleta: Navy Profundo + Dourado Premium
   Tipografia: Cormorant Garamond (serif) + Montserrat (sans) + DM Mono (dados)
================================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; }

/* ---- TYPOGRAPHY BALANCING ---- */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li, .hero-sub, .section-sub { text-wrap: pretty; }

/* ---- FALLBACK COM MÉTRICA CASADA (evita o pulo de layout do display=swap) ----
   Enquanto a fonte do Google não chega, o navegador desenha com a fonte do
   sistema. Como ela tem outra largura, o texto ocupa outro número de linhas e
   tudo abaixo pula quando a fonte real entra. Medido na Nossa Clínica: 37px de
   deslocamento, que é o CLS de 0,136 daquela página.
   Os size-adjust abaixo foram MEDIDOS no navegador (largura da mesma frase em
   100px, fonte real dividida pela do sistema), não estimados. */
@font-face {
  font-family: 'Cormorant Fallback';
  src: local('Times New Roman'), local('Times'), local('Liberation Serif'), local('Nimbus Roman');
  size-adjust: 95.6%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans'), local('Segoe UI');
  size-adjust: 111.7%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ---- VARIÁVEIS ---- */
:root {
  --navy:       #0E1A33;
  --navy2:      #0B1528;
  --navy3:      #16264A;
  --navy4:      #1E3560;
  --gold:       #C9922A;
  --gold-light: #E0B050;
  --gold-dark:  #9B6E1A;
  --gold-pale:  #F0D89A;
  --cream:      #F5F0E8;
  --cream2:     #EDE6D6;
  --cream3:     #DDD4C0;
  --text-dark:  #1A1208;
  --text-mid:   #4A3D28;
  --muted-dark: #5A6070;
  --muted-gold: #8A7055;
  --surface:    rgba(201, 146, 42, 0.06);
  --surface2:   rgba(201, 146, 42, 0.10);
  --border:     rgba(201, 146, 42, 0.18);
  --border2:    rgba(201, 146, 42, 0.30);
  --grad-gold:  linear-gradient(135deg, #C9922A 0%, #E0B050 60%, #C9922A 100%);
  --grad-navy:  linear-gradient(135deg, #0E1A33 0%, #1E3560 100%);
  --grad-hero:  radial-gradient(ellipse at 30% 50%, #1E3560 0%, #0E1A33 60%);
}

body {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  background: #0E1A33;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- TIPOGRAFIA ---- */
.serif { font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif; }
.mono  { font-family: 'DM Mono', monospace; }

/* ---- UTILITÁRIOS ---- */
.container { max-width: 1380px; margin: 0 auto; padding: 0 48px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 48px; }
.gold-text { color: var(--gold); }
.gold-grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(201, 146, 42, 0.12);
  border: 1px solid rgba(201, 146, 42, 0.28);
  color: var(--gold-light);
}

/* ---- BOTÕES ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 4px;
  background: var(--grad-gold);
  color: var(--navy);
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 32px rgba(201, 146, 42, 0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 48px rgba(201, 146, 42, 0.50);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-ghost:hover {
  background: var(--surface2);
  border-color: var(--gold);
}

/* ---- DIVISOR ELEGANTE ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
  margin: 0;
}

/* ==================================================================
   NAVBAR
================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,8,20,0.38) 0%, rgba(5,8,20,0.10) 70%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}
.navbar.scrolled {
  padding: 14px 48px;
  background: rgba(15, 18, 36, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: none;
}
.nav-logo img {
  height: 72px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo img {
  height: 56px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-cta {
  padding: 10px 24px;
  border-radius: 4px;
  background: var(--grad-gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  box-shadow: 0 2px 16px rgba(201,146,42,0.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(201,146,42,0.5);
}
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: all 0.3s; }
/* Desktop: ocultar elementos só-mobile */
.mobile-menu-header { display: none; }
.nav-home { display: list-item; }

/* DROPDOWN — base (compartilhado) */
.nav-has-dropdown { position: relative; }
.nav-has-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-chevron { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown { list-style: none; }
.nav-dropdown li { margin: 0; }

/* DROPDOWN — desktop only */
@media (min-width: 769px) {
  .nav-has-dropdown:hover .nav-chevron { transform: rotate(180deg); }
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(30, 36, 66, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 146, 42, 0.18);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1001;
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  }
  .nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--cream) !important;
    white-space: nowrap;
    transition: all 0.15s;
  }
  .nav-dropdown li a:hover {
    color: var(--gold) !important;
    background: rgba(201, 146, 42, 0.08);
    padding-left: 24px;
  }
  .nav-dropdown li:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.05); }
}

/* ==================================================================
   HERO — SLIDESHOW ROTATIVO
================================================================== */
.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vídeo de fundo do hero */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Track de slides (mantido para compatibilidade com outras páginas) */
.slide-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }

/* Degradê topo — para legibilidade do menu */
.slide-overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 240px;
  background: linear-gradient(180deg, rgba(5,8,20,0.72) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Sobreposição escura geral */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 30, 0.42);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo centralizado */
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.slide-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.slide-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.slide-h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}
.slide-h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slide-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.slide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 4px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.30);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
}

/* Dots de navegação */
.slide-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.slide-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* Compatibilidade: classe .hero continua usada nas outras páginas como fallback */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  padding: 140px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(201,146,42,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(22,32,64,0.8) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,146,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}
/* Decorative grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,146,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,146,42,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-eyebrow-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 12px;
}
.hero h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-pale);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-desc {
  font-size: 15px;
  color: rgba(245, 240, 232, 0.70);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-main-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.hero-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
}
.hero-card-icon {
  width: 56px; height: 56px;
  background: rgba(201,146,42,0.12);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-card-icon svg { color: var(--gold); }
.hero-main-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.hero-main-card p {
  font-size: 13px;
  color: rgba(245,240,232,0.60);
  line-height: 1.7;
  margin-bottom: 20px;
}
.hero-stats-mini {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat-item {}
.hero-stat-num {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(245,240,232,0.50);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.hero-badge {
  position: absolute;
  top: -20px; right: -20px;
  z-index: 2;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
/* ATENCAO (04/08/2026): .hero-badge-dot NAO e usado por nenhuma das 28 paginas,
   conferido por grep com controle. Ou seja, pulse-green hoje nao anima nada e
   esta regra nao tem efeito. Fica de proposito, para o caso de o elemento voltar,
   mas NAO conte com ela como cobertura de movimento reduzido. */
@media (prefers-reduced-motion: reduce) {
  .hero-badge-dot { animation: none; }
}
.hero-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}

/* ==================================================================
   STATS BAR
================================================================== */
.stats-bar {
  background: linear-gradient(135deg, #B07A18 0%, #C9922A 40%, #D9A53A 60%, #C9922A 100%);
  padding: 0;
  width: 100%;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(0,0,0,0.15);
  gap: 8px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: #0d0d0d;
}
.stat-label {
  font-size: 15px;
  font-weight: 500;
  color: rgba(10,8,4,0.62);
  line-height: 1.45;
  max-width: 160px;
  text-align: center;
}

/* ==================================================================
   DIFERENCIAIS
================================================================== */
.diferenciais {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}
.diferenciais .section-title { color: var(--text-dark); }
.diferenciais .section-sub { color: var(--text-mid); }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--gold);
}
.section-eyebrow-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 580px) {
  .section-eyebrow::before, .section-eyebrow::after { width: 24px; }
  .section-eyebrow-text { font-size: 13px; letter-spacing: 2px; }
}
.section-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245,240,232,0.65);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dif-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dif-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.dif-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.dif-card:hover::before,
.dif-card.dif-active::before { transform: scaleX(1); }
.dif-card.dif-active { border-color: var(--border2); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.dif-icon {
  width: 52px; height: 52px;
  background: rgba(201,146,42,0.10);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.dif-card:hover .dif-icon,
.dif-card.dif-active .dif-icon {
  background: var(--grad-gold);
  border-color: transparent;
  color: #fff;
  transform: scale(1.22);
  box-shadow: 0 8px 24px rgba(201,146,42,0.35);
}
.dif-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  opacity: 0.6;
}
.dif-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}
.dif-card p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  text-align: left;
}

/* ==================================================================
   SOBRE / DR. EUDÉCIO
================================================================== */
.sobre {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}
.sobre-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.sobre-visual {
  position: relative;
}
.sobre-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy3) 0%, var(--navy) 100%);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-start;
}
.sobre-photo img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: top center;
  will-change: transform;
}
.sobre-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(201,146,42,0.4);
  font-size: 13px;
  text-align: center;
}
.sobre-photo-placeholder svg { color: rgba(201,146,42,0.3); }
.sobre-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(to top, rgba(8,16,28,0.95) 0%, transparent 100%);
}
.sobre-caption h4 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.sobre-caption span {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.sobre-badge {
  position: absolute;
  top: 24px; right: -24px;
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--cream3);
}
.sobre-badge-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #C9922A, #E0B050);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sobre-badge-text { font-size: 12px; color: var(--text-dark); font-weight: 600; white-space: nowrap; }
.sobre-badge-sub { font-size: 11px; color: var(--text-mid); }
.sobre-content {}
.sobre-content .section-eyebrow-text { color: var(--gold-dark); }
.sobre-content .section-eyebrow::before,
.sobre-content .section-eyebrow::after { background: var(--gold-dark); }
.sobre-content .section-title { color: var(--text-dark); }
.sobre-desc {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.sobre-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px;
  background: rgba(201,146,42,0.05);
  border-radius: 0 6px 6px 0;
  margin: 28px 0;
}
.sobre-quote p {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
}
.sobre-formacao {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.formacao-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-mid);
}
.formacao-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ==================================================================
   TRATAMENTOS
================================================================== */
.tratamentos {
  background: #0E1A33;
  padding: 100px 0;
}
.tratamentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trat-card {
  background: var(--navy3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  group: true;
}
.trat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(1);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.trat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
}
.trat-icon {
  width: 48px; height: 48px;
  background: rgba(201,146,42,0.15);
  border: 1px solid rgba(201,146,42,0.40);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.trat-card:hover .trat-icon {
  background: var(--grad-gold);
  border-color: transparent;
  color: #fff;
  transform: scale(1.22);
  box-shadow: 0 8px 24px rgba(201,146,42,0.35);
}
/* Entrada mais marcada nas caixas de tratamento */
.trat-card.fade-in { transform: translateY(28px) scale(0.97); }
.trat-card.fade-in.visible { transform: translateY(0) scale(1); }
.trat-card:hover { transform: translateY(-3px) scale(1); }

/* Primeira caixa (Tratamento de Dor e DTM): destaque fixo, piscando indo e voltando */
.trat-card:first-child {
  animation: trat-first-pulse 2.6s ease-in-out infinite;
}
@keyframes trat-first-pulse {
  0%, 100% { border-color: var(--border2); box-shadow: 0 12px 40px rgba(0,0,0,0.35); }
  50% { border-color: var(--gold); box-shadow: 0 16px 54px rgba(201,146,42,0.32); }
}

/* Demais caixas: so o icone pulsando em zoom, continuamente */
.trat-card:not(:first-child) .trat-icon {
  animation: trat-icon-breathe 2.6s ease-in-out infinite;
}
.trat-card:nth-child(3n+2) .trat-icon { animation-delay: 0.3s; }
.trat-card:nth-child(3n+3) .trat-icon { animation-delay: 0.6s; }
.trat-card:hover .trat-icon { animation-play-state: paused; }
@keyframes trat-icon-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .trat-card:first-child, .trat-card:not(:first-child) .trat-icon { animation: none; }
}
.trat-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}
.trat-card p {
  font-size: 16px;
  color: rgba(245,240,232,0.58);
  line-height: 1.75;
  flex: 1;
}
.trat-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s;
}
.trat-link svg { width: 14px; height: 14px; }

/* ==================================================================
   TECNOLOGIA
================================================================== */
.tecnologia {
  background: #ffffff;
  padding: 100px 0;
}
.tecnologia .section-eyebrow-text { color: var(--gold-dark); }
.tecnologia .section-eyebrow::before,
.tecnologia .section-eyebrow::after { background: var(--gold-dark); }
.tecnologia .section-title { color: var(--text-dark); }
.tecnologia .section-sub { color: var(--text-mid); }

/* ROTULO DOURADO SOBRE FUNDO BRANCO (03/08/2026, decisao do Esdras)
   O --gold (#C9922A) sobre branco da contraste 2,75 e o rotulo tem 15px, que exige 4,5.
   O --gold-dark (#9B6E1A) da 4,53 e JA existia na paleta, usado exatamente para isso em
   .sobre-content e .tecnologia: aqui a lista so foi estendida, nenhuma cor nova entrou.
   Levantei quais secoes tem rotulo em fundo claro subindo a cadeia de ancestrais ate a
   primeira cor OPACA, ignorando quem tem imagem no caminho. Sao estas 3, mais a
   .cta-inner da home, que e inline e foi editada la.
   NAO incluir .tratamentos: o rotulo dela fica sobre navy, onde o --gold da 6,28.
   Escurecer ali PIORARIA o contraste. */
.fluxo .section-eyebrow-text,
.depo-reviews-section .section-eyebrow-text,
.clinica-hero .section-eyebrow-text { color: var(--gold-dark); }
.fluxo .section-eyebrow::before, .fluxo .section-eyebrow::after,
.depo-reviews-section .section-eyebrow::before, .depo-reviews-section .section-eyebrow::after,
.clinica-hero .section-eyebrow::before, .clinica-hero .section-eyebrow::after { background: var(--gold-dark); }

.tec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.tec-card {
  background: white;
  border: 1px solid var(--cream3);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.tec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
}
.tec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.tec-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.tec-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.tec-card p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.tec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tec-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.tec-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ==================================================================
   FLUXO DIGITAL (feature section)
================================================================== */
.fluxo {
  background: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}
.fluxo-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.fluxo-steps {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}
.fluxo-steps::before {
  content: '';
  position: absolute;
  top: 26px; left: 50px; right: 50px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,146,42,0.35), rgba(52,60,92,0.10));
}
.fluxo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  flex: 1;
  padding: 24px 16px;
  border-radius: 10px;
  position: relative;
  transition: background 0.3s ease;
}
.fluxo-step:hover { background: rgba(201,146,42,0.06); }
.fluxo-step-icon {
  width: 52px; height: 52px;
  background: #fff;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fluxo-step:hover .fluxo-step-icon { transform: scale(1.15); border-color: var(--gold); }
.fluxo-step-content { padding-top: 4px; }
.fluxo-step-content h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.fluxo-step-content p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
}
/* ==================================================================
   INSTAGRAM FEED
================================================================== */
.instagram-feed {
  background: #ffffff;
  padding: 100px 0;
}
.instagram-feed .section-title {
  color: var(--text-dark);
  font-size: clamp(26px, 2.8vw, 34px);
}
.instagram-feed .section-sub { color: var(--text-mid); }
.ig-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  margin: 0 0 40px;
  text-align: left;
}
.ig-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.ig-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ig-handle {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}
.ig-bio {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.ig-post {
  position: relative;
  display: block;
  /* 4/5 e a proporcao nativa do post do Instagram: card mais alto na mesma
     largura, e a arte deixa de ser cortada no topo e na base (31/08/2026) */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
}
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(52,60,92,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ig-post:hover img { transform: scale(1.15); }
.ig-post:hover .ig-post-overlay { opacity: 1; }
.ig-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
  padding: 6px 2px;
  background: none;
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.ig-follow-btn svg { color: var(--gold); }
.ig-follow-btn:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dark);
}

/* ==================================================================
   BLOG PREVIEW
================================================================== */
.blog-preview {
  background: #0E1A33;
  padding: 100px 0;
}
.blog-preview-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.blog-preview-header {
  text-align: center;
  margin-bottom: 56px;
}
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bp-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.bp-card:hover {
  border-color: rgba(201,146,42,0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.bp-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}
.bp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.bp-card:hover .bp-img img { transform: scale(1.05); }
.bp-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bp-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,146,42,0.12);
  border: 1px solid rgba(201,146,42,0.22);
  padding: 3px 10px;
  border-radius: 99px;
}
.bp-time {
  font-size: 11px;
  color: rgba(245,240,232,0.28);
  font-family: 'DM Mono', monospace;
}
.bp-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.32;
  text-wrap: balance;
}
.bp-card p {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(245,240,232,0.42);
  flex: 1;
  text-wrap: pretty;
}
.bp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 6px;
  transition: gap 0.2s;
}
.bp-card:hover .bp-link { gap: 10px; }
.blog-preview-cta {
  text-align: center;
  margin-top: 48px;
}
.bp-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,146,42,0.12);
  border: 1px solid rgba(201,146,42,0.30);
  color: var(--gold-light);
  padding: 14px 32px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.bp-view-all:hover {
  background: rgba(201,146,42,0.22);
  border-color: rgba(201,146,42,0.50);
  color: var(--gold-pale);
}

/* ==================================================================
   CTA SECTION
================================================================== */
.cta-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 48px;
}
.cta-inner .section-title { color: var(--navy) !important; font-size: clamp(40px, 4.5vw, 58px); margin-bottom: 16px; }
.cta-inner > p { font-size: 18px; color: var(--text-mid) !important; line-height: 1.8; margin-bottom: 40px; }
.cta-section .btn-ghost {
  color: var(--navy);
  border-color: rgba(52,60,92,0.28);
}
.cta-section .btn-ghost:hover {
  background: rgba(52,60,92,0.06);
  border-color: rgba(52,60,92,0.45);
}
.cta-contact-item { color: var(--text-mid) !important; }
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-contact {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(245,240,232,0.55);
}
.cta-contact-item svg { color: var(--gold); flex-shrink: 0; }

/* ==================================================================
   FOOTER
================================================================== */
footer {
  background-image: url('images/clinica/footer-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 90px 24px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,49,88,0.84) 0%, rgba(24,41,76,0.88) 100%);
}
.footer-card {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 6px;
  padding: 56px 56px 0;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img { height: 90px; width: auto; margin-bottom: 28px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.footer-contact li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-contact-icon svg { color: #fff; width: 15px; height: 15px; }
.footer-contact li strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.footer-contact li a { color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.footer-contact li a:hover { color: var(--gold); }
.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 15px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  position: relative;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--cream3);
}
.footer-bottom p {
  font-size: 12px;
  color: var(--muted-gold);
  text-align: center;
}

/* ==================================================================
   WHATSAPP FLOAT
================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
/* botao flutuante de WhatsApp: para de subir e descer sozinho (04/08/2026).
   So a animacao infinita sai. O :hover continua com scale, que e movimento
   pedido pelo usuario, e o estado base ja e translateY(0). */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { animation: none; }
}

/* ==================================================================
   SCROLL ANIMATIONS
================================================================== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ==================================================================
   RESPONSIVO — MOBILE
================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
  .sobre-badge { right: 0; top: -16px; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .tratamentos-grid { grid-template-columns: repeat(2, 1fr); }
  .tec-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .fluxo-steps { flex-direction: column; gap: 0; }
  .fluxo-steps::before { top: 26px; bottom: 26px; left: 25px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(201,146,42,0.35), rgba(52,60,92,0.10)); }
  .fluxo-step { flex-direction: row; align-items: flex-start; text-align: left; }
}

/* Menu mobile: navbar NÃO pode ter backdrop-filter ao rolar — senão vira containing block
   e o overlay do menu (position:fixed) se prende à navbar (~80px) em vez da tela toda.
   Fundo da navbar já é 95% opaco, então o blur é imperceptível no mobile. */
@media (max-width: 980px) {
  .navbar.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }
  .container { padding: 0 20px; }
  .navbar { padding: 16px 20px; }
  .navbar.scrolled { padding: 12px 20px; }
  .nav-logo img { height: 40px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  /* ---- MENU MOBILE ESTILO SINGULARIS ---- */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }

  .mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 36px 24px 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(52,60,92,0.12);
    margin-bottom: 4px;
  }
  .mobile-close {
    background: none;
    border: 2px solid var(--navy);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.2s;
  }
  .mobile-close:hover { background: var(--navy); color: var(--cream); }
  .mobile-menu-title {
    font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .nav-home { display: list-item; width: 100%; text-align: center; }

  .nav-menu.open > li:not(.mobile-menu-header) {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(52,60,92,0.08);
  }
  .nav-menu.open > li:not(.mobile-menu-header) > a:not(.nav-cta) {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    padding: 20px 0;
    width: 100%;
  }
  .nav-menu.open > li:nth-child(even):not(.mobile-menu-header) > a:not(.nav-cta) {
    color: var(--gold);
  }
  .nav-menu.open .nav-cta {
    margin: 24px auto 32px;
    display: inline-block;
    padding: 14px 36px;
  }
  /* Chevron visível no mobile */
  .nav-chevron { display: inline-block; color: currentColor; transition: transform 0.25s; }
  .nav-has-dropdown.open > a .nav-chevron { transform: rotate(180deg); }
  /* Link de tratamentos: flex centralizado para alinhar chevron */
  .nav-menu.open > .nav-has-dropdown > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  /* Dropdown mobile — sem posicionamento absoluto (já não existe no mobile) */
  .nav-dropdown {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(52,60,92,0.05);
  }
  .nav-has-dropdown.open .nav-dropdown { max-height: 500px; }
  .nav-dropdown li { text-align: center; width: 100%; }
  .nav-dropdown li a {
    display: block;
    padding: 12px 0;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy) !important;
    opacity: 0.75;
    width: 100%;
    text-align: center;
  }
  .nav-dropdown li:not(:last-child) { border-bottom: none; }

  /* Slideshow mobile */
  .slide-h1 { font-size: clamp(32px, 8vw, 52px); letter-spacing: -0.5px; }
  .slide-sub { font-size: 14px; }
  .slide-actions { flex-direction: column; align-items: center; }
  .slide-actions .btn-primary,
  .slide-actions .btn-ghost-white { width: 100%; max-width: 320px; justify-content: center; }
  .slide-dots { bottom: 20px; }

  /* Hero fallback (outras páginas) */
  .hero { padding: 120px 0 60px; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { padding: 0 16px; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }

  .diferenciais { padding: 60px 0; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(28px, 7vw, 40px); }

  .sobre { padding: 60px 0; }
  .sobre-inner { padding: 0 20px; }
  .sobre-photo { aspect-ratio: 4/3; }
  .sobre-badge { display: none; }

  .tratamentos { padding: 60px 0; }
  .tratamentos-grid { grid-template-columns: 1fr; }

  .instagram-feed { padding: 60px 0; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-profile { padding: 0 20px; }

  .tecnologia { padding: 60px 0; }
  .tec-grid { grid-template-columns: 1fr; }

  .fluxo { padding: 60px 0; }
  .fluxo-inner { padding: 0 20px; }

  .blog-preview { padding: 60px 0; }
  .blog-preview-inner { padding: 0 20px; }
  .blog-preview-grid { grid-template-columns: 1fr; }

  .cta-section { padding: 60px 0; }
  .cta-inner { padding: 0 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { justify-content: center; }
  .cta-contact { gap: 20px; flex-direction: column; align-items: center; }

  footer { padding: 48px 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .footer-bottom { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .stat-item:last-child { border-bottom: none; }
  .ig-grid { gap: 8px; }
  .ig-profile { flex-wrap: wrap; justify-content: center; text-align: center; }
}

/* ====== FOCO VISIVEL DO MENU MOBILE (03/08/2026) ======
   O #hamburger passou a ser focavel por teclado (role="button" + tabindex="0").
   Sem indicador de foco, quem navega por teclado nao enxerga onde esta. Mesmo
   padrao que o .depo-yt do depoimentos.html ja usava. :focus-visible so aparece
   na navegacao por teclado, entao o clique com mouse continua sem contorno. */
.hamburger:focus-visible {
  outline: 3px solid var(--gold, #C9922A);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ====== TEXTOS JUSTIFICADOS (pedido 06/07/2026) ====== */
/* hyphens:auto e o par obrigatorio do justificado, nao um extra. Sem ele o navegador
   nao pode quebrar palavra longa e estica os espacos para fechar a linha. Medido em
   03/08 nos cards de blog da home: o espaco chegava a 68px contra 3,4px do normal
   (20x) em 769px, e a 60px (17,8x) em 1100px. Com hifenizacao o pior caso cai para
   7,8x. NAO remover sem medir de novo. O idioma esta em lang="pt-BR" nas 28 paginas,
   que e o que faz o Chrome escolher o dicionario certo. */
p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* blocos centralizados continuam centralizados, e sem hifenizacao: texto centralizado
   nao sofre estiramento, entao hifen ali so atrapalharia a leitura */
.slide-content p, .stat-item p, .section-header p, .fluxo-step p,
.blog-preview-header p, .blog-preview-cta p, .cta-inner p, .text-center p,
.contato-hero p, .form-privacy, .horarios-cta-card p, .clinica-cta p, .sobre-hero p,
.lp-pain-header p, .lp-why-header p, .lp-steps-header p, .lp-faq-header p,
.lp-pain-closing, .lp-cta p, .lp-cta-inner p,
.footer-bottom p, .ig-profile p,
/* estes 4 ja eram centralizados por outra regra e por isso escapavam desta lista.
   Varredura das 28 paginas em 03/08 confirmou que sao os unicos. */
.clinica-galeria-title, .trat-desc, .depo-hero-inner p, .depo-cta p { text-align: center; hyphens: manual; -webkit-hyphens: manual; }
.footer-brand p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
/* legendas sobre imagens ficam alinhadas a esquerda */
.mapa-foto-caption p, .clinica-hero-foto-caption p, .ambiente-card-label p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* CTA "Agendar avaliação exclusiva" em 1 linha (06/07/2026) */
.nav-cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1380px) {
  .nav-menu { gap: 18px; }
  .nav-cta { padding: 10px 14px; font-size: 12px !important; letter-spacing: 0.2px; }
  .nav-menu > li > a { font-size: 14px; }
}
/* 769-980px: menu vira hamburguer (CTA maior nao cabe) */
@media (min-width: 769px) and (max-width: 980px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }

  /* ---- MENU MOBILE ESTILO SINGULARIS ---- */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--cream);
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
  }

  .mobile-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 36px 24px 20px;
    gap: 14px;
    border-bottom: 1px solid rgba(52,60,92,0.12);
    margin-bottom: 4px;
  }
  .mobile-close {
    background: none;
    border: 2px solid var(--navy);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--navy);
    transition: all 0.2s;
  }
  .mobile-close:hover { background: var(--navy); color: var(--cream); }
  .mobile-menu-title {
    font-family: 'Cormorant Garamond', 'Cormorant Fallback', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .nav-home { display: list-item; width: 100%; text-align: center; }

  .nav-menu.open > li:not(.mobile-menu-header) {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(52,60,92,0.08);
  }
  .nav-menu.open > li:not(.mobile-menu-header) > a:not(.nav-cta) {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy);
    padding: 20px 0;
    width: 100%;
  }
  .nav-menu.open > li:nth-child(even):not(.mobile-menu-header) > a:not(.nav-cta) {
    color: var(--gold);
  }
  .nav-menu.open .nav-cta {
    margin: 24px auto 32px;
    display: inline-block;
    padding: 14px 36px;
  }
  /* Chevron visível no mobile */
  .nav-chevron { display: inline-block; color: currentColor; transition: transform 0.25s; }
  .nav-has-dropdown.open > a .nav-chevron { transform: rotate(180deg); }
  /* Link de tratamentos: flex centralizado para alinhar chevron */
  .nav-menu.open > .nav-has-dropdown > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  /* Dropdown mobile — sem posicionamento absoluto (já não existe no mobile) */
  .nav-dropdown {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(52,60,92,0.05);
  }
  .nav-has-dropdown.open .nav-dropdown { max-height: 500px; }
  .nav-dropdown li { text-align: center; width: 100%; }
  .nav-dropdown li a {
    display: block;
    padding: 12px 0;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy) !important;
    opacity: 0.75;
    width: 100%;
    text-align: center;
  }
  .nav-dropdown li:not(:last-child) { border-bottom: none; }
}

/* ====== FLUXO DIGITAL: setas entre as caixas + icones dourados (06/07/2026) ====== */
.fluxo { padding: 120px 0; }
.fluxo-inner { max-width: 1380px; }
.fluxo-steps { gap: 80px; }
.fluxo-steps::before { content: none; }
.fluxo-step-icon {
  background: var(--gold);
  border: none;
  color: #fff;
}
.fluxo-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -64px;
  width: 48px;
  height: 14px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cline x1='2' y1='7' x2='40' y2='7' stroke='%23C9922A' stroke-width='1.5'/%3E%3Cpath d='M34 2l7 5-7 5' fill='none' stroke='%23C9922A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
  animation: fluxo-arrow-move 1.6s ease-in-out infinite;
}
@keyframes fluxo-arrow-move {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50% { transform: translateY(-50%) translateX(8px); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .fluxo-step:not(:last-child)::after { animation: none; transform: translateY(-50%); }
}
@media (max-width: 1024px) {
  .fluxo-step:not(:last-child)::after { content: none; }
  .fluxo-steps::before { content: ''; }
}
/* primeira caixa do fluxo com o fundo do hover sempre visivel */
.fluxo-step { background: rgba(201,146,42,0.06); }

/* REGRA: todo CTA com icone leva o icone a DIREITA do texto (06/07/2026) */
.btn-primary, .btn-ghost, .btn-ghost-white { flex-direction: row-reverse; }

/* Seção Instagram: fundo levemente creme */
.instagram-feed { background: #FCF9F2; }

/* rodape: contato pelo WhatsApp abaixo das redes (pedido da clinica, 24/08/2026) */
.footer-col h3.footer-col-sub { margin-top: 30px; margin-bottom: 4px; }
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-wa:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.footer-wa svg { width: 15px; height: 15px; flex-shrink: 0; }
/* icone do WhatsApp a DIREITA do texto (pedido da Bianca 16/09/2026) */
.footer-wa { flex-direction: row-reverse; }
.footer-wa-sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 260px;
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}
