:root { --azul: #082e61; --azul-claro: #eaf0f7; --dourado: #b2822c; --texto: #17253a; --linha: #cbd3dc; font-family: Arial, Helvetica, sans-serif; color: var(--texto); background: #e7ebef; }
* { box-sizing: border-box; }
body { margin: 0; padding: 42px 20px; }
.documento { position: relative; width: min(100%, 920px); min-height: 1120px; margin: auto; padding: 49px 55px 34px; overflow: hidden; background: #fff; box-shadow: 0 4px 28px #1b2d421f; }
.marca-dagua { position: absolute; z-index: 0; top: 48%; left: 50%; width: 760px; color: #b2822c11; font-size: 62px; font-weight: 800; letter-spacing: .08em; text-align: center; transform: translate(-50%, -50%) rotate(-35deg); white-space: nowrap; }
.cabecalho-documento { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 15px; padding-bottom: 24px; border-bottom: 3px solid var(--azul); }
.selo { width: 64px; height: 64px; display: grid; place-items: center; border: 2px solid var(--dourado); border-radius: 50%; color: var(--dourado); font-family: Georgia, serif; font-size: 34px; box-shadow: inset 0 0 0 4px white, inset 0 0 0 5px var(--dourado); }
.cabecalho-documento p, .cabecalho-documento h1, .cabecalho-documento small { display: block; margin: 0; }.cabecalho-documento p { color: #617188; font-size: 10px; font-weight: 700; letter-spacing: .1em; }.cabecalho-documento h1 { margin: 4px 0; color: var(--azul); font-family: Georgia, serif; font-size: 23px; letter-spacing: .055em; }.cabecalho-documento small { color: var(--dourado); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.numero-documento { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: 25px; border-left: 1px solid var(--linha); text-align: right; }.numero-documento span { color: #65758a; font-size: 9px; font-weight: 700; letter-spacing: .08em; }.numero-documento strong { margin-top: 5px; color: var(--azul); font-size: 15px; }
.faixa { position: relative; display: flex; justify-content: space-between; gap: 20px; margin: 22px 0 28px; padding: 10px 14px; background: var(--azul-claro); color: var(--azul); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
section { position: relative; margin-top: 27px; } h2 { margin: 0 0 13px; padding-bottom: 7px; border-bottom: 1px solid var(--linha); color: var(--azul); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dados { display: grid; gap: 17px 25px; margin: 0; }.grade-tres { grid-template-columns: repeat(3, 1fr); }.grade-dois { grid-template-columns: repeat(2, 1fr); }.dados div { min-width: 0; }.dados dt { margin-bottom: 5px; color: #748197; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }.dados dd { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.35; }
.historico { margin: 0; font-size: 12px; line-height: 1.7; text-align: justify; }.declaracao { margin-top: 42px; }.declaracao > p { margin: 0; color: #526176; font-size: 11px; }.assinatura { width: 270px; margin: 48px 0 0 auto; padding-top: 9px; border-top: 1px solid #6d7783; text-align: center; }.assinatura span, .assinatura small { display: block; }.assinatura span { font-size: 11px; font-weight: 700; }.assinatura small { margin-top: 4px; color: #6c788b; font-size: 9px; }
.rodape-documento { position: relative; display: grid; grid-template-columns: 1fr 1fr 48px; align-items: center; gap: 22px; margin-top: 43px; padding-top: 17px; border-top: 1px solid var(--linha); }.rodape-documento div:not(.qr) strong, .rodape-documento div:not(.qr) span { display: block; }.rodape-documento strong { margin-bottom: 4px; color: #63738a; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }.rodape-documento span { font-size: 10px; font-weight: 600; }.qr { width: 45px; height: 45px; justify-self: end; background: repeating-linear-gradient(90deg, #142b4b 0 3px, transparent 3px 5px), repeating-linear-gradient(#142b4b 0 3px, transparent 3px 6px); border: 4px solid #142b4b; }
@media print { :root { background: white; } body { padding: 0; } .documento { width: 100%; min-height: 0; box-shadow: none; } }
@media (max-width: 640px) { body { padding: 0; }.documento { padding: 28px 22px; box-shadow: none; }.cabecalho-documento { grid-template-columns: 52px 1fr; }.selo { width: 47px; height: 47px; font-size: 25px; }.cabecalho-documento h1 { font-size: 17px; }.numero-documento { grid-column: 1 / -1; align-items: flex-start; padding: 12px 0 0; border-top: 1px solid var(--linha); border-left: 0; text-align: left; }.faixa { align-items: flex-start; flex-direction: column; gap: 4px; }.grade-tres, .grade-dois { grid-template-columns: 1fr; gap: 13px; }.rodape-documento { grid-template-columns: 1fr 48px; }.rodape-documento div:nth-child(2) { display: none; }.marca-dagua { font-size: 33px; } }

/* Painel e página de consentimento */
.card { width: min(100%, 960px); margin: 38px auto; padding: 40px; border: 1px solid var(--linha); background: white; box-shadow: 0 4px 28px #1b2d4214; }.card h1 { margin: 0 0 18px; color: var(--azul); font-family: Georgia, serif; }.card h2 { margin: 0 0 8px; }.eyebrow, .tracking-kicker { margin: 0 0 9px; color: var(--dourado); font-size: 10px; font-weight: 800; letter-spacing: .13em; }.intro { color: #63738a; font-size: 13px; }.card label { display: block; margin: 16px 0 7px; color: #45566e; font-size: 12px; font-weight: 700; }.card input { width: 100%; padding: 11px; border: 1px solid var(--linha); outline: none; }.card input:focus { border-color: var(--azul); }.card button, .consent-card button { padding: 11px 16px; border: 0; background: var(--azul); color: white; cursor: pointer; font-weight: 700; }.card button:hover, .consent-card button:hover { background: #104785; }.card button.secondary { background: #e8edf3; color: var(--azul); }.dashboard-heading, .visits-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }.link-creator, .links-panel { margin-top: 31px; padding-top: 27px; border-top: 1px solid var(--linha); }.link-creator > p { margin: 0; color: #63738a; font-size: 12px; }.url-input { display: flex; align-items: stretch; }.url-input span { padding: 11px; border: 1px solid var(--linha); border-right: 0; background: #f4f6f8; color: #63738a; }.url-input input { min-width: 0; }.url-input button { white-space: nowrap; }.status { min-height: 1.3em; color: #4e657d; font-size: 12px; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; text-align: left; } th, td { padding: 11px 9px; border-bottom: 1px solid #e3e8ed; vertical-align: top; font-size: 12px; } th { color: #65758a; font-size: 10px; letter-spacing: .05em; text-transform: uppercase; } td { overflow-wrap: anywhere; }.view-visits { white-space: nowrap; font-size: 11px; }.tracking-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, #061a39, #103d73); }.consent-card { width: min(100%, 530px); padding: 42px; background: white; box-shadow: 0 15px 45px #0005; }.consent-card h1 { margin: 0 0 13px; color: var(--azul); font-family: Georgia, serif; font-size: 31px; }.consent-card > p { color: #526176; font-size: 14px; line-height: 1.6; }.consent-check { display: flex; align-items: flex-start; gap: 10px; margin: 25px 0 18px; padding: 14px; background: #f1f5f8; color: #354960; font-size: 12px; line-height: 1.45; }.consent-check input { width: auto; margin: 2px 0 0; accent-color: var(--azul); }.consent-card button { width: 100%; }.consent-card button:disabled { opacity: .65; cursor: wait; }.consent-card #status { min-height: 1.3em; margin: 12px 0 0; color: #526176; font-size: 12px; }
@media (max-width: 640px) { .card { margin: 0; padding: 25px 20px; border: 0; box-shadow: none; }.dashboard-heading, .visits-heading { align-items: flex-start; flex-direction: column; }.url-input { flex-wrap: wrap; }.url-input input { flex: 1; }.url-input button { width: 100%; }.consent-card { padding: 30px 24px; } }

.access-modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; }.modal-overlay { position: absolute; inset: 0; background: #071d42a8; backdrop-filter: blur(2px); }.modal-content { position: relative; z-index: 1; width: min(100%, 820px); max-height: min(76vh, 650px); overflow: auto; padding: 29px; border: 1px solid #d6dee7; background: #fff; box-shadow: 0 20px 65px #020a18a3; }.modal-content .table-wrap { margin-top: 22px; }
.access-modal[hidden] { display: none; }
.document-link-page { display: block; min-height: 100vh; padding: 38px 20px; background: #dfe5ea; }.document-link-page .preview-document { min-height: 1020px; transition: filter .45s ease, opacity .45s ease; }.document-link-page .preview-document.is-blurred { filter: blur(8px); opacity: .58; pointer-events: none; user-select: none; }.visitor-consent { position: fixed; z-index: 2; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); }.visitor-consent.is-complete { display: none; }
@media (max-width: 640px) { .document-link-page { padding: 0; }.document-link-page .preview-document { min-height: 900px; }.visitor-consent { width: calc(100% - 30px); } }
.link-document-page { margin: 0; padding: 0; overflow: hidden; background: #e7ebef; }.document-frame { width: 100%; height: 100vh; border: 0; }
.location-gate { position: fixed; z-index: 4; top: 50%; left: 50%; width: min(calc(100% - 40px), 440px); padding: 21px 25px; transform: translate(-50%, -50%); border: 1px solid #c8d2dd; background: #fff; box-shadow: 0 16px 46px #142b4b4d; text-align: center; }.location-status { margin: 0; color: #526176; font-size: 13px; line-height: 1.5; }.location-gate[hidden] { display: none; }
