/* =========================
   RESET E FUNDAMENTOS
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-alt: #ecf2fb;
  --surface-deep: #dfe9f9;
  --text: #0f1f35;
  --text-muted: #465975;
  --primary-900: #0a2f66;
  --primary-800: #0d4186;
  --primary-700: #1155aa;
  --primary-500: #2d6fd2;
  --primary-200: #c7dbfa;
  --border-soft: #d3deef;
  --border-strong: #b7c8e4;
  --success-soft: #e8f1ff;
  --shadow-soft: 0 8px 24px rgba(18, 46, 92, 0.08);
  --shadow-card: 0 16px 34px rgba(14, 41, 82, 0.09);
  --shadow-hover: 0 20px 42px rgba(11, 36, 72, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1140px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #f6f9fe 0%, #f2f6fc 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--primary-700);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus-visible {
  color: var(--primary-900);
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: var(--space-6) 0;
}

.section-soft {
  background: linear-gradient(180deg, #ecf2fb 0%, #edf3fc 100%);
}

.section-heading {
  margin-bottom: var(--space-5);
}

.section-heading h2 {
  margin-bottom: var(--space-2);
}

/* =========================
   TIPOGRAFIA
========================= */
h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 750;
  margin-bottom: var(--space-3);
}

h3 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

p {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--success-soft);
  border: 1px solid #d4e2fb;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-800);
}

.lead {
  font-size: 1.1rem;
  color: #374f70;
  margin-bottom: var(--space-4);
}

/* =========================
   HEADER E NAVEGACAO
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 255, 0.93);
  border-bottom: 1px solid rgba(168, 186, 216, 0.44);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo {
  width: auto;
  height: clamp(30px, 4vw, 42px);
  object-fit: contain;
}

.menu-toggle {
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: #aec3e8;
  background: #f7fbff;
}

.site-nav {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.45rem);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 0.68rem 0.8rem;
  border-radius: var(--radius-sm);
  color: #263d5d;
  font-weight: 600;
  transition: all 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef4ff;
  color: var(--primary-800);
}

.site-nav a.is-current {
  background: #e6efff;
  color: var(--primary-900);
}

/* =========================
   HERO E BLOCOS
========================= */
.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 7.2rem) 0 clamp(4rem, 9vw, 5.4rem);
  overflow: clip;
  background: linear-gradient(135deg, #0f2a44 0%, #1c4f7d 52%, #4c85ba 100%);
  color: #ffffff;
}

.hero.section-soft {
  background: linear-gradient(135deg, #0f2a44 0%, #1c4f7d 52%, #4c85ba 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(780px 360px at 88% 2%, rgba(168, 205, 252, 0.14), transparent 68%),
    radial-gradient(560px 340px at 14% 22%, rgba(97, 156, 230, 0.2), transparent 72%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: var(--space-5);
}

.hero-grid-single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero-main {
  max-width: 920px;
  text-align: center;
}

.hero-institutional-title {
  color: #f5f9ff;
  font-size: clamp(2.1rem, 4.1vw, 3.3rem);
  line-height: 1.14;
  font-weight: 800;
  margin-bottom: 1.45rem;
}

.hero-main h1 {
  color: #ffffff;
  font-size: clamp(1.18rem, 2.05vw, 1.62rem);
  line-height: 1.58;
  font-weight: 500;
  margin-bottom: 1.35rem;
}

.hero-main .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 820px;
  margin-inline: auto;
  line-height: 1.82;
  margin-bottom: 2.45rem;
}

.hero-main .actions {
  gap: 1.05rem;
  justify-content: center;
}

.hero .btn-primary {
  background: #ffffff;
  color: #123559;
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 26, 51, 0.28);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  background: #eef5ff;
  color: #0f3358;
  box-shadow: 0 16px 32px rgba(6, 23, 45, 0.34);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: #ffffff;
}

.info-panel,
.credibility-block,
.placeholder-box {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}

.info-panel {
  background: linear-gradient(160deg, #ffffff 0%, #eff5ff 100%);
  border-color: #c6d7f1;
}

.check-list {
  margin-top: var(--space-3);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--primary-900) 100%);
}

/* =========================
   BOTOES
========================= */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 11px;
  padding: 0.72rem 1.14rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--primary-800) 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(17, 73, 152, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #165cb8 0%, #0e468f 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(14, 66, 141, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-800);
  border-color: #98b4e4;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #edf4ff;
  color: var(--primary-900);
  border-color: #7fa1dd;
}

/* =========================
   CARDS E GRIDS
========================= */
.grid {
  display: grid;
  gap: 1rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 2.8vw, 1.65rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #a8c2e8;
  box-shadow: var(--shadow-hover);
}

.card-entry {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 100%;
}

.card-entry h3 {
  color: #193862;
}

.card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  margin-top: auto;
  color: var(--primary-800);
}

.card-link::after {
  content: "→";
  margin-left: 0.4rem;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.card-link:hover::after,
.card-link:focus-visible::after {
  transform: translateX(2px);
}

.compact-grid .card {
  padding: 1.22rem;
}

/* =========================
   BIBLIOTECA
========================= */
.filters-panel {
  background: linear-gradient(180deg, #fefeff 0%, #f4f8ff 100%);
  border: 1px solid #c3d4ef;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
}

.filters-toggle {
  width: 100%;
  border: 1px solid #c1d4f1;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: #163f72;
  font-size: 0.98rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.filters-toggle:hover,
.filters-toggle:focus-visible {
  border-color: #8eb0e2;
  box-shadow: 0 10px 22px rgba(29, 66, 120, 0.12);
}

.filters-toggle-icon {
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid #245185;
  border-bottom: 2px solid #245185;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.24s ease;
}

.filters-content-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.filters-content {
  min-height: 0;
  overflow: hidden;
  padding: 0 0.65rem;
}

.filters-content h2 {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.filters-panel.is-open .filters-content-wrap {
  grid-template-rows: 1fr;
}

.filters-panel.is-open .filters-content {
  padding: 1rem 0.65rem 0.75rem;
}

.filters-panel.is-open .filters-toggle-icon {
  transform: rotate(-135deg) translateY(-1px);
}

.filters-panel.is-collapsed .filters-content {
  visibility: hidden;
}

.filter-group + .filter-group {
  margin-top: var(--space-3);
}

.filter-group h3 {
  color: #244a7d;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  border: 1px solid #b2c8ec;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  background: linear-gradient(180deg, #fdfefe 0%, #edf4ff 100%);
  font-size: 0.88rem;
  font-weight: 600;
  color: #274a7c;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.chip:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: #6e95d4;
  background: #dfeeff;
  box-shadow: 0 8px 16px rgba(34, 78, 142, 0.14);
}

.chip.is-active {
  border-color: #3f6fb6;
  background: linear-gradient(180deg, #e5efff 0%, #d8e8ff 100%);
  color: #163f72;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.resource-card {
  border-color: #c8d7ef;
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
}

.resource-card.is-filtered-in {
  animation: libraryCardIn 0.22s ease;
}

@keyframes libraryCardIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.resource-card h2 {
  font-size: 1.18rem;
  color: #102e55;
  margin-bottom: 0.65rem;
}

.resource-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #315f97;
  margin-bottom: 0.45rem;
}

.content-live-note {
  background: #eef5ff;
  border: 1px solid #c7d8f2;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.content-live-note p {
  color: #1f466f;
  margin: 0;
}

.library-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.library-results-count {
  font-weight: 700;
  color: #234974;
  margin: 0;
}

.btn-clear-filters {
  min-height: 40px;
  padding: 0.5rem 0.9rem;
}

.library-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.library-active-filters p {
  margin: 0;
  color: #35597f;
  font-weight: 600;
}

.library-active-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.active-filter-chip {
  border: 1px solid #b8cdec;
  border-radius: 999px;
  background: #f2f7ff;
  color: #1f4f84;
  padding: 0.26rem 0.58rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
  background: #e5f0ff;
  border-color: #8baddf;
}

.active-filter-chip-close {
  font-size: 0.92rem;
  line-height: 1;
}

.library-empty-state {
  margin-top: 0.8rem;
  text-align: center;
}

.library-empty-state h2 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.library-empty-state p {
  margin-bottom: 1rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: #17498d;
  background: #e4efff;
  border: 1px solid #c1d6fa;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

/* =========================
   METODOLOGIA
========================= */
.evolution-flow .flow-step {
  min-height: 100%;
}

.evolution-flow .flow-step h3 {
  margin-bottom: 0.45rem;
  color: #153a66;
}

.principles-grid .principle-item {
  min-height: 100%;
}

.principles-grid .principle-item h3 {
  margin-bottom: 0.42rem;
  color: #173f70;
}

/* =========================
   CONTEUDO EDITORIAL
========================= */
.content-article {
  padding: clamp(1.5rem, 3.1vw, 2.2rem);
}

.content-article h2 {
  margin-top: 1.85rem;
  margin-bottom: 0.7rem;
  color: #153a66;
}

.content-article h2:first-child {
  margin-top: 0;
}

.content-article p {
  margin-bottom: 0.95rem;
  line-height: 1.82;
}

.content-article ul,
.content-article ol {
  margin: 0.2rem 0 1rem 1.2rem;
  color: var(--text-muted);
}

.content-article li + li {
  margin-top: 0.3rem;
}

.content-article blockquote {
  margin: 0.7rem 0 1rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid #8ab0e8;
  background: #f3f8ff;
  border-radius: 8px;
}

.content-article blockquote p {
  margin: 0;
  color: #294d78;
}

/* =========================
   PAGINAS INTERNAS E TRILHAS
========================= */
.page-hero {
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, #e9f1ff 0%, #edf3fc 100%);
}

.trail-audience {
  font-weight: 600;
  color: #2f4f75;
}

.trail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.progress-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-800);
  margin-bottom: var(--space-2);
}

.step-list {
  list-style: none;
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  padding: 0.62rem 0.74rem 0.62rem 2.1rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  position: relative;
  margin-bottom: 0.35rem;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0.55rem;
  top: 0.57rem;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  background: #dae7fb;
  color: var(--primary-900);
  font-weight: 800;
}

.step-list li.is-active {
  background: #e8f1ff;
  color: #17385f;
  font-weight: 700;
}

.step-list li.is-active::before {
  background: linear-gradient(180deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: #fff;
}

.step-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  padding: 0;
}

.trail-article-container {
  margin-top: 0.9rem;
}

.trail-article-container h2 {
  margin-top: 1.6rem;
  margin-bottom: 0.65rem;
}

.trail-article-container h2:first-child {
  margin-top: 0;
}

.trail-article-container p {
  margin-bottom: 0.9rem;
  line-height: 1.8;
}

.trail-article-container ul,
.trail-article-container ol {
  margin: 0.2rem 0 1rem 1.2rem;
  color: var(--text-muted);
}

.trail-article-container li + li {
  margin-top: 0.28rem;
}

.trail-article-container blockquote {
  margin: 0.75rem 0 1rem;
  padding: 0.8rem 0.95rem;
  border-left: 4px solid #8ab0e8;
  background: #f3f8ff;
  border-radius: 8px;
}

.trail-article-container blockquote p {
  margin: 0;
  color: #294d78;
}

.btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* =========================
   AUTORIDADE (SOBRE)
========================= */
.authority-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(150deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #bfd2ef;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.authority-photo-wrap {
  max-width: 320px;
}

.authority-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #b7c9e6;
  box-shadow: 0 14px 30px rgba(13, 44, 91, 0.16);
}

.authority-role {
  margin-top: -0.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #1f4a82;
}

/* =========================
   SOBRE (INSTITUCIONAL)
========================= */
.about-intro {
  background: linear-gradient(180deg, #eaf1ff 0%, #eef4fc 100%);
}

.about-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  align-items: start;
}

.about-intro-photo {
  max-width: clamp(190px, 52vw, 260px);
  margin-inline: auto;
}

.about-page .authority-photo {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #bfd1ec;
  box-shadow: none;
}

.about-intro-content h1 {
  margin-bottom: 0.6rem;
}

.about-intro-content p {
  margin-bottom: 0.95rem;
}

.about-intro-content p:last-child {
  margin-bottom: 0;
}

.about-name {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  font-weight: 780;
  color: #102f53;
  margin-bottom: 0.4rem;
}

.about-page .authority-role {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: #2f5078;
}

.about-reading .container {
  max-width: 860px;
}

.about-reading h2 {
  margin-bottom: 1rem;
}

.about-reading p {
  margin-bottom: 1rem;
  line-height: 1.82;
}

.about-subsection + .about-subsection {
  margin-top: 1.1rem;
}

.about-subsection h3 {
  margin-bottom: 0.45rem;
  color: #173a63;
}

/* =========================
   CTA E FOOTER
========================= */
.section-cta {
  background: linear-gradient(180deg, #deebff 0%, #edf4ff 55%, #f4f8fe 100%);
}

.cta-box {
  text-align: center;
}

.cta-box .actions {
  justify-content: center;
}

.site-footer {
  background: linear-gradient(180deg, #102846 0%, #0d223b 100%);
  color: #dbe8ff;
  padding: var(--space-6) 0;
  margin-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  gap: var(--space-4);
}

.site-footer h2,
.site-footer h3 {
  color: #ffffff;
  margin-bottom: var(--space-2);
}

.site-footer p,
.site-footer a {
  color: #d4e4ff;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  width: fit-content;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (min-width: 760px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-grid {
    grid-template-columns: 1.18fr 0.82fr;
    align-items: start;
  }

  .hero-grid-single {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 1fr;
  }

  .trail-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }

  .authority-panel {
    grid-template-columns: 280px 1fr;
  }

  .about-intro-layout {
    grid-template-columns: 250px 1fr;
    align-items: start;
    gap: clamp(1.1rem, 2vw, 1.5rem);
  }

  .about-intro-photo {
    margin-inline: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.12rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .site-nav a {
    padding: 0.54rem 0.78rem;
    border-radius: 10px;
  }

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

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

@media (max-width: 759px) {
  .authority-panel {
    justify-items: center;
    text-align: center;
  }

  .authority-content .eyebrow {
    margin-inline: auto;
  }

  .about-intro-content {
    text-align: left;
  }
}
