/* inventario-em-cartorio.html. Self-contained: the page loads this file and fonts.css only
   (not styles.css), so it stays light. Colours, fonts, radius and shadows are the site's. */
:root {
  --deep: #17324a; --ocean: #234a63; --cyan-ink: #2f6283; --foam: #eef3f8; --ink: #0a222d; --ink-soft: #3b5560;
  --line: #cddae6; --edge: #6b8798; --white: #fff; --wa: #25d366; --wa-ink: #04222c; --err: #a3271f;
  --radius: 14px;
  --serif: "Bricolage Grotesque", "Hanken Grotesk", -apple-system, sans-serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-deep: 0 30px 60px -25px rgba(3, 21, 33, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.14; letter-spacing: -.02em; color: var(--deep); margin: 0 0 .45em; }
h2 { font-size: clamp(24px, 5.4vw, 34px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--cyan-ink); }
[hidden] { display: none !important; }
input, button { font-family: inherit; }
:focus-visible { outline: 3px solid #1d6fa5; outline-offset: 2px; border-radius: 4px; }
.inv-top :focus-visible, .inv-final :focus-visible, .inv-bar :focus-visible { outline-color: #fff; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.measure { max-width: 68ch; }
.muted { color: var(--ink-soft); font-size: 14.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inv-skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: #fff; color: var(--deep); font-weight: 700; padding: 12px 16px; border-radius: 8px; }
.inv-skip:focus { top: 8px; }
.inv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inv-ribbon { position: fixed; z-index: 70; top: 8px; left: 50%; transform: translateX(-50%); background: #7a1f1a; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; pointer-events: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font-family: var(--sans); font-size: 16.5px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; }
.btn svg { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: #1fc45c; }
.btn-outline { background: transparent; border-color: var(--deep); color: var(--deep); }
.btn-outline:hover { background: #e4edf5; }
.btn-solid { background: var(--deep); color: #fff; }
.btn-solid:hover { background: var(--ocean); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: inv-spin .7s linear infinite; }
@keyframes inv-spin { to { transform: rotate(360deg); } }

/* header */
.inv-top { background: var(--deep); color: #fff; }
.inv-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.inv-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 16px; }
.inv-brand img { width: 30px; height: 30px; border-radius: 50%; }
.inv-top-actions { display: flex; align-items: center; gap: 8px; }
.inv-top-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.inv-top-btn svg { width: 20px; height: 20px; fill: currentColor; }
.inv-top-btn.is-wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.inv-top-btn .txt { display: none; }

/* hero */
.inv-hero { background: linear-gradient(180deg, var(--foam) 0%, #fff 100%); padding: 14px 0 30px; }
.inv-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); }
.inv-hero h1 { font-size: clamp(30px, 7vw, 48px); margin: 0 0 10px; }
.inv-who { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.inv-who img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #dfe8f0; flex: 0 0 auto; }
.inv-who figcaption { font-size: 15.5px; line-height: 1.35; color: var(--ink-soft); }
.inv-who figcaption strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--deep); }
.inv-sub { margin: 0 0 14px; line-height: 1.5; }
.inv-ctas { display: flex; flex-direction: column; gap: 10px; }
.inv-micro { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-soft); }
.inv-trust { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; font-size: 14.5px; line-height: 1.35; color: var(--deep); font-weight: 600; }
.inv-trust li { display: flex; align-items: flex-start; gap: 8px; }
.inv-trust svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: var(--cyan-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inv-trust a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* sections */
.inv-section { padding: 44px 0; }
.inv-section.alt { background: var(--foam); }
.inv-section .lead { color: var(--ink-soft); }
.inv-answer { margin-top: -6px; padding: 0 0 8px; }
.inv-card { background: #fff; border: 1.5px solid var(--line); border-left: 5px solid var(--deep); border-radius: var(--radius); padding: 22px 22px 8px; }
.inv-card h2 { font-size: clamp(21px, 5vw, 26px); }

/* document list */
.inv-lista-grid { display: grid; gap: 22px; margin-top: 22px; }
.inv-paper { position: relative; background: #fffdf6; border: 1px solid #e6dfcb; border-radius: 6px; padding: 22px 20px 16px; box-shadow: 0 1px 0 #fff inset, 0 14px 26px -18px rgba(23, 50, 74, .45); background-image: repeating-linear-gradient(180deg, transparent 0 37px, rgba(23, 50, 74, .07) 37px 38px); }
.inv-paper::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 22px 22px 0; border-color: transparent var(--foam) #e9e2cf transparent; }
.inv-paper-cap { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.inv-paper ul { list-style: none; margin: 0; padding: 0; }
.inv-paper li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 16px; line-height: 1.4; }
.inv-paper li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.inv-paper .more { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }

/* forms */
.inv-form { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.inv-section.alt .inv-form { box-shadow: 0 14px 26px -18px rgba(23, 50, 74, .35); }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; padding: 0; margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--deep); }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field input[type="text"], .field input[type="tel"] { width: 100%; min-height: 50px; padding: 10px 14px; font-family: var(--sans); font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid var(--edge); border-radius: 10px; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.inv-err { margin: 6px 0 0; font-size: 14.5px; font-weight: 600; color: var(--err); }
.inv-err:empty { margin: 0; }
.inv-phone { display: flex; gap: 8px; align-items: stretch; }
.inv-phone input { flex: 1 1 auto; min-width: 0; }
.inv-cc { position: relative; flex: 0 0 auto; }
.inv-cc-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 50px; min-width: 44px; padding: 0 10px; background: #fff; border: 1.5px solid var(--edge); border-radius: 10px; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--deep); cursor: pointer; }
.inv-cc-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg) translateY(-2px); }
.inv-flag { display: inline-flex; flex: 0 0 auto; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 50, 74, .18); }
.inv-flag svg { width: 24px; height: 16px; }
.inv-cc-list { position: absolute; z-index: 12; left: 0; top: calc(100% + 6px); min-width: 220px; max-width: calc(100vw - 48px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1.5px solid var(--edge); border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(23, 50, 74, .35); }
.inv-cc-list [role="option"] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 16px; font-weight: 600; color: var(--deep); cursor: pointer; }
.inv-cc-list [role="option"] .nm { flex: 1 1 auto; }
.inv-cc-list [role="option"] .cd { color: var(--ink-soft); font-weight: 500; }
.inv-cc-list [role="option"].is-active, .inv-cc-list [role="option"]:hover { background: #e9f2f8; }
.inv-cc-list [role="option"][aria-selected="true"] { box-shadow: inset 3px 0 0 var(--deep); }
.inv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inv-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inv-chips label { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 16px; border: 1.5px solid var(--edge); border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--deep); background: #fff; cursor: pointer; }
.inv-chips input:checked + label { background: var(--deep); border-color: var(--deep); color: #fff; }
.inv-chips input:focus-visible + label { outline: 3px solid #1d6fa5; outline-offset: 2px; }
.inv-consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 15px; line-height: 1.45; }
.inv-consent input { flex: 0 0 auto; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--deep); }
.inv-consent a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.inv-status { margin: 10px 0 0; min-height: 1.2em; font-size: 14.5px; color: var(--ink-soft); text-align: center; }
.inv-fail { margin: 14px 0 0; padding: 16px; border: 1.5px solid var(--err); border-radius: 12px; background: #fdf4f3; }
.inv-fail p { margin: 0 0 12px; font-weight: 600; color: #6d1712; }
.inv-done { background: #fff; border: 1.5px solid var(--line); border-left: 5px solid #1a8f5a; border-radius: var(--radius); padding: 24px 22px; }
.inv-done:focus { outline: none; }
.inv-done .big { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--deep); margin: 0 0 12px; }
.inv-done p:last-child { margin: 0; }
.inv-done a { display: inline-block; padding: 10px 0; font-weight: 600; }
.inv-contact { max-width: 560px; }

/* timeline */
.inv-steps { list-style: none; margin: 22px 0 26px; padding: 0; counter-reset: s; max-width: 68ch; }
.inv-steps li { position: relative; counter-increment: s; padding: 0 0 22px 58px; }
.inv-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.inv-steps li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.inv-steps li:last-child { padding-bottom: 0; }
.inv-steps li:last-child::after { display: none; }
.inv-steps h3 { margin: 0 0 4px; padding-top: 7px; }
.inv-steps p { margin: 0; color: var(--ink-soft); }

/* cost */
.inv-costs { list-style: none; margin: 18px 0 14px; padding: 0; max-width: 68ch; }
.inv-costs li { padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); position: relative; }
.inv-costs li::before { content: ""; position: absolute; left: 0; top: 25px; width: 7px; height: 7px; border-radius: 50%; background: var(--deep); }
.inv-costs strong { color: var(--deep); }

/* about */
.inv-about { display: grid; gap: 20px; align-items: center; }
.inv-about img { width: 160px; height: 160px; border-radius: 16px; object-fit: cover; object-position: 50% 20%; background: #dfe8f0; box-shadow: var(--shadow-deep); }
.inv-creds { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inv-creds li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.inv-creds li::before { content: "\2713"; color: var(--cyan-ink); font-weight: 700; flex: 0 0 auto; }
.inv-creds strong { color: var(--deep); }

/* article */
.inv-article { max-width: 68ch; font-size: 18px; line-height: 1.6; }
.inv-article h2, .inv-article h3 { margin: 1.5em 0 .4em; font-size: 21px; }
.inv-byline { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 1.2em; }
.inv-sources { margin: 2em 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.inv-sources h3 { font-size: 16px; margin: 0 0 6px; }
.inv-sources ul { margin: 0; padding: 0 0 0 18px; }
.inv-sources li { padding: 3px 0; }
.inv-sources a { display: inline-block; padding: 11px 0; overflow-wrap: anywhere; }

/* faq */
.inv-faq { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-top: 20px; }
.inv-faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); }
.inv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 12px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--deep); border-radius: var(--radius); }
.inv-faq summary::-webkit-details-marker { display: none; }
.inv-faq summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 400; line-height: 1; color: var(--cyan-ink); }
.inv-faq details[open] summary::after { content: "\2212"; }
.inv-faq .a { padding: 0 18px 16px; }
.inv-faq .a p { margin: 0 0 6px; }
.inv-faq .basis { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* final call + footer */
.inv-final { background: var(--deep); color: #fff; padding: 48px 0; text-align: center; }
.inv-final h2 { color: #fff; margin: 0 auto 22px; max-width: 20ch; }
.inv-final .inv-ctas { max-width: 420px; margin: 0 auto; }
.inv-final .btn-outline { border-color: #fff; color: #fff; }
.inv-final .btn-outline:hover { background: rgba(255, 255, 255, .12); }
.inv-footer { padding: 26px 0 36px; border-top: 1px solid var(--line); text-align: center; }
.inv-footer p { font-size: 13px; color: var(--ink-soft); max-width: 640px; margin: 0 auto 6px; }
.inv-footer a { color: var(--ink-soft); display: inline-block; padding: 12px 4px; }
.inv-footer-credit a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 4px; }
.inv-footer-credit img { height: 44px; width: auto; }
.af-cookie-link-wrap { text-align: center; margin: 6px 0 0; font-size: 13px; }
.af-cookie-link { color: inherit; text-decoration: underline; }

/* The two longest sections (article, FAQ) are laid out only when they come near the screen: faster first load on phones.
   Not applied to the other sections: the accessibility checker misreads skipped content there. */
#artigo, #perguntas { content-visibility: auto; contain-intrinsic-size: auto 2600px; }

/* mobile bar */
.inv-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: none; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--deep); box-shadow: 0 -8px 20px -10px rgba(3, 21, 33, .5); }
.inv-bar .btn { flex: 1 1 0; min-height: 48px; padding: 8px 10px; font-size: 15.5px; }
.inv-bar .btn-outline { border-color: #fff; color: #fff; }

@media (max-width: 899px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .inv-bar.is-on { display: flex; }
}
@media (min-width: 700px) {
  .inv-about { grid-template-columns: 220px 1fr; gap: 36px; }
  .inv-about img { width: 220px; height: 220px; }
  .inv-ctas { flex-direction: row; flex-wrap: wrap; }
  .inv-final .inv-ctas { max-width: none; justify-content: center; }
  .inv-form { padding: 28px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .wrap { padding: 0 32px; }
  .inv-top-btn { padding: 0 16px; }
  .inv-top-btn .txt { display: inline; }
  .inv-hero { padding: 48px 0 44px; }
  .inv-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 56px; align-items: start; }
  .inv-hero .inv-ctas { flex-wrap: nowrap; }
  .inv-hero .inv-ctas .btn { padding: 12px 20px; font-size: 16px; white-space: nowrap; }
  .inv-hero .wrap > * { grid-column: 1; }
  .inv-who { grid-column: 2 !important; grid-row: 1 / span 5; flex-direction: column; align-items: stretch; gap: 14px; margin: 0; }
  .inv-who img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 18px; box-shadow: var(--shadow-deep); }
  .inv-who figcaption strong { display: inline; font-size: 17px; }
  .inv-who figcaption { font-size: 16px; text-align: center; }
  .inv-hero h1 { margin-bottom: 18px; }
  .inv-sub { font-size: 19px; line-height: 1.6; margin-bottom: 24px; }
  .inv-trust { grid-column: 1 / -1 !important; grid-template-columns: repeat(4, 1fr); margin-top: 36px; padding-top: 22px; font-size: 15.5px; }
  .inv-section { padding: 68px 0; }
  .inv-answer { padding-bottom: 20px; }
  .inv-card { padding: 28px 32px 14px; }
  .inv-lista-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
  .inv-paper { padding: 28px 28px 20px; }
  .inv-final { padding: 72px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .inv-done, .inv-fail { animation: inv-fade .15s ease-out; }
  @keyframes inv-fade { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before { animation: none; }
}
