/* ============================================================
   EPAL — billing page (replicação do design institucional)
   Palette/fontes extraídos do tema original:
   #1A457A azul · #376167 teal escuro · #00853A verde botões
   #4B858D teal médio · #C7E0E3 / #DDEDEF claros · #555 texto
   Fontes: PT Sans (corpo) + Imprima (títulos)
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
  font-family: 'PT Sans', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  color: #555;
  background: #fff;
  line-height: 1.45;
}

img { border: 0; vertical-align: middle; }
ul, li { list-style: none; }
a { color: #1A457A; text-decoration: none; }
a:hover { cursor: pointer; text-decoration: none; }

.row { max-width: 960px; margin: 0 auto; padding: 0 12px; }
.row::after { content: ''; display: table; clear: both; }

.col { float: left; padding: 0 8px; }
.col3 { width: 25%; }
.col4 { width: 33.33%; }
.col6 { width: 50%; }
.col8 { width: 66.66%; }
.col9 { width: 75%; }

.ic { vertical-align: -1px; margin-right: 5px; }

/* ---------- barra superior ---------- */
.Top {
  background: #ddedef;
  font-size: 12px;
  text-transform: uppercase;
  width: 100%;
}
.Top .row { display: block; }
.TopLeft { float: left; }
.TopLeft .NavInline { float: left; }
.TopLeft .NavInline a {
  color: #376167; text-decoration: none;
  padding: 9px 15px; display: block;
}
.TopLeft .NavInline a.sel { font-weight: 700; }
.TopLink { float: left; }
.TopLink a {
  color: #376167; text-decoration: none;
  padding: 9px 15px; display: block;
  text-transform: none;
}
.TopLink a:hover { background: #c7e0e3; }
.TopLeft .NavInline a:hover { background: #c7e0e3; font-weight: 700; }
.TopRight { float: right; }
.Langs { float: right; }
.Langs li { float: left; }
.Langs a {
  display: block; padding: 9px 15px;
  color: #4b858d; border-left: 1px solid #fff;
  text-transform: none;
}
.Langs li.sel a { color: #376167; font-weight: 700; background: #c7e0e3; }

/* ---------- cabeçalho (intro) ---------- */
.Intro {
  padding: 14px 0;
  border-bottom: solid 1px #c7e0e3;
  background: #fff;
}
.Logo img { height: 50px; }
.Slogan {
  text-align: center;
  font-size: 19px;
  color: #abc6ca;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-style: italic;
  padding-top: 12px;
}
.SearchBox { border: 0; position: relative; float: right; }
.SearchBox legend { display: none; }
.SearchTxt {
  font-size: 15px; width: 170px;
  color: #4b858d;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  border: 0; border-bottom: solid 1px #6dacb3;
  padding: 12px 28px 12px 10px;
  background: transparent;
}
.SearchTxt::placeholder { color: #abc6ca; }
.SearchTxt:focus { outline: none; }
.SearchGo {
  position: absolute; right: 8px; top: 12px;
  border: 0; background: none; cursor: pointer;
  color: #4b858d; padding: 0;
}

/* ---------- menu principal ---------- */
.Menu { padding-top: 18px; }
.MainMenu { float: left; width: 100%; }
.MainMenu li { float: left; margin: 0 8px; }
.MainMenu li a {
  font-size: 16px;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  color: #008c45;
  text-transform: uppercase;
  padding-bottom: 10px;
  display: block;
  text-align: center;
}
.MainMenu li:nth-child(even) a { color: #1a457a; }
.MainMenu li:nth-child(2) a { color: #1a457a; }
.MainMenu li:nth-child(3) a { color: #008c45; }
.MainMenu li:nth-child(4) a { color: #1a457a; }
.MainMenu li:nth-child(5) a { color: #008c45; }
.MainMenu li:nth-child(6) a { color: #1a457a; }
.MainMenu li:nth-child(7) a { color: #008c45; }
.MainMenu li a:hover { color: #376167; }
.MainMenu li.sel a {
  color: #376167;
  border-bottom: 3px solid #376167;
}

/* ---------- submenu ---------- */
.SubMenu {
  background: #376167;
  border-top: solid 1px #f1f7f7;
  margin-top: 8px;
}
.SubMenu .row { padding-top: 0; padding-bottom: 0; }
.SubMenuList li { display: inline-block; }
.SubMenuList li a {
  display: inline-block;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  margin: 0 14px;
  padding: 9px 0 7px;
}
.SubMenuList li a:hover { text-decoration: underline; }
.SubMenuList li a.sel {
  border-bottom: 2px solid #c7e0e3;
  font-weight: 700;
}

/* ---------- área principal ---------- */
.Main {
  background: #eef4f6;
  padding: 22px 0 40px;
}
.BreadCrumbs {
  font-size: 12px;
  color: #4b858d;
  margin: 0 0 14px;
}
.BreadCrumbs span { margin: 0 6px; color: #abc6ca; }
.BreadCrumbs strong { color: #376167; }

.FaturaWrap { max-width: 900px; margin: 0 auto; }

.FaturaCard {
  background: #fff;
  border: 1px solid #c7e0e3;
  box-shadow: 0 1px 3px rgba(55, 97, 103, 0.12);
}

/* cabeçalho do documento */
.FaturaHead {
  border-bottom: 2px solid #376167;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.FHLeft { display: flex; align-items: center; }
.FHLogo { height: 44px; margin-right: 14px; }
.FHTitle {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 17px;
  color: #1a457a;
  line-height: 1.3;
}
.FHTitle span {
  font-family: 'PT Sans', sans-serif;
  font-size: 11.5px;
  color: #8aa5a9;
  font-weight: 400;
}
.FHNum {
  text-align: right;
  font-size: 12px;
  text-transform: uppercase;
  color: #4b858d;
  letter-spacing: 0.4px;
}
.FHNum strong {
  display: block;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 20px;
  color: #1a457a;
  letter-spacing: 0.5px;
}

/* corpo */
.FaturaBody { padding: 22px; }
.FaturaCols { display: flex; gap: 22px; align-items: flex-start; }

.FColMain { flex: 1; min-width: 0; }

.FTitle {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 26px;
  font-weight: 400;
  color: #376167;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.Badge {
  display: inline-block;
  background: #e8842c;
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 3px;
  line-height: 1;
}

.FSub {
  font-size: 13.5px;
  color: #7d9296;
  margin-bottom: 16px;
  max-width: 46ch;
}

.FTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid #e1ecee;
}
.FTable td {
  padding: 8px 12px;
  border-bottom: 1px solid #eaf1f3;
  color: #555;
}
.FTable tr:nth-child(even) td { background: #f7fbfc; }
.FTable tr:last-child td { border-bottom: 0; }
.FTable td.lbl { color: #4b858d; width: 46%; }
.FTable tr.hl td { background: #fdf6ec; color: #555; font-weight: 700; }
.FTable td.val, .FTable td.total .val { text-align: right; font-weight: 700; color: #1a457a; }
.FTable .mut { color: #93a9ad; font-weight: 400; }

.FTableTitle {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4b858d;
  margin: 18px 0 8px;
}
.FTableItems tr.total td {
  background: #eef6f0;
  border-top: 2px solid #00853a;
  font-weight: 700;
}
.FTableItems tr.total td.val { font-size: 15px; }

/* coluna lateral */
.FColSide { width: 290px; flex: 0 0 290px; }

.TotalBox {
  background: #f7fbfc;
  border: 1px solid #c7e0e3;
  padding: 16px 18px;
  text-align: center;
  margin-bottom: 14px;
}
.TBLbl {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #4b858d;
  margin-bottom: 2px;
}
.TBVal {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 34px;
  color: #1a457a;
  line-height: 1.15;
}
.TBLine {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e1ecee;
  font-size: 12px;
  color: #7d9296;
  line-height: 1.5;
}
.TBLine strong { color: #e8842c; font-size: 13px; }

/* botão principal — replica .SearchButton do tema EPAL */
.DlButton {
  display: block;
  background: #00853a;
  color: #fff !important;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  padding: 15px 18px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}
.DlButton svg { vertical-align: -2px; margin-right: 8px; }
.DlButton:hover {
  background: #006d2f;
  text-decoration: none;
}
.DlButton:active { background: #005b28; }

.DlMeta {
  text-align: center;
  font-size: 12px;
  color: #7d9296;
  margin: 9px 0 0;
  word-break: break-all;
}

.DlNote {
  font-size: 12px;
  color: #93a9ad;
  margin-top: 12px;
  line-height: 1.5;
}

.PayInfo {
  margin-top: 16px;
  border-top: 1px solid #e1ecee;
  padding-top: 12px;
  font-size: 12px;
  color: #7d9296;
  line-height: 1.6;
}
.PayInfo strong { color: #4b858d; }
.PayTitle {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4b858d;
  margin-bottom: 4px;
}

/* rodapé do documento */
.FaturaFoot {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #e1ecee;
  font-size: 12.5px;
  color: #7d9296;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.FaturaFoot .ic { color: #4b858d; margin-top: 2px; flex: 0 0 auto; }
.FaturaFoot strong { color: #376167; }

.MainNote {
  font-size: 11.5px;
  color: #93a9ad;
  max-width: 900px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* ---------- rodapé do site ---------- */
.Bottom {
  background: #4b858d;
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  padding-top: 25px;
}
.Bottom a { color: #ddedef; text-decoration: none; }
.Bottom a:hover { text-decoration: underline; }

.BottomInst { padding-top: 4px; }
.FBLogo { height: 42px; margin-bottom: 10px; }
.FBAv { line-height: 21px; }
.FBAv strong { color: #fff; }
.fbm { font-size: 11px; color: #c7e0e3; }
.FBBtn {
  display: inline-block;
  margin-top: 14px;
  background: #376167;
  color: #fff !important;
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
}
.FBBtn:hover { background: #2c4e53; text-decoration: none; }

.Bottom2 { padding-right: 8px; }
.Bottom2 table {
  width: 100%;
  border-collapse: collapse;
  border-left: solid 1px #81aaaf;
}
.Bottom2 table td {
  width: 33.3%;
  vertical-align: top;
  border-right: solid 1px #81aaaf;
  padding: 6px 22px 20px;
}
.Bottom2 h2 {
  font-family: 'Imprima', 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  padding-bottom: 8px;
  color: #ddedef;
}
.Bottom2 li { margin-bottom: 7px; font-size: 13px; }

/* ---------- barra base ---------- */
.Base {
  background: #ddedef;
  padding: 8px 0 10px;
  font-size: 12px;
  color: #376167;
}
.Base a { color: #376167; }
.MenuInstitutional { float: left; margin: 4px 0 0; }
.MenuInstitutional li {
  float: left;
  border-right: solid 1px #376167;
  padding: 0 10px;
}
.MenuInstitutional li:last-child { border-right: 0; }
.MenuInstitutional li a { text-decoration: none; }
.MenuInstitutional li a:hover { text-decoration: underline; }
.Copyright {
  text-align: right;
  padding: 4px 0 0;
  color: #376167;
}

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .FaturaCols { flex-direction: column; }
  .FColSide { width: 100%; flex: 1 1 auto; }
  .Main { padding: 16px 0 30px; }
}
@media (max-width: 700px) {
  .col, .col3, .col4, .col6, .col8, .col9 { width: 100%; float: none; }
  .TopLeft .NavInline { display: none; }
  .TopLink { display: none; }
  .Slogan { font-size: 15px; padding-top: 0; }
  .SearchBox { display: none; }
  .Intro { text-align: center; }
  .Logo, .Logo img { margin: 0 auto; }
  .MainMenu li { margin: 0 4px; }
  .MainMenu li a { font-size: 12.5px; padding-bottom: 8px; }
  .SubMenuList li a { margin: 0 8px; font-size: 13px; }
  .FaturaHead { flex-direction: column; align-items: flex-start; gap: 10px; }
  .FHNum { text-align: left; }
  .FaturaBody { padding: 16px; }
  .FTitle { font-size: 22px; }
  .Bottom2 table { border-left: 0; }
  .Bottom2 table td { border-right: 0; border-bottom: 1px solid #81aaaf; padding: 12px 4px; }
  .MenuInstitutional { float: none; margin-bottom: 8px; }
  .MenuInstitutional li { float: none; display: inline-block; border-right: 0; margin-right: 10px; padding: 2px 0; }
  .Copyright { text-align: left; }
}
