/* ===========================================
   Dr. Claudinel Mágio Júnior
   Cirurgião Vascular | Versittá Clínica
   style.css — Folha de estilos principal
=========================================== */


/* ===========================================
   1. VARIÁVEIS E RESET
=========================================== */

:root {
  /* Cores principais */
  --azul:         #1a2e5a;
  --azul-medio:   #1e3a72;
  --azul-claro:   #2a4f99;
  --azul-palido:  #eef2fa;
  --azul-ultra:   #f4f7fd;
  --destaque:     #7ba7d4;
  --destaque-claro: #a8c8e8;

  /* Cores de texto */
  --preto:    #0d0d0d;
  --escuro:   #1a1a1a;
  --medio:    #4a4a4a;
  --muted:    #8a8a8a;

  /* Outros */
  --linha:    #e2e8f0;
  --branco:   #ffffff;
  --fundo:    #f8fafc;

  /* Tipografia */
  --fonte-titulo: 'Playfair Display', Georgia, serif;
  --fonte-corpo:  'Outfit', sans-serif;

  /* Espaçamentos padrão */
  --padding-secao: 90px 6%;
  --max-largura:   1160px;
}

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--fonte-corpo);
  font-size: 16px;
  color: var(--medio);
  background-color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}


/* ===========================================
   2. UTILITÁRIOS
=========================================== */

/* Container centralizado */
.container {
  max-width: var(--max-largura);
  margin: 0 auto;
  padding: 0 6%;
}

/* Label com linha — ex: "— Cirurgia Vascular" */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.label__linha {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--azul);
  flex-shrink: 0;
}

.label__texto {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--azul);
  font-family: var(--fonte-corpo);
  white-space: nowrap;
}

.hero .label__linha { background-color: rgba(255,255,255,0.9) !important; }
.hero .label__texto { color: rgba(255,255,255,0.95) !important; }

/* Label versão clara (sobre fundo azul) */
.label--claro .label__linha {
  background-color: rgba(255, 255, 255, 0.5);
}

.label--claro .label__texto {
  color: rgba(255, 255, 255, 0.5);
}

/* Título de seção */
.secao__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 600;
  color: var(--preto);
  line-height: 1.15;
  margin-bottom: 14px;
}

.secao__titulo em {
  font-style: italic;
  color: var(--azul-claro);
}

/* Subtítulo de seção */
.secao__subtitulo {
  font-size: 16px;
  font-weight: 300;
  color: var(--medio);
  margin-bottom: 48px;
  max-width: 600px;
}

/* Efeito de entrada ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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


/* ===========================================
   3. BOTÕES
=========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--fonte-corpo);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s;
  border: none;
}

/* Botão primário: azul com texto branco */
.btn--primario {
  background-color: var(--azul);
  color: var(--branco);
}

.btn--primario:hover {
  background-color: var(--azul-medio);
  transform: translateY(-2px);
}

/* Botão outline: transparente com borda cinza */
.btn--outline {
  background-color: transparent;
  color: var(--escuro);
  border: 1.5px solid var(--linha);
  font-weight: 500;
}

.btn--outline:hover {
  border-color: var(--azul);
  color: var(--azul);
}

/* Botão outline dentro do hero — branco */
.hero .btn--outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

.hero .btn--outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background-color: rgba(255,255,255,0.1);
}

/* Botão accent: branco com borda (usado sobre fundo azul) */
.btn--accent {
  background-color: var(--branco);
  color: var(--azul);
  border: 1.5px solid var(--linha);
}

.btn--accent:hover {
  background-color: var(--destaque-claro);
  transform: translateY(-2px);
}

/* Botão branco (CTA strip sobre fundo azul) */
.btn--branco {
  background-color: var(--branco);
  color: var(--azul);
  font-weight: 700;
}

.btn--branco:hover {
  opacity: 0.9;
}


/* ===========================================
   4. NAVEGAÇÃO
=========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: none;
  padding: 10px;
  transition: background-color 0.4s, backdrop-filter 0.4s;
}

.nav.nav--scrolled {
  background-color: rgba(26, 46, 90, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 160, 210, 0.2);
}

.nav__inner {
  max-width: 100%;
  padding: 0 6%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo / nome do médico */
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.nav__nome {
  font-family: var(--fonte-titulo);
  font-size: 19px;
  font-weight: 600;
  color: var(--branco);
  white-space: nowrap;
}

.nav__separador {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.2);
  align-self: center;
}


/* Logo do nav — imagem */
.nav__logo-img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav__especialidade {
  font-size: 11px;
  color: var(--azul-palido);
  font-weight: 400;
  letter-spacing: 0.8px;
  font-family: var(--fonte-corpo);
}

/* Links da navegação */
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--fonte-corpo);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--azul-palido);
}

/* Botão de agendamento no nav */
.nav__btn {
  background-color: var(--branco) !important;
  color: var(--azul) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: opacity 0.2s !important;
}

.nav__btn:hover {
  opacity: 0.9;
}

/* Botão hambúrguer — só aparece no mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--branco);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Menu mobile */
.menu-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background-color: var(--azul);
  flex-direction: column;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.menu-mobile.aberto {
  display: flex;
}

.menu-mobile__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--fonte-corpo);
  padding: 16px 6%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}

.menu-mobile__link:hover {
  color: var(--destaque);
}

.menu-mobile__link--destaque {
  color: var(--destaque);
  font-weight: 600;
}


/* ===========================================
   5. HERO
=========================================== */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Coluna esquerda precisa de z-index para ficar sobre a foto */

/* Coluna esquerda: texto */
.hero__texto {
  width: 55%;
  padding: 80px 4% 80px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.hero__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(40px, 4.8vw, 74px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero__titulo em {
  font-style: italic;
  color: var(--destaque-claro);
}

.hero__descricao {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero__botoes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Separador e stats */
.hero__stats {
  display: flex;
  gap: 40px;
  border: none;
  padding-top: 0;
  margin-top: 16px;
}

.stat {
  flex: 1;
  padding-right: 28px;
}

.stat:not(:first-child) {
  padding-left: 0;
  border-left: none;
}

.stat__numero {
  font-family: var(--fonte-titulo);
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.stat__numero sup {
  font-size: 20px;
  vertical-align: super;
}

.stat__descricao {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-top: 6px;
}




/* ===========================================
   6. SINTOMAS
=========================================== */

.sintomas {
  padding: var(--padding-secao);
  background-color: var(--branco);
}

/* Grid 2x3 */
.sintomas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sintoma-card {
  background-color: var(--branco);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(26,46,90,0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.sintoma-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.07), 0 12px 32px rgba(26,46,90,0.1);
  background-color: var(--branco);
  border-color: var(--azul-claro);
}

.sintoma-card__icone {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--azul-palido);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-claro);
  margin-bottom: 16px;
  transition: background 0.2s, color 0.2s;
}

.sintoma-card:hover .sintoma-card__icone {
  background: var(--azul-claro);
  color: #fff;
}

.sintoma-card__numero {
  display: none;
}

.sintoma-card__titulo {
  font-size: 15px;
  font-weight: 600;
  color: var(--preto);
  margin-bottom: 8px;
  font-family: var(--fonte-corpo);
}

.sintoma-card__texto {
  font-size: 14px;
  color: var(--medio);
  line-height: 1.65;
  font-weight: 300;
}


/* ===========================================
   7. SOBRE O MÉDICO
=========================================== */

.sobre {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 560px;
  background-color: var(--azul);
}

/* Foto */
.sobre__foto-wrap {
  position: relative;
  overflow: hidden;
}

.sobre__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Badge sobre a foto */
.sobre__badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(10, 20, 45, 0.85);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sobre__badge-nome {
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 600;
  color: var(--branco);
}

.sobre__badge-crm {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--fonte-corpo);
}

/* Texto */
.sobre__texto {
  padding: 80px 60px 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 600;
  color: var(--branco);
  line-height: 1.15;
  margin-bottom: 14px;
}

.sobre__titulo em {
  font-style: italic;
  color: var(--destaque-claro);
}

.sobre__descricao {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  line-height: 1.75;
}

/* Lista de credenciais */
.sobre__credenciais {
  margin-bottom: 36px;
}

.credencial {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.credencial:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.credencial__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--fonte-corpo);
}

.credencial__valor {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--fonte-corpo);
}


/* ===========================================
   8. TRATAMENTOS
=========================================== */

.tratamentos {
  padding: var(--padding-secao);
  background-color: var(--fundo);
}

/* Grid 2x2 */
.tratamentos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tratamento-card {
  background-color: var(--branco);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(26,46,90,0.06);
  border: 2px solid transparent;
}

/* Card lipedema — centralizado no desktop, full width no mobile */
.lipedema-card {
  grid-column: 1 / -1;
  width: calc(50% - 8px);
  margin: 0 auto;
  display: block;
}

@media (max-width: 768px) {
  .lipedema-card {
    width: 100%;
    margin: 0;
  }
}

/* Barrinha gradiente que aparece no hover */
.tratamento-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--azul), var(--destaque));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.tratamento-card:nth-child(2n) {
  border-right: none;
}

.tratamento-card:nth-child(n+3) {
  border-bottom: none;
}

.tratamento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.07), 0 12px 32px rgba(26,46,90,0.1);
  border-color: var(--azul-claro);
}

.tratamento-card:hover::after {
  transform: scaleX(1);
}

.tratamento-card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-claro);
  background: var(--azul-palido);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

/* Número decorativo — oculto */
.tratamento-card__numero {
  display: none;
}

.tratamento-card__titulo {
  font-size: 18px;
  font-weight: 600;
  color: var(--preto);
  margin-bottom: 10px;
  font-family: var(--fonte-corpo);
}

.tratamento-card__texto {
  font-size: 14px;
  color: var(--medio);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
}

.tratamento-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.tratamento-card:hover .tratamento-card__link {
  gap: 10px;
}


/* ===========================================
   9. CONVÊNIOS
=========================================== */

/* ── CONVÊNIOS ── */

.convenios {
  padding: var(--padding-secao);
  background-color: var(--fundo);
}

.convenios__wrapper {
  position: relative;
}

/* Botões ‹ › */
.convenios__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  background-color: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: var(--azul);
  transition: background-color 0.2s;
}

.convenios__btn--anterior { left: -22px; }
.convenios__btn--proximo  { right: -22px; }
.convenios__btn:hover { background-color: var(--azul-palido); }

/* Trilha */
.convenios__trilha-wrap {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.convenios__trilha-wrap::-webkit-scrollbar { display: none; }

.convenios__trilha {
  display: flex;
  width: 100%;
}

/* Card: 1/4 da trilha no desktop */
.convenio {
  flex: 0 0 25%;
  min-width: 25%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: var(--branco);
  border: 1px solid var(--linha);
  scroll-snap-align: start;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}

.convenio:hover {
  box-shadow: 0 4px 16px rgba(26,46,90,0.08);
}

/* Logo: max-width e max-height relativo ao card */
.convenio img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Dots */
.convenios__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.convenios__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: var(--linha);
  transition: background-color 0.3s;
}

.convenios__dots button.ativo {
  background-color: var(--azul);
}


/* ===========================================
   10. CTA STRIP
=========================================== */

.cta-strip {
  background-color: var(--azul);
  padding: 72px 6%;
}

.cta-strip__inner {
  max-width: var(--max-largura);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  color: var(--branco);
  line-height: 1.2;
  max-width: 560px;
}

.cta-strip__titulo em {
  font-style: italic;
  color: rgba(180, 210, 240, 0.75);
}

.cta-strip__botoes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}


/* ===========================================
   11. LOCALIZAÇÃO
=========================================== */

.localizacao {
  padding: var(--padding-secao);
}

.localizacao__inner {
  max-width: var(--max-largura);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.localizacao__clinica {
  font-family: var(--fonte-titulo);
  font-size: 28px;
  font-weight: 600;
  color: var(--preto);
  margin-bottom: 24px;
}

/* Lista de itens de contato */
.localizacao__lista {
  margin-bottom: 36px;
}

.loc-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linha);
  align-items: flex-start;
}

.loc-item:first-child {
  border-top: 1px solid var(--linha);
}

/* Ícone com fundo azul claro */
.loc-item__icone {
  width: 36px;
  height: 36px;
  background-color: var(--azul-palido);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--azul);
}

.loc-item__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-family: var(--fonte-corpo);
  margin-bottom: 4px;
}

.loc-item__valor {
  display: block;
  font-size: 15px;
  color: var(--escuro);
  font-family: var(--fonte-corpo);
  line-height: 1.5;
}

/* Iframe do Google Maps */
.localizacao__mapa {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--linha);
  height: 420px;
}

.localizacao__mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ===========================================
   12. RODAPÉ
=========================================== */

.rodape {
  background-color: var(--escuro);
  color: rgba(255, 255, 255, 0.4);
}

.rodape__inner {
  max-width: var(--max-largura);
  margin: 0 auto;
  padding: 60px 6% 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rodape__nome {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 20px;
  font-weight: 600;
  color: var(--branco);
  margin-bottom: 6px;
}

.rodape__crm {
  display: block;
  font-size: 12px;
  color: var(--destaque);
  margin-bottom: 14px;
  font-family: var(--fonte-corpo);
}

.rodape__descricao {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  font-weight: 300;
  font-family: var(--fonte-corpo);
}

.rodape__coluna-titulo {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  font-family: var(--fonte-corpo);
}

.rodape__link {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--fonte-corpo);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.rodape__link:hover {
  color: var(--azul-palido);
}

.rodape__fundo {
  max-width: var(--max-largura);
  margin: 0 auto;
  padding: 20px 6%;
  font-size: 12px;
  font-family: var(--fonte-corpo);
}


/* ===========================================
   13. WHATSAPP FLUTUANTE
=========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  color: var(--branco);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}


/* ===========================================
   14. RESPONSIVO — TABLET (até 960px)
=========================================== */

@media (max-width: 960px) {

  /* Hero mobile */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    z-index: 0;
  }

  .hero__texto {
    width: 100%;
    padding: 0 6%;
    padding-top: calc(80px + env(safe-area-inset-top));
    background: none;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85vh;
    padding-bottom: 48px;
  }

  .hero__titulo {
    font-size: clamp(32px, 9vw, 46px);
    text-align: center;
    width: 100%;
  }

  .hero__descricao {
    font-size: 14px;
    max-width: 55%;
    margin-top: auto;
    padding-top: 16px;
  }

  .hero__botoes {
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Sobre: uma coluna */
  .sobre {
    grid-template-columns: 1fr;
  }

  .sobre__foto-wrap {
    height: 400px;
  }

  .sobre__texto {
    padding: 60px 6%;
  }

  /* Localização: uma coluna */
  .localizacao__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Rodapé: 2 colunas */
  .rodape__inner {
    grid-template-columns: 1fr 1fr;
  }

  .rodape__coluna--principal {
    grid-column: 1 / -1;
  }

}


/* ===========================================
   15. RESPONSIVO — MOBILE (até 768px)
=========================================== */

@media (max-width: 768px) {

  /* Nav: esconder links, mostrar hambúrguer */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero: título menor */
  .hero__titulo {
    font-size: clamp(34px, 9vw, 46px);
  }

  .hero__foto-wrap {
    min-height: 380px;
  }

  .hero__foto {
    object-position: center 5%;
  }

  /* Stats abaixo da foto (JS move no mobile) */
  .hero__stats {
    padding: 32px 6%;
    border-top: 1px solid var(--linha);
  }

  /* Sintomas: 1 coluna no mobile */
  .sintomas__grid {
    grid-template-columns: 1fr;
  }

  .tratamento-card__titulo {
    padding-right: 0;
  }

  /* Tratamentos: 1 coluna no mobile */
  .tratamentos__grid {
    grid-template-columns: 1fr;
  }

  /* Convênios: 2 por vez no mobile */
  .convenio {
    flex: 0 0 50%;
    min-width: 50%;
    height: 160px;
    padding: 20px;
  }

  .convenio img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }

  /* Rodapé: 1 coluna */
  .rodape__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA strip: coluna */
  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

}


/* Badge de seção (substitui label com tracinho) */
.badge-secao {
  display: inline-block;
  font-family: var(--fonte-corpo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-claro);
  background: var(--azul-palido);
  border: 1px solid rgba(42,79,153,0.18);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 18px;
  display: inline-block;
}

.badge-secao--claro {
  color: #7ba7d4;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* ── FIX OVERFLOW MOBILE ── */
@media (max-width: 768px) {
  * {
    max-width: 100%;
  }

  .servico-hero__desc {
    max-width: 100% !important;
  }

  .faq-item__pergunta {
    padding: 18px 16px;
    font-size: 14px;
    word-break: break-word;
    white-space: normal;
  }

  .faq-item__resposta {
    padding: 0 16px;
  }
}

/* ═══════════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA — HERO
   ═══════════════════════════════════════════════ */

/* Linha decorativa animada antes do título */
.hero__linha-anim {
  width: 0;
  height: 2px;
  background: var(--azul-claro, #6fa3d0);
  margin-bottom: 28px;
  animation: linha-cresce 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes linha-cresce {
  0%   { width: 0; opacity: 0; }
  30%  { opacity: 1; }
  100% { width: 56px; opacity: 1; }
}

/* Fade + slide up para todos os elementos */
.anim-entrada {
  opacity: 0;
  transform: translateY(32px);
  animation: hero-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Garante que a linha não conflite com a regra acima */
.hero__linha-anim.anim-entrada {
  animation: linha-cresce 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
  transform: none;
}

