/* =============================================================================
 * EduPrep — Landing page styles
 * Tokens (brand colors, type, spacing) + page-level component styles.
 * This file is used only by layouts/landing.html.erb — no PicoCSS conflict.
 * =========================================================================== */

/* ---- tokens ---------------------------------------------------------------- */
:root {
  --gb-amber-50:   #fffbeb;
  --gb-amber-100:  #fef3c7;
  --gb-amber-200:  #fde68a;
  --gb-amber-300:  #fcd34d;
  --gb-amber-400:  #fbbf24;
  --gb-amber-500:  #f59e0b;
  --gb-amber-600:  #d97706;
  --gb-amber-700:  #b45309;
  --gb-amber-800:  #92400e;
  --gb-amber-900:  #78350f;

  --gb-primary:           #d97706;
  --gb-primary-hover:     #b45309;
  --gb-primary-focus:     rgba(217,119,6,.35);

  --gb-bg:                #ffffff;
  --gb-bg-subtle:         rgb(251,251.5,252.25);
  --gb-fg:                #373c44;
  --gb-fg-muted:          #646b79;
  --gb-border-muted:      rgb(231,234,239.5);
  --gb-border:            #cfd5e2;
  --gb-secondary:         #5d6b89;
  --gb-contrast:          #181c25;

  --gb-h1: #2d3138;
  --gb-h2: #373c44;
  --gb-h3: #424751;

  --gb-success-strong:    rgb(28.5,105.5,84);
  --gb-success-bg:        rgba(76,154.5,137.5,.08);
  --gb-danger-strong:     rgb(136,56.5,53);
  --gb-danger-bg:         rgba(183.5,105.5,106.5,.08);

  --gb-mark-bg:           rgb(252.5,230.5,191.5);
  --gb-mark-fg:           #0f1114;

  --gb-area-lc: #d97706;
  --gb-area-mt: #2563eb;
  --gb-area-cn: #16a34a;
  --gb-area-ch: #9333ea;

  --gb-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gb-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --gb-radius:      0.25rem;
  --gb-border-w:    0.0625rem;
  --gb-transition:  0.2s ease-in-out;

  --gb-shadow:
    0.0145rem 0.029rem 0.174rem rgba(129,145,181,.017),
    0.0335rem 0.067rem 0.402rem rgba(129,145,181,.024),
    0.0625rem 0.125rem 0.75rem  rgba(129,145,181,.03),
    0.1125rem 0.225rem 1.35rem  rgba(129,145,181,.036),
    0.5rem    1rem    6rem      rgba(129,145,181,.06),
    0 0 0 0.0625rem rgba(129,145,181,.015);

  --gb-container-lg: 1120px;
  --gb-container-md: 880px;
}

/* ---- reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--gb-bg);
  color: var(--gb-fg);
  font-family: var(--gb-font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gb-primary); text-decoration: none; }
a:hover { color: var(--gb-primary-hover); }
::selection { background: var(--gb-mark-bg); color: var(--gb-mark-fg); }

/* ---- layout --------------------------------------------------------------- */
.container        { max-width: var(--gb-container-lg); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--gb-container-md); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---- section headers ------------------------------------------------------ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gb-fg-muted); font-weight: 600; margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ""; display: inline-block; width: 24px; height: 1px;
  background: var(--gb-primary);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.12;
  color: var(--gb-h1); max-width: 720px; margin: 0 0 12px;
}
.section-sub {
  font-size: 18px; color: var(--gb-fg-muted); max-width: 640px; margin: 0;
}

/* ---- motif: highlighter mark ---------------------------------------------- */
.mark {
  background: linear-gradient(120deg, transparent 1%, var(--gb-mark-bg) 1%, var(--gb-mark-bg) 99%, transparent 99%);
  background-size: 100% 58%; background-repeat: no-repeat; background-position: 0 88%;
  padding: 0 .08em; color: var(--gb-mark-fg); display: inline;
}
.pencil { position: relative; display: inline-block; }
.pencil::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -6px; height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 30 2, 60 6 T 120 5 T 198 7' stroke='%23d97706' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: .9;
}

/* ---- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--gb-radius);
  font-size: 15.5px; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; transition: all var(--gb-transition);
  font-family: var(--gb-font-sans); text-decoration: none;
}
.btn--primary {
  background: var(--gb-primary); color: white; border-color: var(--gb-primary);
}
.btn--primary:hover { background: var(--gb-primary-hover); border-color: var(--gb-primary-hover); color: white; text-decoration: none; }
.btn--ghost  { background: white; color: var(--gb-fg); border-color: var(--gb-border); }
.btn--ghost:hover { border-color: var(--gb-fg-muted); color: var(--gb-fg); text-decoration: none; }
.btn--lg { padding: 15px 24px; font-size: 16px; }
.btn .govbr {
  font-weight: 700; letter-spacing: -.02em; background: white;
  color: var(--gb-primary); padding: 1px 7px; border-radius: 3px; font-size: 13.5px;
}
.btn--primary .govbr { background: white; color: var(--gb-primary); }
.btn--primary:hover .govbr { background: rgba(255,255,255,.9); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* ---- nav ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: var(--gb-border-w) solid var(--gb-border-muted);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -.03em; color: var(--gb-primary); font-size: 20px;
  text-decoration: none;
}
.nav__brand:hover { color: var(--gb-primary-hover); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav__links a { color: var(--gb-fg); text-decoration: none; transition: color var(--gb-transition); }
.nav__links a:hover { color: var(--gb-primary); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; background: var(--gb-primary); color: white;
  border-radius: var(--gb-radius); font-size: 14.5px; font-weight: 500;
  border: 1px solid var(--gb-primary); transition: background var(--gb-transition);
  text-decoration: none;
}
.nav__cta:hover { background: var(--gb-primary-hover); border-color: var(--gb-primary-hover); color: white; }
.nav__govbr {
  font-weight: 700; letter-spacing: -.02em; font-size: 13px;
  background: white; color: var(--gb-primary); padding: 1px 6px; border-radius: 3px;
}
@media (max-width: 760px) { .nav__links { display: none; } }

/* ---- hero ----------------------------------------------------------------- */
.hero {
  position: relative; padding: 88px 0 96px; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(217,119,6,.06), transparent 70%),
    linear-gradient(180deg, #fffdf6 0%, #ffffff 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(217,119,6,.06) 31px, rgba(217,119,6,.06) 32px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.18), transparent 60%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.18), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; position: relative;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 48px; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px; background: white;
  border: 1px solid var(--gb-border-muted); border-radius: 999px;
  font-size: 13px; color: var(--gb-fg-muted); margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gb-amber-100); color: var(--gb-amber-800);
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02;
  letter-spacing: -.035em; font-weight: 700; color: var(--gb-h1);
  margin: 0 0 24px;
}
.hero__lede {
  font-size: 19px; line-height: 1.55; color: var(--gb-fg-muted);
  max-width: 520px; margin: 0 0 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.hero__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gb-fg-muted); }
.hero__meta-sep { width: 1px; height: 14px; background: var(--gb-border); }

/* hero mock — answer sheet card */
.gabarito-card {
  background: white; border: 1px solid var(--gb-border-muted);
  border-radius: 8px; box-shadow: var(--gb-shadow); padding: 22px;
}
.gabarito-card__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--gb-border-muted); margin-bottom: 14px;
}
.gabarito-card__title { font-weight: 600; font-size: 14.5px; color: var(--gb-h2); }
.gabarito-card__chip {
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  background: var(--gb-amber-50); color: var(--gb-amber-800); border: 1px solid var(--gb-amber-200);
}
.answer-row {
  display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--gb-border-muted);
}
.answer-row:last-of-type { border-bottom: 0; }
.answer-row__num { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; color: var(--gb-fg-muted); }
.bubbles { display: flex; gap: 10px; }
.bubble {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gb-border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--gb-fg-muted); background: white;
}
.bubble.is-key {
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.55), transparent 50%), var(--gb-amber-300);
  border-color: var(--gb-amber-500); color: var(--gb-amber-900);
}
.bubble.is-marked { background: var(--gb-fg); border-color: var(--gb-fg); color: white; }

.gabarito-card__foot {
  margin-top: 16px; padding: 10px 12px;
  background: var(--gb-bg-subtle); border: 1px solid var(--gb-border-muted); border-radius: 4px;
  font-size: 12px; color: var(--gb-fg-muted);
  display: flex; justify-content: space-between; align-items: center;
}

/* ---- stats ---------------------------------------------------------------- */
.stats {
  border-top: 1px solid var(--gb-border-muted); border-bottom: 1px solid var(--gb-border-muted);
  background: var(--gb-bg-subtle);
}
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: repeat(2,1fr); gap: 28px; } }
.stat__num {
  font-size: 36px; font-weight: 700; letter-spacing: -.03em;
  color: var(--gb-h1); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat__num .unit { font-size: 22px; color: var(--gb-primary); font-weight: 600; margin-left: 2px; }
.stat__label { font-size: 13.5px; color: var(--gb-fg-muted); margin-top: 8px; }

/* ---- demo question -------------------------------------------------------- */
.demo { background: linear-gradient(180deg,#fff 0%,#fffdf6 100%); }
.demo__card {
  margin-top: 40px; background: white; border: 1px solid var(--gb-border-muted);
  border-radius: 8px; box-shadow: var(--gb-shadow); overflow: hidden;
}
.demo__head {
  padding: 16px 22px; background: var(--gb-bg-subtle); border-bottom: 1px solid var(--gb-border-muted);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.demo__head-left { display: flex; align-items: center; gap: 12px; }
.demo__pill {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px;
  background: white; border: 1px solid var(--gb-border-muted); color: var(--gb-fg-muted);
}
.demo__pill--lc { color: var(--gb-area-lc); border-color: rgba(217,119,6,.4); background: var(--gb-amber-50); }
.demo__habilidade {
  font-family: var(--gb-font-mono); font-size: 12.5px; color: var(--gb-fg-muted);
  background: white; padding: 3px 8px; border-radius: 3px; border: 1px solid var(--gb-border-muted);
}
.demo__body { padding: 28px 22px 22px; }
.demo__stem { font-size: 16.5px; line-height: 1.55; color: var(--gb-fg); margin: 0 0 20px; }
.demo__quote {
  margin: 0 0 20px; padding: 12px 18px;
  border-left: 3px solid var(--gb-primary); background: var(--gb-amber-50);
  color: var(--gb-fg); font-style: italic; font-size: 15px; line-height: 1.55;
}
.demo__alts { display: grid; gap: 8px; margin-bottom: 18px; }

/* radio-based alternatives: no JS needed */
.alt { display: none; }
.alt-label {
  display: grid; grid-template-columns: 32px 1fr 24px; align-items: center; gap: 14px;
  padding: 12px 16px; border: 1px solid var(--gb-border-muted); border-radius: var(--gb-radius);
  background: white; cursor: pointer; font-size: 15px; color: var(--gb-fg); transition: all var(--gb-transition);
}
.alt-label:hover { border-color: var(--gb-fg-muted); background: #fafafa; }
.alt__letter {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gb-border);
  background: white; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--gb-fg-muted); transition: all var(--gb-transition);
}
.alt__mark { font-size: 18px; opacity: 0; }

/* selected state via :has() */
.demo__alts:has(.alt:checked) .alt-label { cursor: default; }
.alt:checked + .alt-label { border-color: var(--gb-fg); background: #fafafa; }
.alt:checked + .alt-label .alt__letter { background: var(--gb-fg); border-color: var(--gb-fg); color: white; }

/* graded states (applied server-side after submit) */
.alt-label.correct { border-color: var(--gb-success-strong); background: var(--gb-success-bg); }
.alt-label.correct .alt__letter { background: var(--gb-success-strong); border-color: var(--gb-success-strong); color: white; }
.alt-label.correct .alt__mark { opacity: 1; color: var(--gb-success-strong); }
.alt-label.incorrect { border-color: var(--gb-danger-strong); background: var(--gb-danger-bg); }
.alt-label.incorrect .alt__letter { background: var(--gb-danger-strong); border-color: var(--gb-danger-strong); color: white; }
.alt-label.incorrect .alt__mark { opacity: 1; color: var(--gb-danger-strong); }

.demo__foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 16px;
  border-top: 1px solid var(--gb-border-muted); margin-top: 4px;
}
.demo__feedback { font-size: 14px; color: var(--gb-fg-muted); display: flex; align-items: center; gap: 8px; }
.demo__feedback strong { color: var(--gb-fg); font-weight: 600; }
.demo__feedback--ok strong { color: var(--gb-success-strong); }
.demo__feedback--bad strong { color: var(--gb-danger-strong); }

/* hide "Responder" when nothing checked, show once something is checked */
.demo__submit-wrap { display: flex; gap: 10px; }
.btn--submit-demo {
  display: none; /* shown only when a radio is checked — needs :has() */
}
form.demo-form:has(.alt:checked) .btn--submit-demo { display: inline-flex; }
form.demo-form:has(.alt:checked) .demo__prompt { display: none; }

/* ---- features ------------------------------------------------------------- */
.features {
  background: #fffdf6;
  border-top: 1px solid var(--gb-border-muted); border-bottom: 1px solid var(--gb-border-muted);
}
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 880px) { .features__grid { grid-template-columns: 1fr; } }
.feature {
  background: white; border: 1px solid var(--gb-border-muted); border-radius: 8px;
  padding: 28px 24px 26px; transition: box-shadow var(--gb-transition);
}
.feature:hover { box-shadow: var(--gb-shadow); }
.feature__icon {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--gb-amber-50); color: var(--gb-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; border: 1px solid var(--gb-amber-200);
}
.feature h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 8px; color: var(--gb-h2); }
.feature p  { margin: 0 0 14px; color: var(--gb-fg-muted); font-size: 14.5px; line-height: 1.55; }
.feature__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.feature__list li { font-size: 13.5px; color: var(--gb-fg); display: flex; align-items: flex-start; gap: 8px; }
.feature__list li::before { content: "✓"; color: var(--gb-success-strong); font-weight: 700; margin-top: 1px; }

/* ---- audiences (CSS :has() tabs) ----------------------------------------- */
.tab-shell { --active-e: 0; --active-p: 0; --active-c: 0; }
.tab-radio { display: none; }
.tab-panel { display: none; }

.tab-shell:has(#aud-e:checked) .tab-panel[data-tab="e"],
.tab-shell:has(#aud-p:checked) .tab-panel[data-tab="p"],
.tab-shell:has(#aud-c:checked) .tab-panel[data-tab="c"] { display: block; }

.audiences__tabs {
  display: flex; gap: 8px; margin-top: 32px; margin-bottom: 28px;
  border-bottom: 1px solid var(--gb-border-muted); flex-wrap: wrap;
}
.audiences__tab {
  appearance: none; background: transparent; border: 0; font-family: inherit;
  font-size: 15px; font-weight: 500; color: var(--gb-fg-muted);
  padding: 14px 6px; margin-right: 24px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; transition: color var(--gb-transition), border-color var(--gb-transition);
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.audiences__tab:hover { color: var(--gb-fg); }

/* active tab state using :has() */
.tab-shell:has(#aud-e:checked) label[for="aud-e"],
.tab-shell:has(#aud-p:checked) label[for="aud-p"],
.tab-shell:has(#aud-c:checked) label[for="aud-c"] {
  color: var(--gb-h1); border-bottom-color: var(--gb-primary);
}

.audiences__panel {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
@media (max-width: 880px) { .audiences__panel { grid-template-columns: 1fr; gap: 36px; } }

.audiences__copy h3 {
  font-size: 28px; font-weight: 700; letter-spacing: -.025em; margin: 0 0 14px; color: var(--gb-h1);
}
.audiences__copy p { font-size: 16px; color: var(--gb-fg-muted); margin: 0 0 22px; }
.audiences__bullets { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.audiences__bullets li {
  display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14.5px; color: var(--gb-fg);
}
.audiences__bullets li strong { color: var(--gb-h2); font-weight: 600; }
.audiences__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gb-amber-100); color: var(--gb-amber-800);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}

/* mock app screens */
.mock { background: white; border: 1px solid var(--gb-border-muted); border-radius: 8px; box-shadow: var(--gb-shadow); overflow: hidden; }
.mock__chrome {
  height: 32px; background: var(--gb-bg-subtle); border-bottom: 1px solid var(--gb-border-muted);
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.mock__chrome .dot-r { width: 8px; height: 8px; border-radius: 50%; background: var(--gb-border); }
.mock__chrome .url {
  margin-left: 10px; background: white; border: 1px solid var(--gb-border-muted);
  border-radius: 3px; font-size: 11px; color: var(--gb-fg-muted);
  padding: 2px 8px; font-family: var(--gb-font-mono);
}
.mock__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--gb-border-muted); font-size: 13px;
}
.mock__topbar .brand { color: var(--gb-primary); font-weight: 600; letter-spacing: -.02em; }
.mock__topbar .user  { color: var(--gb-fg-muted); }
.mock__body   { padding: 18px 16px 20px; }
.mock__hgroup { margin-bottom: 14px; }
.mock__hgroup h4 { margin: 0 0 2px; font-size: 16px; color: var(--gb-h1); font-weight: 700; }
.mock__hgroup p  { margin: 0; font-size: 12.5px; color: var(--gb-fg-muted); }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock__tile { border: 1px solid var(--gb-border-muted); border-radius: 4px; padding: 10px 12px; background: white; }
.mock__tile-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gb-fg-muted); font-weight: 600; margin-bottom: 6px; }
.mock__tile-num { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--gb-h1); }
.mock__progress { height: 6px; background: var(--gb-bg-subtle); border-radius: 999px; overflow: hidden; border: 1px solid var(--gb-border-muted); }
.mock__progress span { display: block; height: 100%; background: var(--gb-primary); }
.mock__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; font-size: 12.5px; border-bottom: 1px dashed var(--gb-border-muted);
}
.mock__row:last-child { border-bottom: 0; }
.mock__row .area { font-family: var(--gb-font-mono); font-size: 11px; color: var(--gb-fg-muted); }
.area-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.mock__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px; white-space: nowrap;
}
.mock__ai-hint {
  margin-top: 10px; padding: 8px 10px;
  border: 1px dashed var(--gb-amber-300); background: var(--gb-amber-50);
  border-radius: 4px; font-size: 12px; color: var(--gb-amber-800);
  display: flex; align-items: center; gap: 6px;
}
.mock__progress-rows { display: grid; gap: 8px; margin-top: 6px; }
.mock__progress-row { display: grid; grid-template-columns: 28px 1fr 32px; gap: 8px; align-items: center; }
.mock__progress-row span { font-size: 11px; font-family: var(--gb-font-mono); color: var(--gb-fg-muted); }
.mock__progress-row .pct { text-align: right; }

/* ---- matriz --------------------------------------------------------------- */
.matriz { background: white; }
.matriz__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 880px) { .matriz__grid { grid-template-columns: repeat(2,1fr); } }
.area-card {
  padding: 22px 20px; border-radius: 8px; border: 1px solid var(--gb-border-muted);
  background: white; position: relative; overflow: hidden;
  transition: transform var(--gb-transition), box-shadow var(--gb-transition);
}
.area-card:hover { box-shadow: var(--gb-shadow); }
.area-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--bar);
}
.area-card[data-area="lc"] { --bar: var(--gb-area-lc); }
.area-card[data-area="mt"] { --bar: var(--gb-area-mt); }
.area-card[data-area="cn"] { --bar: var(--gb-area-cn); }
.area-card[data-area="ch"] { --bar: var(--gb-area-ch); }
.area-card__code { font-family: var(--gb-font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--bar); font-weight: 700; margin-bottom: 8px; }
.area-card__name { font-size: 15.5px; font-weight: 600; color: var(--gb-h2); margin-bottom: 10px; line-height: 1.25; }
.area-card__meta { font-size: 12.5px; color: var(--gb-fg-muted); display: flex; gap: 12px; }
.area-card__meta strong { color: var(--gb-h2); font-weight: 600; }

/* ---- FAQ (<details>) ------------------------------------------------------- */
.faq { background: var(--gb-bg-subtle); border-top: 1px solid var(--gb-border-muted); border-bottom: 1px solid var(--gb-border-muted); }
.faq__list { margin-top: 40px; background: white; border: 1px solid var(--gb-border-muted); border-radius: 8px; overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--gb-border-muted); }
.faq__item:last-child { border-bottom: 0; }

/* remove the browser default triangle */
.faq__item > summary { list-style: none; }
.faq__item > summary::-webkit-details-marker { display: none; }

.faq__btn {
  width: 100%; background: white; font-family: inherit;
  font-size: 16px; font-weight: 500; color: var(--gb-h2);
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; transition: background var(--gb-transition);
}
.faq__btn:hover { background: var(--gb-bg-subtle); }
.faq__icon {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--gb-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gb-fg-muted); font-size: 16px; line-height: 1;
  transition: transform var(--gb-transition), background var(--gb-transition);
}
.faq__item[open] .faq__icon {
  background: var(--gb-primary); border-color: var(--gb-primary);
  color: white; transform: rotate(45deg);
}
.faq__panel {
  padding: 0 24px 22px; font-size: 14.5px; line-height: 1.6; color: var(--gb-fg-muted);
}

/* ---- btn--sm --------------------------------------------------------------- */
.btn--sm { padding: 9px 16px; font-size: 14.5px; }

/* ---- processos seletivos -------------------------------------------------- */
.processos {
  background: #fffdf6;
  border-top: 1px solid var(--gb-border-muted);
  border-bottom: 1px solid var(--gb-border-muted);
}
.processos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 880px) { .processos__grid { grid-template-columns: 1fr; } }

.processos__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 56px 24px;
  color: var(--gb-fg-muted);
}
.processos__empty svg { opacity: 0.35; }
.processos__empty p { margin: 0; max-width: 38ch; line-height: 1.6; }
.processos__empty p:first-of-type { font-size: 1.0625rem; font-weight: 500; color: var(--gb-fg); }

.processo-card {
  background: white;
  border: 1px solid var(--gb-border-muted);
  border-radius: 8px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--gb-transition);
}
.processo-card:hover { box-shadow: var(--gb-shadow); }

.processo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.processo-card__icon {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--gb-amber-50); color: var(--gb-primary);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gb-amber-200);
}
.processo-card__year {
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  background: var(--gb-amber-50); color: var(--gb-amber-800); border: 1px solid var(--gb-amber-200);
}
.processo-card__title {
  font-size: 17px; font-weight: 600; letter-spacing: -.015em;
  color: var(--gb-h2); line-height: 1.3;
  margin: 0 0 14px; flex: 1;
}
.processo-card__meta {
  margin: 0 0 22px; padding: 0; list-style: none;
  display: grid; gap: 8px;
}
.processo-card__meta li {
  font-size: 13.5px; color: var(--gb-fg-muted);
  display: flex; align-items: center; gap: 8px;
}
.processo-card__meta li svg { flex-shrink: 0; color: var(--gb-primary); }
.processo-card__footer { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ---- closer --------------------------------------------------------------- */
.closer {
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(217,119,6,.10), transparent 70%),
    var(--gb-bg);
  text-align: center; padding: 96px 0 104px;
}
.closer h2 {
  font-size: clamp(32px, 4.4vw, 52px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.05; margin: 0 0 16px; color: var(--gb-h1);
}
.closer p { font-size: 18px; color: var(--gb-fg-muted); margin: 0 auto 32px; max-width: 560px; }
.closer__ctas { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---- footer --------------------------------------------------------------- */
.footer {
  background: white; border-top: 1px solid var(--gb-border-muted);
  padding: 48px 0 36px; font-size: 13.5px; color: var(--gb-fg-muted);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--gb-h3); font-weight: 600; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--gb-fg-muted); text-decoration: none; transition: color var(--gb-transition); }
.footer a:hover { color: var(--gb-primary); }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--gb-primary); }
.footer__legal {
  border-top: 1px solid var(--gb-border-muted); padding-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 12.5px;
}
.footer__pill {
  background: var(--gb-bg-subtle); border: 1px solid var(--gb-border-muted);
  padding: 4px 10px; border-radius: 999px; font-size: 11.5px;
  color: var(--gb-fg-muted); letter-spacing: .02em;
}

/* ---- inline SVG icons ----------------------------------------------------- */
.icon { display: inline-block; vertical-align: middle; }

/* ---- notificacoes --------------------------------------------------------- */
.notificacoes {
  background: var(--gb-bg-subtle);
  border-top: 1px solid var(--gb-border-muted);
  border-bottom: 1px solid var(--gb-border-muted);
  padding: 80px 0;
  text-align: left;
}
.notificacoes__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 32px;
  text-align: left;
}
.notificacoes__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gb-fg-muted);
}
.notificacoes__form input[type="text"],
.notificacoes__form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gb-border);
  border-radius: var(--gb-radius);
  font-size: 15px;
  font-family: var(--gb-font-sans);
  background: var(--gb-bg);
  color: var(--gb-fg);
  transition: border-color var(--gb-transition);
  box-sizing: border-box;
}
.notificacoes__form input:focus {
  outline: none;
  border-color: var(--gb-primary);
}
@media (max-width: 680px) {
  .notificacoes__form { grid-template-columns: 1fr; }
}
