:root {
  --mc-blue: #184080;
  --mc-blue-deep: #122e5e;
  --mc-footer-bg: #2d428f;
  --mc-green: #a0c838;
  --mc-green-hi: #b4d84a;
  --mc-yellow: #fff000;
  --mc-ink: #122033;
  --mc-muted: #5b6475;
  --mc-line: #d8dde6;
  --mc-paper: #f4f6f8;
  --mc-white: #ffffff;
  --header-h: 76px;
  --footer-h: 112px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--mc-ink);
  background: var(--mc-white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea {
  font: inherit;
}
address { font-style: normal; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

.wrap {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: var(--safe-top);
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mc-line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
.wordmark {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 28px;
}
.medida { color: var(--mc-blue); text-transform: lowercase; }
.certa { color: var(--mc-green); text-transform: lowercase; }
.medida .dot {
  position: relative;
  color: var(--mc-blue);
}
.medida .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.1em;
  width: 0.28em;
  height: 0.34em;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  background: var(--mc-green);
}
.brand-sub {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mc-blue);
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}
.nav a,
.nav-link {
  text-decoration: none;
  color: var(--mc-blue-deep);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav a:hover,
.nav-link:hover { color: var(--mc-blue); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.ar-user-menu { position: relative; }
.ar-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  background: #fff;
  color: var(--mc-blue);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ar-user-chevron {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.ar-user-trigger[aria-expanded="true"] .ar-user-chevron {
  margin-top: 3px;
  transform: rotate(-135deg);
}
.ar-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 240px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.ar-user-info {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ececec;
}
.ar-user-row { display: flex; gap: 6px; font-size: 13px; }
.ar-user-label { color: #777; font-weight: 600; }
.ar-user-value { color: #333; word-break: break-word; }
.ar-user-logout {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #337ab7;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ar-user-logout:hover { background: #f5f5f5; }
.nav-toggle, .nav-mobile { display: none; }
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn-navy { background: var(--mc-blue); color: #fff; }
.btn-navy:hover { background: var(--mc-blue-deep); }
.btn-yellow { background: var(--mc-yellow); color: #111; }
.btn-yellow:hover { filter: brightness(0.96); }
.btn-outline { background: #fff; border-color: var(--mc-blue); color: var(--mc-blue); }
.btn-ghost { background: transparent; color: var(--mc-blue); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }
.btn[hidden],
.guest-actions[hidden],
.social-follow[hidden],
[data-bind="facebook"][hidden] { display: none !important; }

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h) - var(--footer-h) - 8px);
  background-color: #f4f8fc;
  background-image: url("/images/estudio-grafico-fundo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: clip;
}
.ruler {
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--mc-blue) 0 2px,
      transparent 2px 16px
    );
  opacity: 0.18;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 48px;
  min-height: inherit;
  padding: 72px 0 80px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--mc-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; }
h1 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 62px); color: var(--mc-blue); }
h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); color: var(--mc-blue); }
.lead, .hero-note, .section p { color: var(--mc-muted); }
.hero-copy { display: grid; gap: 16px; }
.hero-copy h1 { margin-bottom: 0; }
.hero-copy .panel-card .lead,
.hero-copy .panel-card .hero-note { margin: 0; }
.hero-copy .panel-card .hero-note a { color: var(--mc-blue); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.hero-note { font-size: 14px; }
.hero-panel { display: grid; gap: 12px; }
.panel-card {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.06);
}
.panel-card-soft { background: #f7f9ee; }
.panel-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--mc-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel-atendimento {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.panel-phone {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--mc-blue);
  text-decoration: none;
}
.panel-phone[href]:hover { text-decoration: underline; }
a[data-bind="tel"]:not([href]) {
  cursor: default;
  text-decoration: none;
  pointer-events: none;
}
.panel-ou {
  color: var(--mc-muted);
  font-weight: 700;
}
.panel-wa {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
}
.panel-wa svg { width: 26px; height: 26px; }
.panel-wa:hover { filter: brightness(1.06); }
.text-link { color: var(--mc-blue); font-weight: 700; }
.social-follow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #1877f2;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.28);
}
.social-follow:hover { filter: brightness(1.06); }
.social-follow-copy {
  display: grid;
  gap: 4px;
}
.social-follow-copy strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.social-follow-copy span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
}
.social-facebook {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #1877f2;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
}
.social-facebook svg { width: 26px; height: 26px; }

.strip {
  background: var(--mc-yellow);
  color: #111;
}
.strip-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.strip p { margin: 0; font-size: 22px; font-weight: 800; }

.section { padding: 72px 0; }
.section-alt { background: var(--mc-paper); }
.section-fluxo {
  background-color: #f4f8fc;
  background-image: url("/images/fluxo-impressao-entrega.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-bottom: calc(220px + var(--footer-h));
}
.section-fluxo .steps li {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(18, 32, 51, 0.06);
}
.section-head { max-width: 720px; margin-bottom: 32px; }

.vitrine-blocos {
  display: grid;
  gap: 48px;
}
.vitrine-mais {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 48px 0 0;
  color: var(--mc-blue);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}
.vitrine-secao-head {
  margin-bottom: 18px;
}
.vitrine-secao-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--mc-blue);
}
.vitrine-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: 5px 5px 16px rgba(85, 85, 85, 0.1);
}
.product-card:hover { transform: translateY(-2px); }
.product-visual {
  height: 108px;
  background:
    linear-gradient(135deg, #184080 0%, #2d428f 55%, #a0c838 140%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.product-visual img {
  width: 100%;
  height: 108px;
  object-fit: cover;
}
.product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #054786;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-body p {
  margin: 0;
  color: #222;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  margin-top: auto;
  color: var(--mc-blue);
  font-weight: 800;
  font-size: 12px;
}
.product-cta { color: var(--mc-blue); font-weight: 700; font-size: 13px; }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: start;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--mc-line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mc-yellow);
  color: #111;
  font-weight: 800;
}
.steps strong {
  display: block;
  align-self: center;
  color: var(--mc-blue);
  margin: 0;
}
.steps span {
  grid-column: 2;
  color: var(--mc-muted);
  font-size: 14px;
  margin-top: 6px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.checklist { padding-left: 18px; color: var(--mc-blue); font-weight: 700; }
.form-card {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
}
.form-card label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mc-blue);
}
.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
}
.field-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--mc-muted);
  line-height: 1.35;
}
.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid #cfd6e0;
  border-radius: 8px;
  padding: 10px 12px;
  color: #122033;
  background: #fff;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: 2px solid #18408055;
  border-color: var(--mc-blue);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span-2 { grid-column: span 2; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.form-msg { margin: 0; font-size: 14px; }
.form-msg:not([hidden]) {
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 420px);
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.06);
  font-weight: 600;
  text-align: center;
}
.sheet-card .form-msg {
  box-sizing: border-box;
  justify-self: center;
  width: fit-content;
  min-width: min(100%, 360px);
  max-width: min(100%, 420px);
  min-height: 36px;
}
.sheet-card .form-msg[hidden] {
  display: block !important;
  visibility: hidden;
}
.form-msg.error { color: #9e2d1b; }
.form-msg.ok { color: #2d713a; }
.cep-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--mc-muted);
}
.cep-status.error { color: #9e2d1b; }
.cep-status.ok { color: #2d713a; }
input[data-cep][aria-busy="true"] { opacity: 0.75; }
.recaptcha-host { min-height: 78px; display: flex; justify-content: center; }
.muted { color: var(--mc-muted); }

.contact-card {
  display: grid;
  gap: 8px;
  margin: 16px 0 24px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--mc-line);
}
.contact-card a { color: var(--mc-blue); text-decoration: none; }
.contact-card a[href]:hover { text-decoration: underline; }
.map-wrap {
  min-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--mc-line);
  box-shadow: 0 16px 40px rgba(18, 32, 51, 0.1);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }

#conteudo {
  padding-bottom: calc(var(--footer-h) + var(--safe-bottom) + 24px);
}

.ar-site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  border-top: 3px solid var(--mc-yellow, #fff000);
  background: var(--mc-footer-bg, #2d428f);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -8px 24px rgba(18, 32, 51, 0.18);
}
.ar-site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  padding: 12px 18px 14px;
}
.ar-site-footer-address-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  opacity: 0.95;
}
.ar-site-footer-address-link:hover { text-decoration: underline; }
.ar-site-footer-pin {
  display: inline-flex;
  width: 28px;
  height: 28px;
}
.ar-site-footer-pin svg { width: 28px; height: 28px; fill: currentColor; }
.ar-site-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 220px;
}
.ar-site-footer-contact a {
  display: inline-flex;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.ar-site-footer-contact .phone {
  color: var(--mc-yellow);
  font-size: 18px;
  font-weight: 800;
}
.ar-site-footer-contact .site { font-weight: 600; }
.ar-site-footer-contact .email { color: var(--mc-yellow); font-weight: 700; }

.wa-fab {
  position: fixed;
  right: 16px;
  bottom: calc(var(--footer-h) + var(--safe-bottom) + 28px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 6px;
  border-radius: 999px;
  background: #15307a;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.28);
}
.wa-fab-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
}
.wa-fab-icon svg { width: 26px; height: 26px; }
.wa-fab-label { color: #fff; font-size: 20px; font-weight: 700; }

.sheet-dialog,
.login-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: calc(100% - 24px);
}
.login-dialog { max-width: 380px; }
.sheet-dialog {
  width: min(1400px, calc(100vw - 40px));
  max-width: none;
  max-height: 96vh;
}
.sheet-dialog::backdrop,
.login-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mc-blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 64, 128, 0.28);
  cursor: pointer;
}
.modal-close svg {
  width: 15px;
  height: 15px;
}
.modal-close:hover { background: var(--mc-blue-deep); }
.modal-close:focus-visible {
  outline: 2px solid var(--mc-green);
  outline-offset: 2px;
}
.sheet-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 96vh;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--mc-line);
  border-radius: 16px;
  background: #f7fbfe;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
}
.sheet-card {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  padding: 12px 22px 10px;
  gap: 6px;
  background: transparent;
  border: 0;
}
.sheet-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 32%, #000 100%);
}
.sheet-submit {
  width: auto;
  min-width: 200px;
  max-width: 240px;
  justify-self: center;
}
.sheet-card .eyebrow { margin-bottom: 0; }
.sheet-card h2 {
  margin: 0;
  font-size: 20px;
}
.sheet-card > .muted {
  margin: 0 0 2px;
  font-size: 13px;
}
.acesso-aviso {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #f0c4b8;
  border-radius: 8px;
  background: #fff6f4;
  color: #9e2d1b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.acesso-aviso strong {
  display: inline;
  text-transform: uppercase;
}
.doc-field { position: relative; }
.doc-status {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  z-index: 2;
  font-size: 11px;
  line-height: 1.2;
  pointer-events: none;
}
.doc-status.error { color: #9e2d1b; }
.doc-status.ok { color: #2d713a; }
.acesso-docs {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.3fr);
  gap: 6px 18px;
  align-items: start;
  margin: 2px 0 0;
  padding: 6px 12px 8px;
  border: 1px solid var(--mc-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  min-width: 0;
}
.acesso-docs[hidden] { display: none !important; }
.acesso-docs legend {
  grid-column: 1 / -1;
  padding: 0 6px;
  color: var(--mc-blue);
  font-size: 13px;
  font-weight: 800;
}
.acesso-docs ul {
  margin: 0;
  padding-left: 18px;
  color: var(--mc-ink);
  font-size: 12px;
  font-weight: 600;
}
.acesso-docs li { margin: 1px 0; }
.acesso-docs-files {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
.file-upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  width: fit-content;
  max-width: 100%;
  cursor: pointer;
}
.file-upload-text {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.file-upload-label {
  color: var(--mc-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.file-upload-name {
  color: var(--mc-muted);
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload-name.has-file { color: #2d713a; }
.file-upload-btn {
  order: -1;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--mc-blue);
  color: #fff;
}
.file-upload-btn svg {
  width: 18px;
  height: 18px;
}
.file-upload:hover .file-upload-btn { background: var(--mc-blue-deep); }
.file-upload:has(input:focus-visible) .file-upload-btn {
  outline: 2px solid #18408066;
  outline-offset: 2px;
}
.acesso-docs-hint {
  margin: 0;
  color: var(--mc-muted);
  font-size: 12px;
  font-weight: 600;
}
.acesso-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 12px;
  align-items: start;
}
.acesso-grid .span-2 { grid-column: span 2; }
.acesso-grid .span-3 { grid-column: span 3; }
.acesso-grid .span-4 { grid-column: 1 / -1; }
.acesso-grid .col-uf { max-width: 88px; }
.sheet-card label { gap: 4px; }
.sheet-card input,
.sheet-card textarea { padding: 8px 10px; }
.sheet-card textarea { min-height: 40px; resize: vertical; }
.sheet-card .recaptcha-host { min-height: 78px; margin-top: 0; }
.cep-field { position: relative; }
.cep-status {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  z-index: 2;
  font-size: 11px;
  line-height: 1.2;
  pointer-events: none;
}
.login-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
}
.login-logo-card {
  display: grid;
  place-items: center;
  padding: 14px 12px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  background: #eef1f5;
}
.login-logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.login-card h2 {
  margin: 8px 0 4px;
  font-size: 18px;
  color: #333;
}
.login-card input[type="email"],
.login-card input[type="password"] {
  width: 100%;
  border: 1px solid #cfd6e0;
  border-radius: 6px;
  padding: 10px 12px;
}
.remember { font-size: 14px; color: #333; display: flex; gap: 8px; align-items: center; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d0d4da;
}
.google-gis { display: flex; justify-content: center; min-height: 44px; }
.btn-google {
  background: #fff;
  border: 1px solid #747775;
  color: #1f1f1f;
  font-weight: 600;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--footer-h);
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  color: var(--mc-blue);
}
.mc-overlay[hidden] { display: none; }
.mc-ruler {
  position: relative;
  height: 28px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
}
.mc-ruler-track {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.mc-ruler-tick {
  width: 2px;
  height: 8px;
  border-radius: 1px;
  background: #a0a8a8;
  transform-origin: bottom;
  animation: mc-tick 2.2s ease-in-out infinite;
}
.mc-ruler-tick--tall { height: 14px; }
.mc-ruler-tick--drop {
  width: 7px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--mc-green);
  transform: rotate(180deg);
  margin-bottom: 2px;
}
.mc-ruler-fill {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 8px;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--mc-blue), var(--mc-green));
  animation: mc-ruler 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.mc-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
}
.mc-overlay-logo {
  height: 88px;
  width: auto;
  max-width: min(360px, 82vw);
  object-fit: contain;
}
.mc-message {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--mc-muted);
}
.mc-bar {
  width: min(320px, 70vw);
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  position: relative;
}
.mc-bar-fill {
  position: absolute;
  inset: 0;
  width: 45%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mc-blue), var(--mc-green), var(--mc-green-hi));
  animation: mc-load 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.mc-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: mc-shimmer 2.2s linear infinite;
}
@keyframes mc-load {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}
@keyframes mc-ruler {
  0% { transform: scaleX(0); opacity: 0.35; }
  40% { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}
@keyframes mc-tick {
  0%, 100% { opacity: 0.3; transform: scaleY(0.55); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes mc-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@media (min-width: 981px) and (max-width: 1200px) {
  .sheet-dialog { zoom: 0.9; }
}
@media (min-width: 981px) and (max-height: 880px) {
  .sheet-dialog { zoom: 0.9; }
}
@media (min-width: 981px) and (max-height: 780px) {
  .sheet-dialog { zoom: 0.8; }
}
@media (max-width: 1100px) {
  .vitrine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vitrine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero {
    min-height: 0;
    background-size: cover;
    background-position: center 42%;
  }
  .hero-grid { padding: 48px 0 56px; }
  .section-fluxo { padding-bottom: 160px; background-size: 160% auto; }
  .hero-grid, .split, .steps { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-cta .ar-user-menu { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--mc-line);
    border-radius: 8px;
    color: var(--mc-blue);
    cursor: pointer;
  }
  .nav-mobile {
    display: grid;
    gap: 4px;
    padding: 8px 20px 16px;
    border-top: 1px solid var(--mc-line);
    background: #fff;
  }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile > a,
  .nav-mobile > .nav-link,
  .nav-mobile > .btn {
    justify-self: start;
    text-align: left;
    min-height: 42px;
    padding: 10px 0;
  }
  .nav-mobile-user {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--mc-line);
  }
  .nav-mobile-user[hidden] { display: none; }
  .nav-mobile-user-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--mc-blue);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .nav-mobile-chevron {
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .nav-mobile-user-toggle[aria-expanded="true"] .nav-mobile-chevron {
    transform: translateY(2px) rotate(-135deg);
  }
  .nav-mobile-user-menu {
    display: grid;
    gap: 2px;
    padding: 0 0 8px 12px;
  }
  .nav-mobile-user-menu[hidden] { display: none; }
  .nav-mobile-user-menu a,
  .nav-mobile-user-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--mc-blue);
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .grid-2, .span-2 { grid-template-columns: 1fr; grid-column: auto; }
  .sheet-dialog {
    width: calc(100% - 16px);
    max-width: none;
    zoom: 1;
  }
  .sheet-frame { max-height: min(94vh, 900px); }
  .sheet-card {
    max-height: none;
    overflow: auto;
    padding: 14px 14px 12px;
  }
  .sheet-art { height: 120px; }
  .acesso-grid {
    grid-template-columns: 1fr;
  }
  .acesso-grid .span-2,
  .acesso-grid .span-3,
  .acesso-grid .span-4,
  .acesso-grid .col-uf {
    grid-column: auto;
    max-width: none;
  }
  .acesso-docs,
  .acesso-docs-files { grid-template-columns: 1fr; }
  :root { --footer-h: 176px; }
  .ar-site-footer-inner { flex-direction: column; }
  .ar-site-footer-contact { align-items: flex-start; }
}
