:root {
  --navy: #0a2237;
  --navy-soft: #123650;
  --ink: #18242d;
  --muted: #647481;
  --line: #d9e2e7;
  --paper: #f4f7f8;
  --white: #fff;
  --green: #08775b;
  --green-dark: #075943;
  --green-soft: #e8f5f0;
  --gold: #d79315;
  --gold-soft: #fff4dc;
  --red: #a13d34;
  --shadow: 0 15px 40px rgba(10, 34, 55, 0.1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--gold), #f4d17a); color: var(--navy); font-size: 1.3rem; font-weight: 950; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 1.25rem; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.connection { min-height: 30px; border-radius: 8px; padding: 6px 10px; background: var(--gold-soft); color: #704500; font-size: .8rem; font-weight: 850; }
.connection.online { background: var(--green-soft); color: var(--green-dark); }
.primary, .secondary { min-height: 42px; border: 0; border-radius: 8px; padding: 0 16px; font-weight: 850; }
.primary { background: var(--green); color: #fff; }
.primary:hover { background: var(--green-dark); }
.secondary { background: #e9eef1; color: var(--ink); }
.access-link { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:8px; text-decoration:none; font-weight:850; white-space:nowrap; }
.welcome-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.welcome-link { color:#fff; font-weight:850; text-underline-offset:4px; }
.sidebar { position: fixed; inset: 72px auto 0 0; z-index: 20; display: flex; width: 248px; flex-direction: column; justify-content: space-between; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--navy); color: #fff; }
.sidebar nav { display: grid; gap: 7px; }
.nav-item { min-height: 43px; border: 0; border-radius: 8px; padding: 10px 13px; background: transparent; color: #d9e4eb; text-align: left; font-weight: 780; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,.11); color: #fff; }
.trust-box { padding: 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(255,255,255,.06); }
.guest-sidebar-links { display:grid; gap:8px; margin-top:auto; margin-bottom:14px; padding:14px; border:1px solid rgba(255,255,255,.15); border-radius:8px; background:rgba(255,255,255,.06); }
.guest-sidebar-links strong { color:#fff; }
.guest-sidebar-links a { color:#d9e4eb; font-size:.88rem; font-weight:750; text-underline-offset:3px; }
.guest-sidebar-links a:hover { color:#fff; }
.trust-box span, .trust-box strong, .trust-box small { display: block; }
.trust-box span, .trust-box small { color: #bfd0dc; }
.trust-box strong { margin: 5px 0; }
.main { margin-left: 248px; padding: 104px clamp(20px,4vw,48px) 56px; }
.view { display: none; }
.view.active { display: block; }
.eyebrow { display: inline-block; margin-bottom: 8px; color: var(--gold); font-size: .77rem; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2rem,4vw,3.8rem); line-height: 1; }
h2 { margin-bottom: 10px; font-size: clamp(1.5rem,3vw,2.45rem); line-height: 1.05; }
h3 { margin-bottom: 10px; }
p { color: var(--muted); line-height: 1.6; }
.welcome-band { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.7fr); min-height: 350px; overflow: hidden; border-radius: 8px; background: var(--navy); box-shadow: var(--shadow); }
.welcome-band > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,5vw,58px); }
.welcome-band h1, .welcome-band p { color: #fff; }
.welcome-band p { color: #d5e1e8; }
.welcome-band .primary { align-self: flex-start; }
.welcome-band img { width: 100%; height: 100%; object-fit: cover; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.metric { min-height: 132px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; box-shadow: var(--shadow); }
.metric span, .metric small { display: block; color: var(--muted); }
.metric strong { display: block; margin: 7px 0; color: var(--green-dark); font-size: 2rem; }
.content-band { margin-top: 26px; padding: 26px 0; border-top: 1px solid var(--line); }
.dashboard-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--line); }
.section-heading { max-width: 850px; margin-bottom: 20px; }
.service-list, .document-list, .payment-list, .ticket-list { display: grid; gap: 12px; }
.service-row, .document-row, .payment-row, .ticket-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 8px; padding: 17px; background: #fff; box-shadow: var(--shadow); }
.service-row p, .document-row p, .payment-row p, .ticket-row p { margin-bottom: 0; }
.status { display: inline-flex; align-items: center; min-height: 28px; border-radius: 8px; padding: 0 10px; background: var(--gold-soft); color: #734600; font-size: .79rem; font-weight: 900; }
.status.green { background: var(--green-soft); color: var(--green-dark); }
.status.red { background: #fdeceb; color: var(--red); }
.service-highlights { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.service-highlights button { min-height: 140px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; text-align: left; box-shadow: var(--shadow); }
.service-highlights strong, .service-highlights span { display: block; }
.service-highlights strong { margin-bottom: 8px; color: var(--navy); font-size: 1.05rem; }
.service-highlights span { color: var(--muted); line-height: 1.45; }
.request-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 18px; align-items: start; }
.request-form, .profile-form, .support-form, .support-contact { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: #fff; box-shadow: var(--shadow); }
.stepper { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.stepper button { min-height: 38px; border: 0; border-radius: 8px; padding: 0 12px; background: #e8edf0; color: var(--muted); font-weight: 850; }
.stepper button.active { background: var(--navy); color: #fff; }
.wizard-step { display: none; }
.wizard-step.active { display: block; }
.service-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.service-option { min-height: 82px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; color: var(--ink); text-align: left; font-weight: 850; }
.service-option.active { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.service-description { display: grid; grid-template-columns: minmax(0,1fr) 160px; align-items: center; gap: 15px; margin-top: 14px; border-left: 4px solid var(--green); border-radius: 6px; padding: 15px; background: var(--green-soft); }
.service-description h3 { margin-bottom: 6px; color: var(--green-dark); }
.service-description p { margin-bottom: 0; color: #315f51; }
.service-description img { width: 160px; height: 108px; border-radius: 6px; object-fit: cover; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: #344450; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #cbd7de; border-radius: 8px; padding: 0 11px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; padding-top: 10px; resize: vertical; }
.dynamic-fields { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.step-guidance, .contract-notice { border-left: 4px solid var(--gold); border-radius: 6px; padding: 13px 15px; background: var(--gold-soft); color: #5f460f; }
.contract-notice { max-width: 900px; margin-bottom: 16px; border: 1px solid #eed8a7; border-left: 4px solid var(--gold); }
.contract-notice p { margin: 6px 0 0; color: #6c5728; }
.contractor-summary { margin-top: 15px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; }
.contractor-summary h3 { margin-bottom: 8px; font-size: 1rem; }
.contractor-summary p { margin-bottom: 4px; }
.check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.check-grid label, .terms { display: flex; align-items: center; gap: 9px; min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #fbfcfd; }
.check-grid input, .terms input { width: 18px; min-height: 18px; }
.upload-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.upload-box { min-height: 135px; align-content: center; border: 2px dashed #b8c7d0; border-radius: 8px; padding: 13px; background: #fafcfd; text-align: center; }
.upload-box strong, .upload-box span { display: block; }
.upload-box span { margin: 5px 0 10px; color: var(--muted); font-size: .82rem; }
.upload-box input { min-height: 35px; font-size: .8rem; }
.schedule-preview, .final-summary { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border-radius: 8px; background: #edf4f6; }
.schedule-item, .summary-line { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid #d5e1e6; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.estimate { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.estimate p { color: #c7d6df; }
.estimate-price { display: block; margin: 8px 0 18px; color: #fff; font-size: 2.7rem; font-weight: 950; }
.estimate-lines { display: grid; gap: 10px; }
.estimate-line { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.15); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 13px; background: #fff; font-weight: 800; }
.filter.active { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.completed-service { border-color: #b9d8cb; border-left: 4px solid var(--green); background: #fbfefc; }
.completed-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.completed-summary span { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--muted); font-size: .86rem; }
.completed-summary strong { color: var(--navy); }
@media (max-width: 640px) { .completed-summary { grid-template-columns: 1fr; } }
.support-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.65fr); gap: 18px; margin-bottom: 22px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 50; max-width: 360px; border-radius: 8px; padding: 14px 17px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
@media (max-width: 1050px) { .metrics, .service-highlights { grid-template-columns: repeat(2,minmax(0,1fr)); } .request-layout, .support-layout, .dashboard-columns { grid-template-columns: 1fr; } .estimate { position: static; } }
@media (max-width: 760px) { .topbar { padding: 10px 14px; } .menu-button { display: block; } .brand small, .connection, .top-actions [data-guest-only] { display: none; } .top-actions .primary { display: none; } .sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); } .sidebar.open { transform: translateX(0); } .main { margin-left: 0; padding: 92px 16px 40px; } .welcome-band { grid-template-columns: 1fr; } .welcome-band img { max-height: 230px; order: -1; } .service-picker, .upload-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .metrics, .service-highlights, .form-grid, .check-grid, .service-picker, .upload-grid, .service-description { grid-template-columns: 1fr; } .service-description img { width: 100%; height: 150px; } .service-row, .document-row, .payment-row, .ticket-row { grid-template-columns: 1fr; } .wizard-actions { display: grid; } .wizard-actions button { width: 100%; } .estimate-price { font-size: 2.25rem; } }
.proposal-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px; border:1px solid #d5e0e6; background:#fff; }
.proposal-card h3 { margin:8px 0 4px; }
.proposal-card p { margin:0 0 8px; color:#607384; }
.proposal-decision { display:grid; justify-items:end; gap:12px; min-width:220px; }
.proposal-decision > strong { font-size:1.5rem; color:#08263b; }
.proposal-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
@media (max-width: 700px) { .proposal-card { align-items:stretch; flex-direction:column; } .proposal-decision { justify-items:stretch; min-width:0; } .proposal-actions > * { flex:1; } }
.barcode{max-width:560px;margin:10px 0 4px;padding:9px;border:1px dashed #9aabb5;background:#f6f8f9;color:#243743;font-family:Consolas,monospace;overflow-wrap:anywhere}.boleto-actions{margin-top:10px}

/* Refinamento visual 2026 — área do cliente */
:root {
  --paper: #f5f8f7;
  --surface: #ffffff;
  --surface-soft: #f8fbfa;
  --line: #dce7e3;
  --green: #0a8062;
  --green-dark: #075d48;
  --green-soft: #e8f6f1;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 18px rgba(10, 34, 55, .06);
  --shadow: 0 18px 50px rgba(10, 34, 55, .09);
}

body {
  background:
    radial-gradient(circle at 82% 5%, rgba(10, 128, 98, .08), transparent 24rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

button, a, input, select, textarea { transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(10, 128, 98, .2);
  outline-offset: 2px;
}

.topbar {
  min-height: 76px;
  padding-inline: 28px;
  border-bottom-color: rgba(10, 34, 55, .08);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 4px 24px rgba(10, 34, 55, .04);
}
.brand-mark { border-radius: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 6px 16px rgba(215,147,21,.18); }
.brand strong { letter-spacing: .055em; }
.brand small { margin-top: 2px; font-size: .76rem; }
.connection { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding-inline: 12px; }
.connection::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(112,69,0,.08); }
.connection.online::before { box-shadow: 0 0 0 4px rgba(8,119,91,.1); }

.primary, .secondary { min-height: 44px; border-radius: 11px; padding-inline: 18px; }
.primary { box-shadow: 0 7px 18px rgba(8,119,91,.18); }
.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(8,119,91,.23); }
.secondary:hover { background: #dde6e8; color: var(--navy); }

.sidebar {
  inset-block-start: 76px;
  width: 264px;
  padding: 26px 18px 20px;
  border-right: 0;
  background:
    radial-gradient(circle at 10% 92%, rgba(10,128,98,.32), transparent 15rem),
    linear-gradient(180deg, #0b293f, #071d2e);
}
.sidebar nav { gap: 8px; }
.nav-item {
  position: relative;
  min-height: 48px;
  border-radius: 12px;
  padding: 11px 14px 11px 44px;
  color: #c8d7df;
}
.nav-item::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 20px;
  transform: translateY(-50%);
  color: #8eabb9;
  font-size: 1rem;
  text-align: center;
}
.nav-item[data-route="solicitar"]::before { content: "+"; font-size: 1.35rem; font-weight: 500; }
.nav-item[data-route="cadastro"]::before { content: "◯"; }
.nav-item[data-route="servicos"]::before { content: "✓"; }
.nav-item[data-route="documentos"]::before { content: "▤"; }
.nav-item[data-route="pagamentos"]::before { content: "$"; font-weight: 900; }
.nav-item[data-route="suporte"]::before { content: "?"; font-weight: 900; }
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,.1); box-shadow: inset 3px 0 0 var(--gold); transform: translateX(2px); }
.nav-item:hover::before, .nav-item.active::before { color: #f3c65c; }
.trust-box { border-radius: 15px; padding: 17px; backdrop-filter: blur(8px); }
.trust-box strong { font-size: 1.18rem; color: #fff; }

.main { max-width: 1700px; margin-left: 264px; padding: 112px clamp(24px,4vw,60px) 64px; }
.view.active { animation: view-in .34s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.eyebrow { margin-bottom: 10px; letter-spacing: .11em; }
.section-heading p { max-width: 680px; }
h1 { letter-spacing: -.035em; }
h2 { letter-spacing: -.025em; }

.welcome-band {
  position: relative;
  grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr);
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #071f32 0%, #0b344a 62%, #0a8062 140%);
}
.welcome-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 48%, rgba(7,31,50,.2) 64%, transparent);
}
.welcome-band > div { position: relative; z-index: 1; max-width: 760px; }
.welcome-band h1 { font-size: clamp(2.6rem,5vw,4.8rem); }
.welcome-band p { max-width: 610px; font-size: 1.04rem; }
.welcome-band img { filter: saturate(.83) contrast(1.04); }

.metrics { gap: 16px; margin-top: 22px; }
.metric {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.metric::after { content: ""; position: absolute; inset: auto -24px -30px auto; width: 90px; height: 90px; border-radius: 50%; background: var(--green-soft); opacity: .8; }
.metric strong { position: relative; z-index: 1; font-size: clamp(1.55rem,2.4vw,2.2rem); letter-spacing: -.04em; }

.content-band, .dashboard-columns { margin-top: 32px; padding-top: 32px; }
.service-row, .document-row, .payment-row, .ticket-row, .proposal-card {
  border-radius: var(--radius);
  padding: 19px 20px;
  box-shadow: var(--shadow-sm);
}
.service-row:hover, .document-row:hover, .payment-row:hover, .ticket-row:hover { border-color: #bdd5cc; box-shadow: 0 10px 28px rgba(10,34,55,.08); transform: translateY(-1px); }
.status { border-radius: 999px; padding-inline: 11px; }

.service-highlights { gap: 16px; }
.service-highlights button {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.service-highlights button::after { content: "→"; position: absolute; right: 20px; bottom: 16px; color: var(--green); font-size: 1.4rem; }
.service-highlights button:hover { border-color: #a9d1c3; background: var(--green-soft); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-highlights strong { max-width: 88%; line-height: 1.35; }

.request-form, .profile-form, .support-form, .support-contact, .estimate { border-radius: var(--radius); }
.request-form, .profile-form, .support-form, .support-contact { padding: clamp(20px,3vw,30px); box-shadow: var(--shadow-sm); }
.stepper { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stepper button, .service-option, .filter { border-radius: 11px; }
.stepper button.active { box-shadow: 0 6px 15px rgba(10,34,55,.15); }
.service-option:hover { border-color: #a9cfc1; transform: translateY(-1px); }
.service-option.active { box-shadow: inset 0 0 0 1px var(--green), 0 6px 16px rgba(8,119,91,.1); }
.service-description, .step-guidance, .contract-notice { border-radius: 12px; }

input, select, textarea { min-height: 48px; border-radius: 11px; background: #fcfdfd; }
input:hover, select:hover, textarea:hover { border-color: #9db5ab; }
input:focus, select:focus, textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(10,128,98,.09); outline: 0; }
.check-grid label, .terms, .upload-box { border-radius: 12px; }
.upload-box:hover { border-color: var(--green); background: var(--green-soft); }
.estimate { top: 96px; padding: 26px; background: linear-gradient(155deg, #0b2d44, #071e30); }
.estimate-price { color: #bfeedd; letter-spacing: -.05em; }
.toast { border-radius: 13px; }

@media (max-width: 760px) {
  .topbar { min-height: 68px; padding-inline: 14px; }
  .sidebar { inset-block-start: 68px; width: min(86vw, 300px); }
  .main { margin-left: 0; padding: 88px 16px 44px; }
  .welcome-band { min-height: 0; border-radius: 18px; }
  .welcome-band > div { padding: 28px 24px 32px; }
  .welcome-band h1 { font-size: 2.55rem; }
  .welcome-band img { max-height: 210px; }
}

@media (max-width: 520px) {
  .metrics { gap: 10px; }
  .metric { min-height: 120px; padding: 17px; }
  .service-highlights button { min-height: 138px; }
  .service-row, .document-row, .payment-row, .ticket-row { padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
