    .public-hero {
  background: linear-gradient(135deg, #153b6d, #1d4f91);
  color: #ffffff;
  padding: 34px 18px 30px;
}

    .public-hero-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: center;
}

    .public-brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 7px 12px;
      border: 1px solid rgba(255,255,255,.28);
      border-radius: 999px;
      margin-bottom: 18px;
      font-weight: 800;
      letter-spacing: .04em;
      background: rgba(255,255,255,.08);
    }

    .public-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 3.1rem);
  line-height: 1.08;
}

    .public-hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  opacity: .96;
}

    .public-hero p {
      margin: 0 0 18px;
      max-width: 760px;
      opacity: .94;
    }

    .public-primary {
      background: #ffffff;
      color: #153b6d;
    }

    .public-secondary {
      background: rgba(255,255,255,.12);
      color: #ffffff;
      border: 1px solid rgba(255,255,255,.32);
    }

    .public-panel {
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 22px;
      padding: 22px;
      box-shadow: 0 18px 46px rgba(0,0,0,.18);
    }

    .public-logo-panel {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  padding: 24px;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.public-logo-main {
  max-width: 210px;
  max-height: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.public-nav {
  justify-content: space-between;
  align-items: center;
}

.public-nav-left,
.public-nav-center,
.public-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.public-nav-center {
  justify-content: center;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.nav-pill:hover {
  background: #f8fafc;
  text-decoration: none;
}

.nav-pill-primary {
  background: #153b6d;
  color: #ffffff;
  border-color: #153b6d;
}

.nav-pill-primary:hover {
  background: #1d4f91;
  color: #ffffff;
}
.top-condominos-btn {
  background: #0f3f73;
  color: #ffffff !important;
  border: 2px solid #ffffff;
  padding: 10px 18px;
  font-size: 1.02rem;
  box-shadow: 0 6px 18px rgba(21, 59, 109, 0.28);
}

.top-condominos-btn:hover {
  background: #1d4f91;
  color: #ffffff !important;
  border-color: #ffffff;
}

.top-condominos-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.top-condominos-note {
  font-size: .82rem;
  color: #475569;
  font-weight: 700;
  text-align: center;
  max-width: 240px;
  line-height: 1.25;
}

.nav-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #153b6d;
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 auto;
}
    .public-panel strong {
      display: block;
      font-size: 1.15rem;
      margin-bottom: 8px;
    }

    .public-badges {
      display: grid;
      gap: 10px;
      margin-top: 16px;
    }

    .public-badge {
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 14px;
      padding: 10px 12px;
      font-weight: 700;
    }

    .public-main {
  max-width: 1280px;
  width: calc(100% - 36px);
}

.public-main > section {
  margin-top: 22px;
  margin-bottom: 22px;
}

    .section-title {
      margin-bottom: 8px;
    }

    .service-grid,
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

/* Secção Método JMMA removida: conteúdo integrado nas Áreas de atuação. */
    
.info-center-section {
  margin-top: 26px;
  margin-bottom: 26px;
  border: 0;
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .12), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
  padding: 28px;
}

.info-center-header {
  max-width: 860px;
  margin-bottom: 20px;
}

.info-center-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: #eef6ff;
  color: #153b6d;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.info-center-header .section-title {
  margin-bottom: 8px;
}

.info-center-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.info-library-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #cfe4ff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.info-library-preview h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.info-library-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-library-open {
  white-space: nowrap;
  background: #153b6d;
  color: #ffffff;
  border-color: #153b6d;
}

.info-library-open:hover {
  background: #1d4f91;
  color: #ffffff;
}

.info-legal-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  color: #7c2d12;
  font-size: .92rem;
  line-height: 1.45;
}

.info-legal-note strong {
  color: #7c2d12;
}

.info-modal[hidden] {
  display: none;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.info-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(4px);
}

.info-modal-panel {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.info-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .10), transparent 34%),
    #ffffff;
}

.info-modal-header h2 {
  margin: 0;
  color: var(--text);
}

.info-modal-body {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  min-height: 520px;
  overflow: hidden;
}

.info-topic-list {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
  overflow-y: auto;
}

.info-topic-list .small {
  margin-top: 0;
  color: var(--muted);
}

.info-topic-button {
  width: 100%;
  margin: 7px 0;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #153b6d;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.info-topic-button:hover,
.info-topic-button.is-preview {
  background: #eef6ff;
  border-color: #93c5fd;
}

.info-topic-button.is-selected {
  background: #153b6d;
  color: #ffffff;
  border-color: #153b6d;
  box-shadow: 0 12px 26px rgba(21, 59, 109, .22);
}

.info-topic-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef6ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.info-topic-button.is-selected .info-topic-icon {
  background: rgba(255,255,255,.18);
}

.info-topic-detail {
  padding: 24px;
  overflow-y: auto;
}

.info-topic-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.info-topic-empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.info-topic-card {
  max-width: 760px;
}

.info-topic-card-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.info-topic-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: #153b6d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex: 0 0 auto;
}

.info-topic-card h3 {
  margin: 0;
  color: var(--text);
}

.info-topic-card p {
  color: var(--muted);
  line-height: 1.58;
}

.info-topic-fixed {
  display: inline-flex;
  margin-top: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  color: #153b6d;
  font-size: .78rem;
  font-weight: 900;
}

.info-topic-link {
  display: inline-flex;
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.35;
  text-align: left;
}

.info-topic-link:hover {
  background: #1d4f91;
  color: #ffffff;
  text-decoration: none;
}
    .service-card,
.link-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
}

.service-card h3,
.link-card h3 {
  margin: 0 0 8px;
}

#servicos {
  border: 0;
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

#servicos .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#servicos .section-title::before {
  content: "🏢";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff;
  font-size: 1.1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding-top: 58px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.service-card::before {
  content: "🏢";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef6ff;
  color: #153b6d;
  font-size: 1.2rem;
}

.service-card:nth-child(2)::before {
  content: "📩";
}

.service-card:nth-child(3)::before {
  content: "🛠️";
}

.service-card:nth-child(4)::before {
  content: "🛡️";
}

.service-card:nth-child(5)::before {
  content: "📄";
}

.service-card:nth-child(6)::before {
  content: "📌";
}

#fale-connosco {
  border: 0;
  background:
    linear-gradient(135deg, rgba(21, 59, 109, .08), rgba(248, 250, 252, 1));
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

#fale-connosco .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#fale-connosco .section-title::before {
  content: "💬";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff;
  font-size: 1.1rem;
}

#fale-connosco .notice {
  border-left: 5px solid #153b6d;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}


.contacto-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#contactoPublicoForm {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

#sobre-jmma {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(21, 59, 109, .08), transparent 38%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

#sobre-jmma::after {
  content: "JMMA";
  position: absolute;
  right: 22px;
  bottom: -16px;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  opacity: .055;
  letter-spacing: .08em;
  color: #153b6d;
  pointer-events: none;
}

#sobre-jmma .section-title,
#sobre-jmma p {
  position: relative;
  z-index: 1;
}

#sobre-jmma .section-title {
  color: var(--text);
  margin-bottom: 10px;
}

#sobre-jmma p {
  max-width: 900px;
  color: var(--muted);
  opacity: 1;
  line-height: 1.58;
}

#sobre-jmma p:first-of-type {
  font-size: 1rem;
  font-weight: 700;
  color: #334155;
}

    .link-card ul {
      margin: 0;
      padding-left: 18px;
    }

    .link-card li {
      margin: 7px 0;
    }

    .contact-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .contact-form-grid .full {
      grid-column: 1 / -1;
    }

    .privacy-box {
      border: 1px solid var(--line);
      border-radius: 14px;
      background: #f8fafc;
      padding: 14px;
      max-height: 190px;
      overflow-y: auto;
      margin-top: 10px;
      font-size: .93rem;
    }

    .checkbox-line {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin-top: 12px;
    }

    .checkbox-line input {
      width: auto;
      margin-top: 5px;
    }

    .public-note {
      background: #eef6ff;
      border: 1px solid #cfe4ff;
      border-radius: 16px;
      padding: 14px 16px;
    }

    .back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.back-to-top:hover {
  background: #1d4f91;
  text-decoration: none;
}

.back-to-top.visible {
  display: inline-flex;
}

.privacy-section {
  margin-top: 12px;
}

.contacto-section {
  padding: 0;
  overflow: hidden;
}

.contacto-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  gap: 0;
  align-items: stretch;
}

.contacto-intro {
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(135deg, #153b6d, #1d4f91);
  color: #ffffff;
}

.contacto-intro .section-title {
  color: #ffffff;
  margin-bottom: 12px;
}

.contacto-lead {
  margin: 0 0 18px;
  max-width: 560px;
  font-size: 1.03rem;
  line-height: 1.55;
  opacity: .96;
}

.contacto-highlights {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.contacto-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
}

.contacto-highlight span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contacto-highlight strong {
  display: block;
  color: #ffffff;
}

.contacto-highlight small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.86);
  line-height: 1.35;
}

.contacto-availability-note {
  margin-top: 18px;
  background: rgba(255,255,255,.16) !important;
  border: 1px solid rgba(255,255,255,.32) !important;
  border-left: 5px solid rgba(255,255,255,.75) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-weight: 700;
  line-height: 1.45;
}

.contacto-availability-note * {
  color: #ffffff !important;
}
    
#fale-connosco .contacto-notice {
  position: relative;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.12) !important;
  overflow: hidden;
}

#fale-connosco .contacto-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.85),
    rgba(147,197,253,.35),
    rgba(255,255,255,.65)
  );
  -webkit-mask:
    linear-gradient(#ffffff 0 0) content-box,
    linear-gradient(#ffffff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

#fale-connosco .contacto-notice::after {
  content: "ℹ️";
  position: absolute;
  top: 12px;
  right: 14px;
  opacity: .75;
  font-size: 1rem;
}

#fale-connosco .contacto-notice,
#fale-connosco .contacto-notice * {
  color: #ffffff !important;
}

.contacto-form-panel {
  padding: 28px;
  background: #ffffff;
}

.contacto-form-panel #contactoPublicoForm {
  margin-top: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.contacto-step-info {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef6ff;
  border: 1px solid #cfe4ff;
  color: #153b6d;
  font-size: .93rem;
  font-weight: 700;
}


.contact-integracao-notice {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid #16a34a;
  color: #14532d;
  line-height: 1.45;
}

.contact-integracao-notice strong {
  display: block;
  margin-bottom: 4px;
  color: #14532d;
}

.contact-integracao-fields {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.contact-integracao-fields[hidden] {
  display: none !important;
}

.contact-integracao-fields > .full:first-child {
  margin-bottom: 2px;
}

.contact-integracao-fields .small {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
}
    
.privacy-read-hint {
  background: #eef6ff;
  border: 1px solid #cfe4ff;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0 8px;
  font-size: .93rem;
  color: #153b6d;
  font-weight: 700;
}

#mostrarPoliticaBtn {
  margin-top: 6px;
  margin-bottom: 10px;
}

.privacy-read-ok {
  color: #146c43;
  font-weight: 700;
  margin-top: 8px;
}
   body .nav-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
}    

.public-footer {
  text-align: left;
  padding: 28px 18px;
}

.public-footer-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
  margin: 0 auto;
}

.public-footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2fr);
  gap: 24px;
  align-items: start;
}

.public-footer-title {
  margin: 0 0 8px;
  color: var(--text);
}

.public-footer-text {
  margin: 0;
  color: var(--muted);
}

.public-footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.public-footer-links h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--text);
}

.public-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.public-footer-links li {
  margin: 7px 0;
}

.public-footer-links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

.public-footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

  .emergency-alert {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.28);
}

.emergency-alert-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-weight: 900;
}

.emergency-alert-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #991b1b;
  font-size: 1.1rem;
  letter-spacing: .04em;
}

.emergency-alert-text {
  line-height: 1.35;
}

.services-and-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  gap: 18px;
  align-items: start;
}

.services-and-contacts .service-grid {
  align-items: stretch;
}

.useful-contacts-card {
  align-self: start;
}

.useful-contacts-card {
  border: 1px solid #bfdbfe;
  border-radius: 22px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(21, 59, 109, .12), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
  min-height: auto;
}

.useful-contacts-card h3 {
  margin: 0 0 8px;
  color: var(--text);
}

.useful-contacts-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.45;
}

.useful-contacts-open {
  width: 100%;
  background: #153b6d;
  color: #ffffff;
  border-color: #153b6d;
}

.useful-contacts-open:hover {
  background: #1d4f91;
  color: #ffffff;
}

.contacts-modal[hidden] {
  display: none;
}

.contacts-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.contacts-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(4px);
}

.contacts-modal-panel {
  position: relative;
  width: min(1320px, 96vw);
  max-height: 90vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contacts-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .10), transparent 34%),
    #ffffff;
}

.contacts-modal-header h2 {
  margin: 0;
  color: var(--text);
}

.contacts-modal-body {
  padding: 22px;
  overflow-y: auto;
}

.contacts-emergency-box {
  padding: 16px;
  border-radius: 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 6px solid #dc2626;
  color: #7f1d1d;
  margin-bottom: 18px;
  font-weight: 800;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 16px;
  align-items: start;
}

.contacts-group {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.contacts-group-priority {
  border-color: #fecaca;
  background: #fffafa;
  box-shadow: 0 12px 30px rgba(220, 38, 38, .08);
}

.contacts-group-priority h3 {
  color: #991b1b;
}

.contacts-group-priority strong {
  color: #7f1d1d;
}
.contacts-group h3 {
  margin: 0 0 10px;
  color: var(--text);
}

.contacts-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contacts-group li {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.35;
}

.contacts-group strong {
  color: var(--text);
}

.contacts-group a {
  font-weight: 800;
}

.contacts-group a[href^="tel:"],
.contacts-group a[href^="sms:"] {
  white-space: nowrap;
  display: inline-block;
}

.contacts-group li {
  overflow-wrap: normal;
  word-break: normal;
}

.contacts-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
  font-size: .92rem;
  line-height: 1.45;
}
  .top-actions {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.top-actions-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.public-hero {
  background: linear-gradient(135deg, #153b6d, #1d4f91);
  color: #ffffff;
  padding: 30px 18px 32px;
}

.public-hero-inner {
  max-width: 1480px;
  width: calc(100% - 20px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
}

.brand-composition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.brand-composition-logo {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}

.brand-logo-full {
  display: block;
  width: min(100%, 315px);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
}

.brand-text-block {
  text-align: center;
}

.brand-jmma {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: .08em;
  line-height: .95;
  text-shadow: 0 6px 18px rgba(0,0,0,.28);
}

.brand-subtitle {
  margin-top: 8px;
  display: block;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1rem;
}

.brand-symbol {
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}

.hero-message {
  text-align: center;
}

.hero-message h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.12;
}

.hero-message h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  opacity: .96;
}

.public-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.public-nav-left,
.public-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.nav-pill:hover {
  background: #f8fafc;
  text-decoration: none;
}

.nav-pill-primary {
  background: #153b6d;
  color: #ffffff;
  border-color: #153b6d;
}

.nav-pill-primary:hover {
  background: #1d4f91;
  color: #ffffff;
}  

.contacto-intro .contacto-notice,
#fale-connosco .contacto-intro .contacto-notice,
#fale-connosco .contacto-intro .notice.contacto-notice {
  margin-top: 18px;
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(255,255,255,.30) !important;
  border-left: 1px solid rgba(255,255,255,.30) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.contacto-intro .contacto-notice,
.contacto-intro .contacto-notice * {
  color: #ffffff !important;
}
    
    @media (max-width: 850px) {
  .contacto-layout {
    grid-template-columns: 1fr;
  }

  .contacto-intro,
  .contacto-form-panel {
    padding: 22px;
  }
}

    @media (max-width: 850px) {
  .top-actions-inner {
    width: calc(100% - 28px);
  }

  .public-hero-inner,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .public-hero-inner,
  .public-main,
  body .nav-inner {
    width: calc(100% - 28px);
  }

  .public-hero {
    padding-top: 30px;
  }

  .brand-composition {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .brand-text-block {
    text-align: center;
  }

  .brand-symbol {
    max-width: 95px;
    max-height: 95px;
  }

  .brand-composition-logo {
    min-height: 190px;
    padding: 18px;
  }

  .brand-logo-full {
    width: min(100%, 255px);
    max-height: 190px;
  }

  .hero-message {
    text-align: center;
  }

  .public-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.public-nav-left,
.public-nav-right {
  width: 100%;
  justify-content: flex-start;
}

  .services-and-contacts {
  grid-template-columns: 1fr;
}

.emergency-alert-inner {
  width: calc(100% - 28px);
  flex-direction: column;
  gap: 6px;
}

.contacts-modal {
  padding: 10px;
}

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

.contacts-modal-panel {
  width: 96vw;
}

.contacts-modal-body {
  padding: 16px;
}
.info-library-preview {
  grid-template-columns: 1fr;
}

.info-modal {
  padding: 10px;
}

.info-modal-body {
  grid-template-columns: 1fr;
  min-height: auto;
}

.info-topic-list {
  max-height: 260px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}

.info-topic-detail {
  max-height: 360px;
}

.public-footer-top {
  grid-template-columns: 1fr;
}

  .public-footer-inner {
    width: calc(100% - 28px);
  }
}

/* ===== Correção final: Áreas de atuação + Centro de Informação ===== */

#servicos {
  margin-bottom: 34px !important;
}

.services-and-contacts {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: 22px !important;
  align-items: start !important;
}

.services-and-contacts .service-grid {
  align-items: stretch !important;
}

.useful-contacts-card {
  align-self: start !important;
  min-height: auto !important;
  height: auto !important;
}

#centro-informacao {
  margin-top: 38px !important;
  margin-bottom: 38px !important;
  padding: 34px !important;
  border: 1px solid #cfe4ff !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at top right, rgba(21, 59, 109, .16), transparent 36%),
    linear-gradient(180deg, #ffffff, #f3f8ff) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .12) !important;
}

#centro-informacao .info-center-header {
  max-width: 980px !important;
  margin-bottom: 24px !important;
}

#centro-informacao .info-center-kicker {
  background: #153b6d !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(21, 59, 109, .18);
}

#centro-informacao .section-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}

#centro-informacao .info-library-preview {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 24px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: 0 16px 40px rgba(21, 59, 109, .10) !important;
}

#centro-informacao .info-library-preview h3 {
  font-size: 1.18rem !important;
}

#centro-informacao .info-library-open {
  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-size: .98rem !important;
  box-shadow: 0 10px 24px rgba(21, 59, 109, .22);
}

#centro-informacao .info-legal-note {
  margin-top: 22px !important;
  padding: 15px 17px !important;
  border-radius: 18px !important;
  font-size: .94rem !important;
}

#fale-connosco {
  margin-top: 34px !important;
}

@media (max-width: 850px) {
  .services-and-contacts {
    grid-template-columns: 1fr !important;
  }

  #centro-informacao {
    padding: 24px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  #centro-informacao .info-library-preview {
    grid-template-columns: 1fr !important;
  }

  #centro-informacao .info-library-open {
    width: 100% !important;
  }
}
/* ===== Correção final: menu público todo na mesma linha ===== */

.public-nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px !important;
}

.public-nav-left,
.public-nav-right {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: nowrap !important;
}

.public-nav a {
  white-space: nowrap !important;
}


@media (max-width: 850px) {
  .public-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .public-nav-left,
  .public-nav-right {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }
}
  
/* ===== Correção final: menu público em linha única e espaçado ===== */

.public-nav-single {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 28px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

.public-nav-single a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

@media (max-width: 850px) {
  .public-nav-single {
    flex-wrap: wrap !important;
    gap: 14px 20px !important;
  }
}

  

/* ===== Melhorias visuais finais: página inicial ===== */

.public-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.public-trust-inner {
  max-width: 1280px;
  width: calc(100% - 36px);
  margin: 0 auto;
  padding: 11px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #153b6d;
  font-size: .9rem;
  font-weight: 800;
}

.public-trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.public-trust-inner span::before {
  content: "•";
  color: #1d4f91;
  font-size: 1.2rem;
  line-height: 1;
}

#servicos {
  padding: 28px !important;
}

#servicos .servicos-lead {
  max-width: 1060px;
  margin-bottom: 18px;
}

#servicos .service-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

#servicos .service-card {
  min-height: 100% !important;
}

#servicos .service-card:nth-child(1)::before { content: "🏢" !important; }
#servicos .service-card:nth-child(2)::before { content: "📩" !important; }
#servicos .service-card:nth-child(3)::before { content: "🛠️" !important; }
#servicos .service-card:nth-child(4)::before { content: "☎️" !important; }
#servicos .service-card:nth-child(5)::before { content: "🛡️" !important; }
#servicos .service-card:nth-child(6)::before { content: "📄" !important; }
#servicos .service-card:nth-child(7)::before { content: "📌" !important; }

#servicos .service-contactos-card {
  border-color: #bfdbfe !important;
  background:
    radial-gradient(circle at top right, rgba(21, 59, 109, .10), transparent 42%),
    linear-gradient(180deg, #ffffff, #f8fafc) !important;
}

#servicos .service-contactos-card .useful-contacts-open {
  width: 100% !important;
  margin-top: 12px !important;
  background: #153b6d !important;
  color: #ffffff !important;
  border-color: #153b6d !important;
}

#servicos .service-contactos-card .useful-contacts-open:hover {
  background: #1d4f91 !important;
  color: #ffffff !important;
}

#centro-informacao {
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding: 26px 28px !important;
  border: 1px solid #cfe4ff !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at top right, rgba(21, 59, 109, .10), transparent 34%),
    linear-gradient(180deg, #ffffff, #f6fbff) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .08) !important;
}

#centro-informacao .info-center-header {
  margin-bottom: 18px !important;
}

#centro-informacao .section-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
}

#centro-informacao .info-library-preview {
  padding: 18px 20px !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 28px rgba(21, 59, 109, .08) !important;
}

#centro-informacao .info-legal-note {
  margin-top: 16px !important;
  padding: 12px 14px !important;
  font-size: .88rem !important;
}

#sobre-jmma {
  padding: 15px 18px !important;
  min-height: 0 !important;
}

#sobre-jmma::after {
  right: 18px !important;
  bottom: -24px !important;
  font-size: clamp(2.4rem, 6vw, 5rem) !important;
  opacity: .045 !important;
}

#sobre-jmma .section-title {
  font-size: 1.08rem !important;
  margin: 0 0 6px !important;
}

#sobre-jmma p {
  max-width: 760px !important;
  margin: 0 !important;
  font-size: .9rem !important;
  line-height: 1.42 !important;
  color: #475569 !important;
}

#sobre-jmma p:first-of-type {
  font-size: .9rem !important;
  font-weight: 600 !important;
}

@media (max-width: 1200px) {
  #servicos .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 850px) {
  .public-trust-inner {
    width: calc(100% - 28px);
    gap: 10px;
    justify-content: flex-start;
  }

  #servicos .service-grid {
    grid-template-columns: 1fr !important;
  }

  #centro-informacao .info-library-preview {
    grid-template-columns: 1fr !important;
  }

  #centro-informacao .info-library-open {
    width: 100% !important;
  }
}

    /* ===== Confirmação do formulário Fale Connosco ===== */

.contact-confirm-modal[hidden] {
  display: none;
}

.contact-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.contact-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(4px);
}

.contact-confirm-panel {
  position: relative;
  width: min(560px, 94vw);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .35);
  overflow: hidden;
}

.contact-confirm-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .10), transparent 34%),
    #ffffff;
}

.contact-confirm-header h2 {
  margin: 0;
  color: var(--text);
}

.contact-confirm-body {
  padding: 22px 24px 24px;
}

.contact-confirm-body p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-confirm-note {
  padding: 13px 15px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  color: #7c2d12;
  font-size: .92rem;
  line-height: 1.45;
}

.contact-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

    /* ===== Aviso compacto de e-mail associado à Área dos Condóminos ===== */

.contact-email-warning[hidden] {
  display: none !important;
}

.contact-email-reserved {
  margin-top: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.contact-email-reserved-box {
  border: 1px solid #fed7aa;
  border-left: 4px solid #f97316;
  background: #fff7ed;
  border-radius: 12px;
  padding: 10px 12px;
  color: #7c2d12;
  box-shadow: none;
}

.contact-email-reserved-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 5px;
  color: #9a3412;
  font-size: .88rem;
  font-weight: 800;
}

.contact-email-reserved-title span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  color: #ea580c;
  flex: 0 0 auto;
  font-size: .82rem;
}

.contact-email-reserved-text {
  margin: 0;
  color: #7c2d12;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 600;
}

.contact-email-reserved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.contact-email-area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff !important;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: none;
}

.contact-email-area-btn:hover {
  background: #1d4f91;
}

.contact-email-reserved-note {
  display: none;
}

    /* ===== Aviso de e-mail associado à Área dos Condóminos ===== */

.contact-email-warning[hidden] {
  display: none !important;
}

.contact-email-reserved {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-weight: 400 !important;
}

.contact-email-reserved-box {
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, .10), transparent 42%),
    #fff7ed;
  border-radius: 16px;
  padding: 14px 15px;
  color: #7c2d12;
  box-shadow: 0 8px 22px rgba(124, 45, 18, .08);
}

.contact-email-reserved-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #9a3412;
  font-size: .95rem;
  font-weight: 800;
}

.contact-email-reserved-title span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  color: #ea580c;
  flex: 0 0 auto;
}

.contact-email-reserved-text {
  margin: 0;
  color: #7c2d12;
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 600;
}

.contact-email-reserved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-email-area-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff !important;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(21, 59, 109, .22);
}

.contact-email-area-btn:hover {
  background: #1d4f91;
}

.contact-email-reserved-note {
  font-size: .82rem;
  color: #9a3412;
  line-height: 1.35;
  align-self: center;
}

    /* ===== Faixa superior de emergência / INEM ===== */

.emergency-alert {
  width: 100%;
  background: #ffd100;
  border-bottom: 3px solid #005baa;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .10);
}

.emergency-alert-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: center;
  flex-wrap: wrap;
}

.emergency-alert-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 31px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .03em;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .14);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.emergency-alert-logo {
  height: 28px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 auto;
}

.emergency-alert-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #005baa;
  color: #ffffff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.emergency-alert-text {
  color: #002f6c;
  font-size: .96rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .01em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 700px) {
  .emergency-alert-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .emergency-alert-number {
    min-width: 48px;
    height: 29px;
    padding: 0 12px;
    font-size: .92rem;
  }

  .emergency-alert-logo {
    height: 24px;
    max-width: 78px;
  }

  .emergency-alert-text {
    width: 100%;
    font-size: .84rem;
  }
}

  

/* ===== Commit 37: melhoria visual da página inicial pública ===== */

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
}

.hero-action:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-action-primary {
  background: #ffffff;
  color: #153b6d;
  border: 1px solid rgba(255,255,255,.9);
}

.hero-action-secondary {
  background: #ffd100;
  color: #002f6c;
  border: 1px solid rgba(255,255,255,.55);
}

.hero-action-ghost {
  background: rgba(255,255,255,.13);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.38);
}

.public-entry-panel {
  background:
    radial-gradient(circle at top left, rgba(21, 59, 109, .08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f6fbff);
  border-bottom: 1px solid #dbeafe;
}

.public-entry-inner {
  max-width: 1280px;
  width: calc(100% - 36px);
  margin: 0 auto;
  padding: 20px 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .82fr) minmax(220px, .82fr);
  gap: 16px;
  align-items: stretch;
}

.public-entry-card {
  position: relative;
  border: 1px solid #cfe4ff;
  border-radius: 22px;
  background: #ffffff;
  padding: 18px 18px 17px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.public-entry-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -34px auto;
  width: 108px;
  height: 108px;
  border-radius: 999px;
  background: rgba(21, 59, 109, .06);
  pointer-events: none;
}

.public-entry-featured {
  background:
    radial-gradient(circle at top right, rgba(255, 209, 0, .18), transparent 34%),
    linear-gradient(135deg, #ffffff, #eef6ff);
}

.entry-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #153b6d;
  color: #ffffff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.public-entry-card h2,
.public-entry-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #172033;
  line-height: 1.22;
}

.public-entry-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.public-entry-card h3 {
  font-size: 1.05rem;
}

.public-entry-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #5d687a;
  line-height: 1.45;
  font-size: .94rem;
}

.entry-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #eef6ff;
  color: #153b6d;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.entry-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 12px;
  color: #153b6d;
  font-weight: 900;
  text-decoration: none;
}

.entry-link:hover {
  color: #1d4f91;
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .public-entry-inner {
    grid-template-columns: 1fr 1fr;
  }

  .public-entry-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 18px;
  }

  .hero-action {
    width: 100%;
  }

  .public-entry-inner {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    padding: 16px 0 18px;
  }
}



/* ===== Commit 38: simplificar opções repetidas no topo ===== */

.hero-actions {
  margin-top: 20px !important;
}

.hero-actions .hero-action {
  min-width: 176px;
}

.public-trust-strip {
  border-bottom: 1px solid #dbeafe !important;
}

.nav {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) {
  .hero-actions .hero-action {
    min-width: 0;
  }
}


/* ===== Commit 40: harmonizar cores, largura e faixa de emergência ===== */

:root {
  --jmma-navy: #0f355f;
  --jmma-blue: #1b5f97;
  --jmma-sky: #e8f2fb;
  --jmma-ink: #132238;
  --jmma-orange: #d97822;
  --jmma-orange-soft: #fff2e4;
  --jmma-card: rgba(255, 255, 255, .92);
}

body#topo {
  background:
    radial-gradient(circle at 6% 18%, rgba(217, 120, 34, .14), transparent 27%),
    radial-gradient(circle at 94% 14%, rgba(27, 95, 151, .16), transparent 30%),
    radial-gradient(circle at 92% 64%, rgba(15, 53, 95, .10), transparent 34%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 48%, #f6f8fb 100%);
  color: var(--jmma-ink);
}

body#topo::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 53, 95, .055), transparent 19%, transparent 81%, rgba(217, 120, 34, .06)),
    repeating-linear-gradient(135deg, rgba(15, 53, 95, .025) 0 1px, transparent 1px 34px);
}

.emergency-alert {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  border-top: 4px solid #b91c1c;
  border-bottom: 1px solid #d7e4ef;
  box-shadow: 0 4px 16px rgba(15, 35, 60, .08);
}

.emergency-alert-inner {
  max-width: 1580px;
  width: calc(100% - 44px);
  padding: 8px 0;
  gap: 12px;
}

.emergency-alert-number {
  background: #b91c1c;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(185, 28, 28, .18);
}

.emergency-alert-logo {
  height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 6px 16px rgba(15, 53, 95, .08);
}

.emergency-alert-logo-fallback {
  background: var(--jmma-navy);
}

.emergency-alert-text {
  color: var(--jmma-navy);
  font-size: .92rem;
  font-weight: 850;
}

.public-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 24%, rgba(217, 120, 34, .30), transparent 24%),
    radial-gradient(circle at 94% 12%, rgba(255, 255, 255, .14), transparent 22%),
    linear-gradient(135deg, #0f355f 0%, #164a7c 52%, #1b5f97 100%);
  padding: 42px 24px 44px;
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -46% 52%;
  height: 320px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  transform: rotate(-10deg);
  pointer-events: none;
}

.public-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1580px;
  width: calc(100% - 32px);
  grid-template-columns: minmax(330px, 440px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 86px);
}

.brand-composition-logo {
  min-height: 260px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(217, 120, 34, .16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,253,.93));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 22px 60px rgba(4, 18, 35, .28);
}

.brand-logo-full {
  width: min(100%, 350px);
  max-height: 250px;
}

.hero-message {
  text-align: left;
  max-width: 900px;
}

.hero-message h1 {
  letter-spacing: -.02em;
  text-shadow: 0 12px 34px rgba(4, 18, 35, .28);
}

.hero-message h2 {
  color: rgba(255,255,255,.92);
}

.hero-actions {
  justify-content: flex-start;
}

.hero-action-secondary {
  background: #ffffff;
  color: var(--jmma-navy);
  border-color: #ffffff;
}

.hero-action-ghost {
  background: rgba(217, 120, 34, .96);
  color: #ffffff;
  border-color: rgba(255,255,255,.28);
}

.hero-action-ghost:hover {
  background: #c96718;
  color: #ffffff;
}

.public-trust-strip {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 53, 95, .12);
}

.public-trust-inner {
  max-width: 1580px;
  width: calc(100% - 44px);
  color: var(--jmma-navy);
}

.public-trust-inner span::before {
  color: var(--jmma-orange);
}

.nav {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 53, 95, .10);
}

.nav-inner.public-nav-single {
  max-width: 1580px;
  width: calc(100% - 44px);
  justify-content: center;
  gap: 24px;
}

.nav-inner.public-nav-single a {
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 850;
}

.nav-inner.public-nav-single a:hover {
  background: var(--jmma-sky);
  text-decoration: none;
}

.public-main {
  max-width: 1580px;
  width: calc(100% - 56px);
}

.public-main > section.card,
#centro-informacao,
#fale-connosco,
#sobre-jmma {
  border: 1px solid rgba(15, 53, 95, .10) !important;
  background: var(--jmma-card) !important;
  box-shadow: 0 18px 48px rgba(15, 35, 60, .08) !important;
}

#servicos {
  background:
    radial-gradient(circle at top right, rgba(217, 120, 34, .10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,253,.94)) !important;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card,
.link-card,
.info-library-box,
#contactoPublicoForm {
  border-color: rgba(15, 53, 95, .12) !important;
  box-shadow: 0 12px 30px rgba(15, 35, 60, .065) !important;
}

.service-card::before,
#servicos .section-title::before,
#fale-connosco .section-title::before,
.info-topic-card-icon,
.info-topic-link,
.info-library-open {
  background: var(--jmma-navy) !important;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 14px auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(217, 120, 34, .10);
  pointer-events: none;
}

#fale-connosco {
  background:
    radial-gradient(circle at top left, rgba(15, 53, 95, .10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,252,.96)) !important;
}

#fale-connosco .contact-info-panel,
.contact-public-info {
  background: linear-gradient(180deg, var(--jmma-navy), #174a78) !important;
}

.info-legal-note {
  background: var(--jmma-orange-soft);
  border-color: #f3c291;
  border-left-color: var(--jmma-orange);
  color: #7a3a0b;
}

.public-footer {
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,247,250,.98));
  border-top: 1px solid rgba(15, 53, 95, .10);
}

.public-footer-inner {
  max-width: 1580px;
  width: calc(100% - 56px);
}

@media (max-width: 980px) {
  .public-hero-inner {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-message {
    text-align: center;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .brand-composition-logo {
    min-height: 210px;
  }
}

@media (max-width: 700px) {
  .public-main,
  .public-footer-inner,
  .public-trust-inner,
  .nav-inner.public-nav-single,
  .emergency-alert-inner {
    width: calc(100% - 24px);
  }

  .public-hero {
    padding: 28px 16px 30px;
  }

  .brand-logo-full {
    max-height: 210px;
  }

  .emergency-alert {
    border-top-width: 3px;
  }

  .emergency-alert-text {
    font-size: .82rem;
  }
}



/* ===== Commit 41: centrar e afinar largura da página inicial ===== */

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 0% 18%, rgba(217, 120, 34, .10), transparent 26%),
    radial-gradient(circle at 100% 14%, rgba(27, 95, 151, .12), transparent 28%),
    linear-gradient(180deg, #eef4f8 0%, #f7fafc 100%);
}

body#topo {
  width: 100%;
  min-width: 100%;
  max-width: 1680px;
  margin: 0 auto !important;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(15, 53, 95, .06), 0 28px 90px rgba(15, 35, 60, .10);
}

body#topo::before {
  max-width: 1680px;
  left: 50%;
  transform: translateX(-50%);
}

.emergency-alert,
.public-hero,
.public-trust-strip,
.nav,
.public-footer {
  width: 100%;
}

.emergency-alert-inner,
.public-hero-inner,
.public-trust-inner,
.nav-inner.public-nav-single,
.public-main,
.public-footer-inner {
  max-width: 1380px !important;
}

.emergency-alert-inner,
.public-trust-inner,
.nav-inner.public-nav-single,
.public-footer-inner {
  width: calc(100% - 64px) !important;
}

.public-main {
  width: calc(100% - 64px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 34px;
}

.public-hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.public-hero-inner {
  width: calc(100% - 64px) !important;
  grid-template-columns: minmax(300px, 405px) minmax(0, 1fr) !important;
  gap: clamp(30px, 4.5vw, 68px) !important;
}

.brand-composition-logo {
  min-height: 245px !important;
}

.brand-logo-full {
  width: min(100%, 330px) !important;
  max-height: 235px !important;
}

.hero-message {
  max-width: 820px !important;
}

.hero-message h1 {
  font-size: clamp(2rem, 3.35vw, 3.25rem) !important;
}

#servicos,
#centro-informacao,
#fale-connosco,
#sobre-jmma {
  margin-left: auto !important;
  margin-right: auto !important;
}

#servicos .service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.contacto-layout {
  grid-template-columns: minmax(320px, .78fr) minmax(420px, 1.22fr) !important;
}

.public-footer {
  margin-top: 24px;
}

@media (min-width: 1681px) {
  body#topo {
    border-left: 1px solid rgba(15, 53, 95, .08);
    border-right: 1px solid rgba(15, 53, 95, .08);
  }
}

@media (max-width: 1200px) {
  #servicos .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .public-hero-inner {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr) !important;
  }
}

@media (max-width: 980px) {
  .public-hero-inner {
    grid-template-columns: 1fr !important;
  }

  .contacto-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  body#topo {
    max-width: none;
    box-shadow: none;
  }

  .emergency-alert-inner,
  .public-hero-inner,
  .public-trust-inner,
  .nav-inner.public-nav-single,
  .public-main,
  .public-footer-inner {
    width: calc(100% - 24px) !important;
  }

  .public-main {
    padding-top: 24px;
  }

  #servicos .service-grid {
    grid-template-columns: 1fr !important;
  }

  #centro-informacao .info-library-preview > * {
    min-width: 0;
  }

  #centro-informacao .info-library-open {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

