/* ==========================================================================
   AudioClick Inovação Auditiva - Folha de Estilos Principal
   Projeto: audioclick
   Cidade: Porto Alegre / RS
   Paleta: Clean, Clara e Quente (Marfim, Creme, Bege, Madeira Caramelo e Marrom Principal)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS CSS (PALETA DE CORES CENTRALIZADA)
   -------------------------------------------------------------------------- */
:root {
  /* Cores de Superfície e Fundo */
  --cor-fundo: #FBF8F4;                /* Fundo principal marfim/creme */
  --cor-fundo-alt: #F4ECE4;            /* Fundo de seções alternadas bege quente */
  --cor-card: #FFFFFF;                 /* Fundo dos cartões */
  --cor-borda: #E9DDD2;                /* Bordas e divisórias */
  --cor-borda-placeholder: #D9C7BB;    /* Borda tracejada de espaços reservados */
  
  /* Cor Principal (madeira) e Variações. Obs.: os nomes --cor-azul* foram mantidos por compatibilidade, o valor agora é marrom madeira */
  --cor-azul: #7A4E36;                 /* Marrom madeira principal (botões, links, item ativo, foco) */
  --cor-azul-hover: #663F2B;           /* Marrom madeira no hover */
  --cor-azul-suave: #F1E3D8;           /* Pêssego/creme suave (selos, fundos de ícones, destaques) */
  --cor-caramelo: #935F3F;             /* Detalhe caramelo de madeira (sublinhados, ícones, textos de apoio) */
  
  /* Faixa Escura e Rodapé */
  --cor-escuro: #3A2E28;               /* Fundo escuro quente da faixa final e do rodapé */
  --cor-escuro-borda: #4D3E36;         /* Divisórias sobre fundo escuro */
  --cor-texto-escuro: #F4E7DE;         /* Texto principal sobre fundo escuro */
  --cor-texto-escuro-sec: #D9C7BB;     /* Texto secundário sobre fundo escuro e links */
  
  /* Cores de Texto */
  --cor-texto: #2F2A27;                /* Texto principal */
  --cor-texto-sec: #6B625B;            /* Texto secundário */
  --cor-titulos: #2F2A27;              /* Títulos principais */
  --cor-titulos-destaque: #663F2B;     /* Títulos em marrom de destaque */
  --cor-branco: #FFFFFF;               /* Branco puro */
  
  /* Sombras */
  --sombra-sm: 0 2px 8px rgba(47, 42, 39, 0.05);
  --sombra-md: 0 8px 24px rgba(47, 42, 39, 0.08);
  --sombra-lg: 0 16px 36px rgba(47, 42, 39, 0.12);
  --sombra-hover: 0 12px 28px rgba(47, 42, 39, 0.12);
  --sombra-btn: 0 4px 14px rgba(122, 78, 54, 0.25);
  --sombra-btn-hover: 0 6px 18px rgba(102, 63, 43, 0.35);

  /* Variáveis de Compatibilidade */
  --color-primary: var(--cor-azul);
  --color-primary-hover: var(--cor-azul-hover);
  --color-primary-light: var(--cor-azul-suave);
  --color-primary-soft: var(--cor-fundo-alt);
  --color-accent: var(--cor-caramelo);
  --color-accent-soft: var(--cor-azul-suave);
  --color-whatsapp: var(--cor-azul);
  --color-whatsapp-hover: var(--cor-azul-hover);
  --color-bg: var(--cor-fundo);
  --color-surface: var(--cor-fundo-alt);
  --color-surface-alt: var(--cor-fundo-alt);
  --color-card-bg: var(--cor-card);
  --color-border: var(--cor-borda);
  --color-border-light: var(--cor-borda);
  --color-text: var(--cor-texto);
  --color-text-muted: var(--cor-texto-sec);
  --color-text-light: var(--cor-texto-sec);
  --color-white: var(--cor-branco);
  --shadow-sm: var(--sombra-sm);
  --shadow-md: var(--sombra-md);
  --shadow-lg: var(--sombra-lg);
  --shadow-hover: var(--sombra-hover);

  /* Tipografia */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;
  --line-height-heading: 1.25;
  
  /* Medidas e Espaçamentos */
  --container-max-width: 1180px;
  --header-height: 130px;
  --section-padding-y: 84px;
  
  /* Raios de Borda */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. RESET E ESTILOS GLOBAIS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  width: 100%;

  overflow-x: clip;
  max-width: 100vw;}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--cor-texto);
  background-color: var(--cor-fundo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

body.nav-open {
  overflow: hidden;
}

/* Foco do teclado acessível na cor principal (marrom madeira) */
:focus-visible {
  outline: 2px solid var(--cor-azul);
  outline-offset: 3px;
}

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

a {
  color: var(--cor-azul);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--cor-azul-hover);
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TIPOGRAFIA E ELEMENTOS DE TEXTO
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--cor-titulos);
  line-height: var(--line-height-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--cor-texto-sec);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

.lead-text {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--cor-texto);
  font-weight: 500;
}

/* Badges e Rótulos Sutis */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cor-titulos-destaque);
  background-color: var(--cor-azul-suave);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  max-width: 100%;
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--cor-borda);
  color: var(--cor-texto-sec);
}

.badge-pending {
  background-color: var(--cor-fundo-alt);
  color: var(--cor-caramelo);
  border: 1px solid var(--cor-borda);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   4. ESTRUTURA E CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.section-alt {
  background-color: var(--cor-fundo-alt);
  border-top: 1px solid var(--cor-borda);
  border-bottom: 1px solid var(--cor-borda);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header p {
  font-size: 1.08rem;
  color: var(--cor-texto-sec);
}

/* Grids do Desktop (>1024px) */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   5. BOTÕES E LINKS (ÁREA DE TOQUE MÍNIMA DE 44PX)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 44px;
  
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.2;
  box-sizing: border-box;
  text-align: center;
}

.btn-primary {
  background-color: var(--cor-azul);
  color: var(--cor-branco);
  box-shadow: var(--sombra-btn);
}

.btn-primary:hover {
  background-color: var(--cor-azul-hover);
  color: var(--cor-branco);
  transform: translateY(-2px);
  box-shadow: var(--sombra-btn-hover);
}

/* Botão WhatsApp com a cor principal da paleta (marrom madeira #7A4E36) */
.btn-whatsapp {
  background-color: var(--cor-azul);
  color: var(--cor-branco) !important;
  font-weight: 700;
  box-shadow: var(--sombra-btn);
}

.btn-whatsapp:hover {
  background-color: var(--cor-azul-hover);
  color: var(--cor-branco) !important;
  transform: translateY(-2px);
  box-shadow: var(--sombra-btn-hover);
}

.btn-whatsapp svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Botão Secundário (Contorno) */
.btn-outline {
  background-color: transparent;
  border-color: var(--cor-azul);
  color: var(--cor-azul);
}

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

.btn-lg {
  padding: 14px 30px;
  min-height: 48px;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   6. CABEÇALHO E MENU DE NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(251, 248, 244, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cor-borda);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

/* Linha 1: Topo com Logotipo e Botão de Ação */
.header-top-bar {
  padding: 0.85rem 0;
  background-color: rgba(251, 248, 244, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-top-container,
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand,
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img,
.site-logo {
  height: 56px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

.header-top-cta {
  display: flex;
  align-items: center;
}

.header-top-cta .btn-whatsapp,
.header-top-cta .btn-whatsapp-header {
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--sombra-btn);
  border-radius: var(--radius-pill);
}

.header-top-cta .btn-whatsapp svg,
.header-top-cta .btn-whatsapp-header svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Linha 2: Barra de Navegação Horizontal */
.header-nav-bar {
  background-color: #f7f3ee;
}

.header-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.nav-list,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cor-texto);
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--cor-azul);
}

.nav-link.active {
  color: var(--cor-azul);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--cor-azul);
  border-radius: 3px 3px 0 0;
}

.drawer-whatsapp-cta {
  display: none;
}

/* Ações Mobile/Tablet no cabeçalho */
.header-mobile-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  color: var(--cor-titulos);
  z-index: 1010;
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   7. BLOCO HERO E PÁGINAS INTERNAS
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--section-padding-y) + 10px);
  padding-bottom: var(--section-padding-y);
  background: linear-gradient(180deg, var(--cor-fundo-alt) 0%, var(--cor-fundo) 100%);
  position: relative;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--cor-texto-sec);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-hero {
  background: linear-gradient(180deg, var(--cor-fundo-alt) 0%, var(--cor-fundo) 100%);
  padding-top: calc(var(--section-padding-y) + 20px);
  padding-bottom: var(--section-padding-y);
  border-bottom: 1px solid var(--cor-borda);
}

.page-hero .container {
  max-width: 820px;
}

.page-hero p {
  font-size: 1.12rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. PLACEHOLDERS DE IMAGEM ("FOTO A DEFINIR")
   -------------------------------------------------------------------------- */
.image-placeholder {
  width: 100%;
  max-width: 100%;
  background-color: var(--cor-fundo-alt);
  border: 2px dashed var(--cor-borda-placeholder);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--cor-texto-sec);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
}

.image-placeholder:hover {
  border-color: var(--cor-caramelo);
}

.image-placeholder-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  stroke: var(--cor-caramelo);
  opacity: 0.85;
}

.image-placeholder-label {
  
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cor-texto-sec);
}

.image-placeholder-sub {
  font-size: 0.8rem;
  color: var(--cor-texto-sec);
  margin-top: 4px;
}

.image-ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.image-ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.image-ratio-1-1 {
  aspect-ratio: 1 / 1;
}

/* --------------------------------------------------------------------------
   9. CARDS E COMPONENTES DE CONTEÚDO
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--sombra-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-hover);
  border-color: var(--cor-borda-placeholder);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--cor-azul-suave);
  color: var(--cor-azul);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--cor-titulos);
}

.card-text {
  font-size: 0.96rem;
  color: var(--cor-texto-sec);
  flex-grow: 1;
}

.card-footer-link {
  margin-top: 1.25rem;
  font-weight: 700;
  
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cor-azul);
}

.card-footer-link:hover {
  color: var(--cor-azul-hover);
}

.card-footer-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-footer-link:hover svg {
  transform: translateX(4px);
}

.card-featured {
  background: linear-gradient(135deg, var(--cor-fundo-alt) 0%, var(--cor-card) 100%);
  border: 1px solid var(--cor-borda);
}

/* Grade de Cards Responsiva (Exames e Terapias - zumbido.html: 8 cards em 4x2 no desktop e 2x4 no tablet) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cards-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cards-grid .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.cards-grid .card-text {
  font-size: 0.93rem;
  line-height: 1.6;
  flex-grow: 1;
}

@media (max-width: 1099px) and (min-width: 641px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   10. ETAPAS (COMO FUNCIONA)
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--sombra-sm);
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-hover);
  border-color: var(--cor-borda-placeholder);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: var(--cor-azul);
  color: var(--cor-branco);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: var(--cor-titulos);
}

.step-desc {
  font-size: 0.94rem;
  color: var(--cor-texto-sec);
  line-height: 1.6;
}

.highlight-box {
  background-color: var(--cor-azul-suave);
  border: 1px solid var(--cor-borda);
  border-left: 5px solid var(--cor-azul);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  box-sizing: border-box;
}

.highlight-box h3 {
  color: var(--cor-titulos-destaque);
  margin-bottom: 0.5rem;
}

.highlight-box p {
  color: var(--cor-texto);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. CARTÕES DA EQUIPE E FOTO OFICIAL (SOBRE NÓS)
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}

.team-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-card-photo {
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--cor-borda);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-name {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: var(--cor-titulos);
}

.team-role {
  
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cor-caramelo);
  margin-bottom: 0.85rem;
}

.team-desc {
  font-size: 1rem;
  color: var(--cor-texto-sec);
  line-height: 1.6;
  flex-grow: 1;
}

.pending-box {
  background-color: var(--cor-fundo-alt);
  border: 1px dashed var(--cor-borda-placeholder);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--cor-texto-sec);
  font-style: italic;
}

/* Foto Oficial da Equipe (Sobre nós) */
.team-photo {
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: var(--sombra-md);
  box-sizing: border-box;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Variação 4:5 da foto da equipe (home) */
.team-photo.team-photo-4-5 {
  aspect-ratio: 4 / 5;
  position: static;
  align-self: center;
}

/* --------------------------------------------------------------------------
   12. SANFONA DE PERGUNTAS FREQUENTES (FAQ ACCORDION)
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.faq-item:hover {
  border-color: var(--cor-borda-placeholder);
}

.faq-item.active {
  border-color: var(--cor-azul);
  box-shadow: var(--sombra-sm);
}

.faq-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--cor-titulos);
  gap: 1rem;
  box-sizing: border-box;
}

.faq-item.active .faq-header {
  color: var(--cor-titulos-destaque);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background-color: var(--cor-azul-suave);
  color: var(--cor-azul);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--cor-azul);
  color: var(--cor-branco);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--cor-texto-sec);
}

/* --------------------------------------------------------------------------
   13. PÁGINA DE CONTATO E ESPAÇO RESERVADO DO MAPA
   -------------------------------------------------------------------------- */
.contact-grid {
  align-items: stretch;
}

.contact-card {
  min-width: 0;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
}

.contact-card-top {
  display: flex;
  flex-direction: column;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* Lista de Localização Mais Compacta e Elegante (Cartão da Direita) */
.location-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.location-info-list .contact-item {
  gap: 0.85rem;
  align-items: flex-start;
}

.location-info-list .contact-item:last-child {
  margin-bottom: 0.25rem;
}

.location-info-list .contact-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.location-info-list .contact-item-value {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--cor-azul-suave);
  color: var(--cor-azul);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.contact-item-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cor-texto-sec);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cor-texto);
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Wrapper do Mapa do Google (Cartão da Esquerda) */
.map-frame-wrapper {
  width: 100%;
  max-width: 100%;
  height: 510px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--cor-borda);
  margin-top: 1.25rem;
  margin-bottom: 1rem;
  background-color: var(--cor-fundo-alt);
  flex-shrink: 0;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: var(--radius-md);
}

/* Foto do Edifício Urban Concept (Preenchimento Total do Espaço Vertical) */
.building-photo-wrap {
  width: 100%;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--cor-borda);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--cor-fundo-alt);
  display: flex;
}

.building-photo {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  border-radius: var(--radius-md);
}

/* Ação Padronizada no Rodapé dos Cards */
.contact-card-action {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}

.location-card-action,
.contact-card:has(.building-photo-wrap) .contact-card-action {
  margin-top: 0;
}

.contact-card-action .btn {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Link Social do Rodapé (Instagram) */
.footer-social-link {
  color: var(--cor-texto-escuro-sec);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--cor-branco);
}

.footer-social-link svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   14. BANNER DE CHAMADA PARA AÇÃO (CTA BANNER - FAIXA ESCURA)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--cor-escuro);
  color: var(--cor-texto-escuro);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: var(--sombra-lg);
  box-sizing: border-box;
}

.cta-banner h2 {
  color: var(--cor-texto-escuro);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--cor-texto-escuro-sec);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

/* --------------------------------------------------------------------------
   15. RODAPÉ (FOOTER)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--cor-escuro);
  color: var(--cor-texto-escuro-sec);
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid var(--cor-escuro-borda);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: var(--cor-texto-escuro);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.footer-brand .brand-tagline {
  color: var(--cor-texto-escuro-sec);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--cor-texto-escuro-sec);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-nav-title {
  color: var(--cor-texto-escuro);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav-list a {
  color: var(--cor-texto-escuro-sec);
  
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav-list a:hover {
  color: var(--cor-branco);
  padding-left: 4px;
}

.footer-contact-item {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--cor-texto-escuro-sec);
  line-height: 1.5;
}

.footer-contact-item a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--cor-texto-escuro-sec);
}

.footer-contact-item a:hover {
  color: var(--cor-branco);
}

.footer-contact-item strong {
  color: var(--cor-texto-escuro);
  display: block;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(244, 231, 222, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--cor-texto-escuro-sec);
}

.footer-official-line {
  font-size: 0.88rem;
  color: var(--cor-texto-escuro-sec);
  width: 100%;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ==========================================================================
   16. MEDIA QUERIES E RESPONSIVIDADE
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. DESKTOP ACIMA DE 1024PX (>1024px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .header-mobile-actions {
    display: none !important;
  }
  .mobile-toggle {
    display: none !important;
  }
  .header-top-cta {
    display: flex !important;
  }
  .header-nav-bar.main-nav {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    background-color: #f7f3ee !important;
  }
  .header-nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 24px !important;
  }
  .nav-list,
  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(1rem, 2vw, 2.25rem) !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .nav-link {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 8px 4px !important;
    min-height: 44px !important;
    border-bottom: none !important;
    width: auto !important;
  }
  .drawer-whatsapp-cta,
  .nav-cta {
    display: none !important;
  }
  .team-photo {
    position: sticky;
    top: 145px;
    align-self: start;
  }
}

/* --------------------------------------------------------------------------
   B. TABLET E CELULAR COMBINADOS (<=1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 74px;
    --section-padding-y: 64px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-top-bar {
    height: 100%;
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
  }

  .header-top-container,
  .header-container {
    height: 100%;
    width: 100%;
  }

  .header-top-cta {
    display: none !important;
  }

  /* Ações Mobile/Tablet no Header */
  .header-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 12px;
  }

  .header-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    font-weight: 700;
    box-shadow: var(--sombra-btn);
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background-color: var(--cor-fundo-alt);
    border: 1px solid var(--cor-borda);
    color: var(--cor-titulos);
  }

  /* Menu Drawer Off-Canvas */
  .header-nav-bar.main-nav,
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background-color: var(--cor-fundo);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow: var(--sombra-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
  }

  .header-nav-bar.main-nav.is-open,
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-nav-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .nav-list,
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }

  .nav-link {
    font-size: 1.12rem;
    width: 100%;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cor-borda);
    display: flex;
    align-items: center;
  }

  .nav-link.active::after {
    bottom: -1px;
    height: 3px;
  }

  .drawer-whatsapp-cta,
  .nav-cta {
    display: block !important;
    margin-left: 0;
    margin-top: auto;
    padding-top: 1.75rem;
    width: 100%;
  }

  .drawer-whatsapp-cta .btn,
  .nav-cta .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------------------
   C. TABLET ESPECÍFICO (DE 641PX A 1024PX)
   -------------------------------------------------------------------------- */
@media (min-width: 641px) and (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .grid-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    align-items: center;
  }

  .team-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-actions {
    gap: 1rem;
  }
}

/* --------------------------------------------------------------------------
   D. CELULAR ESPECÍFICO (ATÉ 640PX)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --header-height: 70px;
    --section-padding-y: 52px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .btn {
    white-space: normal;
  }

  /* Foto da equipe no celular: 100% da largura útil, centralizada */
  .team-photo {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* Ajuste no cabeçalho */
  .brand-name {
    font-size: 1.3rem;
  }

  .brand-tagline {
    font-size: 0.62rem;
  }

  .header-whatsapp-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Todas as seções em 1 coluna */
  .grid-2,
  .grid-3,
  .grid-4,
  .steps-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Imagem em cima e texto embaixo */
  .grid-split {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .grid-split > *:nth-child(1) {
    order: 2;
  }

  .grid-split > *:nth-child(2) {
    order: 1;
  }

  .hero .grid-split > *:nth-child(1) { order: 1; }
  .hero .grid-split > *:nth-child(2) { order: 2; }

  /* Tipografia no celular */
  h1 {
    font-size: 1.85rem;
    line-height: 1.22;
  }

  h2 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  h3 {
    font-size: 1.2rem;
  }

  .lead-text {
    font-size: 1.05rem;
  }

  p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .hero {
    padding-top: calc(var(--section-padding-y) + 5px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  /* Banner de CTA */
  .cta-banner {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .cta-banner p {
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
  }

  .cta-banner .btn {
    width: 100%;
    min-height: 48px;
  }

  /* Sanfona (FAQ) no celular */
  .faq-header {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
    gap: 0.75rem;
  }

  .faq-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
    
  }

  /* Cartões e Caixa de Destaque */
  .card {
    padding: 1.5rem;
  }

  .highlight-box {
    padding: 1.25rem 1.25rem;
    margin: 1.75rem 0;
  }

  /* Mapa e Área de Contato no Celular */
  .contact-card {
    min-width: 0;
    padding: 1.5rem;
  }

  .map-frame-wrapper,
  .building-photo-wrap {
    height: 240px;
    flex: none;
    min-height: 0;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .contact-item {
    gap: 0.85rem;
  }

  /* Rodapé no celular */
  .site-footer {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   E. MICRO-AJUSTE PARA TELAS ULTRA-COMPACTAS (<=375PX)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .brand-name {
    font-size: 1.18rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .header-whatsapp-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .header-whatsapp-btn svg {
    width: 15px;
    height: 15px;
  }

  .mobile-toggle {
    padding: 6px;
  }

  .mobile-toggle svg {
    width: 24px;
    height: 24px;
  }
}

/* Photo frame - Acolhimento */
.photo-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sombra-md); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Avaliacao Foto Stretch (como-funciona.html) */
.grid-split--stretch { align-items: stretch; }
.avaliacao-foto-wrap { display: flex; }
.avaliacao-foto {
  flex: 1;
  position: relative;
  margin: 0;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-md);
}
.avaliacao-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (max-width: 640px) {
  .avaliacao-foto { min-height: 0; aspect-ratio: 4 / 5; max-width: 440px; margin: 0 auto; width: 100%; }
}

/* Team Card Highlight */
.team-card-highlight {
  display: flex;
  background-color: var(--cor-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-md);
  margin-bottom: 2rem;
  border: 1px solid var(--cor-borda);
  min-width: 0;
}
.team-card-highlight-photo {
  min-height: 0;
  flex: 0 0 340px;
}
.team-card-highlight-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card-highlight-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .team-card-highlight {
    flex-direction: column;
  }
  .team-card-highlight-photo {
  min-height: 0;
    width: 100%;
    flex: 1 1 auto;
    aspect-ratio: 1 / 1;
  }
}

/* Details and Summary for Highlight Card */
.team-details summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cor-azul);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  user-select: none;
}
.team-details summary::-webkit-details-marker {
  display: none;
}
.team-details summary:focus-visible {
  outline: 2px solid var(--cor-azul);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}
.details-chevron {
  transition: transform var(--transition-normal);
}
.team-details[open] .details-chevron {
  transform: rotate(180deg);
}
.when-open { display: none; }
.when-closed { display: inline; }
.team-details[open] .when-closed { display: none; }
.team-details[open] .when-open { display: inline; }

.details-content {
  padding-top: 1rem;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Team Grid Equipe */
.team-grid--equipe { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem; 
  align-items: stretch; 
}
.team-grid--equipe .team-card-body {
  display: flex;
  flex-direction: column;
}
.team-grid--equipe .team-name {
  font-size: 1.35rem;
  line-height: 1.25;
  min-height: 3.4rem;
  margin-bottom: 0.35rem;
}
.team-grid--equipe .team-role {
  font-size: 1.05rem;
  line-height: 1.3;
  min-height: 2.75rem;
  margin-bottom: 0.85rem;
  display: block;
}
.team-grid--equipe .team-services-list,
.team-grid--equipe .team-desc {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .team-grid--equipe {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .team-grid--equipe {
    grid-template-columns: 1fr;
  }
  .team-grid--equipe .team-name {
    min-height: auto;
  }
  .team-grid--equipe .team-role {
    min-height: auto;
  }
}

/* Services List (to make it look consistent and not bottom-aligned) */
.team-services-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: var(--cor-texto-sec);
  line-height: 1.5;
}
.team-services-list li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Footer note pinned to bottom */
.team-footer-note {
  margin-top: auto;
  font-size: 0.95rem;
  color: var(--cor-texto-sec);
  border-top: 1px solid var(--cor-borda);
  padding-top: 0.75rem;
}

/* Fix flex/grid blowout globally */
.grid-2 > *, .grid-3 > *, .grid-4 > *, .contact-grid > *, .team-grid > *, .team-grid--equipe > *, .footer-grid > *, .steps-grid > *, .grid-split > * {
  min-width: 0;
}

/* Logo Image Styles */
.header-logo-img,
.site-logo {
  height: 56px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .header-logo-img,
  .site-logo {
    height: 42px;
    max-width: 240px;
  }
}

@media (max-width: 640px) {
  .header-logo-img,
  .site-logo {
    height: 36px;
    max-width: 200px;
  }
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
}

@media (max-width: 400px) {
  .header-logo-img,
  .site-logo {
    height: 30px;
    max-width: 170px;
  }
}

/* ==========================================================================
   ESTILOS PARA AS PÁGINAS NOVAS (ZUMBIDO E APARELHOS AUDITIVOS)
   ========================================================================== */

/* Timeline com details/summary para as Etapas de Aparelhos Auditivos */
.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-step-item {
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-md);
  box-shadow: var(--sombra-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-step-item:hover {
  border-color: var(--cor-caramelo);
}

.step-details {
  width: 100%;
}

.step-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  min-height: 54px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.step-summary::-webkit-details-marker {
  display: none;
}

.step-summary:focus-visible {
  outline: 2px solid var(--cor-azul);
  outline-offset: -2px;
}

.step-summary-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.timeline-step-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: var(--cor-azul-suave);
  color: var(--cor-azul);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.step-details[open] .timeline-step-badge {
  background-color: var(--cor-azul);
  color: var(--cor-branco);
}

.timeline-step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cor-titulos);
  line-height: 1.35;
}

.step-details .details-chevron {
  color: var(--cor-caramelo);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform var(--transition-normal);
}

.step-details[open] .details-chevron {
  transform: rotate(180deg);
}

.step-details-body {
  padding: 0 1.75rem 1.75rem 5rem;
  color: var(--cor-texto-sec);
  font-size: 1rem;
  line-height: 1.7;
  animation: fadeIn 0.3s ease-in-out;
}

.step-content-list {
  margin: 1rem 0;
  padding-left: 1.25rem;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-content-list li {
  line-height: 1.65;
}

.step-content-list strong {
  color: var(--cor-titulos);
}

@media (max-width: 640px) {
  .step-summary {
    padding: 1rem 1.25rem;
  }
  .step-summary-header {
    gap: 0.85rem;
  }
  .timeline-step-badge {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .timeline-step-title {
    font-size: 1.05rem;
  }
  .step-details-body {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }
}


/* Card de Fechamento / Nosso Compromisso (aparelhos-auditivos.html) */
.commitment-card {
  padding: 3rem 2.5rem;
  text-align: left;
}
.commitment-card .badge {
  align-self: flex-start;
  width: fit-content;
  max-width: fit-content;
  display: inline-flex;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.25rem;
}
.commitment-card h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}
.commitment-card p {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.commitment-card .commitment-signature {
  font-weight: 700;
  color: var(--cor-titulos-destaque);
  font-size: 1.12rem;
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
  text-align: left;
}
.commitment-card .commitment-cta {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 640px) {
  .commitment-card {
    padding: 2rem 1.5rem;
  }
  .commitment-card .commitment-cta .btn {
    width: 100%;
  }
}

/* Introdução em 2 Colunas (aparelhos-auditivos.html) */
.page-hero:has(.hero-two-col) .container {
  max-width: var(--container-max-width);
}
.hero-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-two-col .intro-content {
  min-width: 0;
}
.hero-two-col .intro-content .badge {
  align-self: flex-start;
  width: fit-content;
  display: inline-flex;
}
.hero-two-col .intro-image {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-self: center;
  height: fit-content;
}
.intro-photo {
  margin: 0 auto;
  max-width: 440px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-md);
}
.intro-photo img,
.rounded-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

@media (max-width: 1024px) {
  .hero-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
  .intro-photo {
    max-width: 380px;
  }
}

@media (max-width: 640px) {
  .hero-two-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .hero-two-col .intro-content {
    order: 1;
  }
  .hero-two-col .intro-image {
    order: 2;
  }
  .intro-photo {
    max-width: 340px;
    height: auto;
  }
}

/* Responsividade da Seção de Contato (contato.html) */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .map-frame-wrapper {
    height: 280px;
    margin-bottom: 1rem;
  }
  .building-photo-wrap {
    height: 280px;
    flex: none;
    min-height: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .contact-card:has(.building-photo-wrap) .contact-card-action,
  .location-card-action {
    margin-top: auto;
  }
}

/* ==========================================================================
   17. PÁGINA DE VÍDEOS INFORMATIVOS (videos.html)
   ========================================================================== */

/* Seção de Abertura / Apresentação (2 Colunas) */
.page-hero:has(.videos-intro) .container {
  max-width: var(--container-max-width);
}

.videos-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.videos-intro .col-text {
  min-width: 0;
}

.videos-intro .col-text .badge {
  align-self: flex-start;
  width: fit-content;
  display: inline-flex;
  margin-bottom: 1.25rem;
}

.videos-intro .col-image {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.intro-photos-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-top: 3.2rem;
}

.intro-photos-stack img,
.intro-photos-stack .rounded-photo {
  width: 100%;
  height: 238px;
  display: block;
  border-radius: var(--radius-lg, 18px);
  box-shadow: var(--shadow-sm, var(--sombra-sm));
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.intro-photos-stack img:hover {
  box-shadow: var(--sombra-md);
}

@media (max-width: 992px) {
  .videos-intro {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    align-items: stretch;
  }
  .videos-intro .col-text {
    order: 1;
  }
  .videos-intro .col-image {
    order: 2;
    justify-content: center;
  }
  .intro-photos-stack {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    gap: 1rem;
  }
  .intro-photos-stack img,
  .intro-photos-stack .rounded-photo {
    height: auto;
    max-height: 260px;
  }
}

@media (max-width: 640px) {
  .intro-photos-stack img,
  .intro-photos-stack .rounded-photo {
    height: auto;
    max-height: 220px;
  }
}

/* Seção e Grade de Vídeos Informativos (Instagram Reels) */
.section-videos {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 360px));
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}

.video-card {
  width: 100%;
  max-width: 360px;
  height: 640px;
  background-color: var(--cor-card);
  border: 1px solid var(--cor-borda);
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-lg);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 640px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .video-card {
    max-width: 100%;
    height: 580px;
  }
}


