:root {
  --bg: #f4fbf7;
  --bg-alt: #ecf7f1;
  --surface: #ffffff;
  --text: #122033;
  --muted: #5d6b7c;
  --border: #cfe4d7;
  --brand-blue: #2997cc;
  --brand-blue-dark: #1d82b3;
  --brand-blue-light: #4baedf;
  --brand-blue-rgb: 41, 151, 204;
  --brand-green: #2f9d63;
  --brand-green-dark: #247b4d;
  --brand-green-light: #63c88f;
  --brand-green-rgb: 47, 157, 99;
  --theme-primary: var(--brand-blue);
  --theme-primary-dark: var(--brand-blue-dark);
  --theme-primary-light: var(--brand-blue-light);
  --theme-primary-rgb: var(--brand-blue-rgb);
  --theme-secondary: var(--brand-green);
  --theme-secondary-dark: var(--brand-green-dark);
  --theme-secondary-light: var(--brand-green-light);
  --theme-secondary-rgb: var(--brand-green-rgb);
  --theme-footer: var(--brand-green);
  --theme-footer-rgb: var(--brand-green-rgb);
  --hero-accent-rgb: 41, 151, 204;
  --hero-secondary-rgb: 47, 157, 99;
  --hero-overlay-start: rgba(10, 39, 64, 0.7);
  --hero-overlay-mid: rgba(41, 151, 204, 0.24);
  --hero-overlay-end: rgba(47, 157, 99, 0.18);
  --hero-image-filter: saturate(0.92) brightness(0.88) contrast(1.04);
  --blue: var(--theme-primary);
  --blue-dark: var(--theme-primary-dark);
  --blue-light: var(--theme-primary-light);
  --green: var(--theme-primary);
  --green-light: var(--theme-primary-light);
  --shadow: 0 18px 40px rgba(var(--theme-primary-rgb), 0.1);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

body[data-theme="green-primary"] {
  --theme-primary: var(--brand-green);
  --theme-primary-dark: var(--brand-green-dark);
  --theme-primary-light: var(--brand-green-light);
  --theme-primary-rgb: var(--brand-green-rgb);
  --theme-secondary: var(--brand-blue);
  --theme-secondary-dark: var(--brand-blue-dark);
  --theme-secondary-light: var(--brand-blue-light);
  --theme-secondary-rgb: var(--brand-blue-rgb);
  --theme-footer: var(--brand-blue);
  --theme-footer-rgb: var(--brand-blue-rgb);
  --hero-accent-rgb: 47, 157, 99;
  --hero-secondary-rgb: 41, 151, 204;
  --hero-overlay-start: rgba(11, 44, 27, 0.72);
  --hero-overlay-mid: rgba(47, 157, 99, 0.26);
  --hero-overlay-end: rgba(41, 151, 204, 0.16);
  --hero-image-filter: saturate(0.88) brightness(0.86) contrast(1.02);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: #fff;
  color: var(--blue);
  border-bottom: 1px solid var(--border);
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}

.topbar-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-brand {
  flex: 0 0 auto;
}

.topbar-brand img {
  height: 56px;
  width: auto;
}

.topbar a,
.topbar span {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.22);
  border-radius: 999px;
  background: rgba(var(--theme-primary-rgb), 0.08);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(var(--theme-primary-rgb), 0.14);
  border-color: rgba(var(--theme-primary-rgb), 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(18, 32, 51, 0.05);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.mobile-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-links a:hover,
.mobile-links a:hover,
.nav-links a.active,
.mobile-links a.active {
  color: var(--blue);
  background: rgba(var(--theme-primary-rgb), 0.08);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--blue);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.mobile-nav.open {
  display: block;
}

.mobile-links {
  display: grid;
  gap: 8px;
  padding: 16px 0 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.94), rgba(var(--theme-primary-rgb), 0.78)),
    url("../img/hero-bg.jpg") center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -90px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 88px 0 84px;
}

.hero.hero-large .container {
  padding: 120px 0 112px;
}

.hero-home {
  min-height: min(78vh, 760px);
  isolation: isolate;
}

.hero-home::after {
  inset: auto 6% -110px auto;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(var(--hero-secondary-rgb), 0.18), transparent 72%);
}

.hero-home-media,
.hero-home-bg,
.hero-home-overlay {
  position: absolute;
  inset: 0;
}

.hero-home-media {
  z-index: 0;
}

.hero-home-bg {
  opacity: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: var(--hero-image-filter);
  transform: scale(1.02);
  transition: none;
}

.hero-home.is-ready .hero-home-bg {
  transition: opacity .9s ease, transform 6s ease, filter .35s ease;
}

.hero-home-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-home-overlay {
  background:
    linear-gradient(90deg, var(--hero-overlay-start) 0%, var(--hero-overlay-mid) 42%, var(--hero-overlay-end) 100%),
    linear-gradient(180deg, rgba(var(--hero-accent-rgb), 0.04), rgba(10, 28, 39, 0.16));
}

.hero-home-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: min(78vh, 760px);
}

.hero-home-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  min-height: 420px;
  padding: 24px 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(var(--hero-accent-rgb), 0.26);
  border-radius: 999px;
  background: rgba(var(--hero-accent-rgb), 0.14);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-home h1 {
  max-width: 640px;
  min-height: 150px;
  margin-top: 20px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.02;
}

.hero-home h1.hero-title-wide {
  max-width: 760px;
  min-height: 150px;
  font-size: clamp(40px, 5.2vw, 62px);
}

.hero-home p {
  max-width: 660px;
  min-height: 106px;
  margin-top: 24px;
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-home .hero-actions {
  margin-top: auto;
  padding-top: 34px;
}

.hero-home .button,
.hero-home .button-outline {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-home .button {
  background: #ef8d08;
}

.hero-home .button:hover {
  background: #d67c05;
}

.hero-home .button-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
}

.hero-home .button-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-home-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: flex-end;
  gap: 10px;
  padding-bottom: 28px;
}

.hero-home-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--hero-accent-rgb), 0.34);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, width .2s ease;
}

.hero-home-dot.is-active {
  width: 34px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-institucional {
  background:
    linear-gradient(135deg, rgba(var(--theme-primary-rgb), 0.94), rgba(var(--theme-primary-rgb), 0.82)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.hero-institucional::after {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.institucional-intro {
  padding-top: 52px;
  padding-bottom: 20px;
}

.institucional-banner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 40px 38px;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-light));
  box-shadow: 0 22px 46px rgba(var(--theme-primary-rgb), 0.2);
}

.institucional-banner-wave {
  position: absolute;
  left: -6%;
  right: -6%;
  border-radius: 50%;
}

.institucional-banner-wave-back {
  bottom: -150px;
  height: 240px;
  background: rgba(255, 255, 255, 0.78);
}

.institucional-banner-wave-front {
  bottom: -112px;
  height: 210px;
  background: var(--theme-primary);
  opacity: 0.96;
}

.institucional-banner-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.institucional-banner-content .badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.institucional-banner-content h2 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
}

.institucional-banner-content p {
  margin: 0;
  max-width: 660px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.institucional-section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.institucional-section-alt {
  background: linear-gradient(
    180deg,
    rgba(var(--theme-secondary-rgb), 0.08),
    rgba(var(--theme-primary-rgb), 0.08)
  );
}

.institucional-head {
  margin-bottom: 22px;
}

.institucional-head .section-title {
  color: var(--blue-dark);
}

.institucional-head .section-subtitle {
  max-width: none;
  color: var(--muted);
}

.institucional-quote {
  border-left-color: var(--theme-primary);
  background: linear-gradient(
    180deg,
    rgba(var(--theme-primary-rgb), 0.08),
    rgba(var(--theme-primary-rgb), 0.04)
  );
}

.institucional-quote-blue {
  border-left-color: var(--theme-secondary);
  background: linear-gradient(
    180deg,
    rgba(var(--theme-secondary-rgb), 0.1),
    rgba(var(--theme-secondary-rgb), 0.05)
  );
}

.institucional-copy {
  margin-top: 24px;
  padding: 28px 30px;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(var(--theme-primary-rgb), 0.08);
}

.institucional-copy-intro {
  margin-bottom: 28px;
}

.institucional-values-grid {
  gap: 24px;
}

.institucional-value-card {
  border-color: rgba(var(--theme-primary-rgb), 0.18);
  background: linear-gradient(180deg, #ffffff, rgba(var(--theme-primary-rgb), 0.06));
}

.institucional-value-badge {
  background: rgba(var(--theme-primary-rgb), 0.14);
  color: var(--blue-dark);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs span::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.6;
}

.breadcrumbs span:last-child::after {
  display: none;
}

.hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.hero p {
  margin: 18px 0 0;
  max-width: 700px;
  font-size: clamp(17px, 2.4vw, 21px);
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 38px);
}

.section-subtitle {
  margin: 0 0 30px;
  color: var(--muted);
  max-width: 720px;
}

.home-about-panel {
  overflow: hidden;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.14);
  border-radius: 1rem;
  background: rgba(var(--theme-primary-rgb), 0.14);
  box-shadow: var(--shadow);
}

.home-about-panel-head {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark));
}

.home-about-panel-title {
  margin-bottom: 0;
  color: #fff;
}

.home-about-panel-body {
  padding: 2rem;
}

.content {
  display: grid;
  gap: 18px;
}

.content p {
  margin: 0;
  font-size: 17px;
  color: #334155;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.card,
.news-card,
.doc-item,
.job-card,
.location-card,
.contact-card,
.stat,
.quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image {
  min-height: 320px;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
}

.split-image-history {
  background: url("../img/nossa-historia-photo.png") center/cover no-repeat;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.news-card,
.job-card,
.location-card,
.contact-card {
  padding: 24px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(var(--theme-primary-rgb), 0.12);
  color: var(--green);
  font-size: 22px;
}

.card h3,
.news-card h3,
.job-card h3,
.location-card h3,
.contact-card h3,
.doc-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.card p,
.news-card p,
.job-card p,
.location-card p,
.contact-card p,
.doc-item p {
  margin: 0;
  color: var(--muted);
}

.button-row {
  margin-top: 24px;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button {
  background: var(--green);
  color: white;
}

.button:hover {
  background: var(--blue-dark);
}

.button-outline {
  border: 1px solid rgba(var(--theme-primary-rgb), 0.28);
  color: var(--green);
  background: transparent;
}

.button-outline:hover {
  background: rgba(var(--theme-primary-rgb), 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 28px 22px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 36px;
  color: var(--green);
}

.stat span {
  color: var(--muted);
  font-weight: 600;
}

.section-head {
  display: flex;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.doc-item {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
}

.doc-copy {
  display: grid;
  gap: 6px;
}

.doc-item .button-outline {
  flex: 0 0 auto;
}

.quote-box {
  padding: 34px 32px;
  border-left: 6px solid var(--green);
  background: linear-gradient(
    180deg,
    rgba(var(--theme-primary-rgb), 0.08),
    rgba(var(--theme-primary-rgb), 0.04)
  );
}

.quote-box.green {
  border-left-color: var(--theme-secondary);
}

.quote-box blockquote {
  margin: 0;
  font-size: clamp(23px, 3.2vw, 34px);
  line-height: 1.35;
  font-style: italic;
}

.cta {
  padding: 74px 0;
  color: white;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark));
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fbfdff;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 14px;
  color: var(--green);
  font-weight: 600;
  display: none;
}

.form-note.visible {
  display: block;
}

.form-note.is-error {
  color: #b42318;
}

.map-box {
  margin-top: 24px;
  min-height: 240px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #eef3f8);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

.map-box img {
  width: min(100%, 920px);
  height: auto;
  border-radius: calc(var(--radius) - 4px);
}

.contact-message-field textarea {
  min-height: 280px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.page-chip {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  background: var(--surface);
}

.page-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.site-footer {
  background: var(--theme-footer);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  gap: 28px;
  padding: 60px 0 46px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  background: white;
  color: var(--muted);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.footer-bottom img {
  height: 22px;
  width: auto;
  border-radius: 6px;
}

.footer-signature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1080px) {
  .grid.cols-4,
  .grid.cols-3,
  .stats,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-layout,
  .cta-shell {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-shell {
    justify-content: initial;
  }
}

@media (max-width: 860px) {
  .topbar-shell {
    justify-content: space-between;
    min-height: 76px;
    gap: 12px;
  }

  .topbar-identity {
    gap: 12px;
    min-width: 0;
  }

  .topbar-brand img {
    height: 48px;
  }

  .topbar span {
    font-size: 18px;
  }

  .theme-toggle {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .container,
  .hero.hero-large .container,
  .section,
  .cta {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .doc-item,
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-home,
  .hero-home-layout {
    min-height: auto;
  }

  .hero-home-layout {
    align-items: flex-end;
  }

  .hero-home-copy {
    min-height: 0;
  }

  .hero-home h1,
  .hero-home h1.hero-title-wide,
  .hero-home p {
    min-height: 0;
  }

  .hero-home h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-home p {
    font-size: 18px;
  }

  .hero-home-nav {
    display: none;
  }

  .institucional-banner {
    padding: 30px 24px 86px;
  }

  .institucional-copy {
    padding: 24px 20px;
  }
}


/* Complementos para versão PHP mockada */
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.button,.button-outline{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:999px;font-weight:700;border:1px solid transparent;cursor:pointer}
.button:disabled,.button-outline:disabled{opacity:.65;cursor:wait}
.button{background:var(--green);color:#fff;box-shadow:var(--shadow)}
.button:hover{background:var(--blue-dark)}
.button-outline{background:#fff;color:var(--blue);border-color:var(--border)}
.button-outline:hover{background:rgba(var(--theme-primary-rgb),.08)}
.badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:rgba(var(--theme-primary-rgb),.12);color:var(--green);font-size:12px;font-weight:800}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form-grid .full{grid-column:1/-1}
.field label{display:block;font-size:14px;font-weight:700;margin-bottom:6px;color:var(--text)}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:#fff;color:var(--text)}
.field textarea{min-height:120px;resize:vertical}
.help-text{font-size:13px;color:var(--muted);margin-top:6px}
.field-error{font-size:13px;color:#b42318;margin-top:6px}
.field input.is-invalid,.field select.is-invalid,.field textarea.is-invalid{border-color:#d92d20;background:#fff5f5}
.alert{padding:14px 16px;border-radius:14px;background:rgba(var(--theme-primary-rgb),.12);border:1px solid rgba(var(--theme-primary-rgb),.25);color:var(--blue-dark);margin-bottom:20px}
.alert-error{background:rgba(180,35,24,.08);border-color:rgba(180,35,24,.2);color:#8a2218}
.filter-panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);margin-bottom:24px}
.job-filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.card-link{display:block;height:100%}
.job-card,.region-card,.unit-card,.doc-item,.notice-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.job-card h3,.region-card h3,.unit-card h3{margin-top:0}
.meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:14px}
.steps{counter-reset:step;display:grid;gap:14px}
.step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px}
.step:before{counter-increment:step;content:counter(step);display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue);color:white;font-weight:800;margin-right:10px}
.pdf-viewer{width:100%;height:720px;border:1px solid var(--border);border-radius:var(--radius);background:#fff}
.dev-credit-shell{background:#fff;padding:0}
.dev-credit{display:flex;align-items:center;justify-content:center;padding:12px 18px;background:transparent;font-size:13px;color:var(--text)}
.dev-credit-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:var(--text);font-weight:700;transition:opacity .2s ease}
.dev-credit-link:hover{opacity:.82}
.dev-credit-link img{height:24px;width:auto}
.dev-credit-label,.dev-credit-url{white-space:nowrap;color:var(--text)}
.site-footer{background:var(--theme-footer);color:white;padding:18px 0 10px;margin-top:60px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px;padding:8px 0 0}
.footer-grid a{display:block;color:rgba(255,255,255,.88);margin:6px 0;font-size:16px;line-height:1.4}
.site-footer h3,.site-footer h4{margin:0 0 10px;color:#fff;font-size:18px}
.site-footer p,.site-footer li,.site-footer a{color:rgba(255,255,255,.88)}
.site-footer p{font-size:16px;line-height:1.5}
.footer-heading-spacer{visibility:hidden}
.preview-panel{background:#fff;border:1px dashed var(--border);border-radius:var(--radius);padding:18px;margin-top:12px}
.wizard-shell{background:var(--surface);border:1px solid var(--border);border-radius:28px;box-shadow:var(--shadow);overflow:hidden}
.wizard-topbar{padding:16px 22px;background:linear-gradient(90deg,#2d58b0,#1a9aa5);color:#fff;font-weight:700}
.candidate-wizard{padding:28px 28px 24px}
.wizard-progress{position:relative;height:4px;margin:30px 84px 0;background:#cde5ea;border-radius:999px}
.wizard-progress-bar{height:100%;width:0;background:linear-gradient(90deg,#35c66d,#1aa7b0);border-radius:999px;transition:width .25s ease}
.wizard-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:-18px}
.wizard-step{position:relative;display:grid;justify-items:center;gap:10px;text-align:center;color:#4d5e76}
.wizard-step-badge{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:4px solid #20afb8;background:#fff;color:#274364;font-weight:800;transition:.2s ease}
.wizard-step-label{font-size:14px;font-weight:600}
.wizard-step.is-complete .wizard-step-badge,.wizard-step.is-active .wizard-step-badge{border-color:#35c66d}
.wizard-step.is-complete .wizard-step-badge{font-size:0}
.wizard-step.is-complete .wizard-step-badge::before{content:"\2713";font-size:20px;line-height:1;color:#35c66d}
.wizard-step.is-active{color:var(--text)}
.wizard-panel{padding:42px 12px 8px}
.wizard-copy h2{margin:0 0 8px;font-size:clamp(28px,3vw,36px)}
.wizard-copy p{margin:0 0 28px;color:#7b8898}
.wizard-form-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.wizard-form-grid .field{grid-column:span 3}
.wizard-form-grid .field.full{grid-column:1/-1}
.wizard-form-grid textarea{min-height:132px}
.choice-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.choice-pill{display:inline-flex;align-items:center;gap:8px;padding:12px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#28415d;font-weight:600}
.choice-pill input{width:auto;margin:0}
.check-row{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid var(--border);border-radius:18px;background:#f9fbfd}
.check-row input{width:auto;margin-top:3px}
.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:28px 12px 0;margin-top:10px;border-top:1px solid var(--border)}
.wizard-actions .button,.wizard-actions .button-outline{min-width:132px}
.wizard-actions .wizard-next,.wizard-actions .wizard-submit{margin-left:auto}
.candidate-wizard .form-note{margin:18px 12px 0}
.wizard-completion{max-width:640px;margin:42px auto 16px;padding:44px 32px;border:1px solid var(--border);border-radius:24px;background:linear-gradient(135deg,rgba(var(--theme-primary-rgb),.08),rgba(var(--theme-secondary-rgb),.12));text-align:center}
.wizard-completion[hidden]{display:none}
.wizard-completion-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 20px;border-radius:50%;background:#35c66d;color:#fff;font-size:32px;font-weight:800}
.wizard-completion h2{margin:0 0 12px;font-size:clamp(28px,3vw,36px);color:var(--text)}
.wizard-completion p{margin:0 auto 28px;max-width:500px;color:var(--muted);font-size:17px;line-height:1.6}
.ouvidoria-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:28px;align-items:start}
.ouvidoria-form-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}
.ouvidoria-form-header p{margin:8px 0 0;color:var(--muted)}
.ouvidoria-protocol{min-width:260px;padding:18px;border-radius:20px;background:linear-gradient(135deg,rgba(var(--theme-primary-rgb),.08),rgba(var(--theme-secondary-rgb),.12));border:1px solid rgba(var(--theme-primary-rgb),.12)}
.ouvidoria-protocol strong{display:block;font-size:16px;line-height:1.35;color:var(--blue);margin-bottom:8px}
.ouvidoria-protocol p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.ouvidoria-sidebar{display:grid;gap:20px}
.ouvidoria-info-list{display:grid;gap:14px}
.ouvidoria-info-item{padding:16px 18px;border:1px solid var(--border);border-radius:16px;background:#f9fbfe}
.ouvidoria-info-item strong{display:block;margin-bottom:4px;font-size:14px;color:var(--blue)}
.ouvidoria-info-item p{margin:0;color:var(--muted);font-size:14px}
.ouvidoria-highlight{padding:22px;border-radius:20px;background:linear-gradient(180deg,var(--theme-primary),var(--theme-primary-dark));color:#fff;box-shadow:var(--shadow)}
.ouvidoria-highlight h3{margin:0 0 10px;font-size:22px}
.ouvidoria-highlight p{margin:0;color:rgba(255,255,255,.82)}
.ouvidoria-highlight .badge{margin-bottom:14px;background:rgba(255,255,255,.14);color:#fff}
.ouvidoria-success[hidden]{display:none}
.ouvidoria-success{display:grid;gap:20px}
.ouvidoria-success-protocol{display:inline-flex;align-items:center;justify-content:center;min-height:72px;padding:18px 22px;border-radius:20px;background:linear-gradient(135deg,var(--theme-primary-dark),var(--theme-primary));color:#fff;font-size:clamp(24px,3vw,32px);font-weight:800;letter-spacing:.04em}
.ouvidoria-success-card{padding:24px;border:1px solid var(--border);border-radius:20px;background:#f9fbfe}
.ouvidoria-success-card h3{margin:0 0 18px;font-size:22px}
.ouvidoria-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:0}
.ouvidoria-summary div{padding:14px 16px;border-radius:16px;background:#fff;border:1px solid var(--border)}
.ouvidoria-summary dt{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-bottom:6px}
.ouvidoria-summary dd{margin:0;color:var(--text);font-weight:600}
.ouvidoria-summary-copy{margin-top:18px;padding:18px;border-radius:16px;background:#fff;border:1px solid var(--border)}
.ouvidoria-summary-copy strong{display:block;margin-bottom:8px;color:var(--blue)}
.ouvidoria-summary-copy p{margin:0;color:var(--text);white-space:pre-line}
.transparency-sections{padding-top:28px}
.transparency-section + .transparency-section{margin-top:28px}
.transparency-modal[hidden]{display:none}
.transparency-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:24px}
.transparency-modal-backdrop{position:absolute;inset:0;background:rgba(10,28,39,.56);backdrop-filter:blur(6px)}
.transparency-modal-dialog{position:relative;z-index:1;width:min(1180px,100%);max-height:calc(100vh - 48px);padding:24px;border-radius:24px;background:var(--surface);border:1px solid var(--border);box-shadow:0 24px 60px rgba(8,51,94,.22);display:grid;gap:18px}
.transparency-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.transparency-modal-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.transparency-modal-viewer{height:min(72vh,820px)}
@media (max-width: 1080px){.ouvidoria-grid{grid-template-columns:1fr}}
@media (max-width: 840px){.ouvidoria-form-header{flex-direction:column}.ouvidoria-protocol{min-width:0;width:100%}}
@media (max-width: 840px){.ouvidoria-summary{grid-template-columns:1fr}}
@media (max-width: 840px){.transparency-modal{padding:16px}.transparency-modal-dialog{padding:18px;max-height:calc(100vh - 32px)}.transparency-modal-head{flex-direction:column}.transparency-modal-actions{width:100%}.transparency-modal-actions .button,.transparency-modal-actions .button-outline{width:100%}.transparency-modal-viewer{height:62vh}}
@media (max-width: 840px){.form-grid,.footer-grid,.job-filters-grid{grid-template-columns:1fr}.nav-links{display:none}.menu-toggle{display:block}.hero .container,.hero.hero-large .container{padding:72px 0}.pdf-viewer{height:520px}}
@media (max-width: 640px){.topbar-shell{align-items:flex-start;padding-top:14px;padding-bottom:14px}.topbar-identity{align-items:flex-start}.topbar span{font-size:16px;line-height:1.3}.theme-toggle{align-self:center}}
@media (max-width: 960px){.wizard-progress{margin:24px 28px 0}.wizard-steps{grid-template-columns:repeat(5,minmax(120px,1fr));overflow:auto;padding-bottom:4px}.wizard-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-form-grid .field{grid-column:span 1}}
@media (max-width: 840px){.candidate-wizard{padding:20px 16px}.wizard-panel{padding:28px 0 8px}.wizard-progress{display:none}.wizard-steps{grid-template-columns:1fr;gap:10px;margin-top:0}.wizard-step{grid-template-columns:auto 1fr;justify-items:start;text-align:left}.wizard-step-badge{width:34px;height:34px;border-width:3px}.wizard-step-label{font-size:15px}.wizard-form-grid{grid-template-columns:1fr}.wizard-form-grid .field{grid-column:span 1}.wizard-actions{padding:24px 0 0;flex-wrap:wrap}.wizard-actions .button,.wizard-actions .button-outline{width:100%}.wizard-actions .wizard-next,.wizard-actions .wizard-submit{margin-left:0}}
