/* ================= CPE Tools: cadastro, login, conta, termos e painel do master ================= */
.nav-acct { font-size: 14px; font-weight: 650; color: var(--blue-dark); text-decoration: none; padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--blue-dark); white-space: nowrap; }
.nav-acct:hover { background: var(--blue-dark); color: #fff; }
.p-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; }
.p-actions small { color: var(--muted); font-size: 13px; }
.demo-banner { background: #fff6e3; border: 1px solid #f0c060; color: #6b4a00; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 0 0 22px; }
.cpe-form { display: grid; gap: 18px; }
.cpe-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; margin: 0; background: #fff; box-shadow: var(--shadow); min-width: 0; }
.cpe-form fieldset[disabled] { opacity: .55; }
.cpe-form legend { font-weight: 700; color: var(--navy); padding: 0 8px; font-size: 17px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.fld > span { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.fld small, .lbl small { font-weight: 400; color: var(--muted); }
.fld .hint { font-size: 12.5px; }
.fld abbr, .lbl abbr, .chk abbr { color: #c0392b; text-decoration: none; margin-left: 3px; }
.fld input, .fld select { font: inherit; font-size: 15.5px; padding: 11px 13px; border: 1px solid #c9d7e3; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.fld input:focus, .fld select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.fld.invalid input, .fld.invalid select { border-color: #c0392b; background: #fff7f6; }
.fld input:disabled { background: var(--soft); color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 0 14px; }
.lbl { font-weight: 600; font-size: 14.5px; color: var(--navy); margin: 4px 0 10px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin-bottom: 16px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; margin-bottom: 12px; cursor: pointer; }
.checks .chk { margin: 0; }
.chk input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue-dark); }
.cpe-form .note { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.cpe-form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cpe-form button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.cpe-form button.btn:disabled { opacity: .6; cursor: progress; }
.cpe-form .alt { margin: 0; color: var(--muted); }
.cpe-form.small { max-width: 460px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-msg { margin: 0; padding: 11px 14px; border-radius: 10px; background: var(--soft); color: var(--navy); font-size: 14.5px; }
.form-msg.ok { background: #e8f7ee; color: #1d6b3a; }
.form-msg.err { background: #fdecea; color: #a5281b; }
button.btn-outline { background: transparent; color: var(--blue-dark); box-shadow: inset 0 0 0 2px var(--blue-dark); border: 0; cursor: pointer; font: inherit; font-weight: 650; padding: 10px 20px; border-radius: 999px; }
button.btn-outline:hover { background: var(--blue-dark); color: #fff; }
.btn-danger { background: #fff; color: #a5281b; box-shadow: inset 0 0 0 2px #d9a19a; border: 0; cursor: pointer; font: inherit; font-weight: 650; padding: 10px 20px; border-radius: 999px; }
.btn-danger:hover { background: #a5281b; color: #fff; }
button.link { background: none; border: 0; padding: 0; color: var(--blue-dark); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.muted { color: var(--muted); font-size: 14px; }
.acct { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.acct-side { display: grid; gap: 22px; }
.acct .panel { padding: 26px 26px; }
.acct .panel h2 { font-size: 20px; }
.acct .panel h3 { font-size: 15px; margin: 18px 0 8px; }
.acct .plan-name { font-size: 22px; font-weight: 700; color: var(--blue-dark); margin: 0; }
.tool-list, .consents { list-style: none; padding: 0; margin: 0 0 18px; }
.tool-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.tool-list a { font-weight: 650; }
.consents li { font-size: 13px; color: var(--muted); padding: 3px 0; }
.legal { font-size: 16px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal li { margin-bottom: 6px; }
.legal-note { background: #fff6e3; border: 1px solid #f0c060; color: #6b4a00; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
/* painel do master */
.wrap.wide { width: min(1400px, 100% - 40px); }
.admin-wrap { padding-top: 40px; }
.adm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.adm-head h1 { font-size: 32px; margin: 0; }
.adm-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.adm-ctrl select, .adm-ctrl input { font: inherit; padding: 9px 12px; border: 1px solid #c9d7e3; border-radius: 10px; background: #fff; }
.adm-ctrl input[type=search] { min-width: min(380px, 100%); }
.adm-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.adm-tabs button { font: inherit; font-weight: 650; background: none; border: 0; padding: 10px 16px; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; }
.adm-tabs button[aria-selected=true] { color: var(--navy); border-bottom-color: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.kpi b { display: block; font-size: 30px; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.adm-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.adm-card.wide { grid-column: 1 / -1; }
.adm-card figcaption, .adm-card h3 { font-weight: 700; color: var(--navy); margin: 0 0 12px; font-size: 15.5px; }
.adm-card figcaption small { font-weight: 400; color: var(--muted); }
#u-detail { margin-top: 18px; }
.hbars { display: grid; gap: 7px; }
.hbar { display: grid; grid-template-columns: minmax(120px, 34%) 1fr auto; align-items: center; gap: 10px; font-size: 13.5px; }
.hb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.hb-track { height: 14px; }
.hb-fill { display: block; height: 100%; background: var(--blue-dark); border-radius: 0 4px 4px 0; }
.hbar:hover .hb-fill { background: var(--navy); }
.hb-val { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cols { display: flex; align-items: flex-end; gap: 2px; height: 140px; border-bottom: 1px solid #c9d7e3; }
.col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; }
.col-fill { display: block; width: 100%; background: var(--blue-dark); border-radius: 4px 4px 0 0; }
.col:hover .col-fill, .col:focus .col-fill { background: var(--navy); }
.col:hover::after, .col:focus::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; z-index: 2; }
.cols-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl small { color: var(--muted); }
.matrix td.c, .matrix th:not(:first-child) { text-align: center; }
.matrix tr.grp td { background: var(--soft); font-weight: 700; color: var(--navy); }
.matrix td small { color: var(--muted); font-size: 11.5px; }
.row-inline { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 12px; }
.row-inline .fld { margin: 0; }
.row-inline .form-msg { grid-column: 1 / -1; }
@media (max-width: 1200px) { .nav-acct { align-self: flex-start; } }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-grid { grid-template-columns: 1fr; }
  .row-inline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .row2, .row3, .checks { grid-template-columns: 1fr; }
  .cpe-form fieldset { padding: 18px 16px 4px; }
  .cpe-form.small { padding: 22px 18px; }
  .hbar { grid-template-columns: 1fr auto; }
  .hbar .hb-track { grid-column: 1 / -1; grid-row: 2; }
}
.menu a { white-space: nowrap; }
.cpe-form > button, .cpe-form > .btn { justify-self: start; }
.row-inline > .btn { justify-self: stretch; }
@media (max-width: 1340px) and (min-width: 1201px) { .menu a { padding: 9px 9px; font-size: 14.5px; } .nav { gap: 14px; } .nav-acct { padding: 6px 11px; } }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer; }
.pw-eye:hover, .pw-eye[aria-pressed=true] { color: var(--blue-dark); background: var(--soft); }
.pw-eye:focus-visible { outline: 2px solid var(--blue); }

/* ===== infraestrutura e recursos ===== */
.infra-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.infra-feature h2, .infra-split h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 14px; }
.infra-feature .lead, .infra-split .lead { font-size: 17.5px; color: #33475a; }
.ig { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.ig img { display: block; width: 100%; height: auto; object-fit: cover; }
.ig figcaption { font-size: 13px; color: var(--muted); padding: 9px 14px 11px; }
.ig.hero img { aspect-ratio: 3 / 2; }
.ig.wide { margin-top: 22px; }
.ig.wide img { aspect-ratio: 7 / 2; }
.ig.portrait img { aspect-ratio: 435 / 448; object-fit: cover; }
.infra-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 30px; max-width: 980px; }
.infra-chips span { font-size: 14px; font-weight: 600; color: var(--blue-dark); background: #e8f5fc; border-radius: 999px; padding: 7px 14px; }
.infra-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.infra-gallery .ig img { aspect-ratio: 4 / 3; }
.infra-note { margin-top: 22px; color: #33475a; }
.infra-split { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 48px; align-items: start; }
.infra-split.rev { grid-template-columns: 1fr minmax(300px, 520px); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 18px 0; }
.specs div { border-left: 3px solid var(--blue); padding: 2px 0 2px 12px; }
.specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.specs dd { margin: 2px 0 0; font-size: 15px; color: var(--navy); }
.infra-stack { display: grid; gap: 16px; }
.infra-split.rev { align-items: start; }
.infra-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.infra-trio .ig img { aspect-ratio: 1 / 1; }
.infra-trio .ig figcaption { font-size: 12px; padding: 7px 10px 9px; }
.ig.scheme img { aspect-ratio: auto; background: #fff; }
.center.narrow { text-align: center; max-width: 820px; margin: 0 auto 30px; color: #33475a; }
.infra-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.infra-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.infra-card img, .infra-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.infra-ph { background: repeating-linear-gradient(0deg, #0a3a5c 0 6px, #0d4a73 6px 9px, #135c8c 9px 15px, #0a3a5c 15px 22px); }
.infra-card div { padding: 18px 20px 20px; }
.infra-card h3 { font-size: 18px; margin: 0 0 8px; }
.infra-card p { margin: 0; font-size: 15px; color: #33475a; }
.infra-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; background: var(--soft); border-radius: var(--radius); padding: 30px 34px; }
.infra-tools h2 { margin: 0 0 8px; }
.infra-tools p { margin: 0; max-width: 720px; }
.infra-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.infra-teaser img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.infra-teaser > div { padding: 30px 36px 30px 0; }
.infra-teaser h2 { margin: 0 0 12px; }
@media (max-width: 1000px) {
  .infra-teaser { grid-template-columns: 1fr; gap: 0; }
  .infra-teaser > div { padding: 24px; }
  .infra-feature, .infra-split, .infra-split.rev { grid-template-columns: 1fr; gap: 28px; }
  .infra-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .infra-split .portrait { max-width: 380px; }
}
@media (max-width: 620px) {
  .infra-gallery, .infra-cards, .specs { grid-template-columns: 1fr; }
  .infra-trio { grid-template-columns: 1fr 1fr; }
  .ig.wide img { aspect-ratio: 16 / 7; }
}
