/* Utax · modelos grátis para preencher e baixar (07/11/2026). Usa as cores de site.css. */
.mdl-ph { padding-bottom: 44px; }
.mdl-ph h1 { font-size: clamp(32px, 4.4vw, 50px); max-width: 920px; }
.mdl-ph .lead { max-width: 820px; }
.mdl-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mdl-tags li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
.mdl-tags .ic { width: 16px; height: 16px; color: var(--esm); }
.mdl-ancoras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mdl-ancoras a { background: var(--flo); color: #fff; text-decoration: none; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.mdl-ancoras a span { color: var(--lima); margin-left: 4px; }
.mdl-ancoras a:hover { background: var(--esm); }

/* formulário + prévia */
.mdl-sec { padding: 40px 0 72px; }
.mdl-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 32px; align-items: start; }
.mdl-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-sm); }
.mdl-form-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.mdl-form-h h2 { font-size: 22px; margin: 0; }
.mdl-form-acts { display: flex; gap: 14px; flex-wrap: wrap; }
.mdl-ir { display: none; }
.lnk { background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--esm); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lnk:hover { color: var(--esm-d); }
.mdl-intro { font-size: 15px; color: var(--muted); }
.mdl-intro p { margin: 0 0 .6em; }
.mdl-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 16px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.mdl-form legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--esm); padding: 0 8px 0 0; }
.fld { width: 100%; margin: 10px 0 0; }
.fld.meia { width: calc(50% - 7px); }
.fld label, .fld .lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--tinta); }
.fld .req { color: var(--esm); }
.fld input[type=text], .fld input[type=date], .fld input[type=time], .fld input[type=email], .fld input[type=tel], .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--tinta); background: var(--nev); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 12px; min-height: 44px; transition: border-color .15s, background .15s; }
.fld textarea { resize: vertical; line-height: 1.45; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--esm); background: #fff; box-shadow: 0 0 0 3px rgba(14, 122, 95, .15); }
.inp-g { display: flex; align-items: stretch; }
.inp-g .pre, .inp-g .suf { display: flex; align-items: center; padding: 0 10px; background: #E8EFEB; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.inp-g .pre { border-right: 0; border-radius: 12px 0 0 12px; }
.inp-g .suf { border-left: 0; border-radius: 0 12px 12px 0; }
.inp-g .pre + input { border-radius: 0 12px 12px 0; }
.inp-g input:not(:last-child) { border-radius: 12px 0 0 12px; }
.fld .aj { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.chk { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.chk input { width: 20px; height: 20px; accent-color: var(--esm); }
.tb-wrap { overflow-x: auto; }
.tb { width: 100%; border-collapse: collapse; min-width: 340px; }
.tb th { font-size: 12.5px; font-weight: 600; color: var(--muted); text-align: left; padding: 0 4px 4px; }
.tb td { padding: 3px 4px 3px 0; }
.tb input { width: 100%; font: inherit; font-size: 14.5px; background: var(--nev); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 9px; min-height: 40px; }
.tb input:focus { outline: none; border-color: var(--esm); background: #fff; }
.tb-x { width: 34px; }
.tb-del { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.tb-del:hover { background: #FBE9E7; color: #A3261B; }
.tb-add { margin-top: 6px; background: none; border: 1.5px dashed var(--esm); color: var(--esm); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tb-add:hover { background: rgba(14, 122, 95, .07); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mdl-priv { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.mdl-priv .ic { width: 18px; height: 18px; color: var(--esm); margin-top: 1px; }

.mdl-prev { position: sticky; top: 88px; }
.mdl-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mdl-bar .btn { cursor: pointer; }
.mdl-bar .btn .ic { width: 18px; height: 18px; }
.mdl-aviso { background: var(--lima); color: var(--flo); font-weight: 600; font-size: 14px; border-radius: 10px; padding: 8px 12px; margin: 0 0 10px; }
.doc-paper { background: #E9EFEC; border-radius: var(--r); padding: 18px; max-height: calc(100vh - 190px); overflow: auto; }
.doc-paper-ex { max-height: none; padding: 22px; }
.mdl-dica { font-size: 13px; color: var(--muted); margin: 10px 2px 0; }

/* o documento */
.doc { background: #fff; color: #161616; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.6; padding: 40px 44px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08); border-radius: 4px; max-width: 800px; margin: 0 auto; letter-spacing: 0; }
.doc h2 { font-family: inherit; font-size: 19px; text-align: center; letter-spacing: .02em; margin: 0 0 4px; color: #111; line-height: 1.3; }
.doc h3 { font-family: inherit; font-size: 15px; margin: 18px 0 6px; color: #111; letter-spacing: 0; }
.doc p { margin: 0 0 10px; text-align: justify; }
.doc ul, .doc ol { margin: 0 0 10px; padding-left: 22px; }
.doc li { margin: 2px 0; }
.doc .doc-sub { text-align: center; font-size: 12.5px; color: #555; margin-bottom: 18px; }
.doc .doc-dir { text-align: right; }
.doc .small { font-size: 12px; color: #555; }
.doc .box { border: 1px solid #999; border-radius: 3px; padding: 8px 12px; margin: 6px 0 12px; }
.doc .valor { font-size: 17px; font-weight: 700; }
.doc table.dt { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 13px; }
.doc table.dt th, .doc table.dt td { border: 1px solid #aaa; padding: 5px 8px; text-align: left; vertical-align: top; }
.doc table.dt th { background: #F1F3F2; font-weight: 700; }
.doc table.dt .n { text-align: right; white-space: nowrap; }
.doc table.dt tfoot td { background: #F7F8F7; }
.doc .ass { margin-top: 44px; text-align: center; page-break-inside: avoid; }
.doc .ass-l { border-top: 1px solid #222; width: 62%; margin: 0 auto; padding-top: 4px; font-size: 13px; }
.doc table.ass2 { width: 100%; border-collapse: collapse; margin-top: 8px; page-break-inside: avoid; }
.doc table.ass2 td { width: 50%; text-align: center; padding: 44px 8px 0; vertical-align: top; border: 0; }
.doc table.ass2 .ass-l { width: 90%; }
.doc .mv { background: #FFF3BF; color: #7A5B00; border-radius: 3px; padding: 0 4px; font-style: italic; font-size: .95em; }
.doc .mv-b { letter-spacing: 0; }

/* abaixo do formulário */
.mdl-split { align-items: start; }
.mdl-passos { margin: 18px 0 0; padding-left: 0; list-style: none; counter-reset: p; }
.mdl-passos li { counter-increment: p; position: relative; padding: 10px 0 10px 48px; border-bottom: 1px solid var(--line); }
.mdl-passos li::before { content: counter(p); position: absolute; left: 0; top: 9px; width: 32px; height: 32px; border-radius: 10px; background: var(--flo); color: var(--lima);
  font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.mdl-split .note { margin-top: 18px; }
.mdl-extra { margin-top: 36px; }
.mdl-ponte .hero-ctas { justify-content: flex-start; }
.mdl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mdl-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; color: inherit;
  box-shadow: var(--sh-sm); transition: transform .15s, border-color .15s; }
.mdl-card:hover { transform: translateY(-2px); border-color: var(--esm); }
.mdl-card b { color: var(--tinta); font-size: 16px; line-height: 1.3; }
.mdl-card span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.mdl-card-blog { background: var(--nev); border-style: dashed; }
.mdl-todos { margin: 26px 0 0; }
.mdl-todos .ic { width: 18px; height: 18px; }
.mdl-hub-sec { padding: 64px 0; }
.mdl-hub-sec .sec-head { margin-bottom: 26px; }

#print-area { display: none; }

@media (max-width: 980px) {
  .mdl-grid { grid-template-columns: minmax(0, 1fr); }
  .mdl-prev { position: static; scroll-margin-top: 84px; }
  .mdl-ir { display: inline; }
  .doc-paper { max-height: none; }
  .mdl-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .mdl-sec { padding: 24px 0 56px; }
  .mdl-form { padding: 18px 16px; }
  .fld.meia { width: 100%; }
  .doc-paper { padding: 8px; border-radius: 14px; }
  .doc { padding: 22px 18px; font-size: 13.5px; }
  .mdl-cards { grid-template-columns: minmax(0, 1fr); }
  .mdl-bar .btn { flex: 1 1 auto; justify-content: center; }
}

/* impressão: só o documento, em A4 */
@media print {
  @page { size: A4; margin: 18mm 16mm; }
  body { background: #fff !important; }
  body.mdl-js > *:not(#print-area) { display: none !important; }
  body.mdl-js #print-area { display: block !important; }
  #print-area .doc { box-shadow: none; padding: 0; max-width: none; font-size: 11pt; border-radius: 0; }
  #print-area .doc h2 { font-size: 15pt; }
  #print-area .doc table.dt { font-size: 10pt; }
  #print-area .doc table.dt th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
