/* ==========================================================================
   CLÍNICA SÃO BERNARDO — css/style.css
   --------------------------------------------------------------
   Abordagem: mobile-first (os estilos abaixo valem para telas pequenas
   e são ampliados com media queries no final do arquivo).
   Índice:
     1. Variáveis de design (cores, fontes, espaços)
     2. Reset e estilos base
     3. Utilitários (container, seções, badges, títulos)
     4. Botões e ícones
     5. Acessibilidade (skip-link e foco)
     6. Header / navegação / menu mobile
     7. Hero (banner principal)
     8. Seção Unidade Móvel
     9. Seção Resultados
    10. Seção Exames (serviços)
    11. Footer / contato
    12. Animações de entrada (scroll reveal)
    13. Media queries (tablet e desktop)
    14. Preferência por menos movimento (acessibilidade)
   ========================================================================== */

/* ============================================================
   1. VARIÁVEIS DE DESIGN
   ALTERAÇÃO DE CORES: ajuste os valores abaixo para alterar a
   identidade visual em todo o site de uma só vez.
   ============================================================ */
:root {
  /* Cores da marca */
  --vermelho: #dc101a;        /* cor principal (CTAs, detalhes) */
  --vermelho-escuro: #b50d15; /* hover dos botões vermelhos */
  --azul: #0085cf;            /* cor secundária/institucional */
  --azul-escuro: #006aa6;     /* hover dos botões azuis */
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;     /* fundos de seções alternadas */
  --cinza-borda: #e0e0e0;
  --texto: #222222;           /* texto principal */
  --texto-suave: #555555;     /* textos secundários */
  --fundo-escuro: #16191f;    /* fundo do footer */

  /* Tipografia */
  --fonte-titulo: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --fonte-texto: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Espaçamentos e formas */
  --espaco-secao: 4.5rem;     /* padding vertical padrão das seções */
  --radius: 12px;
  --sombra: 0 6px 18px rgba(0, 0, 0, 0.08);
  --sombra-hover: 0 10px 24px rgba(0, 0, 0, 0.16);

  /* Alturas do header (mudam ao rolar a página) */
  --header-alt: 80px;
  --header-alt-menor: 64px;

  /* Transições padrão */
  --transicao: 0.3s ease;
}

/* ============================================================
   2. RESET E ESTILOS BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* rolagem suave nativa (reforçada no JS) */
  scroll-padding-top: calc(var(--header-alt-menor) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--azul);
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fonte-titulo);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

button {
  font-family: inherit;
}

/* ============================================================
   3. UTILITÁRIOS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--estreito {
  max-width: 860px;
}

/* Seção padrão */
.section {
  padding-block: var(--espaco-secao);
}

.section__titulo {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--texto);
}

/* Título com linha decorativa azul sob o texto */
.section__titulo::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--azul);
  margin-top: 0.75rem;
}

.section__titulo--claro {
  color: var(--branco);
}

.section__titulo--claro::after {
  background: var(--branco);
}

.section__texto {
  font-size: 1.0625rem;
  color: var(--texto-suave);
}

.section__texto--claro {
  color: rgba(255, 255, 255, 0.92);
}

/* Badge / selo pequeno */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--fonte-titulo);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.badge--azul {
  background: rgba(0, 133, 207, 0.12);
  color: var(--azul-escuro);
  border: 1px solid rgba(0, 133, 207, 0.35);
}

.badge--vermelho {
  background: rgba(220, 16, 26, 0.1);
  color: var(--vermelho);
  border: 1px solid rgba(220, 16, 26, 0.35);
}

/* ============================================================
   4. BOTÕES E ÍCONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 50px;
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transicao), color var(--transicao),
    transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}

/* Botão principal (vermelho) — usado em todas as chamadas para ação */
.btn--primario {
  background: var(--vermelho);
  color: var(--branco);
}

.btn--primario:hover,
.btn--primario:focus-visible {
  background: var(--vermelho-escuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(220, 16, 26, 0.35);
}

/* Botão secundário (azul) — disponível como alternativa */
.btn--secundario {
  background: var(--azul);
  color: var(--branco);
}

.btn--secundario:hover,
.btn--secundario:focus-visible {
  background: var(--azul-escuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 133, 207, 0.35);
}

/* Versão grande (usada em CTAs centrais) */
.btn--grande {
  padding: 1rem 2.1rem;
  font-size: 1.05rem;
}

/* Ícones SVG reutilizados */
.icone {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* ============================================================
   5. ACESSIBILIDADE
   ============================================================ */
/* Link para pular direto ao conteúdo (visível apenas no foco) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--azul);
  color: var(--branco);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Foco visível em qualquer elemento interativo */
:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   6. HEADER / NAVEGAÇÃO / MENU MOBILE
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-alt);
  display: flex;
  align-items: center;
  background: transparent;              /* transparente sobre o hero */
  color: var(--branco);
  transition: height 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease, color 0.3s ease;
}

/* Estado "rolado": fundo branco, menor e com sombra */
.header.scrolled {
  height: var(--header-alt-menor);
  background: rgba(255, 255, 255, 0.97);
  color: var(--texto);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.header__interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logotipo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__texto {
  font-family: var(--fonte-titulo);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.logo__texto strong {
  font-weight: 800;
  color: var(--vermelho);
}

/* Botão hamburger (visível apenas no mobile) */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 4px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transforma as 3 barras em um "X" quando aberto */
.menu-toggle.aberto span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.aberto span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.aberto span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Painel de navegação (drawer no mobile) */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--branco);
  color: var(--texto);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.nav.aberto {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__lista {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav__link {
  display: block;
  padding: 0.65rem 0.5rem;
  font-weight: 600;
  color: var(--texto);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav__link:hover,
.nav__link.ativo {
  color: var(--azul);
  border-left-color: var(--azul);
}

/* CTA dentro do menu (desktop: oculto para evitar duplicidade com o hero) */
.nav__cta {
  display: none;
}

/* ============================================================
   7. HERO — BANNER PRINCIPAL
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh; /* preenche a tela no celular e no desktop */
  display: flex;
  align-items: center;
  padding: calc(var(--header-alt) + 3rem) 4rem 5.5rem;

  /* ------------------------------------------------------------
     ALTERAÇÃO DE IMAGEM (banner principal):
     Substitua "BannerSaoBernardo.jpg" pela imagem desejada
     mantendo o mesmo nome, ou ajuste o caminho abaixo.
     Se o arquivo não for encontrado, o fundo azul sólido cobre.
  ------------------------------------------------------------ */
  background-image: url("SaoBernado/BannerSaoBernado.jpeg");
  background-color: var(--azul); /* fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sobreposição escura suave para garantir legibilidade */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 14, 20, 0.82) 0%,
    rgba(10, 14, 20, 0.6) 45%,
    rgba(10, 14, 20, 0.25) 100%
  );
}

.hero__conteudo {
  position: relative;
  color: var(--branco);
  max-width: 720px;
  margin-inline: 0;
}

/* Selo "Unidade Móvel Exclusiva em Sergipe!" */
.hero__selo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  font-family: var(--fonte-titulo);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.hero__selo .icone {
  color: #ffd166; /* amarelo suave para chamar atenção */
}

.hero__titulo {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero__subtitulo {
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 34em;
}

/* Grade compacta de exames */
.hero__exames {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1.4rem 0 1.8rem;
}

.hero__exame {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.925rem;
}

.icone--check {
  color: #6dd3a0; /* verde suave para os checks */
}

.hero__acao {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap:9rem;
}

.hero__nota {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ============================================================
   8. SEÇÃO UNIDADE MÓVEL
   ============================================================ */
.unidade {
  background: var(--cinza-claro);
}

.unidade__grade {
  display: grid;
  gap: 2.5rem;
}

.unidade__beneficios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.8rem 0;
}

.unidade__beneficio {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unidade__beneficio:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-hover);
}

.unidade__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0, 133, 207, 0.12);
  color: var(--azul);
  font-size: 1.4rem;
}

.unidade__beneficio strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.unidade__beneficio span:last-child {
  font-size: 0.92rem;
  color: var(--texto-suave);
}

/* Card de destaque (azul) da Unidade Móvel */
.unidade__card {
  position: relative;
  align-self: start;
  background: var(--azul);
  color: var(--branco);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 133, 207, 0.28);
}

.unidade__card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.unidade__card-icone {
  width: 56px;
  height: 56px;
  color: #ffffff;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.unidade__card-titulo {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.unidade__card-texto {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
}

.unidade__card-lista li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.unidade__card-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffd166;
}

/* ============================================================
   9. SEÇÃO RESULTADOS (fundo azul institucional)
   ============================================================ */
.resultados {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: var(--branco);
  text-align: center;
}

.resultados .container--estreito {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resultados__selo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--fonte-titulo);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* Frase de destaque em destaque tipográfico */
.resultados__destaque {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 700;
  border-block: 1px solid rgba(255, 255, 255, 0.35);
  padding-block: 1rem;
  margin-block: 1.5rem 2rem;
  max-width: 30em;
}

/* Passos do processo (1-2-3) */
.resultados__passos {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.resultados__passo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: left;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.resultados__passo p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.resultados__passo-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--vermelho);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 800;
}

/* ============================================================
   10. SEÇÃO EXAMES / SERVIÇOS
   ============================================================ */
.servicos {
  background: var(--branco);
}

.section__cabecalho {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.servicos__grade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.servicos__card {
  background: var(--cinza-claro);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.servicos__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
  border-color: rgba(0, 133, 207, 0.4);
}

.servicos__icone {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(220, 16, 26, 0.09);
  color: var(--vermelho);
  margin-bottom: 0.9rem;
}

.servicos__card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.servicos__card p {
  font-size: 0.92rem;
  color: var(--texto-suave);
  margin: 0;
}

/* Texto complementar + área do botão */
.servicos__complemento {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  color: var(--azul-escuro);
  background: rgba(0, 133, 207, 0.08);
  border: 1px dashed rgba(0, 133, 207, 0.4);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 2.2rem 0 1.8rem;
}

.servicos__cta {
  text-align: center;
}

/* ============================================================
   11. FOOTER / CONTATO
   ============================================================ */
.footer {
  background: var(--fundo-escuro);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 0;
}

.footer__grade {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
}

.footer__col h3 {
  color: var(--branco);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Logotipo claro no rodapé */
.logo--footer .logo__texto {
  color: var(--branco);
}

.footer__marca p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.9rem;
  max-width: 30em;
}

/* Lista de contato */
.footer__contato li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.footer__contato li .icone {
  color: var(--azul);
  margin-top: 0.25rem;
  font-size: 1.3rem; /* aplicado ao tamanho da <svg> via largura do em */
}

.footer__contato em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Links de navegação no rodapé */
.footer__navegacao li {
  margin-bottom: 0.45rem;
}

.footer__navegacao a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer__navegacao a:hover {
  color: var(--branco);
  padding-left: 4px;
}

/* Redes sociais */
.footer__sociais {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.footer__sociais a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--branco);
  text-decoration: none;
  font-size: 1.25rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.footer__sociais a:hover {
  background: var(--vermelho);
  transform: translateY(-3px);
}

/* Barra inferior (copyright) */
.footer__barra {
  margin-top: 2.8rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer__barra p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   12. ANIMAÇÕES DE ENTRADA (SCROLL REVEAL)
   Os elementos com a classe .reveal entram suavemente quando
   aparecem na tela (controle feito no js/script.js via
   IntersectionObserver). O atraso escalonado vem do atributo
   data-delay definido no HTML.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.reveal-visivel {
  opacity: 1;
  transform: none;
}

/* Atraso escalonado (usado em grades e listas) */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ============================================================
   13. MEDIA QUERIES — TABLET E DESKTOP
   ============================================================ */

/* ---------- ≥ 560px: hero com 2 colunas de exames ---------- */
@media (min-width: 560px) {
  .hero__exames {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- ≥ 720px: tablets ---------- */
@media (min-width: 720px) {
  :root {
    --espaco-secao: 5.5rem;
  }

  .unidade__beneficios {
    grid-template-columns: 1fr 1fr;
  }

  .resultados__passos {
    grid-template-columns: repeat(3, 1fr);
  }

  .resultados__passo {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .servicos__grade {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grade {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- ≥ 940px: desktop ---------- */
@media (min-width: 940px) {
  /* Esconde o hamburger e mostra o menu horizontal */
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: transparent;
    color: inherit;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav__lista {
    flex-direction: row;
    gap: 0.2rem;
  }

  .nav__link {
    padding: 0.5rem 0.85rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    color: inherit; /* herda branco (topo) ou escuro (rolado) */
  }

  .nav__link:hover,
  .nav__link.ativo {
    color: inherit;
    border-bottom-color: var(--vermelho);
  }

  /* O CTA "Agende seu Exame" aparece no desktop */
  .nav__cta {
    display: inline-flex;
    padding: 0.6rem 1.3rem;
    font-size: 0.88rem;
  }

  /* Hero: exames em 3 colunas mantendo o ritmo */
  .hero__exames {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__acao {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
  }

  /* Unidade Móvel: texto à esquerda, card à direita */
  .unidade__grade {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3.5rem;
  }

  /* Serviços em 3 colunas */
  .servicos__grade {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer em 3 colunas */
  .footer__grade {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
  }
}

/* ---------- ≥ 1100px: telas largas ---------- */
@media (min-width: 1100px) {
  .hero {
    min-height: 92vh;
  }
}

/* ============================================================
   14. PREFERÊNCIA POR MENOS MOVIMENTO (acessibilidade)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}