@font-face {
  font-family: Geist;
  src: url("/assets/geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #101b2a;
  --navy-dark: #0c1725;
  --ink: #152232;
  --muted: #4a5a6b;
  --gold: #d6b477;
  --gold-deep: #775321;
  --line: #dce2e9;
  --surface: #f3f5f8;
  --white: #fff;
  --shell: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.62 Geist, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.24em; }
:focus-visible { outline: 3px solid #a76d24; outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.09; font-weight: 570; letter-spacing: -0.043em; }
h1 { font-size: clamp(2.85rem, 6vw, 5.85rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.028em; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
.shell { max-width: var(--shell); width: calc(100% - 3.5rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 5; top: 1rem; left: 1rem; background: white; color: var(--ink); padding: 0.65rem; }

.site-header { position: sticky; z-index: 2; top: 0; background: #101b2a; color: #f7f8fb; border-bottom: 1px solid #ffffff24; }
.header-inner { min-height: 74px; display: flex; gap: 1rem; align-items: center; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 202px; }
.signature { display: flex; align-items: center; gap: 0.85rem; max-width: 100%; }
.signature .wordmark { width: clamp(129px, 23vw, 202px); flex: 0 0 auto; }
.brand-divider { width: 1px; height: 26px; background: #d6b477a6; flex: 0 0 auto; }
.signature .department { width: auto; height: clamp(10px, 1.47vw, 15px); min-width: 0; object-fit: contain; flex: 0 1 auto; }
.header-access { margin-left: auto; border: 1px solid #ffffff42; padding: 0.52rem 0.9rem; border-radius: 4px; text-decoration: none; font-size: 0.9rem; white-space: nowrap; }
.header-access:hover { background: #ffffff16; }

.hero {
  min-height: min(610px, 76vh);
  color: #f8fafc;
  background-color: var(--navy-dark);
  background-image: linear-gradient(90deg,#0c1725 2%,#0c1725ef 25%,#0c1725a0 53%,#0c172525 78%,#0c172534), var(--hero-image);
  background-repeat: no-repeat; background-position: center, center 45%; background-size: cover;
  display: grid; align-items: center;
  position: relative;
}
.hero:after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg,#af874a70,#d6b477a8 49%,#af874a12); }
.hero-consultores { --hero-image: url("/assets/consultores.webp"); }
.hero-criadores { --hero-image: url("/assets/criadores.webp"); background-position: center, center 43%; }
.hero-compliance { --hero-image: url("/assets/cidade.webp"); background-position: center, center 49%; }
.hero-inner { padding-block: 6rem; }
.eyebrow { color: var(--gold-deep); margin: 0 0 1rem; font-weight: 670; letter-spacing: 0.11em; text-transform: uppercase; font-size: 0.8rem; }
.hero .eyebrow { color: #e6c68f; }
.hero h1 { max-width: 880px; }
.hero h1 em { color: #e5c696; font-style: normal; }
.hero-copy { margin: 1.5rem 0 0; max-width: 36rem; color: #edf1f6; font-size: clamp(1rem,1.8vw,1.24rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.65rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.76rem 1.15rem;
  min-height: 46px; border: 1px solid transparent; border-radius: 5px; font: inherit;
  font-size: 0.95rem; font-weight: 670; text-decoration: none; cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}
.gold { background: var(--gold); color: #14202d; }
.gold:hover { background: #e8c993; }
.outline { border-color: #ffffff73; color: #f7f8fc; background: #101b2a30; }
.outline:hover { background: #ffffff22; }
.light-outline { border-color: #aab6c4; color: var(--ink); background: #fff; }
.light-outline:hover { background: #eef2f6; }
.text-link { font-weight: 640; }

.section { padding-block: clamp(3.2rem,6.25vw,6.65rem); }
.surface { background: var(--surface); }
.compact { padding-top: 0; }
.intro, .process-grid, .form-grid, .faq-grid { display: grid; gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.intro, .process-grid { grid-template-columns: 1fr 1fr; }
.intro { align-items: end; }
.intro h2 { max-width: 510px; }
.intro p, .feature p, .steps p, .faq p, .form-intro p:not(.eyebrow), .guide p:not(.eyebrow) { color: var(--muted); }
.three-col { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.05rem; margin-top: 2rem; }
.feature { background: white; border: 1px solid var(--line); border-top: 2px solid #c3a16a; padding: clamp(1.25rem,2.3vw,1.9rem); border-radius: 0 0 8px 8px; }
.feature h2 { font-size: 1.65rem; }
.feature p { margin-top: 0.64rem; }
.process-grid h2 { max-width: 440px; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 1rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps p { margin-top: 0.4rem; }
.step-no { width: 34px; height: 34px; display: grid; place-content: center; font-size: 0.9rem; background: #f4eddf; color: #674718; border-radius: 50%; font-weight: 700; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem,5vw,4.7rem); align-items: end; padding: clamp(1.4rem,4vw,3rem); background: #edf1f6; border-left: 3px solid #b39156; border-radius: 0 8px 8px 0; }
.guide h2 { font-size: clamp(1.65rem,3vw,2.5rem); }
.form-grid { grid-template-columns: 0.75fr 1.25fr; }
.form-intro h2 { margin-bottom: 1.2rem; }
.form-intro > p:last-child { margin-top: 1.6rem; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: white; }
.form { display: grid; gap: 1.05rem; padding: clamp(1.1rem,3vw,2rem); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
label, legend { font-size: 0.9rem; font-weight: 650; line-height: 1.4; }
label { display: block; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 45px; display: block; margin-top: 0.42rem; padding: 0.64rem 0.7rem; border: 1px solid #b4bfca; border-radius: 5px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg,transparent 50%,#486070 50%), linear-gradient(135deg,#486070 50%,transparent 50%); background-position: calc(100% - 16px) 53%,calc(100% - 11px) 53%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #59687a; }
fieldset { border: 1px solid var(--line); padding: 0.8rem; min-width: 0; border-radius: 5px; }
fieldset .check + .check { margin-top: 0.55rem; }
.check { display: flex; align-items: flex-start; gap: 0.65rem; font-weight: 460; }
.check input { margin: 0.18rem 0 0; width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: #624716; }
.optional { font-weight: 400; color: var(--muted); }
.form-help { font-size: 0.87rem; color: var(--muted); margin: 0; }
.form > .button { justify-self: start; }
.trap { display: none; }
.feedback { border-radius: 5px; padding: 0.75rem 0.9rem; margin: 0; }
.feedback.ok { background: #e9f5ee; color: #1b5331; }
.feedback.error { background: #fff0eb; color: #792f23; }
.faq-grid { grid-template-columns: 0.7fr 1.3fr; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding-block: 0.85rem; font-weight: 630; }
.faq summary::marker { color: var(--gold-deep); }
.faq p { padding-bottom: 1rem; }

.policy-layout { display: grid; grid-template-columns: minmax(160px,220px) minmax(0,1fr); gap: clamp(1.4rem,5vw,5.1rem); padding-block: clamp(2.6rem,6vw,5rem); }
.policy-sidebar nav { position: sticky; top: 6.25rem; padding: 0.85rem 1.1rem; border-left: 2px solid #c3a16a; background: var(--surface); display: grid; gap: 0.36rem; border-radius: 0 5px 5px 0; }
.policy-sidebar p { font-size: 0.86rem; margin-bottom: 0.35rem; font-weight: 690; }
.policy-sidebar a { font-size: 0.92rem; text-decoration: none; color: #394d62; }
.policy-sidebar a:hover { text-decoration: underline; }
.policy { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.policy h2 { font-size: clamp(1.8rem,3.3vw,2.6rem); margin-bottom: 0.95rem; }
.policy ul { margin-block: 0.9rem 1.1rem; padding-left: 1.3rem; }
.policy li + li { margin-top: 0.55rem; }
.callout { padding: 1rem 1.2rem; border-left: 3px solid #b39156; background: var(--surface); margin-bottom: 1rem; }
.callout p { margin: 0.3rem 0 0; }
.sources, .revision { color: var(--muted); font-size: 0.9rem; }
.sources a { display: inline-block; }
.policy-list { margin-block: 1rem; }
.policy-list dt { font-weight: 680; }
.policy-list dd { margin: 0.3rem 0 1rem; }
.site-footer { background: var(--navy); color: #d9e1eb; padding-block: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.55rem; }
.footer-grid .brand img { width: 172px; margin-bottom: 0.8rem; }
.footer-grid p, .footer-grid nav a { font-size: 0.88rem; }
.footer-grid nav { display: grid; gap: 0.2rem; align-content: start; }
.footer-grid nav a { width: fit-content; text-decoration: none; }
.footer-grid nav a:hover { color: #e4c798; }

.internal { min-height: 54vh; background: var(--surface); }
.internal h1 { font-size: clamp(2.5rem,5vw,4.1rem); margin-bottom: 1rem; overflow-wrap: anywhere; }
.internal .form-grid { margin-top: 1.5rem; }
.dashboard-list { display: grid; gap: 1rem; }
.dashboard-card { margin-top: 1rem; padding: 1.4rem; }
.dashboard-card h2, .management-section h2 { font-size: clamp(1.45rem,2.8vw,2.3rem); margin-bottom: 0.7rem; }
.dashboard-card h3 { margin-top: 1.3rem; margin-bottom: 0.55rem; }
.subtle { color: var(--muted); }
.ref-links, .profile-list { overflow-wrap: anywhere; }
.ref-links li + li { margin-top: 0.65rem; }
.tablescroll { overflow: auto; }
table { width: 100%; text-align: left; border-collapse: collapse; }
th, td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
th { white-space: nowrap; background: #edf2f7; }
.filter { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0; }
.filter.inline { margin: 0; flex-wrap: nowrap; align-items: center; }
.filter.inline select { margin: 0; min-width: 9rem; }
.commission-form { padding: 1rem; }
.management-section { margin-top: 2.6rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }

@media (max-width: 880px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { column-gap: 0.65rem; }
}
@media (max-width: 690px) {
  html { scroll-padding-top: 4.8rem; }
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 59px; }
  .signature { gap: 0.65rem; }
  .brand-divider { height: 22px; }
  .header-access { padding: 0.38rem 0.5rem; font-size: 0.8rem; }
  .hero { min-height: 535px; background-image: linear-gradient(90deg,#0c1725ea 0%,#0c1725ab 75%,#0c172586), var(--hero-image); background-position: center, 65% center; }
  .hero-compliance { background-position: center, 56% center; }
  .hero-inner { padding-block: 4.1rem; }
  .hero-copy { margin-top: 1.12rem; }
  .intro, .process-grid, .form-grid, .faq-grid, .guide { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-sidebar nav { display: flex; flex-wrap: wrap; gap: 0.45rem 0.9rem; }
  .policy-sidebar nav p { width: 100%; margin: 0; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > div { grid-column: 1 / -1; }
}
@media (max-width: 450px) {
  .two-col { grid-template-columns: 1fr; }
  .header-access { display: none; }
  h1 { font-size: clamp(2.46rem,10.2vw,3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
