/* ==========================================================================
   Página Aviso aos Navegantes — Power BI, SMA, acordeão do terminal e
   layout das seções. Folha própria (enfileirada só em
   page-aviso-navegantes.php) para não misturar com hunks locais de theme.css.
   ========================================================================== */

.mrn-avn {
  font-family: Ubuntu, sans-serif;
}

.mrn-avn-pad {
  padding-top: 88px;
  padding-bottom: 88px;
  background: #fff;
}

.mrn-avn-pad--verde {
  background: linear-gradient(160deg, #f5fbf7 0%, #edf7f1 100%);
}

.mrn-avn-intro-sec {
  padding-top: 32px;
}

.mrn-avn-contatos-sec {
  padding-bottom: 104px;
}

.mrn-avn-badge {
  display: inline-block;
  background: #e8f5ee;
  color: #006129;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.mrn-avn-badge--icone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mrn-avn-h2 {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 700;
  color: #08340D;
  line-height: 1.12;
  margin: 0;
}

.mrn-avn-h2--intro {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.mrn-avn-lead {
  font-size: 16px;
  color: #1C1D1F;
  line-height: 1.75;
  max-width: 560px;
  margin: 12px 0 0;
}

.mrn-avn-lead--centro {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Controle de Calado (Power BI) -------------------------------------- */

.mrn-avn-calado-cabecalho {
  margin-bottom: 36px;
}

.mrn-avn-pbi {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
  border: 1.5px solid #d0e8da;
  background: #fff;
}

.mrn-avn-pbi-frame {
  position: relative;
  width: 100%;
  height: 820px;
}

.mrn-avn-pbi-frame .mrn-embed {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}

/* ---- SMA ---------------------------------------------------------------- */

.mrn-avn-sma-sec {
  background: #fff;
  padding-top: 56px;
  padding-bottom: 56px;
}

.mrn-avn-sma {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #f5fbf7 0%, #edf7f1 100%);
  border: 1.5px solid #d0e8da;
  border-radius: 18px;
  padding: 28px 30px;
}

.mrn-avn-sma-texto {
  font-size: 16px;
  line-height: 1.75;
  color: #1C1D1F;
  margin: 0;
  max-width: 660px;
}

.mrn-avn-sma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  background: #006129;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  min-height: 44px;
  transition: background 0.22s;
}

.mrn-avn-sma-btn:hover,
.mrn-avn-sma-btn:focus-visible {
  background: #08340D;
  color: #fff;
}

/* ---- Introdução + área de cobertura ------------------------------------- */

.mrn-avn-intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 72px;
  align-items: center;
}

.mrn-avn-intro-p {
  font-size: 16px;
  line-height: 1.8;
  color: #1C1D1F;
  margin: 0;
}

.mrn-avn-intro-p--lead {
  font-size: 17px;
  margin-bottom: 16px;
}

.mrn-avn-cobertura {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, #f5fbf7 0%, #edf7f1 100%);
  border-radius: 14px;
  padding: 16px 20px;
  border: 1.5px solid #e8f0eb;
}

.mrn-avn-cobertura-icone {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #006129;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mrn-avn-cobertura-rotulo {
  font-size: 11px;
  font-weight: 700;
  color: rgba(28, 29, 31, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.mrn-avn-cobertura-valor {
  font-size: 14px;
  font-weight: 600;
  color: #08340D;
}

/* ---- Acordeão do terminal ----------------------------------------------- */

.mrn-avn-terminal-cabecalho {
  margin-bottom: 44px;
  max-width: 720px;
}

.mrn-avn-acordeao {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 980px;
}

.mrn-avn-acc {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e8f0eb;
  overflow: hidden;
  transition: border-color 0.22s;
}

.mrn-avn-acc.is-open {
  border-color: #c8e8d0;
}

.mrn-avn-acc-titulo {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.mrn-avn-acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 64px;
  font-family: inherit;
  color: inherit;
}

.mrn-avn-acc-btn:focus-visible {
  outline: 2px solid #006129;
  outline-offset: -2px;
}

.mrn-avn-acc-rotulo {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 17px;
  color: #08340D;
  line-height: 1.35;
}

.mrn-avn-acc-chevron {
  display: flex;
  flex-shrink: 0;
  color: #006129;
  transition: transform 0.3s;
}

.mrn-avn-acc.is-open .mrn-avn-acc-chevron {
  transform: rotate(180deg);
}

.mrn-avn-acc-painel {
  overflow: hidden;
}

.mrn-avn-acc-corpo {
  padding: 0 22px 24px;
}

.mrn-avn-acc-corpo p {
  font-size: 15px;
  line-height: 1.8;
  color: #1C1D1F;
  margin: 0 0 14px;
}

.mrn-avn-acc-corpo p:last-child {
  margin-bottom: 0;
}

.mrn-avn-acc-corpo ul {
  margin: 0 0 14px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mrn-avn-acc-corpo li {
  font-size: 15px;
  line-height: 1.75;
  color: #1C1D1F;
}

.mrn-avn-agente-nome {
  font-size: 15px;
  font-weight: 700;
  color: #08340D;
  margin: 18px 0 6px;
}

.mrn-avn-tabela-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mrn-avn-tabela,
.mrn-avn-acc-corpo table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.mrn-avn-tabela th,
.mrn-avn-acc-corpo th {
  background: #e8f5ee;
  color: #08340D;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #d0e8da;
  line-height: 1.4;
}

.mrn-avn-tabela td,
.mrn-avn-acc-corpo td {
  padding: 12px 14px;
  border: 1px solid #e8f0eb;
  color: #1C1D1F;
}

/* ---- Mapa e contatos ---------------------------------------------------- */

.mrn-avn-mapa-cabecalho {
  margin-bottom: 40px;
}

.mrn-avn-contatos-cabecalho {
  text-align: center;
  margin-bottom: 56px;
}

.mrn-avn-contatos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mrn-avn-contato {
  background: #fff;
  border-radius: 18px;
  padding: 32px 26px;
  border: 1.5px solid transparent;
  text-align: center;
}

.mrn-avn-contato-icone {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.mrn-avn-contato-label {
  font-weight: 700;
  font-size: 16px;
  color: #08340D;
  margin: 0 0 12px;
}

.mrn-avn-contato-info {
  font-size: 14px;
  color: #1C1D1F;
  line-height: 1.7;
  white-space: pre-line;
  margin: 0;
}

@media (max-width: 1279px) {
  .mrn-avn-pbi-frame { height: 700px; }
}

@media (max-width: 1023px) {
  .mrn-avn-contatos { grid-template-columns: repeat(2, 1fr); }
  .mrn-avn-pbi-frame { height: 600px; }
}

@media (max-width: 767px) {
  .mrn-avn-pad {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .mrn-avn-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mrn-avn-contatos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .mrn-avn-pbi-frame { height: 520px; }

  .mrn-avn-sma {
    padding: 22px 20px;
  }

  .mrn-avn-sma-btn {
    width: 100%;
  }
}
