/* ==========================================================================
   Clínica Odonto QualityBH — Design System
   CSS único de todo o site. Mobile-first. Sem framework, sem build.
   Sumário:
     1. Tokens (variáveis)
     2. Reset e base
     3. Tipografia
     4. Layout (container, section, grid)
     5. Botões
     6. Cabeçalho e navegação
     7. Menu mobile (drawer)
     8. Hero
     9. Componentes (card, faixa, chip, media, mapa, vídeo)
    10. Rodapé
    11. Botão flutuante do WhatsApp
    12. Utilitários e acessibilidade
   ========================================================================== */

/* ============================ 1. TOKENS ================================== */
:root {
  /* Cores — paleta clara de clínica: azul-petróleo + menta, dourado de apoio */
  --azul-900: #0d2b34;
  --azul-800: #10404e;
  --azul-700: #14657b;
  --azul-600: #1a7d96;
  --azul-500: #2f97b0;
  --azul-100: #dcedf1;
  --azul-50:  #f1f8fa;

  --menta-600: #2f9e8f;
  --menta-100: #ddf1ee;

  /* Dourado escurecido para passar em WCAG AA nos dois fundos em que aparece:
     branco (4,89:1) e o azul claro das seções alternadas (4,55:1).
     O tom original (#b8912f) dava apenas 2,95:1. */
  --dourado-600: #8a6d23;
  --dourado-500: #c9a227;   /* só em detalhes gráficos, nunca em texto */
  --dourado-200: #f0e2b4;

  --zap-500: #25d366;
  --zap-600: #1eb457;

  --texto:        #16262d;
  --texto-suave:  #4e6169;
  /* Escurecido para atingir 4.5:1 tanto sobre branco (4,89) quanto sobre o
     azul claro das seções alternadas (4,55). Era #7a8b92 (3,54:1). */
  --texto-claro:  #65737c;
  --branco:       #ffffff;
  --fundo:        #ffffff;
  --fundo-alt:    var(--azul-50);
  --borda:        #dfe8eb;

  /* Tipografia */
  --fonte-titulo: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --fonte-corpo:  'Open Sans', 'Segoe UI', system-ui, sans-serif;

  --t-xs:   0.8125rem;                          /* 13px */
  --t-sm:   0.875rem;                           /* 14px */
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lg:   clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --t-h4:   clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --t-h3:   clamp(1.1875rem, 1.08rem + 0.55vw, 1.5rem);
  --t-h2:   clamp(1.5rem, 1.25rem + 1.15vw, 2.25rem);
  --t-h1:   clamp(1.875rem, 1.4rem + 2.1vw, 3rem);

  /* Espaçamento */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4rem;
  --secao-y: clamp(3rem, 7vw, 6rem);

  /* Formas */
  --raio-sm: 8px;
  --raio:    14px;
  --raio-lg: 22px;
  --raio-full: 999px;

  --sombra-sm: 0 1px 2px rgba(13, 43, 52, .06), 0 2px 8px rgba(13, 43, 52, .05);
  --sombra:    0 2px 6px rgba(13, 43, 52, .06), 0 12px 28px rgba(13, 43, 52, .08);
  --sombra-lg: 0 8px 20px rgba(13, 43, 52, .10), 0 24px 48px rgba(13, 43, 52, .12);

  --container: 1180px;
  --header-h: 64px;
  --transicao: 200ms ease;
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-corpo);
  font-size: var(--t-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--azul-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--azul-600); }

button { font: inherit; }

ul, ol { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--azul-500);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ========================= 3. TIPOGRAFIA ================================= */
h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--azul-900);
  line-height: 1.2;
  margin: 0 0 var(--e-4);
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--t-h3); font-weight: 700; }
h4 { font-size: var(--t-h4); font-weight: 600; }

p { margin: 0 0 var(--e-4); }
p:last-child { margin-bottom: 0; }

/* O corpo do texto (Open Sans) só carrega os pesos 400 e 600 — não existe
   um 700 real para <strong>/<b>, então o navegador "inventaria" um negrito
   sintético, mais borrado. Mapear para 600 evita isso sem baixar mais fonte. */
strong, b { font-weight: 600; }

.sobrechapeu {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dourado-600);
  margin-bottom: var(--e-3);
}

.subtitulo {
  font-size: var(--t-lg);
  color: var(--texto-suave);
  max-width: 62ch;
}

.secao__cabecalho { max-width: 68ch; margin-bottom: var(--e-6); }
.secao__cabecalho--centro { margin-inline: auto; text-align: center; }

/* =========================== 4. LAYOUT ================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.secao { padding-block: var(--secao-y); }
.secao--alt { background: var(--fundo-alt); }
.secao--escura {
  background: linear-gradient(160deg, var(--azul-800), var(--azul-900));
  color: var(--azul-100);
}
.secao--escura h2, .secao--escura h3 { color: var(--branco); }
.secao--escura .subtitulo { color: var(--azul-100); }

.grid { display: grid; gap: var(--e-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* =========================== 5. BOTÕES ================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e-2);
  min-height: 50px;
  padding: 0 var(--e-5);
  border: 2px solid transparent;
  border-radius: var(--raio-full);
  font-family: var(--fonte-titulo);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transicao), color var(--transicao),
              border-color var(--transicao), transform var(--transicao),
              box-shadow var(--transicao);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

.btn--zap {
  background: var(--zap-500);
  color: #06331a;
  box-shadow: var(--sombra-sm);
}
.btn--zap:hover { background: var(--zap-600); color: #06331a; }

.btn--primario {
  background: var(--azul-700);
  color: var(--branco);
  box-shadow: var(--sombra-sm);
}
.btn--primario:hover { background: var(--azul-800); color: var(--branco); }

.btn--contorno {
  background: transparent;
  color: var(--azul-700);
  border-color: var(--azul-100);
}
.btn--contorno:hover { background: var(--azul-50); border-color: var(--azul-500); color: var(--azul-800); }

.btn--claro { background: var(--branco); color: var(--azul-800); }
.btn--claro:hover { background: var(--azul-50); color: var(--azul-900); }

.btn--bloco { width: 100%; }

.btn-grupo { display: flex; flex-wrap: wrap; gap: var(--e-3); }

/* ==================== 6. CABEÇALHO E NAVEGAÇÃO ========================== */
.pular-para-conteudo {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--azul-900);
  color: var(--branco);
  padding: var(--e-3) var(--e-4);
  border-radius: 0 0 var(--raio-sm) 0;
}
.pular-para-conteudo:focus { left: 0; color: var(--branco); }

.cabecalho {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borda);
}
.cabecalho.rolou { box-shadow: var(--sombra-sm); }

.cabecalho__interno {
  display: flex;
  align-items: center;
  gap: var(--e-4);
  min-height: var(--header-h);
}

.marca { display: flex; align-items: center; gap: var(--e-3); margin-right: auto; text-decoration: none; }
.marca img { width: auto; height: 44px; }
.marca__nome { display: none; }

@media (min-width: 480px) {
  .marca__nome {
    display: block;
    font-family: var(--fonte-titulo);
    font-weight: 700;
    font-size: var(--t-sm);
    line-height: 1.25;
    color: var(--azul-900);
  }
  .marca__nome span {
    display: block;
    font-weight: 600;
    font-size: var(--t-xs);
    color: var(--texto-claro);
  }
}

.cabecalho__telefone {
  display: none;
  align-items: center;
  gap: var(--e-2);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  color: var(--azul-800);
  text-decoration: none;
  white-space: nowrap;
}
.cabecalho__telefone svg { width: 18px; height: 18px; fill: var(--azul-600); }
.cabecalho__telefone:hover { color: var(--azul-600); }

.cabecalho .btn--zap { display: none; }

@media (min-width: 640px)  { .cabecalho__telefone { display: inline-flex; } }
@media (min-width: 1024px) { .cabecalho .btn--zap { display: inline-flex; } }

/* --- Navegação desktop --- */
.nav { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__lista {
    display: flex;
    align-items: center;
    gap: var(--e-1);
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav__item { position: relative; }

  .nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: var(--e-2) var(--e-3);
    border-radius: var(--raio-sm);
    font-family: var(--fonte-titulo);
    font-size: var(--t-sm);
    font-weight: 600;
    color: var(--azul-900);
    text-decoration: none;
    white-space: nowrap;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav__link:hover,
  .nav__link[aria-expanded="true"] { background: var(--azul-50); color: var(--azul-700); }
  .nav__link[aria-current="page"],
  .nav__link[aria-current="true"] { color: var(--azul-700); box-shadow: inset 0 -2px 0 var(--dourado-500); }
  .nav__link svg { width: 12px; height: 12px; fill: currentColor; transition: transform var(--transicao); }
  .nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

  .submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 110;
    min-width: 280px;
    margin: 0;
    padding: var(--e-2);
    list-style: none;
    background: var(--branco);
    border: 1px solid var(--borda);
    border-radius: var(--raio);
    box-shadow: var(--sombra-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transicao), transform var(--transicao), visibility var(--transicao);
  }
  .nav__item:hover > .submenu,
  .nav__item:focus-within > .submenu,
  .submenu.aberto {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .submenu a {
    display: block;
    padding: var(--e-2) var(--e-3);
    border-radius: var(--raio-sm);
    font-size: var(--t-sm);
    color: var(--texto);
    text-decoration: none;
  }
  .submenu a:hover { background: var(--azul-50); color: var(--azul-700); }
}

/* ======================= 7. MENU MOBILE ================================= */
.menu-botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--azul-50);
  border: 1px solid var(--borda);
  border-radius: var(--raio-sm);
  color: var(--azul-800);
  cursor: pointer;
}
.menu-botao svg { width: 22px; height: 22px; fill: currentColor; }
.menu-botao__fechar { display: none; }
.menu-botao[aria-expanded="true"] .menu-botao__abrir { display: none; }
.menu-botao[aria-expanded="true"] .menu-botao__fechar { display: block; }

@media (min-width: 1024px) { .menu-botao { display: none; } }

.menu-fundo {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(13, 43, 52, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transicao), visibility var(--transicao);
}
body.menu-aberto .menu-fundo { opacity: 1; visibility: visible; }
body.menu-aberto { overflow: hidden; }

.menu-lateral {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(360px, 88vw);
  padding: var(--e-4) var(--e-4) var(--e-7);
  background: var(--branco);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(.4, 0, .2, 1);
  box-shadow: var(--sombra-lg);
}
body.menu-aberto .menu-lateral { transform: translateX(0); }

@media (min-width: 1024px) {
  .menu-fundo, .menu-lateral { display: none; }
}

.menu-lateral__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-3);
  padding-bottom: var(--e-4);
  border-bottom: 1px solid var(--borda);
  margin-bottom: var(--e-4);
}
.menu-lateral__topo img { height: 40px; width: auto; }

.menu-lista { list-style: none; margin: 0 0 var(--e-5); padding: 0; }
.menu-lista > li { border-bottom: 1px solid var(--borda); }
.menu-lista a,
.menu-lista .menu-grupo__botao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-3);
  width: 100%;
  min-height: 52px;
  padding: var(--e-2) 0;
  background: none;
  border: 0;
  font-family: var(--fonte-titulo);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--azul-900);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.menu-grupo__botao svg { width: 14px; height: 14px; fill: currentColor; transition: transform var(--transicao); }
.menu-grupo__botao[aria-expanded="true"] svg { transform: rotate(180deg); }

.menu-grupo__lista {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--e-3) var(--e-3);
  border-left: 2px solid var(--azul-100);
}
.menu-grupo__lista[hidden] { display: none; }
.menu-grupo__lista a {
  min-height: 46px;
  font-family: var(--fonte-corpo);
  font-size: var(--t-sm);
  font-weight: 400;
  color: var(--texto-suave);
}
.menu-lista a[aria-current="page"] {
  color: var(--azul-700);
  font-weight: 700;
}
/* Telefone no rodapé do menu lateral: alvo de toque adequado */
.menu-lateral > p a { display: inline-block; padding: 8px 12px; }

/* ====================== 7b. MIGALHAS (BREADCRUMB) ======================= */
.migalhas {
  padding-block: var(--e-4);
  background: var(--fundo-alt);
  border-bottom: 1px solid var(--borda);
  font-size: var(--t-sm);
}
.migalhas ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.migalhas li { display: flex; align-items: center; gap: var(--e-2); color: var(--texto-claro); }
.migalhas li + li::before {
  content: "›";
  color: var(--texto-claro);
  font-size: 1.1em;
  line-height: 1;
}
.migalhas a {
  display: inline-block;
  padding-block: 4px;               /* alvo de toque um pouco maior no celular */
  color: var(--texto-suave);
  text-decoration: none;
}
.migalhas a:hover { color: var(--azul-700); text-decoration: underline; }
.migalhas [aria-current="page"] { color: var(--azul-900); font-weight: 600; }

/* Topo simples das páginas internas (substitui o hero da Home) */
.topo-pagina {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--azul-50), var(--branco));
}
.topo-pagina .subtitulo { margin-bottom: var(--e-5); }

/* ============================= 8. HERO ================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(900px 420px at 88% -10%, var(--menta-100), transparent 65%),
    linear-gradient(180deg, var(--azul-50), var(--branco));
  overflow: hidden;
}

.hero__grid { display: grid; gap: var(--e-6); align-items: center; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--e-8); }
}

.hero__texto p.subtitulo { margin-bottom: var(--e-5); }

.hero__figura { position: relative; justify-self: center; }
.hero__figura img {
  width: min(420px, 100%);
  border-radius: var(--raio-lg);
  box-shadow: var(--sombra-lg);
  background: var(--branco);
}
.hero__selo {
  position: absolute;
  right: -8px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: var(--e-2);
  padding: var(--e-3) var(--e-4);
  background: var(--branco);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--azul-900);
  line-height: 1.25;
}
.hero__selo svg { width: 24px; height: 24px; fill: var(--dourado-500); flex: none; }
.hero__selo span { display: block; font-weight: 400; font-size: var(--t-xs); color: var(--texto-claro); }

/* ===================== 9. COMPONENTES DIVERSOS ========================== */

/* Faixa de destaques */
.faixa {
  background: var(--azul-800);
  color: var(--azul-100);
  padding-block: var(--e-5);
}
.faixa__lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--e-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.faixa__item {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--branco);
}
.faixa__item svg { width: 26px; height: 26px; flex: none; fill: var(--dourado-200); }

/* Card de tratamento */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--e-5);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: var(--azul-500);
  color: inherit;
}
.card__icone {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--e-4);
  border-radius: var(--raio-sm);
  background: var(--azul-50);
  color: var(--azul-700);
}
.card__icone svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: var(--t-h4); margin-bottom: var(--e-2); }
.card p { font-size: var(--t-sm); color: var(--texto-suave); }
.card__seta {
  margin-top: auto;
  padding-top: var(--e-4);
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--azul-700);
}
a.card:hover .card__seta { color: var(--azul-600); }

/* Bloco de texto + imagem */
.media {
  display: grid;
  gap: var(--e-6);
  align-items: center;
}
@media (min-width: 900px) {
  .media { grid-template-columns: 1fr 1fr; gap: var(--e-8); }
  .media--inverso .media__figura { order: -1; }
}
.media__figura img { border-radius: var(--raio); box-shadow: var(--sombra); width: 100%; }

/* Lista com marcador de check */
.lista-check { list-style: none; margin: 0 0 var(--e-5); padding: 0; }
.lista-check li {
  position: relative;
  padding-left: 34px;
  margin-bottom: var(--e-3);
}
.lista-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 20px;
  height: 20px;
  border-radius: var(--raio-full);
  background: var(--menta-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f9e8f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Chips de convênios */
.chips { display: flex; flex-wrap: wrap; gap: var(--e-2); margin: 0 0 var(--e-5); padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: var(--e-2) var(--e-4);
  border: 1px solid var(--borda);
  border-radius: var(--raio-full);
  background: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--azul-800);
}
a.chip:hover { border-color: var(--azul-500); background: var(--azul-50); text-decoration: none; }

/* Galeria da estrutura */
.galeria { display: grid; gap: var(--e-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.galeria figure { margin: 0; }
.galeria img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--raio);
  box-shadow: var(--sombra-sm);
}
.galeria figcaption {
  margin-top: var(--e-2);
  font-size: var(--t-sm);
  color: var(--texto-claro);
}

/* Fachada de vídeo e de mapa (carregam só ao clique) */
.fachada {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--azul-100) center / cover no-repeat;
  cursor: pointer;
}
.fachada::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 52, .28);
  transition: background var(--transicao);
}
.fachada:hover::after { background: rgba(13, 43, 52, .16); }
.fachada__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}
.fachada__play svg {
  width: 72px;
  height: 72px;
  fill: var(--branco);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
}
.fachada iframe { width: 100%; height: 100%; border: 0; }
.fachada--mapa { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .fachada--mapa { aspect-ratio: 16 / 9; } }

/* Bloco de contato/endereço */
.contato-bloco {
  padding: var(--e-5);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-sm);
}
.contato-bloco dl { margin: 0 0 var(--e-5); }
.contato-bloco dt {
  font-family: var(--fonte-titulo);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--texto-claro);
  margin-top: var(--e-4);
}
.contato-bloco dt:first-child { margin-top: 0; }
.contato-bloco dd { margin: var(--e-1) 0 0; }

/* Avaliações do Google (cartões estáticos, sem widget externo) */
.avaliacoes-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-4) var(--e-5);
  padding: var(--e-5);
  margin-bottom: var(--e-5);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-sm);
}
.avaliacoes-nota {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--azul-900);
}
.avaliacoes-estrelas { display: flex; gap: 2px; }
.avaliacoes-estrelas svg { width: 20px; height: 20px; fill: #f2a93b; }

/* Estrelas com preenchimento proporcional à nota (4,8 = 96%) */
.estrelas-nota { position: relative; display: inline-block; line-height: 0; }
.estrelas-nota__fundo,
.estrelas-nota__linha { display: flex; gap: 2px; }
.estrelas-nota svg { width: 20px; height: 20px; flex: none; }
.estrelas-nota__fundo svg { fill: #dbe3e6; }
.estrelas-nota__frente {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--preenchido, 100%);
  overflow: hidden;
}
.estrelas-nota__frente svg { fill: #f2a93b; }
.avaliacoes-meta { font-size: var(--t-sm); color: var(--texto-suave); margin-top: 4px; }
.avaliacoes-meta strong { color: var(--texto); }
.avaliacoes-marca {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  margin-left: auto;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--texto-suave);
}
.avaliacoes-marca svg { width: 20px; height: 20px; }

.avaliacoes-grade {
  display: grid;
  gap: var(--e-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.avaliacao {
  display: flex;
  flex-direction: column;
  padding: var(--e-5);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-sm);
}
.avaliacao__topo { display: flex; align-items: center; gap: var(--e-3); margin-bottom: var(--e-3); }
.avaliacao__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--raio-full);
  font-family: var(--fonte-titulo);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--branco);
}
.avaliacao__nome {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--azul-900);
  line-height: 1.3;
}
.avaliacao__nome svg { width: 15px; height: 15px; fill: #4285f4; flex: none; }
.avaliacao__quando { font-size: var(--t-xs); color: var(--texto-claro); }
.avaliacao .avaliacoes-estrelas { margin-bottom: var(--e-2); }
.avaliacao .avaliacoes-estrelas svg { width: 16px; height: 16px; }
.avaliacao blockquote { margin: 0; }
.avaliacao p { font-size: var(--t-sm); color: var(--texto-suave); margin: 0; }

/* Perguntas frequentes — usa <details>/<summary> nativo do HTML:
   abre e fecha sem JavaScript e já é anunciado corretamente por leitores
   de tela. O conteúdo fica no HTML mesmo fechado, então o Google lê tudo. */
.faq { max-width: 62rem; margin-inline: auto; }

.faq__item {
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  margin-bottom: var(--e-3);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
  padding: var(--e-4) var(--e-5);
  cursor: pointer;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--azul-900);
  list-style: none;
  min-height: 56px;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--azul-600);
  border-bottom: 2px solid var(--azul-600);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transicao);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__item summary:hover { background: var(--azul-50); }
.faq__item[open] summary { border-bottom: 1px solid var(--borda); }

.faq__resposta { padding: var(--e-4) var(--e-5) var(--e-5); }
.faq__resposta p { color: var(--texto-suave); }
.faq__resposta p:last-child { margin-bottom: 0; }
.faq__resposta a { font-weight: 600; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final .btn-grupo { justify-content: center; }
.cta-final .subtitulo { margin-inline: auto; margin-bottom: var(--e-5); }

/* ============================ 10. RODAPÉ ================================ */
.rodape {
  background: var(--azul-900);
  color: #b9cdd4;
  padding-block: var(--e-7) var(--e-5);
  font-size: var(--t-sm);
}
.rodape__grid {
  display: grid;
  gap: var(--e-6);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: var(--e-6);
}
.rodape h3 {
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--branco);
  margin-bottom: var(--e-3);
}
.rodape img { height: 52px; width: auto; margin-bottom: var(--e-3); }
.rodape a { color: #d8e6ea; text-decoration: none; }
.rodape a:hover { color: var(--branco); text-decoration: underline; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { margin-bottom: var(--e-1); }
/* Alvo de toque: o texto tem 19px de altura, pequeno demais para o dedo.
   O padding leva o link a ~35px sem mudar a aparência. */
.rodape li a,
.rodape address a { display: inline-block; padding-block: 8px; }
.rodape address { font-style: normal; }
/* O botão flutuante fica sobre o fim do rodapé: reservamos o espaço dele */
.rodape { padding-bottom: 96px; }

.rodape__base {
  padding-top: var(--e-5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--e-3);
  justify-content: space-between;
  font-size: var(--t-xs);
  color: #8fa8b0;
}

/* ================== 11. BOTÃO FLUTUANTE DO WHATSAPP ===================== */
.zap-flutuante {
  position: fixed;
  right: clamp(14px, 4vw, 26px);
  bottom: clamp(14px, 4vw, 26px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  height: 58px;
  padding-inline: 18px;
  border-radius: var(--raio-full);
  background: var(--zap-500);
  color: #06331a;
  font-family: var(--fonte-titulo);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform var(--transicao), background var(--transicao);
}
.zap-flutuante:hover { background: var(--zap-600); color: #06331a; transform: scale(1.04); }
.zap-flutuante svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.zap-flutuante span { display: none; }
@media (min-width: 640px) { .zap-flutuante span { display: inline; } }

/* =============== 12. UTILITÁRIOS E ACESSIBILIDADE ======================= */
.so-leitor-tela {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.centro { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--e-5); }
.max-60 { max-width: 60ch; }
