/* Talent Case: tema claro
   Papel esverdeado, tinta azul-petróleo, verde como ação e limão como marca-texto. */

:root {
  --paper: #F3F6F1;
  --surface: #FFFFFF;
  --ink: #0D1B2A;
  --ink-2: #33455A;
  --mute: #5A6877;
  --line: #D5DCD1;
  --line-2: #E5EAE1;
  --green: #0F7B6C;
  --green-d: #0A5E52;
  --green-soft: #DCEEE7;
  --tint: #E6EFE9;
  --lemon: #EEF26B;
  --lemon-soft: #F6F8CB;
  --danger: #A8281F;
  --font-d: "Bricolage Grotesque", "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-b: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-d); }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - 40px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.ico { flex: none; vertical-align: -0.15em; }
.fine { font-size: .875rem; color: var(--mute); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.text-link { font-weight: 650; color: var(--green-d); text-decoration-color: currentColor; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-d); font-weight: 750; font-size: 1.3rem; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: .45em .8em; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { background: var(--line-2); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -.55em 0 var(--lemon); background: none; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--lemon); color: var(--ink); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.6em; }
.btn-sm { font-size: .9rem; padding: .62em 1.05em; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 650; color: var(--green-d); text-decoration: underline; text-underline-offset: .18em; font-size: inherit; }
.link-btn-danger { color: var(--danger); }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; border-radius: 8px; display: inline-flex; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.cta-row-left { justify-content: flex-start; }
.section .cta-row:not(.cta-row-left), .final-cta .cta-row { justify-content: flex-start; }

/* ---------- Hero e a frase de busca ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-title { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1; letter-spacing: -0.045em; font-weight: 720; max-width: 15ch; margin-bottom: .35em; }
.hero .lead { margin-bottom: 2.2rem; }

.brief { background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 3.4vw, 40px); box-shadow: 8px 8px 0 var(--lemon); max-width: 980px; }
.brief-line { font-family: var(--font-d); font-weight: 520; font-size: clamp(1.4rem, 3.3vw, 2.3rem); line-height: 1.75; letter-spacing: -0.02em; max-width: none; margin: 0 0 1.4rem; }
.slot { display: inline-block; position: relative; vertical-align: baseline; margin: 0 .1em; }
.slot select {
  -webkit-appearance: none; appearance: none; field-sizing: content; min-width: 4.5ch; max-width: 100%;
  font: inherit; font-weight: 720; color: var(--ink); letter-spacing: inherit; cursor: pointer;
  background: var(--lemon) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1.5 1.5 6 6l4.5-4.5' fill='none' stroke='%230D1B2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right .3em center / .55em;
  border: 0; border-bottom: 3px solid var(--ink); border-radius: 8px 8px 0 0; padding: 0 1.15em 0 .3em; line-height: 1.3; text-overflow: ellipsis;
}
.slot select:hover { background-color: #E4E95A; }
.brief-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.brief-search { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; min-width: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--paper); color: var(--mute); }
.brief-search:focus-within { border-color: var(--ink); }
.brief-search input { flex: 1; min-width: 0; border: 0; background: none; padding: .85em 0; outline: none; color: var(--ink); }
.quick-label { margin: 2rem 0 .6rem; font-weight: 650; font-size: .92rem; color: var(--mute); }

/* ---------- Seções ---------- */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-tight { padding: clamp(28px, 4.5vw, 56px) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 34px; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(24px, 4vw, 48px) 0 clamp(8px, 2vw, 20px); }
.page-head h1 { max-width: 20ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-head p { color: var(--ink-2); }

.crumbs { font-size: .86rem; color: var(--mute); margin-bottom: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--line); }
.crumbs a { color: var(--mute); }

/* ---------- Cartão de portfólio (pasta com aba) ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 42px 22px; padding-top: 6px; }
.case { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 0 16px 16px 16px; margin-top: 28px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.case:hover, .case:focus-within { border-color: var(--ink); box-shadow: 5px 5px 0 var(--lemon); transform: translate(-2px, -2px); }
.case-tab { position: absolute; left: -1.5px; top: -28px; height: 28px; max-width: 86%; padding: 0 14px; display: inline-flex; align-items: center; background: hsl(var(--h) 52% 91%); color: hsl(var(--h) 55% 22%); border: 1.5px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; font-size: .8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .15s; }
.case:hover .case-tab, .case:focus-within .case-tab { border-color: var(--ink); }
.case-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 14px 0 0; background: hsl(var(--h) 50% 92%); }
.case-cover img, .case-cover svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-flag { position: absolute; top: 10px; right: 10px; background: var(--lemon); color: var(--ink); font-size: .74rem; font-weight: 750; padding: .2em .65em; border-radius: 999px; border: 1.5px solid var(--ink); }
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-head { display: flex; gap: 12px; align-items: center; }
.case-name { font-size: 1.12rem; margin: 0; letter-spacing: -0.015em; }
.case-name a { text-decoration: none; }
.case-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.case-role { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--h, 170) 45% 88%); color: hsl(var(--h, 170) 55% 24%); font-family: var(--font-d); font-weight: 700; font-size: .95rem; border: 1.5px solid rgba(13, 27, 42, .12); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.9rem; }
.avatar-sm { width: 38px; height: 38px; font-size: .82rem; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; color: var(--ink-2); font-weight: 550; }
.facts li { display: inline-flex; align-items: center; gap: 4px; }
.facts-lg { font-size: .98rem; margin: 10px 0 12px; }
.facts-lg a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; font-weight: 650; padding: .28em .75em; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.chips-sm li { font-size: .76rem; }
.chip-more { background: none !important; color: var(--mute) !important; }
.chips-link a { display: inline-block; font-size: .92rem; font-weight: 650; padding: .4em .95em; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; background: var(--surface); }
.chips-link li { background: none; padding: 0; }
.chips-link a:hover { background: var(--lemon); color: var(--ink); }
.chips-active { margin-bottom: 22px; }
.chips-active li { padding: 0; background: none; }
.chips-active a { display: inline-flex; align-items: center; gap: 6px; padding: .35em .75em; background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none; font-size: .86rem; }
.chips-active a:hover { background: var(--green-d); color: #fff; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; color: var(--ink-2); margin-top: auto; }
.avail i { width: 9px; height: 9px; border-radius: 50%; background: var(--mute); }
.avail-disponivel i { background: #12A150; box-shadow: 0 0 0 3px #CDEFD9; }
.avail-aberto i { background: #C79A00; box-shadow: 0 0 0 3px #F6E9B5; }
.avail-indisponivel i { background: #99A3AE; box-shadow: 0 0 0 3px #E3E7EB; }

/* ---------- Áreas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; }
.area-grid a, .area-list a { display: flex; align-items: center; gap: 13px; padding: 13px 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.area-grid a:hover, .area-list a:hover { border-color: var(--ink); box-shadow: 4px 4px 0 var(--lemon); color: var(--ink); }
.area-swatch { flex: none; width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: hsl(var(--h) 52% 90%); color: hsl(var(--h) 55% 22%); font-family: var(--font-d); font-weight: 750; font-size: 1.15rem; }
.area-name { display: block; font-weight: 700; line-height: 1.25; }
.area-count { display: block; font-size: .82rem; color: var(--mute); }
.area-grid a { flex-wrap: wrap; }
.area-grid .area-name, .area-grid .area-count { flex-basis: calc(100% - 60px); }
.area-grid .area-name { margin-bottom: -10px; }
.area-list { display: grid; gap: 12px; }
.area-list a { padding: 16px 20px; }
.area-text { flex: 1; min-width: 0; }
.area-desc { display: block; font-size: .92rem; color: var(--ink-2); margin-top: 2px; }
.area-list .area-count { white-space: nowrap; font-weight: 650; }

/* ---------- Passos, checklists, prova ---------- */
.steps { counter-reset: passo; }
.steps li { counter-increment: passo; position: relative; padding: 20px 0 22px 62px; border-top: 1.5px solid var(--ink); }
.steps li:last-child { border-bottom: 1.5px solid var(--ink); }
.steps li::before { content: counter(passo); position: absolute; left: 0; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--lemon); border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 750; font-size: 1.1rem; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--ink-2); }
.checks { display: grid; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ico { margin-top: 2px; padding: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; }
.checks-plain { gap: 10px; }
.checks-plain .ico { width: 22px; height: 22px; }
.checks span { color: var(--ink-2); }
.checks strong { color: var(--ink); }

.owner { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.owner-id { display: flex; flex-direction: column; gap: 18px; }
.owner-photo { width: 148px; height: 148px; border-radius: 26px; object-fit: cover; border: 2px solid var(--ink); background: var(--green-soft); }
.owner-init { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-d); font-weight: 750; font-size: 3rem; color: var(--green-d); }
.owner-role { color: var(--ink-2); font-weight: 600; margin: 0; }
.owner-text p { max-width: 62ch; }
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.proof li { padding: 16px 18px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; line-height: 1.35; color: var(--ink-2); }
.proof strong { display: block; font-family: var(--font-d); font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); }
.link-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-weight: 650; }

.faq details { border-top: 1.5px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 700; font-family: var(--font-d); font-size: 1.12rem; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 16px; }
.final-cta { background: var(--lemon-soft); border: 2px solid var(--ink); border-radius: 22px; padding: clamp(28px, 5vw, 56px); box-shadow: 8px 8px 0 var(--green-soft); }
.final-cta h2 { max-width: 20ch; }
.final-cta p { color: var(--ink-2); margin: 0; }

/* ---------- Catálogo e filtros ---------- */
.catalog { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: 28px 80px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; overscroll-behavior: contain; }
.filters-top { display: none; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-top h2 { font-size: 1.2rem; margin: 0; }
.search-field { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--paper); color: var(--mute); margin-bottom: 18px; }
.search-field:focus-within { border-color: var(--ink); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; padding: .7em 0; outline: none; color: var(--ink); }
.f-group { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.f-group legend, .f-label { font-family: var(--font-d); font-weight: 700; font-size: .98rem; padding: 0; margin-bottom: 8px; display: block; }
.f-list { display: grid; gap: 2px; }
.f-list-scroll { max-height: 264px; overflow-y: auto; padding-right: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; cursor: pointer; position: relative; }
.check:hover { background: var(--paper); }
.check input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.check-box { flex: none; width: 19px; height: 19px; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; transition: background-color .12s; display: inline-flex; align-items: center; justify-content: center; }
.check input:checked + .check-box { background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12.5 4.5 4.5L19 7.500' fill='none' stroke='white' stroke-width='3.500' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 80% no-repeat; border-color: var(--green); }
.check input:focus-visible + .check-box { outline: 3px solid var(--ink); outline-offset: 2px; }
.check-label { flex: 1; font-size: .94rem; line-height: 1.3; }
.count { font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.check.is-zero { opacity: .45; }
.select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .6em .8em; background: #fff; cursor: pointer; }
.select:focus { border-color: var(--ink); outline: none; }
.select-sm { padding: .45em .7em; font-size: .92rem; width: auto; }
.filters-actions { display: grid; gap: 12px; justify-items: start; }
.filters-actions .btn { width: 100%; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; justify-content: space-between; margin-bottom: 20px; }
.results-count { margin: 0; font-size: 1.05rem; }
.results-count strong { font-family: var(--font-d); font-size: 1.4rem; }
.sort { margin-left: auto; }
.filters-open { display: none; }
.grid-cards-results { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.empty { border: 2px dashed var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 44px); background: var(--surface); }
.empty h1, .empty h2 { margin-bottom: .4em; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.pager a, .pager span { padding: .5em .9em; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 650; background: #fff; }
.pager a:hover { border-color: var(--ink); }
.pager span[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters-scrim { position: fixed; inset: 0; background: rgba(13, 27, 42, .45); z-index: 59; }

/* ---------- Perfil ---------- */
.profile { padding-block: 24px 88px; }
.notice { background: var(--lemon-soft); border-left: 5px solid var(--lemon); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; max-width: none; }
.profile-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: 10px 0 30px; border-bottom: 1.5px solid var(--ink); }
.profile-id { display: flex; gap: 22px; align-items: flex-start; }
.profile-head h1 { margin-bottom: .1em; }
.profile-role { font-size: 1.15rem; color: var(--ink-2); margin: 0; font-weight: 550; }
.profile-cta { display: grid; gap: 12px; justify-items: stretch; min-width: 280px; }
.profile-cta .fine { margin: 0; max-width: 34ch; }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 64px); padding-top: 36px; align-items: start; }
.preview { margin: 0 0 32px; border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 6px 6px 0 hsl(var(--h) 55% 88%); }
.preview a { display: block; }
.preview img, .preview svg { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; }
.preview figcaption { padding: 8px 14px; font-size: .82rem; color: var(--mute); border-top: 1.5px solid var(--line); }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }
.profile-side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.side-card { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; }
.side-card h2 { font-size: 1.12rem; }
.side-card p { font-size: .95rem; color: var(--ink-2); }
.side-card-accent { background: var(--lemon-soft); border-color: var(--ink); }
.mini-list { display: grid; gap: 6px; margin-bottom: 14px; }
.mini-list a { display: flex; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 10px; text-decoration: none; }
.mini-list a:hover { background: var(--paper); color: var(--ink); }
.mini-list strong { display: block; line-height: 1.25; }
.mini-list small { display: block; color: var(--mute); line-height: 1.3; font-size: .82rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: #fff; border-top: 1.5px solid var(--line); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; }
.foot-about p { font-size: .94rem; color: var(--ink-2); margin: 14px 0 18px; }
.foot-title { font-family: var(--font-b); font-size: .95rem; font-weight: 750; letter-spacing: 0; margin-bottom: 12px; }
.foot-list { display: grid; gap: 8px; font-size: .94rem; }
.foot-list a { text-decoration: none; color: var(--ink-2); }
.foot-list a:hover { text-decoration: underline; }
.foot-legal { margin-top: 44px; padding: 20px 0 32px; border-top: 1.5px solid var(--line); font-size: .86rem; color: var(--mute); }
.foot-legal p { margin: 0; }

/* ---------- Formulários (site e painel) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field > span { font-weight: 650; font-size: .92rem; }
.field small { color: var(--mute); font-size: .82rem; }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .85em; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lemon); }
.field textarea { resize: vertical; line-height: 1.5; }
.inline { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; font-weight: 550; }

/* ---------- Painel ---------- */
.adm { background: var(--paper); }
.adm-bar { background: #fff; border-bottom: 1.5px solid var(--line); position: sticky; top: 0; z-index: 40; }
.adm-bar-in { width: min(1180px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; padding-block: 6px; }
.adm-tag { font-size: .78rem; font-weight: 700; background: var(--lemon); padding: .1em .6em; border-radius: 999px; border: 1.5px solid var(--ink); margin-left: 4px; }
.adm-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.adm-nav a { padding: .4em .8em; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .94rem; }
.adm-nav a:hover { background: var(--line-2); }
.adm-nav a[aria-current] { box-shadow: inset 0 -.5em 0 var(--lemon); }
.adm-right { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.adm-main { width: min(1180px, 100% - 32px); margin: 28px auto 80px; }
.adm-main h1 { font-size: 1.8rem; }
.adm-main h2 { font-size: 1.15rem; margin-top: 1.6em; }
.adm-bare { display: grid; place-items: start center; padding-top: 8vh; }
.adm-login, .adm-narrow { width: min(440px, 100%); background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 28px; box-shadow: 8px 8px 0 var(--lemon); }
.adm-narrow { margin-inline: auto; }
.adm-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.adm-head h1 { margin: 0; }
.adm-flash { padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--green); background: var(--green-soft); margin-bottom: 18px; max-width: none; }
.adm-flash-err { border-color: var(--danger); background: #FBE5E2; color: #6D1610; }
.adm-flash ul { padding-left: 18px; list-style: disc; }
.adm-note { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; background: var(--lemon-soft); border: 1.5px solid var(--ink); border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.adm-note p { margin: 0; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 28px; }
.adm-card { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink-2); line-height: 1.3; }
.adm-num { font-family: var(--font-d); font-weight: 750; font-size: 2.1rem; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.adm-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.adm-table { width: 100%; border-collapse: collapse; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .94rem; }
.adm-table th, .adm-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.adm-table th { font-size: .82rem; color: var(--mute); background: var(--paper); }
.adm-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.adm-table small { display: block; color: var(--mute); }
.adm-scroll { overflow-x: auto; }
.adm-table-rows { min-width: 760px; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.adm-actions form { display: inline; }
.pill { display: inline-block; font-size: .76rem; font-weight: 700; padding: .15em .65em; border-radius: 999px; background: var(--line-2); margin: 0 4px 4px 0; }
.pill-ok { background: var(--green-soft); color: var(--green-d); }
.pill-demo { background: var(--lemon); }
.pill-star { background: #fff; border: 1.5px solid var(--ink); }
.adm-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.adm-filter input { border: 1.5px solid var(--line); border-radius: 10px; padding: .5em .8em; min-width: 240px; background: #fff; }
.adm-form { max-width: 480px; }
.adm-form-wide { max-width: 900px; }
.adm-set { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 20px 22px 6px; margin: 0 0 20px; min-width: 0; }
.adm-set legend { font-family: var(--font-d); font-weight: 700; padding: 0 8px; font-size: 1.05rem; }
.adm-grid2, .adm-grid3, .adm-grid4 { display: grid; gap: 0 18px; }
.adm-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adm-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.adm-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adm-thumb { display: block; width: 160px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--line); margin-bottom: 4px; }
.adm-thumb-round { aspect-ratio: 1; width: 84px; border-radius: 50%; }
.adm-submit { display: flex; gap: 20px; align-items: center; margin-top: 8px; }
.adm-arearow { display: flex; flex-wrap: wrap; gap: 0 14px; align-items: flex-end; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px 0; margin-bottom: 10px; }
.adm-arearow .field { margin-bottom: 14px; }
.adm-arearow .field-grow { flex: 1 1 240px; }
.adm-arearow .field-xs { width: 110px; }
.adm-swatch { width: 12px; align-self: stretch; border-radius: 6px; background: hsl(var(--h) 55% 62%); margin-bottom: 14px; }
.adm-rowbtns { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.lead-sm { color: var(--ink-2); }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .adm-cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .split, .owner { grid-template-columns: 1fr; }
  .owner-id { flex-direction: row; align-items: center; }
  .catalog { grid-template-columns: 1fr; padding-top: 16px; }
  .filters { position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(90vw, 380px); max-height: none; border-radius: 0 18px 18px 0; transform: translateX(-104%); transition: transform .25s ease; visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: 12px 0 40px rgba(13, 27, 42, .25); }
  .filters-top { display: flex; }
  .filters-open { display: inline-flex; }
  .sort { margin-left: 0; }
  .profile-head { grid-template-columns: 1fr; }
  .profile-cta { min-width: 0; }
  .profile-body { grid-template-columns: 1fr; }
  .profile-side { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1.5px solid var(--line); padding: 12px 20px 18px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .8em .6em; }
  .nav-cta { margin: 10px 0 0; }
  .adm-grid3, .adm-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brief { box-shadow: 5px 5px 0 var(--lemon); border-radius: 16px; }
  .brief-foot .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; }
  .owner-id { flex-direction: column; align-items: flex-start; }
  .profile-id { flex-direction: column; }
  .adm-grid2, .adm-grid3, .adm-grid4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 24px; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .case:hover, .case:focus-within { transform: none; }
}
@media print { .site-header, .site-footer, .filters { display: none; } }

@media (max-width: 900px) {
  .filters-actions { position: sticky; bottom: -20px; background: #fff; padding: 12px 0 8px; margin-bottom: -8px; border-top: 1.5px solid var(--line-2); }
}
