/* Sumeru — component styles. Values come from tokens.css (var(--…)); nothing here re-declares a token. */
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.su-pad { padding: var(--space-6); }
.su-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.su-stack { display: flex; flex-direction: column; gap: var(--space-6); }

/* Logo (live type) */
.su-logo { display: inline-flex; flex-direction: column; gap: 0.16em; font-family: var(--font-sans); }
.su-wm { font-weight: 700; letter-spacing: -0.085em; line-height: 0.9; padding-right: 0.085em; white-space: nowrap; }
.su-wm .su-dot, .su-dot { color: var(--dot); letter-spacing: 0; }
.su-logo-desc { font-weight: 400; font-size: 0.28em; line-height: 1.2; letter-spacing: 0; }
.su-tone-mare { color: var(--mare); } .su-tone-papel { color: var(--papel); } .su-tone-espuma { color: var(--espuma); }
.su-tone-abismo { color: var(--abismo); } .su-tone-tinta { color: var(--tinta); }
.su-tone-tinta .su-dot.su-dot-mono { color: var(--tinta); }

/* Titles: always end on the coral dot */
.su-title { margin: 0; font-weight: 700; color: inherit; text-wrap: balance; }
.su-title-hero { font-size: clamp(52px, 9.5vw, 148px); line-height: .92; letter-spacing: -0.05em; }
.su-title-h1 { font-size: clamp(40px, 5.5vw, 80px); line-height: .98; letter-spacing: -0.045em; }
.su-title-h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.025em; }
.su-title-slide { font-size: 72px; line-height: 1; letter-spacing: -0.04em; }
.su-title-doc { font-size: 40px; line-height: 1.05; letter-spacing: -0.04em; }

.su-eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.su-on-brand .su-eyebrow, .su-eyebrow.su-on-dark { color: var(--espuma); }

/* Citação — Instrument Sans, como todo o sistema */
.su-quote { margin: 0; border-top: var(--border-rule) solid var(--line-strong); padding-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.su-quote-label { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.su-quote-text { margin: 0; font-family: var(--font-sans); font-weight: 700; font-size: 44px; line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.su-quote-cite { font-size: 15px; color: var(--ink-muted); font-style: normal; }

/* Buttons — pills */
.su-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.2; padding: 12.5px 20px; border-radius: var(--radius-pill); border: var(--border-field) solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.su-btn-lg { font-size: 16px; padding: 16px 26px; }
.su-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.su-btn-primary { background: var(--accent); color: var(--on-accent); }
.su-btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.su-btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.su-btn-outline:hover { background: var(--accent); color: var(--on-accent); }
.su-btn-light { background: var(--papel); color: var(--abismo); }
.su-btn-light:hover { background: var(--espuma); color: var(--abismo); }
.su-btn-outline-light { background: transparent; color: var(--papel); border-color: var(--espuma); }
.su-btn-outline-light:hover { background: rgba(245, 243, 238, .12); }
.su-btn svg { width: 18px; height: 18px; }

/* Form */
.su-field { display: flex; flex-direction: column; gap: var(--space-2); }
.su-field-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.su-input { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; padding: 14px 0; border: none; border-bottom: var(--border-field) solid var(--line); background: transparent; outline: none; color: var(--ink); resize: vertical; }
.su-input::placeholder { color: var(--ink-muted); opacity: .8; }
.su-input:focus { border-bottom-color: var(--accent); }
.su-field-error .su-input { border-bottom-color: var(--danger); }
.su-error { font-size: 13px; color: var(--danger); }
.su-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.su-chip { font-family: var(--font-sans); font-size: 15px; font-weight: 400; padding: 11px 18px; border-radius: var(--radius-pill); cursor: pointer; border: var(--border-field) solid var(--line); background: transparent; color: var(--ink); }
.su-chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.su-chips-error .su-chip[aria-pressed="false"] { border-color: var(--danger); }
.su-chip:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.su-check { display: flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.su-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }

/* Items with a rule */
.su-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(28px, 3vw, 48px); }
.su-item { display: flex; flex-direction: column; gap: var(--space-3); border-top: var(--border-rule) solid var(--accent); padding-top: var(--space-6); }
.su-item-n { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--accent); }
.su-item-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.su-item-text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.su-on-brand { background: var(--surface-brand); color: var(--ink-on-brand); }
.su-on-brand .su-item { border-top-color: var(--espuma); }
.su-on-brand .su-item-n { color: var(--espuma); }
.su-on-brand .su-item-text { color: var(--ink-on-brand); }

/* Dot list */
.su-dotlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.su-dotlist li { display: flex; gap: var(--space-4); font-size: 17px; line-height: 1.55; }
.su-dotlist li::before { content: ""; width: .5em; height: .5em; margin-top: .5em; background: var(--dot); flex-shrink: 0; }

/* Policy / document link rows */
.su-doclist { display: flex; flex-direction: column; border-top: var(--border-hairline) solid var(--line); }
.su-docrow { display: grid; grid-template-columns: 40px 1fr auto; gap: var(--space-4); align-items: start; padding: 26px 0; border-bottom: var(--border-hairline) solid var(--line); text-decoration: none; color: var(--ink); }
.su-docrow:hover { color: var(--accent); }
.su-docrow-n, .su-docrow-kind { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--accent); padding-top: 5px; }
.su-docrow-kind { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; white-space: nowrap; }
.su-docrow-title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: inherit; }
.su-docrow-text { margin: var(--space-2) 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-muted); }

/* Table */
.su-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.su-table th { background: var(--mare); color: var(--papel); font-weight: 700; text-align: left; padding: 12px 10px; }
.su-table td { padding: 12px 10px; vertical-align: top; border-bottom: var(--border-hairline) solid var(--mare-100); color: var(--ink); }
.su-table tbody tr:nth-child(even) td { background: var(--accent-soft); }
.su-table .su-num { font-family: var(--font-sans); font-variant-numeric: tabular-nums; text-align: right; }

/* Document metadata (ficha) */
.su-ficha { width: 100%; border-collapse: collapse; border-top: var(--border-hairline) solid currentColor; }
.su-ficha td { padding: 8px 0; border-bottom: var(--border-hairline) solid; border-bottom-color: color-mix(in srgb, currentColor 35%, transparent); font-size: 13px; vertical-align: top; }
.su-ficha td:first-child { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11px; width: 150px; padding-top: 10px; opacity: .9; }

/* Chapter heading + clauses (manuals, policies) */
.su-chapter { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: end; margin: 0; }
.su-chapter-n { background: var(--mare); color: var(--papel); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; height: 58px; display: flex; align-items: flex-end; padding: 0 0 8px 10px; box-sizing: border-box; }
.su-chapter-t { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); border-bottom: var(--border-hairline) solid var(--mare); padding-bottom: 6px; }
.su-clause { display: grid; grid-template-columns: 48px 1fr; gap: 0; font-size: 14px; line-height: 1.75; color: var(--ink); margin: 0 0 var(--space-3); }
.su-clause-n { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 11px; color: var(--accent); padding-top: 4px; }
.su-clause p { margin: 0; text-wrap: pretty; }

/* Supergráfico */
.su-super { position: relative; overflow: hidden; }
.su-super-glyph { position: absolute; font-weight: 700; letter-spacing: -0.085em; line-height: .9; padding-right: .085em; white-space: nowrap; pointer-events: none; user-select: none; }
.su-super > :not(.su-super-glyph) { position: relative; }

/* Capa de documento */
.su-cover { background: var(--mare); color: var(--papel); aspect-ratio: 210 / 297; padding: 8% 7%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; container-type: inline-size; }
.su-cover .su-title-doc { font-size: 7.6cqw; }
.su-cover .su-ficha { color: var(--papel); }
.su-cover-head { display: flex; justify-content: space-between; align-items: flex-start; }
.su-cover-code { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 12px; }
.su-cover-eyebrow { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 12px; margin-bottom: var(--space-2); }
.su-cover-deep { background: var(--abismo); }
.su-cover-deep .su-cover-eyebrow { color: var(--dot); }

/* Signature lines */
.su-signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 56px; }
.su-sign { border-top: var(--border-hairline) solid var(--mare); padding-top: 6px; font-size: 13px; color: var(--ink-muted); }
.su-sign b { display: block; color: var(--ink); font-weight: 700; }

/* Stat */
.su-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.su-stat-v { font-weight: 700; font-size: 120px; line-height: .9; letter-spacing: -0.05em; }
.su-stat-l { font-size: 20px; line-height: 1.3; color: var(--ink-muted); max-width: 16em; }
.su-on-brand .su-stat-l { color: var(--ink-on-brand); }

/* Business card */
.su-card { width: 340px; aspect-ratio: 85 / 50; box-sizing: border-box; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.su-card-front { background: var(--mare); color: var(--papel); }
.su-card-back { background: var(--papel); color: var(--tinta); }
.su-card-name { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; }
.su-card-role { font-size: 12px; font-weight: 400; color: var(--mare); margin-top: 3px; }
.su-card-data { font-size: 12px; line-height: 1.5; color: var(--neutral-700); }

/* E-mail signature */
.su-mailsig { display: flex; gap: 14px; align-items: stretch; font-family: var(--font-sans); }
.su-mailsig-bar { width: 3px; background: var(--mare); flex-shrink: 0; }
.su-mailsig-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--tinta); }
.su-mailsig-role { font-size: 12px; font-weight: 400; color: var(--mare); margin-top: 3px; }
.su-mailsig-data { font-size: 11px; color: var(--neutral-700); margin-top: 4px; }

/* Site header & footer */
.su-header { background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: var(--border-hairline) solid var(--line-soft); }
.su-header-in { max-width: 1320px; margin: 0 auto; padding: 18px clamp(20px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.su-nav { white-space: nowrap; display: flex; align-items: center; gap: var(--space-8); font-size: 15px; font-weight: 400; }
.su-nav a { color: var(--neutral-800); text-decoration: none; }
.su-nav a:hover { color: var(--accent); }
.su-footer { background: var(--surface-inverse); color: var(--papel); }
.su-footer-in { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px) 40px; display: flex; flex-direction: column; gap: 56px; }
.su-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.su-footer-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 400; }
.su-footer-nav a { color: var(--papel); text-decoration: none; }
.su-footer-nav a:hover { color: var(--espuma); }
.su-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: var(--border-hairline) solid #24403D; font-size: 13px; line-height: 1.6; color: var(--ink-on-inverse-muted); }
.su-footer-legal p { margin: 0; max-width: 720px; }
.su-footer-legal .su-mono { font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-size: 12px; }

/* Photo treatment */
.su-photo { position: relative; overflow: hidden; background: var(--abismo); }
.su-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); }
.su-photo > :not(img) { position: relative; z-index: 1; }
.su-photo::after { content: ""; position: absolute; inset: 0; background: var(--photo-tint); mix-blend-mode: multiply; opacity: var(--photo-tint-opacity); }

.su-icon { width: 24px; height: 24px; flex-shrink: 0; }
