@layer od-layout {
  :where(.od-stack,.od-row,.od-row-top,.od-cluster,.od-grid,.od-field,.od-stat,.od-cell,.od-tile) > :where(*) { min-width: 0; }

  /* containers */
  .od-stack   { display: flex; flex-direction: column; gap: var(--od-gap, 8px); }
  .od-row     { display: flex; align-items: center; gap: var(--od-gap, 8px); }
  .od-row-top { display: flex; align-items: flex-start; gap: var(--od-gap, 8px); }
  .od-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--od-gap, 8px); }
  .od-fill    { flex: 1 1 0; min-width: 0; }
  .od-fixed   { flex: none; }
  .od-grid    { display: grid; gap: var(--od-gap, 12px); grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr)); }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat, .od-field, .od-cell { display: grid; gap: var(--od-gap, 2px); }
  :where(.od-stat,.od-field,.od-cell) > :where(*) { display: block; }
  .od-tile { display: grid; grid-template-rows: auto 1fr; }
  :where(.od-tile) > :where(*) { display: block; }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media { display: block; width: 100%; height: auto; aspect-ratio: var(--od-ratio, auto); }
  .od-media-cover { object-fit: cover; }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .od-clamp-2, .od-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
  .od-clamp-2 { -webkit-line-clamp: 2; }
  .od-clamp-3 { -webkit-line-clamp: 3; }
  .od-lines-2 { min-height: calc(2 * 1.4em); }   /* block-level reservation for a shared baseline */
  .od-nowrap  { white-space: nowrap; }           /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep    { word-break: keep-all; overflow-wrap: anywhere; } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; }
  .od-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail { display: flex; gap: var(--od-gap, 8px); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
             padding-inline: var(--od-rail-pad, 16px); scroll-padding-inline: var(--od-rail-pad, 16px); }
  .od-rail::-webkit-scrollbar { display: none; }
  :where(.od-rail) > :where(*) { flex: none; scroll-snap-align: start; }
  :where(.od-rail) > :where(:last-child) { margin-inline-end: var(--od-rail-pad, 16px); }

  .od-spacer { flex: none; visibility: hidden; pointer-events: none; }
  .od-touch  { min-width: 44px; min-height: 44px; }
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ============================================================
   Concurso de Remoção — Toledo/PR  ·  Design tokens
   ============================================================ */
:root {
  color-scheme: light;

  /* raw palette — institutional green derived from the municipal brasão */
  --green-900:#0b3b22;
  --green-800:#11603a;
  --green-700:#14653b;
  --green-600:#1c7a48;
  --green-500:#2f9a60;
  --green-100:#d6e9dc;
  --green-on-dark-1:#eaf4ee;
  --green-on-dark-2:#cfe3d6;
  --green-on-dark-3:#c8dccf;
  --green-on-dark-4:#9dbbab;
  --green-hover-white:#eef5f0;
  --green-050:#e9f3ec;
  --red-700:#a5202a;
  --red-050:#f8eaea;
  --slate-900:#14211a;
  --slate-700:#33403a;
  --slate-500:#5b6b60;
  --slate-400:#7d8b81;
  --slate-300:#aeb9b1;
  --line:#dce3dd;
  --white:#ffffff;
  --paper:#f5f7f4;

  /* semantic tokens */
  --color-bg: var(--paper);
  --color-surface: var(--white);
  --color-surface-2: #eef2ee;
  --color-text: var(--slate-900);
  --color-muted: var(--slate-500);
  --color-border: var(--line);
  --color-primary: var(--green-700);
  --color-primary-strong: var(--green-800);
  --color-primary-soft: var(--green-050);
  --color-on-primary: #ffffff;
  --color-accent: var(--red-700);
  --color-accent-soft: var(--red-050);
  --color-focus: var(--green-500);

  /* type */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.5rem, 1.15rem + 1.4vw, 2rem);
  --step-4: clamp(1.95rem, 1.25rem + 2.8vw, 3.1rem);
  --leading: 1.6;
  --leading-tight: 1.14;

  /* space — multiples of 4 / 8 */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20,33,26,.06), 0 1px 3px rgba(20,33,26,.05);
  --shadow-md: 0 8px 22px -10px rgba(20,33,26,.25), 0 2px 6px rgba(20,33,26,.06);
  --shadow-lg: 0 28px 52px -24px rgba(11,40,24,.38);

  /* layout */
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  /* motion */
  --dur-fast: 150ms; --dur: 220ms; --dur-slow: 320ms;
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in: cubic-bezier(.4,0,1,1);
}

/* dark theme — audited independently from light */
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
}
:root[data-theme="dark"] {
  --color-bg: #0d1511;
  --color-surface: #15201a;
  --color-surface-2: #1b2822;
  --color-text: #e7efe9;
  --color-muted: #a3b3a8;
  --color-border: #2b3a32;
  --color-primary: #5cc088;
  --color-primary-strong: #7ad3a1;
  --color-primary-soft: #16281f;
  --color-on-primary: #08160f;
  --color-accent: #ef918d;
  --color-accent-soft: #2a1a1b;
  --color-focus: #7ad3a1;
  --line: #2b3a32;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #0d1511;
    --color-surface: #15201a;
    --color-surface-2: #1b2822;
    --color-text: #e7efe9;
    --color-muted: #a3b3a8;
    --color-border: #2b3a32;
    --color-primary: #5cc088;
    --color-primary-strong: #7ad3a1;
    --color-primary-soft: #16281f;
    --color-on-primary: #08160f;
    --color-accent: #ef918d;
    --color-accent-soft: #2a1a1b;
    --color-focus: #7ad3a1;
    --line: #2b3a32;
  }
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--leading-tight); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; }
a { color: var(--color-primary); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--r-sm); }
::selection { background: var(--green-100); color: var(--green-900); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--color-primary); color: var(--color-on-primary);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 46rem; margin-bottom: var(--space-6); display: grid; gap: var(--space-3); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--color-muted); max-width: 60ch; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--color-surface);
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-4);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; min-height: 44px; gap: var(--space-3); text-decoration: none; color: inherit; flex: none; }
.brand img { height: 34px; width: auto; }
.brand__divider { width: 1px; height: 30px; background: var(--color-border); }
.brand__product { display: grid; gap: 0; line-height: 1.1; }
.brand__product strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: -0.01em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-1); }
.site-nav a {
  color: var(--color-text); text-decoration: none; font-size: var(--step--1); font-weight: 500;
  padding: 8px 12px; border-radius: var(--r-sm); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { background: var(--color-primary-soft); color: var(--color-primary-strong); }
.site-nav a[aria-current="page"] { color: var(--color-primary-strong); font-weight: 700; }
.site-nav a.nav-mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text);
  cursor: pointer; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--color-primary-soft); border-color: var(--green-100); }
.menu-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600;
  border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-strong); }
.btn--ghost { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary-strong); background: var(--color-primary-soft); }
.btn--onDark { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--onDark:hover { background: rgba(255,255,255,.24); }
.btn--white { background: #fff; color: var(--green-800); }
.btn--white:hover { background: var(--green-hover-white); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-flex; }
.btn.is-loading .btn__label { opacity: .8; }
.spinner svg { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(40px, 7vw, 76px) clamp(32px, 5vw, 56px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: var(--space-4); max-width: 40rem; }
.hero h1 { font-size: var(--step-4); font-weight: 700; }
.hero__lead { font-size: var(--step-1); color: var(--color-muted); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero__note { font-size: var(--step--1); color: var(--color-muted); }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--color-primary-soft); color: var(--color-primary-strong);
  font-size: var(--step--1); font-weight: 600; border: 1px solid var(--green-100);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); }
.status-pill .dot::after { content: ""; }
.status-pill[data-state="closed"] { background: var(--color-accent-soft); color: var(--color-accent); border-color: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.status-pill[data-state="closed"] .dot { background: var(--color-accent); }

.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg); background: var(--color-surface);
}
.hero__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--green-050); }
.hero__badge {
  position: absolute; left: -8px; bottom: 20px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 10px 16px; display: flex; align-items: center; gap: 10px;
}
.hero__badge svg { color: var(--color-primary); flex: none; }
.hero__badge .od-stat > span:first-child { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hero__badge .od-stat > span:last-child { font-size: .72rem; color: var(--color-muted); }

/* countdown */
.countdown { display: flex; gap: var(--space-2); align-items: stretch; }
.countdown[hidden] { display: none; }
.countdown__cell {
  min-width: 76px; padding: 10px 12px; text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md);
}
.countdown__num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lbl { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); margin-top: 6px; }

/* ============================================================
   Notice strip
   ============================================================ */
.notice {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--green-100);
  background: var(--color-primary-soft); border-radius: var(--r-md); color: var(--color-text);
}
.notice svg { color: var(--color-primary-strong); flex: none; }
.notice strong { font-family: var(--font-display); }
.notice p + p { margin-top: var(--space-1); }
.notice--alert { border-color: color-mix(in srgb, var(--color-accent) 28%, transparent); border-left-color: var(--color-accent); background: var(--color-accent-soft); }
.notice--alert svg { color: var(--color-accent); }

/* ============================================================
   Steps (como funciona)
   ============================================================ */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
.step {
  position: relative; padding: var(--space-5); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--r-lg);
  display: grid; gap: var(--space-3); box-shadow: var(--shadow-sm);
}
.step__num {
  counter-increment: step; width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--color-primary-soft); color: var(--color-primary-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--color-muted); font-size: var(--step-0); }

/* ============================================================
   Timeline (cronograma)
   ============================================================ */
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 104px 28px minmax(0,1fr); gap: var(--space-4); }
.timeline .tl-date { font-weight: 700; font-family: var(--font-display); padding-top: 2px; }
.timeline .tl-rail { position: relative; display: flex; justify-content: center; }
.timeline .tl-rail::before {
  content: ""; position: absolute; top: 4px; bottom: -4px; width: 2px; background: var(--color-border);
}
.timeline li:last-child .tl-rail::before { display: none; }
.timeline .tl-dot {
  position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 3px;
  border-radius: 50%; background: var(--color-surface); border: 2px solid var(--slate-300);
}
.timeline .tl-body { padding-bottom: var(--space-6); display: grid; gap: 2px; }
.timeline .tl-body strong { font-family: var(--font-body); font-weight: 600; }
.timeline .tl-body span { color: var(--color-muted); font-size: var(--step--1); }
.timeline li.is-current .tl-dot { background: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-soft); }
.timeline li.is-current .tl-body strong { color: var(--color-primary-strong); }
.timeline li.is-done .tl-dot { border-color: var(--color-primary); background: var(--color-primary); }

/* ============================================================
   Cards
   ============================================================ */
.cards { display: grid; gap: var(--space-5); }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--space-5); display: grid; gap: var(--space-3);
  box-shadow: var(--shadow-sm);
}
.card__icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--color-primary-soft); color: var(--color-primary-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--color-muted); font-size: var(--step-0); }

/* ============================================================
   Documents
   ============================================================ */
.doc-list { display: grid; gap: var(--space-3); }
.doc {
  display: flex; gap: var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-5); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--r-md); text-decoration: none; color: inherit;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.doc:hover { border-color: var(--color-primary); background: var(--color-primary-soft); }
.doc__icon { color: var(--color-primary-strong); flex: none; }
.doc__meta { display: grid; gap: 2px; }
.doc__meta strong { font-weight: 600; }
.doc__meta span { color: var(--color-muted); font-size: var(--step--1); }
.doc svg.chev { margin-left: auto; color: var(--color-muted); flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: var(--space-3); }
.faq details {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-md); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5);
  font-weight: 600; display: flex; align-items: center; gap: var(--space-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: auto; transition: transform var(--dur) var(--ease-out); color: var(--color-muted); flex: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq__body { padding: 0 var(--space-5) var(--space-5); color: var(--color-muted); max-width: 68ch; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--green-800); color: var(--green-on-dark-1); }
.cta-band__inner {
  display: grid; gap: var(--space-5); align-items: center;
  padding-block: clamp(40px, 6vw, 64px);
}
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band p { color: var(--green-on-dark-2); max-width: 54ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--green-900); color: var(--green-on-dark-3); font-size: var(--step--1); }
.site-footer a { color: var(--green-on-dark-3); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; align-items: center; color: var(--green-on-dark-4);
}

/* ============================================================
   Forms
   ============================================================ */
.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: var(--step--1); }
.field__req { color: var(--color-accent); margin-left: 2px; }
.field__hint { font-size: var(--step--1); color: var(--color-muted); }
.input, .select {
  width: 100%; min-height: 46px; padding: 11px 14px;
  font: inherit; color: var(--color-text); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder { color: var(--slate-400); }
.input:hover, .select:hover { border-color: var(--slate-300); }
.input:focus, .select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.input[aria-invalid="true"] { border-color: var(--color-accent); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--color-accent-soft); }
.field__error { font-size: var(--step--1); color: var(--color-accent); display: flex; gap: 6px; align-items: flex-start; }
.field__error[hidden] { display: none; }
.field__control { position: relative; }
.field__control .input { padding-right: 52px; }
.field__fieldbtn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer; color: var(--color-muted);
}
.field__fieldbtn:hover { color: var(--color-text); background: var(--color-surface-2); }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); }
.checkbox input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color-primary); flex: none; }

/* ============================================================
   Login / auth layout
   ============================================================ */
.auth { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.auth__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.auth-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md);
  display: grid; gap: var(--space-5);
}
.auth-card h1 { font-size: var(--step-3); }
.auth-card .lead { color: var(--color-muted); }
.auth-aside { display: grid; gap: var(--space-4); }
.panel {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--space-5); display: grid; gap: var(--space-3);
}
.panel h2 { font-size: var(--step-1); display: flex; align-items: center; gap: 8px; }
.panel h2 svg { color: var(--color-primary-strong); }
.panel ol { list-style: none; display: grid; gap: var(--space-3); }
.panel ol li { display: flex; gap: 12px; }
.panel ol li .n {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-primary); color: var(--color-on-primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}
.form-alert {
  display: flex; gap: 12px; align-items: flex-start; padding: var(--space-4);
  border-radius: var(--r-md); border: 1px solid var(--green-100); background: var(--color-primary-soft);
  font-size: var(--step--1);
}
.form-alert svg { color: var(--color-primary-strong); flex: none; }
.form-alert[hidden] { display: none; }

/* ============================================================
   Result table / cards
   ============================================================ */
.search-bar {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-lg); padding: var(--space-5); box-shadow: var(--shadow-sm);
  display: grid; gap: var(--space-4);
}
.search-bar__row { display: grid; gap: var(--space-4); }
.search-bar .field__label { font-size: var(--step--1); }

.result-summary { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; }
.result-summary p { color: var(--color-muted); font-size: var(--step--1); }

.table-wrap { border: 1px solid var(--color-border); border-radius: var(--r-lg); overflow: hidden; background: var(--color-surface); }
table.results { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.results caption { text-align: left; padding: var(--space-4) var(--space-5); font-weight: 600; font-family: var(--font-display); }
.results th, .results td { text-align: left; padding: 12px var(--space-4); border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.results thead th { background: var(--color-surface-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); white-space: nowrap; }
.results tbody tr:last-child td { border-bottom: 0; }
.results tbody tr:hover { background: var(--color-primary-soft); }
.results .num { font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 600; white-space: nowrap;
}
.badge--ok { background: var(--color-primary-soft); color: var(--color-primary-strong); }
.badge--no { background: var(--color-surface-2); color: var(--color-muted); }
.badge--demo { background: var(--color-accent-soft); color: var(--color-accent); }

.result-cards { display: grid; gap: var(--space-3); }
.result-card {
  border: 1px solid var(--color-border); border-radius: var(--r-md); padding: var(--space-4);
  background: var(--color-surface); display: grid; gap: 10px;
}
.result-card__top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: flex-start; }
.result-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--space-4); }
.result-card__grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); }
.result-card__grid dd { margin: 0; font-size: var(--step--1); }

.empty-state {
  text-align: center; padding: clamp(40px, 7vw, 72px) var(--space-5);
  border: 1px dashed var(--color-border); border-radius: var(--r-lg); background: var(--color-surface);
  display: grid; gap: var(--space-3); justify-items: center;
}
.empty-state svg { color: var(--slate-300); }
.empty-state h2 { font-size: var(--step-2); }
.empty-state p { color: var(--color-muted); max-width: 48ch; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 768px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .search-bar__row { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) auto; align-items: end; }
  .cta-band__inner { grid-template-columns: minmax(0,1.4fr) auto; }
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); }
  .steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .auth__grid { grid-template-columns: minmax(0,1fr) minmax(0,0.85fr); }
}
@media (max-width: 1023px) {
  .site-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 6px);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md);
    box-shadow: var(--shadow-md); padding: var(--space-2); margin-left: 0;
  }
  .site-nav a { padding: 12px; }
  .site-nav[hidden] { display: none; }
  .site-nav a.nav-mobile-cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: var(--space-2); font-weight: 600;
    background: var(--color-primary); color: var(--color-on-primary);
  }
  .site-nav a.nav-mobile-cta:hover { background: var(--color-primary-strong); color: var(--color-on-primary); }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn--primary { display: none; }
}
@media (max-width: 767px) {
  .table-wrap { display: none; }
  .timeline li { grid-template-columns: 84px 24px minmax(0,1fr); gap: var(--space-3); }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 768px) {
  .result-cards { display: none; }
}

/* theme toggle icons */
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: inline-flex; }
:root[data-theme="dark"] .icon-moon { display: none; }

@media (max-width: 480px) {
  .brand__divider, .brand__product { display: none; }
  .brand img { height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ============================================================
   Acréscimos da integração Laravel
   ============================================================ */
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }


/* conteúdo do cronograma vindo do editor de texto da comissão */
.rich { display: grid; gap: var(--space-3); overflow-x: auto; }
.rich a { color: var(--color-primary-strong); }
.rich h2, .rich h3 { font-size: var(--step-1); }
.rich ul, .rich ol { padding-inline-start: 1.25rem; display: grid; gap: var(--space-1); }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.rich th, .rich td { text-align: left; padding: 8px 12px; border: 1px solid var(--color-border); }
.cronogramas { display: grid; gap: var(--space-5); }
.cronogramas .card h3 { font-size: var(--step-2); }

.page-pad-top { padding-top: var(--space-5); }
.bg-surface-2 { background: var(--color-surface-2); }
.site-footer__bottom--plain { border: 0; }
