/* =====================================================================
   PAZ ETERNA — ajustes globais do site público
   Carregado por último em todas as páginas (sobrepõe os estilos inline).
   ===================================================================== */

html, body { max-width: 100%; overflow-x: hidden; }

/* ---------- Barra superior ---------- */
@media (max-width: 760px) {
  .topbar { font-size: 12px; padding: 6px 0; }
  .topbar .wrap { justify-content: center !important; gap: 6px !important; }
  .topbar .wrap > div { gap: 12px !important; flex-wrap: wrap; justify-content: center; }
  .topbar .wrap > div:last-child { display: none !important; }   /* Guia, Contrato e Área do Titular ficam no menu */
  .topbar .tb-lbl { display: none; }
}

/* ---------- Cabeçalho ---------- */
@media (max-width: 520px) {
  .hdr-bar { gap: 10px !important; height: 64px !important; }
  .brand img { height: 34px !important; max-width: 128px !important; }
  .hdr-actions { gap: 4px !important; }
  .hdr-actions .btn-buy { padding: 8px 13px !important; font-size: 13px !important; box-shadow: none; }
  .menu-btn { padding: 4px !important; margin-right: -4px; }
}
.mobile-drawer { overflow-y: auto; max-width: 86vw; }

/* ---------- Planos (home e /planos) ---------- */
.hx-pl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
@media (max-width: 1360px) { .hx-pl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 960px)  { .hx-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px)  { .hx-pl-grid { grid-template-columns: 1fr !important; } }
.hx-pl { min-width: 0; }
.hx-pl .price > span { white-space: nowrap; display: inline-flex; align-items: baseline; }
.hx-pl .price small { display: inline !important; }
@media (min-width: 1361px) and (max-width: 1600px) {
  .hx-pl { padding: 30px 20px !important; }
  .hx-pl .price { font-size: 44px !important; }
}

/* ---------- Rodapé ---------- */
.ftr-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1.6fr 1.1fr; gap: 40px; margin-bottom: 48px; }
.ftr-grid > * { min-width: 0; }
@media (max-width: 1100px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 640px) {
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr-filiais { grid-template-columns: 1fr !important; }
  .ftr { margin-top: 40px !important; }
}

/* ---------- Botões ---------- */
button[disabled], .btn[disabled] { opacity: .65; cursor: wait; }

/* rodapé: o app.css deixa alguns <p> em flex — no rodapé o texto corre normal */
.ftr p { display: block !important; }

/* botões usados nas páginas (primário, contorno e tamanhos) */
.btn-primary { background: linear-gradient(95deg, #152a96, #2176de); color: #fff; box-shadow: 0 10px 24px -12px rgba(21, 42, 150, .55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(21, 42, 150, .65); color: #fff; }
.btn-outline { background: #fff; color: #152a96; border: 1px solid #c7d2fe; }
.btn-outline:hover { background: #eef2ff; }
.btn-success { background: #25d366; color: #fff; }
.btn.sm { height: 42px; padding-inline: 18px; font-size: 14.5px; }
.btn.lg { height: 54px; padding-inline: 30px; font-size: 16.5px; }
.btn.full { width: 100%; }

/* imagens dentro dos artigos do blog: nunca esticar */
.prose-content img{max-width:100%!important;height:auto!important;object-fit:contain;display:block;margin:28px auto;border-radius:16px}
.prose-content figure{margin:28px 0}
