/* ===== Identidade visual global WB =====
   Paleta: azul (marca), cinza (neutro), amarelo segurança (destaque/CTA) */
:root {
  --azul-900: #0b2545;
  --azul-700: #004080;
  --azul-500: #0066cc;
  --cinza-50: #f4f6f9;
  --cinza-200: #dfe5ec;
  --cinza-600: #5b6878;
  --texto: #1d2733;
  --destaque: #f5b400;
  --destaque-hover: #e0a300;
  --whats: #25d366;
  --raio: 14px;
  --sombra: 0 6px 20px rgba(11, 37, 69, .08);
  --fonte: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

body { font-family: var(--fonte); color: var(--texto); }

/* ---------- Botões padronizados ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--fonte); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease;
  min-height: 48px; /* área de toque confortável no celular */
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--destaque); color: var(--azul-900); }
.btn-accent:hover { background: var(--destaque-hover); }
.btn-primary { background: var(--azul-500); color: #fff; }
.btn-primary:hover { background: var(--azul-700); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { background: #1fb457; }

/* ---------- Barra de contato no topo ---------- */
.topbar {
  display: block;
  position: fixed; top: 0; left: 0; right: 0; height: 36px; z-index: 1001;
  background: var(--azul-900); color: #dbe6f3; font-size: .85rem;
  transition: transform .3s ease;
}
.topbar-inner {
  height: 100%; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--destaque); }
.topbar-contatos { display: flex; gap: 22px; align-items: center; }
.topbar i { margin-right: 6px; color: var(--destaque); }
.topbar-cta {
  background: var(--destaque); color: var(--azul-900) !important; font-weight: 700;
  padding: 5px 14px; border-radius: 6px;
}
.topbar-cta i { color: var(--azul-900); }
body.com-topbar nav { top: 36px; }
body.rolou .topbar { transform: translateY(-100%); }
body.rolou nav { top: 0; }

/* ---------- Barra fixa de contato no celular ---------- */
.barra-mobile { display: none; }

@media (max-width: 900px) {
  .topbar-contatos .tb-email, .topbar-contatos .tb-horario { display: none; }
}
@media (max-width: 767px) {
  .topbar { display: none; }
  body.com-topbar nav { top: 0; }
  .barra-mobile {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
    background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .barra-mobile a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 58px; text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--azul-700);
  }
  .barra-mobile a i { font-size: 1.25rem; }
  .barra-mobile .bm-whats { background: var(--whats); color: #fff; }
  .barra-mobile .bm-orc { background: var(--destaque); color: var(--azul-900); }
  body { padding-bottom: 58px; }
  .whatsapp-link { display: none !important; } /* a barra já tem WhatsApp */
}

/* ---------- Rodapé: contatos alinhados ---------- */
.footer-contact .contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-contact .footer-info-item { justify-content: flex-start; text-align: left; margin: 0; }

/* ---------- Ícones padronizados (alinhados ao texto) ---------- */
.topbar a, .topbar span { display: inline-flex; align-items: center; line-height: 1; }
.topbar i { width: 1.1em; text-align: center; line-height: 1; }
.btn i { line-height: 1; }

/* Rodapé: todos os ícones no mesmo círculo de 36px, alinhados à primeira linha do texto */
.footer-info-item, .address-link {
  display: flex; align-items: flex-start; gap: 12px; justify-content: flex-start;
  text-align: left; line-height: 1.45; margin: 0;
}
.footer-info-item i, .address-link i {
  flex: 0 0 36px; width: 36px; height: 36px; margin: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: .95rem; line-height: 1;
}
.footer-info-item span, .address-text { padding-top: 8px; }   /* centraliza a 1ª linha com o círculo */
.address-text p { margin: 0; line-height: 1.45; }
.footer-address { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-address br { display: none; }
.footer-address h3 { align-self: center; margin-bottom: 11px; }
.footer-info-item span { overflow-wrap: anywhere; }

/* Garante que nenhum ícone do WhatsApp herde deslocamento antigo */
.topbar .fa-whatsapp, .btn .fa-whatsapp, .footer-info-item .fa-whatsapp,
.barra-mobile .fa-whatsapp, .contato-lista .fa-whatsapp, .whatsapp-link .fa-whatsapp { margin-top: 0 !important; }
