/* ============================================================================
   PUBLIC GLOBAL CSS - GENERIC DYNAMIC PAGES
   Bootstrap 5.3.8 compatible
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  /* Identidade visual */
  --color-brand-900: #123f28;
  --color-brand-800: #195b36;
  --color-brand-700: #237347;
  --color-brand-600: #28864d;
  --color-brand-500: #348f59;
  --color-brand-400: #3f8059;
  --color-brand-300: #68b184;
  --color-brand-100: #dcefe3;
  --color-brand-50: #edf7f0;

  /* Cor de destaque */
  --color-accent-700: #b3a81f;
  --color-accent-700-rgb: 179 168 31;
  --color-accent-500: #d2c72e;
  --color-accent-100: #eee9a9;

  /* Superfícies e neutros */
  --color-surface: #ffffff;
  --color-surface-muted: #f5f8f5;
  --color-neutral-100: #f3f6f4;
  --color-neutral-200: #dfe7e1;
  --color-neutral-500: #68756d;
  --color-neutral-700: #34463b;

  /* Conteúdo e bordas */
  --color-text-primary: #17251c;
  --color-text-muted: #68756d;
  --color-text-inverse: #ffffff;
  --color-border: #d7e2da;

  /* Estados */
  --color-state-success: #28864d;
  --color-state-warning: #b7791f;
  --color-state-danger: #b42318;
  --color-state-danger-rgb: 180 35 24;
  --color-state-info: #35779a;

  /* Forma, profundidade e movimento */
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-md: 0 4px 24px rgba(18, 63, 40, 0.10);
  --shadow-lg: 0 12px 40px rgba(18, 63, 40, 0.18);
  --transition-base: 0.25s ease;

  /* Busca pública */
  --public-search-highlight-bg: transparent;
  --public-search-highlight-text: inherit;
  --public-search-underline-color: var(--color-brand-600);
  --public-search-underline-offset: 2px;
  --public-search-underline-thickness: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  color: var(--color-text-primary);
  background: var(--color-surface);
  overflow-x: hidden;
}

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

a {
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), gap var(--transition-base);
  text-decoration: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-brand-900);
}

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

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-brand-700);
}

.section-link:hover {
  color: var(--color-accent-700);
}

.btn-gold,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-gold {
  padding: 12px 28px;
  border: none;
  color: var(--color-brand-900);
  font-size: 0.88rem;
  font-weight: 700;
  /* background: linear-gradient(135deg, var(--color-accent-700), var(--color-accent-500)); */
  background: var(--color-accent-700);
}

.btn-gold:hover {
  color: var(--color-brand-900);
  transform: translateY(-2px);
}

.btn-outline-white {
  padding: 11px 26px;
  color: var(--color-surface);
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  color: var(--color-surface);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}


/* ============================================================================
   PUBLIC SEARCH HIGHLIGHT
   ============================================================================ */

mark.public-search-hit {
  background: var(--public-search-highlight-bg);
  color: var(--public-search-highlight-text);
  padding: 0;
  border-radius: 0;
  text-decoration-line: underline;
  text-decoration-color: var(--public-search-underline-color);
  text-decoration-thickness: var(--public-search-underline-thickness);
  text-underline-offset: var(--public-search-underline-offset);
}

/* ============================================================================
   SHARED BREADCRUMB
   ============================================================================ */

/* .page-breadcrumb-wrap {
  padding: 18px 0 0;
  background: var(--color-surface-muted);
} */

.page-breadcrumb {
  display: flex;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
}

/* .page-breadcrumb__list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 15px 7px 7px;
  color: var(--color-accent-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
} */

.page-breadcrumb__list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 15px 7px 7px;
  color: #f2f2f2;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

/* .page-breadcrumb__item:first-child::before {
  content: "\f015";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--color-brand-900);
  font-family: "Font Awesome 7 Free";
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  background: var(--color-accent-700);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
 */



.page-breadcrumb__item:first-child::before {
  content: "\f015";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--color-brand-900);
  font-family: "Font Awesome 7 Free";
  font-size: 0.88rem;
  font-weight: 900;
  /* line-height: 1; */
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}



.page-breadcrumb__item+.page-breadcrumb__item::before {
  content: "\f105";
  flex: 0 0 auto;
  margin-right: 2px;
  color: currentColor;
  font-family: "Font Awesome 7 Free";
  font-size: 0.68rem;
  font-weight: 900;
  opacity: 0.72;
}

.page-breadcrumb__link,
.page-breadcrumb__current {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.page-breadcrumb__link {
  text-decoration: none !important;
  transition: color var(--transition-base);
}

.page-breadcrumb__link:hover,
.page-breadcrumb__link:focus-visible,
.page-breadcrumb__link:active {
  color: var(--color-surface);
  text-decoration: none !important;
}

.page-breadcrumb__link:visited {
  color: inherit;
}

.page-breadcrumb__current {
  overflow-wrap: anywhere;
}

.page-breadcrumb__home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--color-brand-900);
  font-size: 0.88rem;
  line-height: 1;
  background: var(--color-accent-700);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ============================================================================
   SHARED INTERNAL HERO
   ============================================================================ */

.page-hero,
.public-hero,
.news-hero,
.agenda-hero {
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /* background: var(--color-brand-900); */
  /*  background:
    radial-gradient(circle at top right, rgba(26, 79, 160, 0.18), transparent 28%),
    linear-gradient(135deg, var(--color-brand-900) 0%, #0b2448 100%); */
}

.page-hero__title,
.public-hero__title,
.news-hero__title,
.agenda-hero__title {
  margin: 0 0 16px;
  color: var(--color-surface);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.page-hero__text,
.public-hero__text,
.news-hero__text,
.agenda-hero__text {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================================================
   SHARED PAGE SHELL
   ============================================================================ */

.page-content,
.public-page,
.news-page,
.news-detail-page,
.agenda-page {
  padding: 30px 0;
  background: var(--color-surface-muted);
}

.public-page {
  --tree-color: rgba(26, 79, 160, 0.72);
  --tree-arm: 16px;
  --tree-indent: 28px;
  --tree-node-center: 30px;
  --tree-gap: 6px;
}

.page-toolbar,
.public-toolbar,
.news-toolbar {
  margin-bottom: 40px;
}

/* ============================================================================
   SHARED SEARCH BAR
   ============================================================================ */

.page-search,
.public-search,
.news-search {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 14px;
}

.public-search {
  grid-template-columns: 52px minmax(0, 1fr) auto auto;
  border-radius: 10px;
}

.page-search__icon,
.public-search__icon,
.public-search__loading,
.news-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 10px;
  transition: var(--transition-base);
}

.page-search__input,
.public-search__input,
.news-search__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-size: 0.92rem;
  background: rgba(13, 43, 87, 0.03);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 12px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.public-search__input {
  border-radius: 10px;
}

.page-search__input:focus,
.public-search__input:focus,
.news-search__input:focus {
  outline: none;
  background: var(--color-surface);
  border-color: rgba(26, 79, 160, 0.42);
  box-shadow: 0 0 0 0.25rem rgba(26, 79, 160, 0.08);
}

.page-search__clear,
.public-search__clear,
.news-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-base);
}

.page-search__clear:hover,
.public-search__clear:hover,
.news-search__clear:hover {
  background: rgba(13, 43, 87, 0.14);
}

.public-search__loading[hidden] {
  display: none;
}

/* ============================================================================
   SHARED EMPTY STATES
   ============================================================================ */

.page-empty,
.public-empty,
.news-empty {
  margin: 0;
  padding: 14px 16px;
  color: var(--color-neutral-700);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 79, 160, 0.12);
  border-radius: 8px;
}

.news-empty {
  padding: 16px 18px;
  font-size: 0.9rem;
  border-style: dashed;
  border-radius: 12px;
}

.public-empty--warning {
  color: #7c4a03;
  background: #fff8e6;
  border-color: rgba(194, 120, 3, 0.24);
}

/* ============================================================================
   SHARED PAGINATION
   ============================================================================ */

.page-pagination,
.public-pagination,
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-pagination[hidden],
.public-pagination[hidden],
.news-pagination[hidden] {
  display: none !important;
}

.page-pagination__pages,
.public-pagination__pages,
.news-pagination__pages,
.pfl-pages,
.pcard-pages,
.parcard-pages,
.depcard-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pfl-nav>div,
.pcard-nav>div,
.parcard-nav>div,
.depcard-nav>div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.page-pagination__button,
.public-pagination__button,
.news-pagination__button,
.pfl-first,
.pfl-prev,
.pfl-next,
.pfl-last,
.pfl-pages button,
.pcard-first,
.pcard-prev,
.pcard-next,
.pcard-last,
.pcard-pages button,
.parcard-first,
.parcard-prev,
.parcard-next,
.parcard-last,
.parcard-pages button,
.depcard-first,
.depcard-prev,
.depcard-next,
.depcard-last,
.depcard-pages button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 8px;
  margin: 0;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.44);
  border-radius: 2px;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.page-pagination__button:hover:not(:disabled),
.public-pagination__button:hover:not(:disabled),
.news-pagination__button:hover:not(:disabled),
.pfl-first:hover:not(:disabled),
.pfl-prev:hover:not(:disabled),
.pfl-next:hover:not(:disabled),
.pfl-last:hover:not(:disabled),
.pfl-pages button:hover:not(:disabled),
.pcard-first:hover:not(:disabled),
.pcard-prev:hover:not(:disabled),
.pcard-next:hover:not(:disabled),
.pcard-last:hover:not(:disabled),
.pcard-pages button:hover:not(:disabled),
.parcard-first:hover:not(:disabled),
.parcard-prev:hover:not(:disabled),
.parcard-next:hover:not(:disabled),
.parcard-last:hover:not(:disabled),
.parcard-pages button:hover:not(:disabled),
.depcard-first:hover:not(:disabled),
.depcard-prev:hover:not(:disabled),
.depcard-next:hover:not(:disabled),
.depcard-last:hover:not(:disabled),
.depcard-pages button:hover:not(:disabled) {
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.14);
  border-color: rgba(26, 79, 160, 0.58);
}

.page-pagination__button.is-active,
.public-pagination__button.is-active,
.news-pagination__button.is-active,
.pfl-pages button.is-active,
.pcard-pages button.is-active,
.parcard-pages button.is-active,
.depcard-pages button.is-active {
  color: var(--color-surface);
  background: var(--color-brand-900);
  border-color: rgba(26, 79, 160, 0.22);
}

.page-pagination__button:disabled,
.public-pagination__button:disabled,
.news-pagination__button:disabled,
.pfl-first:disabled,
.pfl-prev:disabled,
.pfl-next:disabled,
.pfl-last:disabled,
.pfl-pages button:disabled,
.pcard-first:disabled,
.pcard-prev:disabled,
.pcard-next:disabled,
.pcard-last:disabled,
.pcard-pages button:disabled,
.parcard-first:disabled,
.parcard-prev:disabled,
.parcard-next:disabled,
.parcard-last:disabled,
.parcard-pages button:disabled,
.depcard-first:disabled,
.depcard-prev:disabled,
.depcard-next:disabled,
.depcard-last:disabled,
.depcard-pages button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-pagination__ellipsis,
.public-pagination__ellipsis,
.news-pagination__ellipsis,
.pfl-pages span,
.pcard-pages span,
.parcard-pages span,
.depcard-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 28px;
  color: #5f77a5;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===================== TOPBAR ===================== */
#topbar {
  padding: 7px 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
  /* background: var(--color-brand-900); */
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /* border-bottom: 2px solid var(--color-accent-700); */
}

#topbar a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

#topbar a:hover {
  color: var(--color-accent-500);
}

#topbar .divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 10px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.25);
}

#topbar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--color-brand-800);
  font-size: 1rem;
  line-height: 0.5rem;
  border-radius: 5px;
}

#topbar .social-icons a:hover {
  color: var(--color-brand-900);
  background: var(--color-accent-700);
  border-color: var(--color-accent-700);
}

#topbar .top-links a {
  margin-left: 6px;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

#topbar .top-links a:hover {
  color: var(--color-brand-900);
  background: var(--color-accent-700);
  border-color: var(--color-accent-700);
}

#clock {
  font-variant-numeric: tabular-nums;
}

/* ===================== MENU ======================= */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0;
  background: var(--color-surface);
  box-shadow: 0 2px 20px rgba(13, 37, 69, 0.08);
}

#main-nav .container-xl {
  position: relative;
}

#main-nav .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  margin-right: 24px;
  text-decoration: none;
}

#main-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

#main-nav .brand-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

#main-nav .brand img {
  display: block;
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

#main-nav .navbar-toggler {
  padding: 10px;
  border: 0 !important;
  border-radius: 10px;
  box-shadow: none !important;
}

#main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 151, 43, 0.18) !important;
}

#main-nav .navbar-toggler-icon {
  background-image: none;
  width: 24px;
  height: 24px;
  position: relative;
  background-color: transparent;
}

#main-nav .navbar-toggler-icon::before,
#main-nav .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  width: 20px;
  height: 2px;
  background: var(--color-brand-900);
  border-radius: 2px;
}

#main-nav .navbar-toggler-icon::before {
  top: 7px;
  box-shadow: 0 6px 0 var(--color-brand-900);
}

#main-nav .navbar-toggler-icon::after {
  top: 19px;
}

#main-nav .navbar-collapse {
  min-height: 100%;
}

#main-nav .navbar-nav {
  gap: 0;
}

#main-nav .navbar-nav>.nav-item {
  position: relative;
}

#main-nav .navbar-nav>.nav-item>.nav-link,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 88px;
  padding: 0 14px !important;
  color: var(--color-neutral-700) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

#main-nav .navbar-nav>.nav-item>.nav-link::before,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--color-accent-700);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

#main-nav .navbar-nav>.nav-item>.nav-link:hover,
#main-nav .navbar-nav>.nav-item>.nav-link:focus,
#main-nav .navbar-nav>.nav-item>.nav-link.active,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle:hover,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle:focus,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle.active,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle.show,
#main-nav .navbar-nav>.nav-item.show>.nav-link,
#main-nav .navbar-nav>.nav-item.show>.dropdown-toggle {
  color: var(--color-accent-700) !important;
  background: transparent !important;
}

#main-nav .navbar-nav>.nav-item>.nav-link:hover::before,
#main-nav .navbar-nav>.nav-item>.nav-link:focus::before,
#main-nav .navbar-nav>.nav-item>.nav-link.active::before,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle:hover::before,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle:focus::before,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle.active::before,
#main-nav .navbar-nav>.nav-item>.dropdown-toggle.show::before,
#main-nav .navbar-nav>.nav-item.show>.nav-link::before,
#main-nav .navbar-nav>.nav-item.show>.dropdown-toggle::before {
  transform: scaleX(1);
}

/* remove caret nativo do Bootstrap */
#main-nav .navbar-nav>.nav-item>.dropdown-toggle::after,
#main-nav .dropdown-submenu>.dropdown-toggle::after {
  display: none !important;
}

/* ícones font awesome */
#main-nav .dropdown-fa-icon,
#main-nav .submenu-fa-icon,
#mainMenuMobile .mobile-chevron {
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

#main-nav .navbar-nav>.nav-item>.dropdown-toggle.show .dropdown-fa-icon,
#main-nav .navbar-nav>.nav-item.show>.dropdown-toggle .dropdown-fa-icon {
  transform: rotate(180deg);
}

#main-nav .dropdown-submenu>.dropdown-toggle.is-open .submenu-fa-icon {
  transform: rotate(90deg);
}

/* dropdown desktop */
#main-nav .dropdown-menu {
  min-width: 260px;
  margin-top: 0;
  padding: 10px 0;
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: 0 12px 32px rgba(13, 37, 69, 0.12);
}

#main-nav .dropdown-divider {
  margin: 0.35rem 0;
  border-top-color: rgba(13, 37, 69, 0.08);
}

#main-nav .dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.78rem 1rem;
  color: var(--color-neutral-700);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  background: transparent;
  border: 0;
  transition: color var(--transition-base), background-color var(--transition-base);
}

#main-nav .dropdown-item:hover,
#main-nav .dropdown-item:focus,
#main-nav .dropdown-item.active,
#main-nav .dropdown-item:active {
  color: var(--color-accent-700) !important;
  background: rgba(201, 151, 43, 0.12) !important;
}

#main-nav .dropdown-item i {
  flex-shrink: 0;
}

/* submenu lateral */
#main-nav .dropdown-submenu {
  position: relative;
}

#main-nav .dropdown-submenu>.dropdown-toggle {
  position: relative;
}

#main-nav .dropdown-submenu>.dropdown-menu {
  top: -10px;
  left: 100%;
  margin-left: 0.35rem;
}

/* mobile offcanvas */
#mainMenuMobile.offcanvas {
  max-width: 360px;
  background: var(--color-surface);
}

#mainMenuMobile .offcanvas-header {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(13, 37, 69, 0.08);
}

#mainMenuMobile .offcanvas-title {
  color: var(--color-brand-900);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#mainMenuMobile .btn-close {
  box-shadow: none !important;
}

#mainMenuMobile .offcanvas-body {
  padding: 1rem;
}

#mainMenuMobile .offcanvas-body img {
  display: block;
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

#mainMenuMobile .menu-mobile-tree a,
#mainMenuMobile .menu-mobile-tree span,
#mainMenuMobile .menu-mobile-tree button {
  color: var(--color-neutral-700);
}

#mainMenuMobile .menu-mobile-tree a {
  background: var(--color-surface);
}

#mainMenuMobile .menu-mobile-tree a:hover,
#mainMenuMobile .menu-mobile-tree a.active {
  color: var(--color-accent-700) !important;
  background: rgba(201, 151, 43, 0.08) !important;
  border-color: rgba(201, 151, 43, 0.22) !important;
}

#mainMenuMobile .menu-mobile-tree .btn-link {
  color: var(--color-neutral-700);
  background: var(--color-surface);
}

#mainMenuMobile .menu-mobile-tree .btn-link:hover,
#mainMenuMobile .menu-mobile-tree .btn-link:focus {
  color: var(--color-accent-700);
  background: rgba(201, 151, 43, 0.08);
}

#mainMenuMobile .menu-mobile-tree .collapse {
  transition: height 0.25s ease;
}

#mainMenuMobile .menu-mobile-tree .d-flex.border {
  background: var(--color-surface);
  border-color: rgba(13, 37, 69, 0.10) !important;
}

#mainMenuMobile .menu-mobile-tree .d-flex.border>a,
#mainMenuMobile .menu-mobile-tree .d-flex.border>span {
  color: var(--color-neutral-700);
}

#mainMenuMobile .menu-mobile-tree .d-flex.border>a:hover {
  color: var(--color-accent-700);
  background: rgba(201, 151, 43, 0.08);
}

#mainMenuMobile .menu-mobile-tree .border-start {
  border-left-color: rgba(13, 37, 69, 0.10) !important;
}

#mainMenuMobile .mobile-chevron.is-open {
  transform: rotate(180deg);
}

/* responsivo */
@media (min-width: 992px) {
  #main-nav .dropdown:hover>.dropdown-menu {
    display: block;
  }

  #main-nav .dropdown-menu .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  #main-nav .navbar-brand {
    padding: 10px 0;
    margin-right: 0;
  }

  #main-nav .brand img {
    max-height: 54px;
  }

  #main-nav .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  #main-nav .brand img {
    max-height: 46px;
  }

  #mainMenuMobile.offcanvas {
    width: 88vw;
  }
}

/* ===================== SITE POPUP ================= */
#site-popup-root {
  z-index: 2147483646;
}

#site-popup-root.site-popup-hidden {
  display: none !important;
}

#site-popup-backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.site-popup-dialog-wrap {
  z-index: 2147483647;
  padding: 32px 24px;
}

.site-popup-dialog {
  width: 100%;
  max-width: min(92vw, 720px);
  position: relative;
}

#site-popup-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #214483;
  box-shadow: 0 1rem 2rem rgba(13, 37, 69, 0.18);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#site-popup-close:hover,
#site-popup-close:focus {
  background: #f8fafc;
  color: #0d2545;
  border-color: rgba(13, 37, 69, 0.2);
}

#site-popup-card {
  max-height: 85vh;
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(13, 37, 69, 0.24);
}

.site-popup-scroll {
  overflow: auto;
}

.site-popup-image-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-popup-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-popup-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.site-popup-media-padding {
  padding: 20px 20px 16px;
}

.site-popup-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: .75rem;
  background: #000;
}

.site-popup-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-popup-video-direct {
  display: block;
  width: 100%;
  max-height: min(60vh, 480px);
  border-radius: .75rem;
  background: #000;
  object-fit: contain;
}

.site-popup-video-warning {
  padding: 14px;
  border: 1px solid #fdba74;
  border-radius: .75rem;
  background: #fff7ed;
  color: #9a3412;
  font-size: .875rem;
}

.site-popup-text-content {
  overflow: auto;
  padding: 28px 24px 24px;
}

.site-popup-richtext {
  color: #000;
}

.site-popup-actions {
  display: flex;
  justify-content: center;
  padding: 4px;
}

.site-popup-actions.site-popup-actions-text {
  padding-top: 24px;
}

.site-popup-btn {
  padding: .7rem 1.25rem;
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: .75rem;
  background: #f8fafc;
  color: #214483;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 .25rem .75rem rgba(13, 37, 69, 0.08);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.site-popup-btn:hover,
.site-popup-btn:focus {
  background: #eef4ff;
  color: #0d2545;
  border-color: rgba(13, 37, 69, 0.2);
}

@media (max-width: 575.98px) {
  .site-popup-dialog-wrap {
    padding: 20px 14px;
  }

  .site-popup-dialog {
    max-width: 100%;
  }

  #site-popup-close {
    top: -12px;
    right: -6px;
  }

  .site-popup-text-content {
    padding: 22px 18px 18px;
  }

  .site-popup-media-padding,
  .site-popup-actions {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* ===================== COOKIE CONSENT ===================== */
#cookie-consent {
  z-index: 9999;
}

#cookie-consent.cookie-hidden,
#cookie-preferences-modal.cookie-hidden {
  display: none !important;
}

#cookie-consent .cookie-consent-shell {
  padding: 0 0 1rem;
}

#cookie-consent .cookie-consent-card {
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(13, 37, 69, 0.18);
}

#cookie-consent .cookie-consent-title {
  margin: 0;
  color: var(--color-brand-900, #0d2545);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

#cookie-consent .cookie-consent-title i {
  color: var(--color-accent-700, #c9972b);
}

#cookie-consent .cookie-consent-text {
  margin: 0.75rem 0 0;
  color: var(--color-neutral-700, #374151);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cookie-btn-outline {
  border-color: rgba(13, 37, 69, 0.18);
  color: var(--color-brand-900, #0d2545);
  background: #fff;
}

.cookie-btn-outline:hover,
.cookie-btn-outline:focus {
  border-color: rgba(13, 37, 69, 0.3);
  color: var(--color-brand-900, #0d2545);
  background: rgba(13, 37, 69, 0.04);
}

.cookie-btn-reject {
  border-color: rgba(220, 53, 69, 0.22);
  color: #b42318;
  background: #fff;
}

.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  border-color: rgba(220, 53, 69, 0.38);
  color: #b42318;
  background: rgba(220, 53, 69, 0.06);
}

.cookie-btn-accept,
.cookie-btn-save {
  color: #fff;
  background: var(--color-brand-900, #0d2545);
  border-color: var(--color-brand-900, #0d2545);
}

.cookie-btn-accept:hover,
.cookie-btn-accept:focus,
.cookie-btn-save:hover,
.cookie-btn-save:focus {
  color: #fff;
  background: #091a31;
  border-color: #091a31;
}

/* ===================== PREFERENCES MODAL ===================== */

#cookie-preferences-modal {
  z-index: 10000;
}

#cookie-preferences-modal .cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

#cookie-preferences-modal .cookie-modal-dialog {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

#cookie-preferences-modal .cookie-modal-card {
  position: relative;
  width: 100%;
  max-width: 42rem;
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(13, 37, 69, 0.18);
  overflow: hidden;
}

#cookie-preferences-modal .cookie-modal-title {
  margin: 0;
  color: var(--color-brand-900, #0d2545);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

#cookie-preferences-modal .cookie-modal-subtitle {
  margin: 0.35rem 0 0;
  color: #5b6678;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-modal-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(13, 37, 69, 0.14);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--color-brand-900, #0d2545);
}

.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: rgba(13, 37, 69, 0.04);
  color: var(--color-brand-900, #0d2545);
}

.cookie-pref-box {
  border: 1px solid rgba(13, 37, 69, 0.1);
  border-radius: 0.9rem;
  padding: 1rem;
}

.cookie-pref-box.cookie-pref-required {
  background: rgba(13, 37, 69, 0.04);
}

.cookie-pref-title {
  margin: 0;
  color: var(--color-brand-900, #0d2545);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.cookie-pref-text {
  margin: 0.35rem 0 0;
  color: var(--color-neutral-700, #374151);
  font-size: 0.92rem;
  line-height: 1.65;
}

.cookie-pill-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

#cookie-pref-analytics.form-check-input {
  width: 2.8rem;
  height: 1.45rem;
  cursor: pointer;
}

@media (min-width: 576px) {
  #cookie-preferences-modal .cookie-modal-dialog {
    align-items: center;
  }
}

@media (max-width: 575.98px) {
  #cookie-consent .cookie-consent-title {
    font-size: 1rem;
  }

  #cookie-consent .cookie-consent-text {
    font-size: 0.9rem;
  }
}

/* ===================== SECTIONS ================== */

.home-section {
  padding: 30px 0;
  background: var(--home-section-bg, var(--color-surface-muted));
}

.home-section--cream {
  --home-section-bg: var(--color-surface-muted);
}

.home-section--white {
  --home-section-bg: var(--color-surface);
}

#services.home-section,
#updates.home-section,
#contact.home-section {
  background: var(--home-section-bg);
}

.home-section+.home-section {
  border-top: 1px solid rgba(13, 37, 69, 0.06);
}

/* ===================== HOME HERO ================== */
.home-hero {
  --hero-deep: #0b3523;
  --hero-dark: #10462e;
  --hero-mid: #17633f;
  --hero-green: #28864d;
  --hero-gold: #d2c72e;
  --hero-gold-deep: #b3a81f;
  --hero-blue: #2e87a6;
  --hero-orange: #d5833e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* padding: clamp(72px, 8vw, 118px) 0 clamp(92px, 9vw, 132px); */
  /* padding: 1.5rem; */
  padding: 56px 0 64px;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /*  background:
    radial-gradient(circle at 88% 14%, rgba(210, 199, 46, 0.17), transparent 24%),
    radial-gradient(circle at 8% 82%, rgba(46, 135, 166, 0.18), transparent 28%),
    linear-gradient(125deg, var(--hero-deep) 0%, var(--hero-dark) 48%, var(--hero-mid) 100%); */
}

.home-hero__container {
  position: relative;
  z-index: 3;
}

.home-hero__scene,
.home-hero__scene-grid,
.home-hero__scene-orbit,
.home-hero__scene-line,
.home-hero__bottom-shape {
  position: absolute;
  pointer-events: none;
}

.home-hero__scene {
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.home-hero__scene-grid {
  inset: -20% -10%;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(62deg) rotateZ(-8deg) scale(1.28);
  transform-origin: 50% 70%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 46%, transparent 95%);
  mask-image: linear-gradient(to bottom, transparent 5%, #000 46%, transparent 95%);
}

.home-hero__scene-orbit {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.home-hero__scene-orbit::before,
.home-hero__scene-orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.home-hero__scene-orbit::before {
  inset: 18%;
  border: 1px dashed rgba(210, 199, 46, 0.18);
}

.home-hero__scene-orbit::after {
  width: 12px;
  height: 12px;
  top: 12%;
  left: 25%;
  background: var(--hero-gold);
  box-shadow: 0 0 0 8px rgba(210, 199, 46, 0.10);
}

.home-hero__scene-orbit--one {
  width: 470px;
  height: 470px;
  right: -150px;
  top: -190px;
}

.home-hero__scene-orbit--two {
  width: 310px;
  height: 310px;
  left: -150px;
  bottom: -165px;
}

.home-hero__scene-line {
  height: 3px;
  border-radius: 999px;
  opacity: 0.5;
  transform-origin: left center;
}

.home-hero__scene-line::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  right: -2px;
  top: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translateY(-50%);
}

.home-hero__scene-line--one {
  width: 290px;
  right: 22%;
  top: 17%;
  background: linear-gradient(90deg, transparent, rgba(210, 199, 46, 0.68));
  transform: rotate(-14deg);
}

.home-hero__scene-line--two {
  width: 230px;
  left: 4%;
  bottom: 21%;
  background: linear-gradient(90deg, transparent, rgba(46, 135, 166, 0.72));
  transform: rotate(12deg);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
}

.home-hero__grid--single {
  grid-template-columns: minmax(0, 760px);
}

.home-hero__content {
  position: relative;
  min-width: 0;
  /* padding: 10px 0; */
}

/* .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 15px 7px 7px;
  color: var(--color-accent-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--hero-deep);
  font-size: 0.88rem;
  background: var(--color-accent-700);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
} */


.home-hero__eyebrow {

  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 15px 7px 7px;
  color: #f2f2f2;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);

}


.home-hero__eyebrow-icon {
  /* content: "\f015"; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--color-brand-900);
  font-family: "Font Awesome 7 Free";
  font-size: 0.88rem;
  font-weight: 900;
  /* line-height: 1; */
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);

}


.home-hero__title {
  max-width: 18ch;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.home-hero__title::after {
  content: '';
  display: block;
  width: clamp(84px, 10vw, 144px);
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  /* background: linear-gradient(90deg, var(--hero-gold), var(--hero-orange), var(--hero-blue)); */
  /* background: var(--color-accent-700); */
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.home-hero__text {
  max-width: 64ch;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

.home-hero__text> :last-child {
  margin-bottom: 0;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 21px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  border-radius: 999px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), gap var(--transition-base);
}

.home-hero__btn i {
  font-size: 0.82rem;
}

.home-hero__btn:hover {
  gap: 15px;
  transform: translateY(-3px);
}

.home-hero__btn--primary {
  color: var(--hero-deep);
  background: #fff;
  /* background: linear-gradient(135deg, #e2da51 0%, var(--hero-gold) 55%, #c0b628 100%); */
  /* background: var(--color-accent-700); */
  /* border: 1px solid rgba(255, 255, 255, 0.18); */
  /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.22); */
}

.home-hero__btn--primary:hover {
  color: var(--hero-deep);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.27);
}

.home-hero__btn--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  /* border: 1px solid rgba(255, 255, 255, 0.18); */
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-hero__btn--secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.home-hero__mobility-signature {
  display: flex;
  align-items: center;
  width: min(100%, 440px);
  margin-top: 42px;
  opacity: 0.74;
}

.home-hero__mobility-signature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: #fff;
  background: rgba(46, 135, 166, 0.30);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.home-hero__mobility-signature-icon.is-cycle {
  background: rgba(213, 131, 62, 0.28);
}

.home-hero__mobility-signature-line {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 50%, transparent 50%);
  background-size: 12px 2px;
}

.home-hero__mobility-signature-node {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 3px solid var(--hero-gold);
  border-radius: 50%;
  background: var(--hero-dark);
  box-shadow: 0 0 0 7px rgba(210, 199, 46, 0.11);
}

/* .home-hero__panel {
  position: relative;
  min-width: 0;
  min-height: 560px;
  overflow: hidden;
  color: var(--color-text-primary);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 246, 0.97) 62%, rgba(233, 245, 237, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow:
    0 38px 80px rgba(3, 28, 17, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: rotate(2deg);
} */
.home-hero__panel {
  position: relative;
  min-width: 0;
  min-height: 560px;
  overflow: hidden;
  color: var(--color-text-primary);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 250, 246, 0.97) 62%, rgba(233, 245, 237, 0.96) 100%);
  border-radius: 28px;
  transform: rotate(2deg);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero__panel::before {
  content: '';
  position: absolute;
  inset: 14px;
  z-index: 0;
  pointer-events: none;
}

.home-hero__route-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.88;
}

.home-hero__route-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 63, 40, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 40, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 56%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 56%, transparent 92%);
}

.home-hero__route-map svg {
  position: absolute;
  width: 116%;
  max-width: none;
  height: 100%;
  top: 44px;
  left: -8%;
}

.home-hero__city-blocks rect {
  fill: rgba(18, 63, 40, 0.045);
  stroke: rgba(18, 63, 40, 0.055);
  stroke-width: 2;
}

.home-hero__route-shadow,
.home-hero__route-main,
.home-hero__route-branch {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__route-shadow {
  stroke: rgba(18, 63, 40, 0.12);
  stroke-width: 18;
}

.home-hero__route-main {
  stroke: var(--hero-green);
  stroke-width: 7;
  stroke-dasharray: 2 1;
}

.home-hero__route-branch {
  stroke: var(--hero-blue);
  stroke-width: 5;
  stroke-dasharray: 10 10;
}

.home-hero__route-stop {
  fill: #fff;
  stroke: var(--hero-green);
  stroke-width: 5;
}

.home-hero__route-stop.is-accent {
  stroke: var(--hero-orange);
}

.home-hero__route-vehicle {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(18, 63, 40, 0.22);
}

.home-hero__route-vehicle--bus {
  top: 146px;
  left: 19%;
  background: var(--hero-blue);
}

.home-hero__route-vehicle--bike {
  top: 88px;
  right: 18%;
  background: var(--hero-orange);
}

.home-hero__panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: clamp(30px, 4vw, 46px);
  transform: rotate(-2deg);
}

.home-hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 144px;
}

.home-hero__panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 44px);
  padding: 8px 12px;
  color: var(--hero-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 63, 40, 0.10);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(18, 63, 40, 0.08);
  backdrop-filter: blur(8px);
}

.home-hero__panel-badge i {
  color: var(--hero-orange);
}

.home-hero__panel-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(18, 63, 40, 0.10);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
}

.home-hero__panel-pulse span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 6px rgba(40, 134, 77, 0.12);
}

.home-hero__panel-title {
  max-width: 20ch;
  margin: 0 0 12px;
  color: var(--hero-deep);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.home-hero__panel-text {
  max-width: 58ch;
  margin: 0 0 22px;
  color: #4b6254;
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-hero__panel-text> :last-child {
  margin-bottom: 0;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.home-hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 84px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(18, 63, 40, 0.10);
  border-radius: 17px;
  box-shadow: 0 12px 24px rgba(18, 63, 40, 0.07);
  backdrop-filter: blur(9px);
}

.home-hero__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--hero-green);
  font-size: 1rem;
  background: var(--color-brand-50);
  border: 1px solid rgba(40, 134, 77, 0.10);
  border-radius: 13px;
}

.home-hero__stat:nth-child(2n) .home-hero__stat-icon {
  color: var(--hero-blue);
  background: rgba(46, 135, 166, 0.09);
  border-color: rgba(46, 135, 166, 0.12);
}

.home-hero__stat:nth-child(3n) .home-hero__stat-icon {
  color: var(--hero-orange);
  background: rgba(213, 131, 62, 0.09);
  border-color: rgba(213, 131, 62, 0.12);
}

.home-hero__stat-copy {
  min-width: 0;
}

.home-hero__stat-number {
  display: block;
  color: var(--hero-deep);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
}

.home-hero__stat-label {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #617267;
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.28;
  text-overflow: ellipsis;
}

.home-hero__panel-footer {
  display: flex;
  margin-top: 14px;
}

.home-hero__panel-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hero-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none !important;
}

.home-hero__panel-link::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--hero-gold-deep);
  transition: width var(--transition-base);
}

.home-hero__panel-link:hover {
  color: var(--hero-green);
}

.home-hero__panel-link:hover::before {
  width: 38px;
}

.home-hero__bottom-shape {
  left: -3%;
  right: -3%;
  bottom: -46px;
  z-index: 2;
  height: 90px;
  background: var(--color-surface-muted);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero__panel-pulse span {
    animation: homeHeroPulse 2.4s ease-out infinite;
  }

  .home-hero__route-vehicle--bus {
    animation: homeHeroFloat 4.8s ease-in-out infinite;
  }

  .home-hero__route-vehicle--bike {
    animation: homeHeroFloat 4.8s ease-in-out 1.1s infinite;
  }
}

@keyframes homeHeroPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 134, 77, 0.30);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(40, 134, 77, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(40, 134, 77, 0);
  }
}

@keyframes homeHeroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 1199px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    gap: 38px;
  }

  .home-hero__title {
    font-size: clamp(2.45rem, 4.9vw, 4.35rem);
  }

  .home-hero__panel,
  .home-hero__panel-content {
    min-height: 530px;
  }

  .home-hero__panel-head {
    margin-bottom: 126px;
  }
}

@media (max-width: 991px) {
  .home-hero {
    padding-top: 70px;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .home-hero__content {
    max-width: 780px;
  }

  .home-hero__title {
    max-width: 20ch;
  }

  .home-hero__panel {
    width: min(100%, 720px);
    min-height: 500px;
    margin: 0 auto;
    transform: none;
  }

  .home-hero__panel-content {
    min-height: 500px;
    transform: none;
  }

  .home-hero__route-map svg {
    top: 20px;
  }

  .home-hero__panel-head {
    margin-bottom: 118px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding: 58px 0 104px;
  }

  .home-hero__title {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
  }

  .home-hero__mobility-signature {
    margin-top: 32px;
  }

  .home-hero__panel {
    min-height: 0;
    border-radius: 28px 28px 28px 10px;
  }

  .home-hero__panel-content {
    min-height: 0;
    padding: 28px 24px;
  }

  .home-hero__panel-head {
    margin-bottom: 116px;
  }

  .home-hero__route-map svg {
    width: 130%;
    left: -15%;
  }

  .home-hero__stats {
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .home-hero {
    padding-top: 48px;
  }

  .home-hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .home-hero__title {
    margin-bottom: 20px;
    font-size: clamp(2.05rem, 12.5vw, 3rem);
  }

  .home-hero__title::after {
    margin-top: 19px;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__btn {
    width: 100%;
  }

  .home-hero__mobility-signature {
    display: none;
  }

  .home-hero__panel-content {
    padding: 24px 18px;
  }

  .home-hero__panel-head {
    margin-bottom: 106px;
  }

  .home-hero__panel-badge {
    max-width: calc(100% - 42px);
    font-size: 0.66rem;
  }

  .home-hero__route-map svg {
    width: 152%;
    left: -26%;
    top: 22px;
  }

  .home-hero__route-vehicle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .home-hero__route-vehicle--bus {
    top: 137px;
    left: 14%;
  }

  .home-hero__route-vehicle--bike {
    top: 78px;
    right: 14%;
  }

  .home-hero__stats {
    grid-template-columns: 1fr;
  }

  .home-hero__stat {
    min-height: 76px;
  }
}


/* ===================== SERVICES ========================== */
#services {
  padding: 30px 0;
  /* background: var(--color-surface-muted); */
}

.service-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* min-height: 108px; */
  text-decoration: none;
}

.service-card:hover {
  text-decoration: none;
}

.services-gallery {
  position: relative;
}

.services-gallery__viewport {
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

.services-gallery__track {
  display: flex;
}

.services-gallery__page {
  flex: 0 0 100%;
  min-width: 100%;
}

.services-gallery__footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.services-gallery__pagination {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--color-accent-500);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(13, 37, 69, 0.06);
}

.services-gallery__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background: var(--color-accent-700);
  transition: transform 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
}

.services-gallery__dot:hover {
  transform: scale(1.1);
}

.services-gallery__dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--color-accent-700);
}

.services-gallery__divider {
  width: 1px;
  height: 18px;
  margin: 0 2px 0 4px;
  background: var(--color-accent-700);
}

.services-gallery__counter {
  color: var(--color-accent-700);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

/* .service-card--shortcut {
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
} */
.service-card--shortcut {
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* .service-card--shortcut:hover {
  transform: translateY(-1px);
} */

.service-card__number {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #74e36b;
  color: #055829;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.service-card__icon-wrap {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding-right: 16px;
}

.service-card__icon-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 48px;
  transform: translateY(-50%);
  background: rgba(195, 255, 188, 0.06);
}

.service-card__icon--shortcut {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(195, 255, 188, 0.06);
  color: #055829;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
}

.service-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.service-card__title--shortcut {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

@media (max-width: 991.98px) {
  .services-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  #services {
    padding: 56px 0;
  }

  .services-shortcut-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-card--shortcut {
    gap: 12px;
    min-height: 92px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .service-card__number {
    width: 32px;
    height: 32px;
    font-size: 0.92rem;
  }

  .service-card__icon-wrap {
    padding-right: 12px;
  }

  .service-card__icon-wrap::after {
    height: 40px;
  }

  .service-card__icon--shortcut {
    width: 48px;
    height: 48px;
    font-size: 1.45rem;
  }

  .service-card__title--shortcut {
    font-size: 0.95rem;
  }
}

/* ===================== NEWS + AGENDA ===================== */
#updates {
  padding: 30px 0;
  /* background: var(--color-surface); */
}

#updates .col-lg-7,
#updates .col-lg-5 {
  display: flex;
  flex-direction: column;
}

.news-feature {
  position: relative;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.news-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 37, 69, 0.82) 0%, transparent 60%);
}

.news-feature__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  color: var(--color-brand-900);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background: var(--color-accent-700);
}

.news-feature__content {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: var(--color-surface);
}

.news-feature__date {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.news-feature__title {
  margin: 0;
  color: var(--color-surface);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 10px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--color-neutral-200);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item__thumb {
  flex-shrink: 0;
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--color-neutral-500);
  font-size: 0.72rem;
  flex-wrap: wrap;
}

.news-item__tag {
  padding: 2px 8px;
  color: var(--color-brand-700);
  font-weight: 600;
  border-radius: 4px;
  background: var(--color-surface-muted);
}

.news-item__title {
  margin-bottom: 4px;
  color: var(--color-brand-900);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-item__excerpt {
  margin: 0;
  color: var(--color-neutral-500);
  font-size: 0.8rem;
  line-height: 1.5;
}

.agenda-box {
  overflow: hidden;
  background: var(--color-surface-muted);
  border-radius: var(--radius-md);
}

.agenda-item {
  display: flex;
  align-items: stretch;
  background: var(--color-surface-muted);
  border-bottom: 1px solid var(--color-neutral-200);
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-item:hover {
  background: #f0f4ff;
}

.agenda-item__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 10px 0;
  color: var(--color-surface);
  background: var(--color-brand-900);
}

.agenda-item__month {
  color: var(--color-accent-500);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.agenda-item__day {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-item__weekday {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agenda-item__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 18px;
}

.agenda-item__time {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  color: var(--color-brand-700);
  font-size: 0.73rem;
  font-weight: 600;
}

.agenda-item__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}


/* ===================== PAGE: NOTÍCIAS ==================== */
.news-grid {
  padding-top: 0;
}

.news-cards-group {
  display: grid;
  gap: 10px;
}

/* ===================== CARDS ===================== */
.news-card {
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 18px;
  transition: var(--transition-base);
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 37, 69, 0.14);
  box-shadow: 0 10px 20px rgba(13, 37, 69, 0.08);
}

.news-card__image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.22);
}

.news-card__image,
.news-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.news-card__image {
  object-fit: cover;
}

.news-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(13, 43, 87, 0.28);
  font-size: 2rem;
  background: rgba(13, 43, 87, 0.05);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px);
  padding: 22px;
}

.news-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.news-card__category,
.news-card__date {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.news-card__category {
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.22);
}

.news-card__date {
  color: var(--color-neutral-700);
  background: rgba(55, 65, 81, 0.08);
}

.news-card__title {
  margin: 0 0 10px;
  color: var(--color-brand-900);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.news-card__excerpt {
  margin: 0 0 18px;
  color: var(--color-neutral-500);
  font-size: 0.86rem;
  line-height: 1.7;
}

.news-card__actions {
  margin-top: auto;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.22);
  transition: var(--transition-base);
}

.news-card__link:hover {
  background: rgba(13, 43, 87, 0.14);
}


@media (max-width: 767px) {
  .news-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-card__image-wrap {
    height: 200px;
  }

  .news-card__body {
    height: auto;
    padding: 18px 16px;
  }
}

/* ===================== PAGE: DETALHE NOTÍCIA ============= */
.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(26, 79, 160, 0.12);
}

.news-detail-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-700);
  font-size: 0.84rem;
  font-weight: 600;
}

.news-detail-meta__item i {
  color: var(--color-brand-900);
  font-size: 0.84rem;
}

.news-detail-content {
  color: var(--color-neutral-700);
  font-size: 1rem;
  line-height: 1.85;
}

.news-detail-content p:last-child {
  margin-bottom: 0;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.news-detail-section {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(26, 79, 160, 0.12);
}

.news-detail-section__title {
  margin: 0 0 16px;
  color: var(--color-brand-900);
  font-size: 1rem;
  font-weight: 700;
}

.news-gallery__item {
  display: block;
  height: 100%;
  overflow: hidden;
  background: rgba(13, 43, 87, 0.06);
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 14px;
  transition: var(--transition-base);
}

.news-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(13, 43, 87, 0.08);
}

.news-gallery__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-files {
  display: grid;
  gap: 12px;
}

.news-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--color-brand-900);
  text-decoration: none;
  background: rgba(13, 43, 87, 0.04);
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 12px;
  transition: var(--transition-base);
}

.news-file:hover {
  background: rgba(13, 43, 87, 0.08);
  text-decoration: none;
}

.news-file__left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.news-file__left i {
  color: var(--color-brand-900);
  font-size: 0.9rem;
}

.news-file__name {
  color: var(--color-brand-900);
  font-size: 0.9rem;
  font-weight: 600;
  word-break: break-word;
}

.news-file__action {
  flex-shrink: 0;
  color: #5d7398;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-share__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.16);
  border-radius: 10px;
  transition: var(--transition-base);
}

.news-share__link:hover {
  background: rgba(13, 43, 87, 0.14);
  text-decoration: none;
}

.news-empty-state {
  padding: 18px 20px;
  color: var(--color-neutral-700);
  font-size: 0.92rem;
  background: rgba(13, 43, 87, 0.04);
  border: 1px dashed rgba(26, 79, 160, 0.18);
  border-radius: 12px;
}


@media (max-width: 991px) {
  .news-detail-body {
    padding: 22px;
  }

  .news-gallery__image {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .news-detail-body {
    padding: 18px 16px;
  }

  .news-detail-meta {
    gap: 10px 12px;
  }

  .news-gallery__image {
    height: 180px;
  }

  .news-file {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===================== CONTACT =========================== */
#contact {
  padding: 30px 0;
  /* background: var(--color-surface-muted); */
}

.contact-wrap {
  overflow: hidden;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}

.contact-panel {
  position: relative;
  height: 100%;
  padding: 38px 34px;
  color: var(--color-surface);
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /*  background:
    linear-gradient(135deg, rgba(13, 37, 69, 0.96), rgba(26, 79, 160, 0.94)),
    radial-gradient(circle at top right, rgba(232, 184, 75, 0.18), transparent 35%); */
}

/* .contact-panel::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
} */

.contact-panel .section-label {
  color: var(--color-accent-700);
}

.contact-panel .section-title {
  margin-bottom: 14px;
  color: var(--color-surface);
}

.contact-panel__text {
  max-width: 460px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.75;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.contact-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  color: var(--color-accent-700);
  font-size: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
}

.contact-info-card__title {
  display: block;
  margin-bottom: 3px;
  color: var(--color-surface);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-info-card__text,
.contact-info-card__link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.55;
  text-decoration: none;
}

.contact-info-card__link:hover {
  color: var(--color-accent-500);
}

.contact-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-summary__card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-summary__value {
  display: block;
  margin-bottom: 4px;
  color: var(--color-accent-500);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-summary__label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-form {
  height: 100%;
  padding: 38px 34px;
  background: var(--color-surface);
}

.contact-form__head {
  margin-bottom: 24px;
}

.contact-form__title {
  margin-bottom: 8px;
  color: var(--color-brand-900);
  font-size: 1.7rem;
  font-weight: 700;
}

.contact-form__description {
  margin: 0;
  color: var(--color-neutral-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-label-custom {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-control-custom,
.form-select-custom {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: var(--color-text-primary);
  font-size: 0.92rem;
  background: #fbfbfc;
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

textarea.form-control-custom {
  min-height: 150px;
  resize: vertical;
}

.form-control-custom:focus,
.form-select-custom:focus {
  outline: none;
  background: var(--color-surface);
  border-color: rgba(26, 79, 160, 0.45);
  box-shadow: 0 0 0 4px rgba(26, 79, 160, 0.08);
}

.contact-form__note {
  margin: 0;
  color: var(--color-neutral-500);
  font-size: 0.82rem;
  line-height: 1.6;
}

.contact-form__submit {
  min-height: 52px;
  padding-inline: 28px;
}

/* ============================================================================
   SEÇÃO FALE CONOSCO
============================================================================ */
.contact-form {
  position: relative;
}

.contact-form__feedback {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 20px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(13, 43, 87, 0.08);
  animation: contactFeedbackIn .22s ease both;
}

.contact-form__feedback[hidden] {
  display: none !important;
}

.contact-form__feedback.is-success {
  color: #14532d;
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.contact-form__feedback.is-warning {
  color: #713f12;
  background: #fffbeb;
  border-color: #fde68a;
}

.contact-form__feedback.is-error {
  color: #7f1d1d;
  background: #fef2f2;
  border-color: #fecaca;
}

.contact-form__feedback.is-info {
  color: #0d2b57;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.contact-form__feedback-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
}

.contact-form__feedback-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.contact-form__feedback-content>strong {
  display: block;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.25;
}

.contact-form__feedback-content>span {
  display: block;
  font-size: .88rem;
  line-height: 1.55;
}

.contact-form__feedback-content>span strong {
  display: inline;
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
}

.contact-form__feedback-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.62);
  transition: var(--transition-base);
}

.contact-form__feedback-close:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.contact-form__sending {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(3px);
  border-radius: inherit;
}

.contact-form__sending[hidden] {
  display: none !important;
}

.contact-form__sending-card {
  width: min(100%, 340px);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: var(--color-brand-900);
  background: #fff;
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(13, 43, 87, 0.16);
  animation: contactFeedbackIn .2s ease both;
}

.contact-form__sending-card strong {
  font-size: 1rem;
  font-weight: 800;
}

.contact-form__sending-card span:not(.contact-form__sending-spinner) {
  color: #5d7398;
  font-size: .86rem;
  line-height: 1.5;
}

.contact-form__sending-spinner {
  width: 42px;
  height: 42px;
  display: inline-block;
  border-radius: 50%;
  border: 4px solid rgba(13, 43, 87, 0.12);
  border-top-color: var(--color-accent-700);
  animation: contactSpin .8s linear infinite;
}

.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: .86;
}

#homeContactForm.was-validated .form-control-custom:invalid,
#homeContactForm.was-validated .form-select-custom:invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 .18rem rgba(220, 53, 69, .12);
}

@keyframes contactSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes contactFeedbackIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .contact-form__feedback {
    grid-template-columns: 36px minmax(0, 1fr) 30px;
    padding: 12px;
  }

  .contact-form__feedback-icon {
    width: 36px;
    height: 36px;
  }

  .contact-form__feedback-close {
    width: 30px;
    height: 30px;
  }
}

/* ===================== ACESSIBILIDADE ==================== */
#site-accessibility-tools {
  position: fixed;
  left: initial;
  right: 0;
  top: 40%;
  bottom: initial;
  z-index: 2147483600 !important;
  transform: translateY(calc(-50% - 10px));
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  max-width: 95vw;
  margin: 10px !important;
}

#site-accessibility-tools * {
  box-sizing: border-box;
}

#site-accessibility-tools[data-open="false"] .site-accessibility-panel {
  display: none;
}

#site-accessibility-tools[data-open="true"] .site-accessibility-panel {
  display: block;
}

.site-accessibility-trigger {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: auto;
  border: 1px solid rgba(13, 37, 69, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-brand-900);
  box-shadow: 0 10px 28px rgba(13, 37, 69, 0.16);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.site-accessibility-trigger:hover,
.site-accessibility-trigger:focus {
  border-color: rgba(26, 79, 160, 0.42);
  background: #f8fbff;
  box-shadow: 0 14px 34px rgba(13, 37, 69, 0.22);
  outline: none;
}

.site-accessibility-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-accessibility-panel {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  width: min(360px, calc(100vw - 82px));
  max-height: calc(100vh - 32px);
  padding: 14px;
  overflow: auto;
  pointer-events: auto;
  transform: translateY(-50%);
  border: 1px solid rgba(13, 37, 69, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(13, 37, 69, 0.22);
}

.site-accessibility-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 12px;
}

.site-accessibility-panel-title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-accessibility-panel-subtitle {
  margin: 4px 0 0;
  color: #5d7398;
  font-size: 0.82rem;
  line-height: 1.35;
}

.site-accessibility-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(13, 37, 69, 0.14);
  border-radius: 10px;
  background: #ffffff;
  color: var(--color-brand-900);
  cursor: pointer;
  transition: var(--transition-base);
}

.site-accessibility-close:hover,
.site-accessibility-close:focus {
  background: rgba(13, 37, 69, 0.06);
  outline: none;
}

.site-accessibility-grid,
.site-accessibility-actions {
  display: grid;
  gap: 10px;
}

.site-accessibility-actions {
  margin-top: 12px;
}

.site-accessibility-btn {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--color-brand-900);
  text-align: left;
  border: 1px solid rgba(26, 79, 160, 0.18);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.site-accessibility-btn:hover,
.site-accessibility-btn:focus {
  border-color: rgba(26, 79, 160, 0.42);
  background: rgba(13, 43, 87, 0.04);
  outline: none;
}

.site-accessibility-btn.is-active {
  color: #ffffff;
  border-color: var(--color-brand-900);
  background: var(--color-brand-900);
}

.site-accessibility-btn span {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-accessibility-btn small {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0.82;
}

/* ===================== EFEITOS FUNCIONAIS ==================== */
/* Mantém os widgets sempre fora dos filtros */
#site-accessibility-tools,
#site-accessibility-tools *,
[vw],
[vw] *,
[vw-access-button],
[vw-plugin-wrapper],
.vw-plugin-wrapper,
.vw-access-button {
  filter: none !important;
}

/* Escala de cinza somente no conteúdo da página, não nos widgets fixos */
html[data-accessibility-grayscale="on"] body>*:not(#site-accessibility-tools):not([vw]) {
  filter: grayscale(1);
}

/* Contraste negativo somente no conteúdo da página, não nos widgets fixos */
html[data-accessibility-negative-contrast="on"] body {
  background: #000000 !important;
}

html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) {
  filter: invert(1) hue-rotate(180deg);
}

html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) img,
html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) video,
html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) iframe,
html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) canvas,
html[data-accessibility-negative-contrast="on"] body>*:not(#site-accessibility-tools):not([vw]) svg {
  filter: invert(1) hue-rotate(180deg);
}

/* Alto contraste sem filter, para não afetar elementos fixos */
html[data-accessibility-high-contrast="on"] {
  --color-brand-900: #000000;
  --color-brand-800: #000000;
  --color-brand-700: #000000;
  --color-brand-600: #000000;
  --color-brand-500: #000000;
  --color-brand-400: #000000;
  --color-brand-300: #000000;
  --color-brand-100: #000000;
  --color-brand-50: #000000;
  --color-surface: #000000;
  --color-surface-muted: #000000;
  --color-neutral-100: #000000;
  --color-neutral-200: #ffffff;
  --color-neutral-500: #ffffff;
  --color-neutral-700: #ffffff;
  --color-text-primary: #ffffff;
  --color-text-muted: #ffffff;
  --color-text-inverse: #ffffff;
  --color-border: #ffffff;
  --color-accent-700: #ffff00;
  --color-accent-500: #ffff66;
  --color-accent-100: #332f00;
}

html[data-accessibility-high-contrast="on"] body {
  background: #000000 !important;
  color: #ffffff !important;
}

html[data-accessibility-high-contrast="on"] body :where(section, main, article, header, footer, nav, div, p, span, small, strong, label, li, td, th, h1, h2, h3, h4, h5, h6):not(#site-accessibility-tools):not(#site-accessibility-tools *) {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

html[data-accessibility-high-contrast="on"] a:not(#site-accessibility-tools a):not(#site-accessibility-tools *) {
  color: #ffff00 !important;
}

html[data-accessibility-high-contrast="on"] button:not(.site-accessibility-btn):not(.site-accessibility-trigger):not(.site-accessibility-close) {
  color: #ffffff !important;
  background-color: #000000 !important;
  border-color: #ffffff !important;
}

/* Links sublinhados */
html[data-accessibility-underline-links="on"] a:not(#site-accessibility-tools a):not(#site-accessibility-tools *) {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* Fonte legível */
html[data-accessibility-readable-font="on"] body,
html[data-accessibility-readable-font="on"] body *:not(i):not(.fa):not(.fa-solid):not(.fa-regular):not(.fa-brands) {
  font-family: Arial, Verdana, Tahoma, sans-serif !important;
  letter-spacing: 0.01em;
}

/* ===================== PAGE: AGENDA ======================= */
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 1.2fr);
  gap: 18px;
  align-items: start;
}

.agenda-panel {
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 160, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(13, 43, 87, 0.04);
}

/* ===================== CALENDÁRIO ======================== */
.agenda-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 590px;
  margin: 0 auto 12px;
}

.agenda-calendar__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
}

.agenda-calendar__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.06);
  border: 1px solid rgba(26, 79, 160, 0.18);
  border-radius: 10px;
  transition: var(--transition-base);
}

.agenda-calendar__nav:hover {
  background: rgba(13, 43, 87, 0.12);
}

.agenda-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  max-width: 590px;
  margin: 0 auto 12px;
}

.agenda-calendar__legend:empty {
  display: none;
}

.agenda-calendar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  color: var(--color-brand-900);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  border-radius: 999px;
  background: rgba(13, 43, 87, 0.04);
  transition: var(--transition-base);
}

.agenda-calendar__legend-item.is-dim {
  opacity: 0.42;
}

.agenda-calendar__legend-item.is-active {
  box-shadow: inset 0 0 0 2px rgba(26, 79, 160, 0.22);
  background: rgba(13, 43, 87, 0.08);
}

.agenda-calendar__legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.agenda-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 590px;
  margin: 0 auto 6px;
}

.agenda-calendar__weekdays span {
  color: var(--color-brand-900);
  font-size: 0.73rem;
  font-weight: 800;
  text-align: center;
}

.agenda-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  max-width: 590px;
  margin: 0 auto;
}

.agenda-calendar__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 52px;
  color: var(--color-brand-900);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(13, 43, 87, 0.03);
  border: 1px solid #d7ddea;
  border-radius: 11px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.agenda-calendar__day:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(13, 43, 87, 0.08);
}

.agenda-calendar__day.is-muted {
  color: #c8d0dd;
  background: #f8f9fb;
}

.agenda-calendar__day.is-today {
  box-shadow: inset 0 0 0 2px var(--color-brand-900);
}

.agenda-calendar__day.has-event-single {
  color: var(--color-surface);
}

.agenda-calendar__day.has-event-multi {
  color: var(--color-brand-900);
}

.agenda-calendar__day-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.agenda-calendar__day-number {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.agenda-calendar__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 8px;
}

.agenda-calendar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.95), 0 0 0 2px rgba(30, 64, 175, 0.08);
}

.agenda-calendar__extra {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  color: #355b9c;
}

/* ===================== EVENTOS =========================== */
.agenda-upcoming__head {
  margin-bottom: 12px;
}

.agenda-upcoming__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.agenda-upcoming__empty {
  padding: 12px;
  color: var(--color-neutral-700);
  font-size: 0.84rem;
  background: rgba(13, 43, 87, 0.03);
  border: 1px dashed rgba(26, 79, 160, 0.18);
  border-radius: 12px;
}

.agenda-upcoming__empty[hidden] {
  display: none !important;
}

.agenda-upcoming__list {
  display: grid;
  gap: 9px;
}

.agenda-upcoming__card {
  overflow: hidden;
  background: rgba(13, 43, 87, 0.03);
  border: 1px solid #d7ddea;
  border-radius: 12px;
}

.agenda-upcoming__card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  text-align: left;
  background: transparent;
  border: none;
}

.agenda-upcoming__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  color: var(--color-brand-900);
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 11px;
  background: rgba(26, 79, 160, 0.12);
}

.agenda-upcoming__info {
  min-width: 0;
  flex: 1;
}

.agenda-upcoming__event-title {
  margin: 0 0 2px;
  color: var(--color-brand-900);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.agenda-upcoming__event-time {
  color: #355b9c;
  font-size: 0.76rem;
  line-height: 1.4;
}

.agenda-upcoming__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.agenda-upcoming__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 20px;
  padding: 3px 7px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
}

.agenda-upcoming__caret {
  color: #355b9c;
  transition: transform var(--transition-base);
}

.agenda-upcoming__card.is-open .agenda-upcoming__caret {
  transform: rotate(180deg);
}

.agenda-upcoming__details {
  padding: 0 10px 10px 58px;
}

.agenda-upcoming__details[hidden] {
  display: none !important;
}

.agenda-upcoming__details p {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 0.81rem;
  line-height: 1.6;
}

.agenda-upcoming__details p+p {
  margin-top: 8px;
}

.agenda-upcoming__location {
  margin-bottom: 8px !important;
  color: #355b9c !important;
  font-weight: 600;
}

.agenda-upcoming__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.agenda-upcoming__link:hover {
  text-decoration: none;
}

.agenda-upcoming__pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.agenda-upcoming__pagination[hidden] {
  display: none !important;
}

.agenda-upcoming__page {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  color: #1f4f9e;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(13, 43, 87, 0.04);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 10px;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.agenda-upcoming__page:hover:not(:disabled) {
  background: rgba(13, 43, 87, 0.08);
  border-color: rgba(26, 79, 160, 0.34);
}

.agenda-upcoming__page.is-active {
  color: var(--color-surface);
  background: var(--color-brand-900);
  border-color: rgba(26, 79, 160, 0.34);
}

.agenda-upcoming__page:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.agenda-upcoming__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  color: #5f77a5;
  font-size: 0.78rem;
  font-weight: 800;
}

/* ===================== RESPONSIVO ======================== */
@media (max-width: 1199px) {
  .agenda-layout {
    grid-template-columns: 1fr;
  }

  .agenda-calendar__header,
  .agenda-calendar__legend,
  .agenda-calendar__weekdays,
  .agenda-calendar__grid {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .agenda-panel {
    padding: 14px;
  }

  .agenda-calendar__title {
    font-size: 1.15rem;
  }

  .agenda-calendar__grid,
  .agenda-calendar__weekdays {
    gap: 5px;
  }

  .agenda-calendar__day {
    min-height: 42px;
    border-radius: 9px;
    font-size: 0.82rem;
  }

  .agenda-calendar__day-number {
    font-size: 0.82rem;
  }

  .agenda-calendar__dot {
    width: 4px;
    height: 4px;
  }

  .agenda-upcoming__title {
    font-size: 1.05rem;
  }

  .agenda-upcoming__card-head {
    align-items: center;
    padding: 10px;
  }

  .agenda-upcoming__details {
    padding: 0 10px 10px 10px;
  }
}

/* ============================================================================
   PUBLIC EQUIPES / TEAM CARDS / ESCOLAS
============================================================================ */

.team-cards-group {
  row-gap: 24px;
  margin-bottom: 1rem;
}

.team-card {
  position: relative;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid rgba(13, 37, 69, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: 0 4px 18px rgba(13, 37, 69, 0.06);
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 37, 69, 0.14);
  box-shadow: 0 10px 20px rgba(13, 37, 69, 0.08);
}

.team-card__body {
  height: 100%;
  background: var(--color-surface);
}

.team-card__head {
  position: relative;
  min-height: 76px;
  padding: 14px 16px;
  background: rgba(13, 43, 87, 0.08);
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(26, 79, 160, 0.22);
}

.team-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: calc(100% - 150px);
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  color: var(--color-surface);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card__avatar-wrap {
  position: absolute;
  top: 76px;
  left: 18px;
  z-index: 4;
  width: 102px;
  height: 102px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2f7, #dce5f0);
  border: 5px solid var(--color-surface);
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(13, 37, 69, 0.12);
}

.team-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-brand-900);
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, #eef2f7, #dce5f0);
}

.team-card__avatar-fallback.is-visible {
  display: flex;
}

.team-card__content {
  padding: 18px;
  background: var(--color-surface);
}

.team-card__identity {
  min-height: 44px;
  padding-left: 124px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.team-card__title {
  margin: 0;
  color: var(--color-brand-900);
  font-family: inherit;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.2;
}

.team-card__info-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.team-card__info-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid rgba(13, 37, 69, 0.08);
}

.team-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(13, 37, 69, 0.06);
  color: var(--color-brand-900);
  font-size: 0.88rem;
}

.team-card__meta {
  min-width: 0;
}

.team-card__label {
  display: block;
  margin-bottom: 2px;
  color: var(--color-neutral-500);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.team-card__value {
  display: block;
  color: var(--color-neutral-700);
  font-size: 0.90rem;
  line-height: 1.6;
  word-break: break-word;
}

.team-card__value a {
  color: var(--color-brand-700);
  text-decoration: none !important;
  transition: color var(--transition-base);
}

.team-card__value a:hover {
  color: var(--color-brand-900);
}

/* Paginação específica de equipes */
.teamcard-nav,
.team-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.teamcard-nav[hidden],
.team-pagination[hidden] {
  display: none !important;
}

.teamcard-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.teamcard-first,
.teamcard-prev,
.teamcard-next,
.teamcard-last,
.teamcard-pages button,
.team-pagination__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 8px;
  margin: 0;
  color: var(--color-brand-900);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.44);
  border-radius: 2px;
  transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.teamcard-first:hover:not(:disabled),
.teamcard-prev:hover:not(:disabled),
.teamcard-next:hover:not(:disabled),
.teamcard-last:hover:not(:disabled),
.teamcard-pages button:hover:not(:disabled),
.team-pagination__button:hover:not(:disabled) {
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.14);
  border-color: rgba(26, 79, 160, 0.58);
}

.teamcard-pages button.is-active,
.team-pagination__button.is-active {
  color: var(--color-surface);
  background: var(--color-brand-900);
  border-color: rgba(26, 79, 160, 0.22);
}

.teamcard-first:disabled,
.teamcard-prev:disabled,
.teamcard-next:disabled,
.teamcard-last:disabled,
.teamcard-pages button:disabled,
.team-pagination__button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.teamcard-pages span,
.team-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 28px;
  color: #5f77a5;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Responsivo */
@media (max-width: 767px) {
  .team-card__head {
    min-height: 66px;
    padding: 12px 14px;
  }

  .team-card__badge {
    top: 12px;
    right: 12px;
    max-width: calc(100% - 132px);
    font-size: 0.70rem;
  }

  .team-card__avatar-wrap {
    top: 66px;
    left: 14px;
    width: 90px;
    height: 90px;
  }

  .team-card__content {
    padding: 16px 14px 16px;
  }

  .team-card__identity {
    min-height: 72px;
    padding-left: 108px;
  }

  .team-card__title {
    font-size: 1.08rem;
  }
}

@media (max-width: 575px) {
  .team-card__content {
    padding: 14px 12px;
  }

  .team-card__identity {
    min-height: 66px;
    padding-left: 96px;
  }

  .team-card__avatar-wrap {
    width: 80px;
    height: 80px;
  }

  .team-card__title {
    font-size: 0.98rem;
  }

  .team-card__value {
    font-size: 0.85rem;
  }
}

/* ============================================================================
   DYNAMIC PUBLIC PAGES
   ============================================================================ */

/* ===================== BLOCOS / SEÇÕES ===================== */
.public-block+.public-block {
  margin-top: 24px;
}

.public-block>header {
  margin: 0 0 10px;
}

.public-block__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 10px 0 12px;
  margin-bottom: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(26, 79, 160, 0.24);
  transition: var(--transition-base);
}

.public-block .section-title,
.public-block__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}

.public-block__subtitle {
  margin: 6px 0 0;
  color: #5d7398;
  font-size: 0.86rem;
  line-height: 1.55;
}

.public-block__toggle-text {
  color: var(--color-brand-900);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-block__body {
  display: grid;
  gap: 18px;
}

/* ===================== MODELOS ===================== */
.public-model {
  display: grid;
  gap: 12px;
}

.public-model__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1rem;
  font-weight: 800;
}

.public-model__subtitle {
  margin: 4px 0 0;
  color: #5d7398;
  font-size: 0.82rem;
}

/* ===================== GRUPOS / ÁRVORE ===================== */
.public-block__files,
.public-block__tree,
.public-files-group,
.public-folder,
.public-folder__files,
.public-folder__tree,
.pastas-tree {
  display: grid;
}

.public-block__files,
.public-block__tree {
  gap: 5px;
}

.public-block__tree,
.pastas-tree {
  gap: 10px;
}

.public-files-group {
  gap: 6px;
}

/* ===================== ARQUIVOS ===================== */
.public-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 79, 160, 0.16);
  border-radius: 8px;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
}

.public-file:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(26, 79, 160, 0.3);
}

.public-file__main {
  min-width: 0;
}

.public-file__name {
  display: block;
  margin: 0 0 4px;
  color: var(--color-brand-900);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  word-break: break-word;
  text-decoration: none;
}

.public-file__name:hover {
  color: var(--color-brand-700);
}

.public-file__description,
.public-file__meta {
  display: block;
  color: #5d7398;
  font-size: 0.8rem;
  line-height: 1.45;
  word-break: break-word;
}

.public-file__description[role="link"] {
  cursor: pointer;
}

.public-file__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

/* ===================== BOTÕES ===================== */
.public-file__button,
.public-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--color-brand-900);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  background: transparent;
  border: 1px solid rgba(26, 79, 160, 0.32);
  border-radius: 6px;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    opacity var(--transition-base);
}

.public-file__button:hover,
.public-btn:hover {
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.06);
  border-color: rgba(26, 79, 160, 0.52);
  text-decoration: none !important;
}

.public-file__button.is-disabled,
.public-btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.public-btn--primary {
  color: var(--color-surface);
  background: var(--color-brand-900);
  border-color: var(--color-brand-900);
}

.public-btn--primary:hover {
  color: var(--color-surface);
  background: var(--color-brand-700);
}

/* ===================== PASTAS ===================== */
.public-folder {
  gap: 10px;
}

.public-folder__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  background: rgba(13, 43, 87, 0.04);
  border: 1px solid rgba(26, 79, 160, 0.22);
  border-radius: 8px;
  transition: var(--transition-base);
}

.public-folder.is-open>.public-folder__toggle {
  background: rgba(13, 43, 87, 0.06);
  border-color: rgba(26, 79, 160, 0.3);
}

.public-folder__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.public-folder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.08);
  border-radius: 8px;
}

.public-folder__name {
  color: var(--color-brand-900);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.public-folder__meta {
  display: block;
  margin-top: 3px;
  color: #5d7398;
  font-size: 0.76rem;
  line-height: 1.4;
}

/* ===================== CARET DA PASTA ===================== */
.public-folder__caret {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.12);
  border-radius: 10px;
  transform: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.public-folder__caret>i,
.public-folder__caret .fa,
.public-folder__caret .fa-solid,
.public-folder__caret .fa-regular,
.public-folder__caret .fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform var(--transition-base);
}

.public-folder.is-open>.public-folder__toggle .public-folder__caret {
  transform: none;
  background: rgba(13, 43, 87, 0.16);
}

.public-folder.is-open>.public-folder__toggle .public-folder__caret>i,
.public-folder.is-open>.public-folder__toggle .public-folder__caret .fa,
.public-folder.is-open>.public-folder__toggle .public-folder__caret .fa-solid,
.public-folder.is-open>.public-folder__toggle .public-folder__caret .fa-regular,
.public-folder.is-open>.public-folder__toggle .public-folder__caret .fa-brands {
  transform: rotate(180deg);
}

/* ===================== CONTEÚDO DA ÁRVORE ===================== */
.public-folder__content {
  position: relative;
  margin-left: 14px;
  margin-top: 2px;
  margin-bottom: 8px;
  padding-left: var(--tree-indent);
}

.public-folder__content::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: calc(var(--tree-node-center) + var(--tree-gap));
  width: 0;
  border-left: 1px dashed rgba(26, 79, 160, 0.62);
  pointer-events: none;
}

.public-folder__files,
.public-folder__tree {
  gap: var(--tree-gap);
}

.public-folder__files>.public-file,
.public-folder__tree>.public-folder {
  position: relative;
  margin-left: 0;
}

.public-folder__files>.public-file::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--tree-arm));
  top: var(--tree-node-center);
  width: var(--tree-arm);
  height: 0;
  border-top: 1px dashed rgba(26, 79, 160, 0.62);
  pointer-events: none;
}

.public-folder__tree>.public-folder>.public-folder__toggle {
  position: relative;
}

.public-folder__tree>.public-folder>.public-folder__toggle::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--tree-arm));
  top: var(--tree-node-center);
  width: var(--tree-arm);
  height: 0;
  border-top: 1px dashed rgba(26, 79, 160, 0.62);
  pointer-events: none;
}

/* ===================== RICHTEXT / TEXTO ===================== */
.public-richtext,
.public-text-search-block {
  color: var(--color-text-primary);
  font-size: 0.94rem;
  line-height: 1.8;
}

.public-richtext :where(p, ul, ol, table) {
  margin-bottom: 1rem;
}

.public-richtext :where(h1, h2, h3, h4, h5, h6) {
  color: var(--color-brand-900);
  font-weight: 800;
}

.public-richtext a {
  color: var(--color-brand-700);
  font-weight: 700;
}

/* ===================== CARDS DE RESULTADO ===================== */
.public-result-grid {
  margin-top: 0;
}

.public-result-card {
  height: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 79, 160, 0.16);
  border-radius: 10px;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.public-result-card:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(26, 79, 160, 0.3);
  box-shadow: 0 10px 24px rgba(13, 43, 87, 0.06);
}

.public-result-card__media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
}

.public-result-card__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 170px;
  object-fit: contain;
}

.public-result-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.06);
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 14px;
  font-size: 1.35rem;
}

.public-result-card__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  word-break: break-word;
}

.public-result-card__text {
  margin: 8px 0 0;
  color: #5d7398;
  font-size: 0.86rem;
  line-height: 1.6;
  word-break: break-word;
}

/* ===================== INFO LIST ===================== */
.public-info-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.public-info-item {
  display: flex;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(13, 43, 87, 0.04);
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 10px;
}

.public-info-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--color-brand-900);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 79, 160, 0.14);
  border-radius: 8px;
}

.public-info-item__label {
  display: block;
  margin: 0 0 4px;
  color: #5d7398;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.public-info-item__value {
  display: block;
  color: var(--color-brand-900);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.public-info-item a.public-info-item__value {
  text-decoration: none !important;
}

.public-info-item a.public-info-item__value:hover {
  color: var(--color-brand-700);
}

/* ===================== MODAL PÚBLICO ===================== */
.public-modal {
  position: fixed;
  inset: 0;
  z-index: 1055;
}

.public-modal[hidden] {
  display: none !important;
}

.public-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 39, 0.58);
}

.public-modal__stage {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.public-modal__dialog {
  width: min(100%, 720px);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid rgba(26, 79, 160, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(6, 18, 39, 0.28);
}

.public-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(26, 79, 160, 0.14);
}

.public-modal__title {
  margin: 0;
  color: var(--color-brand-900);
  font-size: 1.05rem;
  font-weight: 800;
}

.public-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-brand-900);
  background: rgba(13, 43, 87, 0.08);
  border: 1px solid rgba(26, 79, 160, 0.2);
  border-radius: 10px;
}

.public-modal__body {
  max-height: 70vh;
  padding: 18px;
  overflow: auto;
}

/* ===================== TABELAS ===================== */
.public-table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 79, 160, 0.16);
  border-radius: 10px;
}

.public-table {
  min-width: 720px;
  margin: 0;
  color: var(--color-text-primary);
}

.public-table thead th {
  color: var(--color-brand-900);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(13, 43, 87, 0.06);
}

.public-table td,
.public-table th {
  vertical-align: middle;
  border-color: rgba(26, 79, 160, 0.14);
}

.public-table-cell,
.public-table-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.public-table-cell__icon {
  flex: 0 0 auto;
  color: var(--color-brand-900);
  line-height: 1;
}

.public-table-cell__label {
  min-width: 0;
  line-height: 1.35;
}

.public-table .public-btn,
.public-table-action {
  white-space: normal;
  text-align: left;
}

.public-table-action.public-btn {
  min-height: 34px;
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 991px) {
  .public-page {
    --tree-arm: 14px;
    --tree-indent: 22px;
    --tree-node-center: 28px;
    --tree-gap: 10px;
  }

  .page-search,
  .public-search,
  .news-search {
    grid-template-columns: 1fr;
  }

  .page-search__clear,
  .public-search__clear,
  .news-search__clear {
    width: 100%;
  }

  .public-folder__content::before {
    left: 6px;
  }

  .public-folder__icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 767px) {
  .page-breadcrumb-wrap {
    padding-top: 14px;
  }

  .page-breadcrumb {
    min-height: 44px;
  }

  .page-breadcrumb__list {
    gap: 6px;
    padding-right: 13px;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .page-breadcrumb__item:first-child::before,
  .page-breadcrumb__home-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 0.78rem;
  }

  .page-hero,
  .public-hero,
  .news-hero,
  .agenda-hero {
    padding: 40px 0 46px;
  }

  .page-content,
  .public-page,
  .news-page,
  .news-detail-page,
  .agenda-page {
    padding: 36px 0 56px;
  }

  .public-page {
    --tree-arm: 10px;
    --tree-indent: 14px;
    --tree-node-center: 26px;
    --tree-gap: 8px;
  }

  .public-folder__content {
    margin-left: 8px;
    padding-left: var(--tree-indent);
  }

  .public-folder__content::before {
    left: 4px;
  }

  .public-folder__files>.public-file::after,
  .public-folder__tree>.public-folder>.public-folder__toggle::before {
    width: var(--tree-arm);
    left: calc(-1 * var(--tree-arm));
    top: var(--tree-node-center);
  }

  .public-file {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .public-file__actions {
    justify-content: flex-start;
  }

  .public-folder__toggle {
    gap: 10px;
    padding: 11px 12px;
  }

  .public-folder__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .public-folder__name,
  .public-file__name {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .public-file__description {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .public-page {
    --tree-arm: 8px;
    --tree-indent: 10px;
    --tree-node-center: 24px;
    --tree-gap: 6px;
  }

  .public-folder__content {
    margin-left: 4px;
    padding-left: var(--tree-indent);
  }

  .public-folder__content::before {
    left: 2px;
  }

  .public-file,
  .public-folder__toggle {
    padding: 12px;
  }

  .public-block__toggle {
    padding: 10px 0 12px;
  }

  .public-folder__icon {
    width: 32px;
    height: 32px;
  }

  .public-folder__name,
  .public-file__name {
    font-size: 0.85rem;
  }

  .public-file__description {
    font-size: 0.78rem;
  }
}

/* ===================== CARET DAS SEÇÕES ===================== */
/* O quadrado fica fixo. Quem gira é somente o ícone interno. */

.public-block__caret {
  transform: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.public-block__caret>i,
.public-block__caret .fa,
.public-block__caret .fa-solid,
.public-block__caret .fa-regular,
.public-block__caret .fa-brands {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform var(--transition-base);
}

.public-block__toggle[aria-expanded="true"] .public-block__caret {
  transform: none;
  background: rgba(13, 43, 87, 0.16);
}

.public-block__toggle[aria-expanded="true"] .public-block__caret>i,
.public-block__toggle[aria-expanded="true"] .public-block__caret .fa,
.public-block__toggle[aria-expanded="true"] .public-block__caret .fa-solid,
.public-block__toggle[aria-expanded="true"] .public-block__caret .fa-regular,
.public-block__toggle[aria-expanded="true"] .public-block__caret .fa-brands {
  transform: rotate(180deg);
}

.public-block__toggle[aria-expanded="false"] .public-block__caret>i,
.public-block__toggle[aria-expanded="false"] .public-block__caret .fa,
.public-block__toggle[aria-expanded="false"] .public-block__caret .fa-solid,
.public-block__toggle[aria-expanded="false"] .public-block__caret .fa-regular,
.public-block__toggle[aria-expanded="false"] .public-block__caret .fa-brands {
  transform: rotate(0deg);
}

/* ===================== FOOTER ============================ */
#footer {
  padding-top: 60px;
  color: rgba(255, 255, 255, 0.75);
  /* background: var(--color-brand-900); */
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#footer .brand-icon {
  color: var(--color-accent-500);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
}

#footer .brand-title {
  color: var(--color-surface);
  font-size: 1.2rem;
  font-weight: 700;
}

#footer .brand-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-divider-gold {
  width: 36px;
  height: 3px;
  margin: 12px 0;
  border-radius: 2px;
  background: var(--color-accent-700);
}

.footer-description {
  max-width: 100%;
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--color-accent-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-list a i {
  width: 14px;
  color: var(--color-accent-700);
  font-size: 0.78rem;
}

.footer-list a:hover {
  color: var(--color-accent-500);
}

.footer-logo {
  height: 64px;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--color-brand-800);
  font-size: 1rem;
  line-height: 0.5rem;
  text-decoration: none;
  border-radius: 8px;
}

.footer-social a:hover {
  color: var(--color-brand-900);
  background: var(--color-accent-700);
  border-color: var(--color-accent-700);
}

.footer-bottom {
  margin-top: 48px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-accent-500);
}

/* ===================== RESPONSIVO ======================== */
@media (max-width: 991px) {
  .navbar-nav .nav-link {
    padding: 12px 14px !important;
  }

  .hero-stats {
    gap: 20px;
  }

  .contact-panel,
  .contact-form {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  #hero {
    padding: 50px 0 60px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-link {
    width: 100%;
  }

  #contact {
    padding: 60px 0;
  }

  .contact-summary {
    grid-template-columns: 1fr;
  }

}

/* ===================== HOME HISTORY ================== */
.home-section--history {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
}

.home-section--history::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -210px;
  right: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 168, 31, 0.12) 0%, rgba(179, 168, 31, 0) 72%);
  pointer-events: none;
}

.home-history {
  position: relative;
  z-index: 1;
}

.home-history__content {
  max-width: 650px;
}

.home-history__eyebrow {
  margin-bottom: 14px;
}

.home-history__title {
  position: relative;
  margin: 0;
  padding-bottom: 22px;
  color: var(--color-brand-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.home-history__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  /* background: linear-gradient(90deg, var(--color-accent-700), var(--color-accent-500)); */
  background: var(--color-accent-700);
}

.home-history__subtitle {
  max-width: 620px;
  margin: 14px 0 20px;
  color: var(--color-brand-800);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.65;
}

.home-history__text {
  color: var(--color-neutral-700);
  font-size: 1rem;
  line-height: 1.85;
}

.home-history__text p {
  margin: 0 0 1rem;
}

.home-history__text p:last-child,
.home-history__text ul:last-child,
.home-history__text ol:last-child {
  margin-bottom: 0;
}

.home-history__text a {
  color: var(--color-brand-800);
  font-weight: 700;
  text-decoration-color: rgba(25, 91, 54, 0.35);
  text-underline-offset: 3px;
}

/* .home-history__highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 590px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 63, 40, 0.12);
  border-left: 4px solid var(--color-accent-700);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(18, 63, 40, 0.08);
} */

.home-history__highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 590px;
  margin-top: 26px;
  padding: 16px 18px;
  /* border: 1px solid rgba(18, 63, 40, 0.12); */
  border-left: 5px solid var(--color-accent-700);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(18, 63, 40, 0.08);
}

.home-history__highlight-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 13px;
  background: var(--color-brand-50);
  color: var(--color-brand-800);
  font-size: 2.5rem !important;
}

.home-history__highlight strong,
.home-history__highlight span {
  display: block;
}

.home-history__highlight strong {
  color: var(--color-brand-900);
  font-size: 1rem;
  font-weight: 800;
}

.home-history__highlight span {
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-history__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 20px;
  /* border: 1px solid var(--color-brand-800); */
  border-radius: 999px;
  /* background: var(--color-brand-800); */
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  color: var(--color-surface);
  font-weight: 750;
  text-decoration: none;
  transition: transform var(--transition-base), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.home-history__button:hover,
.home-history__button:focus {
  /*  border-color: var(--color-brand-900);
  background: var(--color-brand-900); */
  color: var(--color-surface);
  /* box-shadow: 0 10px 24px rgba(18, 63, 40, 0.2); */
  transform: translateY(-2px);
}

/* .home-history__media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(18, 63, 40, 0.12);
  border-radius: 28px 8px 28px 8px;
  background:
    linear-gradient(155deg, rgba(18, 63, 40, 0.96), rgba(40, 134, 77, 0.85)),
    var(--color-brand-800);
  box-shadow: 0 24px 54px rgba(18, 63, 40, 0.18);
} */

/* .home-history__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(18, 63, 40, 0.26) 100%);
  pointer-events: none;
} */

.home-history__image {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border-radius: 28px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-history__media:hover .home-history__image {
  transform: scale(1.025);
}

.home-history__media-accent {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  width: 94px;
  height: 94px;
  border-right: 5px solid var(--color-accent-500);
  border-bottom: 5px solid var(--color-accent-500);
  border-radius: 0 0 18px 0;
  opacity: 0.92;
  pointer-events: none;
}

.home-history__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px;
  color: rgba(255, 255, 255, 0.95);
}

.home-history__placeholder-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.8rem;
  backdrop-filter: blur(8px);
}

.home-history__placeholder-mark.is-secondary {
  color: var(--color-accent-500);
}

.home-history__placeholder-line {
  width: 54px;
  height: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.home-history__placeholder-dot {
  width: 12px;
  height: 12px;
  border: 3px solid var(--color-accent-500);
  border-radius: 50%;
  background: var(--color-brand-800);
  box-shadow: 0 0 0 7px rgba(210, 199, 46, 0.12);
}

@media (max-width: 991.98px) {
  .home-section--history {
    padding: 60px 0;
  }

  .home-history__content {
    max-width: none;
  }

  .home-history__media,
  .home-history__image {
    min-height: 390px;
  }
}

@media (max-width: 575.98px) {
  .home-section--history {
    padding: 50px 0;
  }

  .home-history__title {
    font-size: 2rem;
  }

  .home-history__subtitle {
    font-size: 1rem;
  }

  .home-history__highlight {
    align-items: flex-start;
  }

  .home-history__media,
  .home-history__image {
    min-height: 310px;
  }

  .home-history__placeholder {
    gap: 10px;
  }

  .home-history__placeholder-mark {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    font-size: 1.35rem;
  }

  .home-history__placeholder-line {
    width: 24px;
  }
}

/* ==========================================================================
   HOME HERO — AJUSTE FINAL DE PROPORÇÃO E SEPARAÇÃO ENTRE MAPA E TEXTO
   ========================================================================== */

.home-hero__title {
  max-width: 17ch;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.7vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.home-hero__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.home-hero__panel-visual {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(237, 247, 240, 0.24));
}

.home-hero__route-map {
  position: absolute;
  inset: 0;
  opacity: 1;
}

.home-hero__route-map::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0, 0, 0, 0.46) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 82%, rgba(0, 0, 0, 0.46) 100%);
}

.home-hero__route-map svg {
  width: 100%;
  top: 20px;
  left: 0%;
}

.home-hero__route-main {
  stroke-width: 8;
  stroke-dasharray: 20 8;
}

.home-hero__route-branch {
  stroke-width: 6;
  stroke-dasharray: 12 10;
}

.home-hero__route-stop {
  transform-box: fill-box;
  transform-origin: center;
}

.home-hero__route-vehicle--bus {
  top: 132px;
  left: 18%;
}

.home-hero__route-vehicle--bike {
  top: 72px;
  right: 18%;
}

.home-hero__panel-head {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: clamp(26px, 3vw, 38px) clamp(28px, 4vw, 44px) 0;
}

.home-hero__panel-content {
  min-height: 0;
  padding: 24px clamp(30px, 4vw, 46px) clamp(30px, 4vw, 42px);
  /* background:
    linear-gradient(180deg, rgba(250, 253, 251, 0.98) 0%, rgba(239, 248, 242, 0.99) 100%);
  border-top: 1px solid rgba(18, 63, 40, 0.09); */
}

.home-hero__panel-title {
  max-width: 26ch;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.16;
}

.home-hero__panel-text {
  margin-bottom: 0;
}

.home-hero__stats {
  margin-top: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero__route-main {
    animation: homeHeroRouteFlowVisible 3.6s linear infinite;
  }

  .home-hero__route-branch {
    animation: homeHeroRouteFlowVisible 2.8s linear infinite reverse;
  }

  .home-hero__route-stop {
    animation: homeHeroRouteStopVisible 2.4s ease-in-out infinite;
  }

  .home-hero__route-stop:nth-of-type(2) {
    animation-delay: .35s;
  }

  .home-hero__route-stop:nth-of-type(3) {
    animation-delay: .7s;
  }

  .home-hero__route-stop:nth-of-type(4) {
    animation-delay: 1.05s;
  }

  .home-hero__route-stop:nth-of-type(5) {
    animation-delay: 1.4s;
  }

  .home-hero__route-vehicle--bus {
    animation: homeHeroBusMoveVisible 5.2s ease-in-out infinite;
  }

  .home-hero__route-vehicle--bike {
    animation: homeHeroBikeMoveVisible 4.6s ease-in-out .7s infinite;
  }
}

@keyframes homeHeroRouteFlowVisible {
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes homeHeroRouteStopVisible {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.22);
    opacity: .82;
  }
}

@keyframes homeHeroBusMoveVisible {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  35% {
    transform: translate3d(46px, -17px, 0);
  }

  70% {
    transform: translate3d(88px, 7px, 0);
  }
}

@keyframes homeHeroBikeMoveVisible {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  45% {
    transform: translate3d(-38px, 17px, 0);
  }

  75% {
    transform: translate3d(-70px, 5px, 0);
  }
}

@media (max-width: 1199px) {
  .home-hero__title {
    font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  }

  .home-hero__panel,
  .home-hero__panel-content {
    min-height: 0;
  }

  .home-hero__panel-visual {
    min-height: 250px;
  }

  .home-hero__panel-head {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .home-hero__panel {
    min-height: 0;
  }

  .home-hero__panel-visual {
    min-height: 260px;
  }

  .home-hero__panel-content {
    min-height: 0;
  }

  .home-hero__route-map svg {
    top: 18px;
  }

  .home-hero__panel-head {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .home-hero__title {
    font-size: clamp(2.05rem, 8.5vw, 3rem);
  }

  .home-hero__panel-visual {
    min-height: 230px;
  }

  .home-hero__panel-content {
    padding: 22px 24px 28px;
  }

  .home-hero__panel-head {
    margin-bottom: 0;
    padding: 24px 24px 0;
  }

  .home-hero__route-map svg {
    width: 124%;
    top: 20px;
    left: -12%;
  }
}

@media (max-width: 575px) {
  .home-hero__title {
    font-size: clamp(1.9rem, 10.5vw, 2.55rem);
  }

  .home-hero__panel-visual {
    min-height: 210px;
  }

  .home-hero__route-vehicle {
    width: 36px;
    height: 36px;
    font-size: .88rem;
  }

  .home-hero__route-vehicle--bus {
    top: 114px;
    left: 15%;
  }

  .home-hero__route-vehicle--bike {
    top: 66px;
    right: 14%;
  }
}

/* ==========================================================================
   HOME HERO — MALHA DE MOBILIDADE COM TRÊS ROTAS INDEPENDENTES
   Ônibus: azul | Motocicleta: laranja | Pedestre: verde
   ========================================================================== */

.home-hero__route-network {
  overflow: visible;
}

.home-hero__route-lane,
.home-hero__route-lane-shadow,
.home-hero__route-connector {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__route-lane-shadow {
  stroke-width: 16;
  opacity: .13;
}

.home-hero__route-lane-shadow--green {
  stroke: #287c49;
}

.home-hero__route-lane-shadow--blue {
  stroke: #2b8fb8;
}

.home-hero__route-lane-shadow--orange {
  stroke: #dc8537;
}

.home-hero__route-lane {
  stroke-width: 7;
}

.home-hero__route-lane--green {
  stroke: #2f8f55;
  stroke-dasharray: 18 9;
}

.home-hero__route-lane--blue {
  stroke: #3198be;
  stroke-dasharray: 12 9;
}

.home-hero__route-lane--orange {
  stroke: #e59043;
  stroke-dasharray: 14 9;
}

.home-hero__route-connector {
  stroke: rgba(72, 105, 84, .42);
  stroke-width: 3;
  stroke-dasharray: 4 7;
}

.home-hero__route-node {
  fill: #fff;
  stroke-width: 4;
  transform-box: fill-box;
  transform-origin: center;
}

.home-hero__route-node--green {
  stroke: #2f8f55;
}

.home-hero__route-node--blue {
  stroke: #3198be;
}

.home-hero__route-node--orange {
  stroke: #e59043;
}

.home-hero__moving-object {
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
}

.home-hero__moving-object-disc {
  stroke: rgba(255, 255, 255, .96);
  stroke-width: 4;
  filter: drop-shadow(0 9px 9px rgba(18, 63, 40, .24));
}

.home-hero__moving-object--bus .home-hero__moving-object-disc {
  fill: #3198be;
}

.home-hero__moving-object--motorcycle .home-hero__moving-object-disc {
  fill: #e59043;
}

.home-hero__moving-object--pedestrian .home-hero__moving-object-disc {
  fill: #2f8f55;
}

.home-hero__moving-object-icon {
  fill: #fff;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-size: 17px;
  font-weight: 900;
  pointer-events: none;
}

.home-hero__moving-object--pedestrian .home-hero__moving-object-icon {
  font-size: 18px;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero__route-lane--green {
    animation: homeHeroGreenLaneFlow 4.8s linear infinite;
  }

  .home-hero__route-lane--blue {
    animation: homeHeroBlueLaneFlow 3.8s linear infinite;
  }

  .home-hero__route-lane--orange {
    animation: homeHeroOrangeLaneFlow 4.2s linear infinite reverse;
  }

  .home-hero__route-node {
    animation: homeHeroNetworkNodePulse 3s ease-in-out infinite;
  }

  .home-hero__route-node:nth-child(3n + 2) {
    animation-delay: .55s;
  }

  .home-hero__route-node:nth-child(3n) {
    animation-delay: 1.1s;
  }
}

@keyframes homeHeroGreenLaneFlow {
  to {
    stroke-dashoffset: -54;
  }
}

@keyframes homeHeroBlueLaneFlow {
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes homeHeroOrangeLaneFlow {
  to {
    stroke-dashoffset: -46;
  }
}

@keyframes homeHeroNetworkNodePulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.18);
    opacity: .82;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-hero__route-lane,
  .home-hero__route-node {
    animation: none !important;
  }

  .home-hero__moving-object {
    display: none;
  }
}


/* ==========================================================================
   HOME HERO — ROTAS ORTOGONAIS E CONTROLE VISUAL DE PREFERÊNCIA
   ========================================================================== */
.home-hero__route-network {
  overflow: visible;
}

.home-hero__map-context {
  pointer-events: none;
}

.home-hero__map-river {
  fill: none;
  stroke: rgba(77, 171, 207, 0.14);
  stroke-width: 20;
  stroke-linecap: round;
}

.home-hero__map-park {
  fill: rgba(93, 176, 112, 0.13);
  stroke: rgba(93, 176, 112, 0.18);
  stroke-width: 1.5;
}

.home-hero__route-lane-shadow {
  stroke-width: 14;
  opacity: 0.11;
}

.home-hero__route-lane {
  stroke-width: 6;
  stroke-dasharray: none;
}

.home-hero__route-lane--blue,
.home-hero__route-lane--green,
.home-hero__route-lane--orange {
  animation: none !important;
}

.home-hero__route-node {
  stroke-width: 3;
  animation-duration: 3.4s !important;
}

.home-hero__route-interchanges {
  pointer-events: none;
}

.home-hero__interchange-halo {
  fill: rgba(255, 255, 255, 0.96);
  stroke: #246b46;
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 6px rgba(18, 63, 40, 0.18));
}

.home-hero__interchange-core {
  fill: #fff;
  stroke: #3198be;
  stroke-width: 3;
}

.home-hero__moving-object {
  will-change: transform;
}

.home-hero__moving-object-yield-ring {
  fill: none;
  stroke: rgba(211, 193, 46, 0);
  stroke-width: 3;
  transform-origin: center;
  pointer-events: none;
}

.home-hero__moving-object--bike .home-hero__moving-object-disc {
  fill: #e59043;
}

.home-hero__moving-object.is-yielding .home-hero__moving-object-yield-ring {
  stroke: rgba(211, 193, 46, 0.96);
  animation: homeHeroYieldPulse 0.9s ease-in-out infinite;
}

.home-hero__moving-object.is-yielding .home-hero__moving-object-disc {
  opacity: 0.86;
}

.home-hero__moving-object--pedestrian.is-yielding .home-hero__moving-object-yield-ring {
  display: none;
}

@keyframes homeHeroYieldPulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__moving-object {
    display: block;
  }

  .home-hero__moving-object-yield-ring,
  .home-hero__route-node {
    animation: none !important;
  }
}

/* ============================================================================
   PAGE-SPECIFIC STYLES CONSOLIDATED FROM PUBLIC VIEWS
   ============================================================================ */


/* ----------------------------------------------------------------------------
   PÁGINAS DE ERRO (404 E 500)
   Source: app/Views/site/pages/404.php
   ---------------------------------------------------------------------------- */

.error-page {
  --error-navy: var(--color-brand-900, #0d2545);
  --error-navy-mid: var(--color-brand-800, #163566);
  --error-blue: var(--color-brand-700, #1a4fa0);
  --error-gold: var(--color-accent-700, #c9972b);
  --error-gold-light: var(--color-accent-500, #e8b84b);
  --error-cream: var(--color-surface-muted, #f8f5ef);
  --error-white: #ffffff;
  --error-text: var(--color-text-primary, #1a1f2e);
  --error-muted: #5d7398;
  --error-border: rgba(13, 37, 69, .12);
  --error-shadow: 0 18px 45px rgba(13, 37, 69, .10);
  --error-warning: #9a6700;
  --error-warning-strong: #7c4a03;
  --error-warning-soft: #fff8e6;
  --error-warning-soft-2: #fff3cd;
  --error-warning-border: rgba(201, 151, 43, .28);
  --error-danger: #b42318;
  --error-danger-strong: #842029;
  --error-danger-soft: #fff1f2;
  --error-danger-soft-2: #fff7f7;
  --error-danger-border: rgba(180, 35, 24, .22);
  background: var(--error-cream);
}

.error-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 82px;
  color: var(--error-navy);
  background:
    radial-gradient(circle at top right, rgba(201, 151, 43, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #fbfaf7 100%);
}

.error-hero::before {
  content: "";
  position: absolute;
  left: -150px;
  bottom: -180px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(13, 37, 69, .035);
  pointer-events: none;
}

.error-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: rgba(201, 151, 43, .08);
  pointer-events: none;
}

.error-public-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.error-code-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.25rem, 2vw, 1rem);
  margin-bottom: 1.5rem;
  line-height: 1;
  user-select: none;
}

.error-code-visual__number {
  color: var(--error-navy);
  font-size: clamp(5.5rem, 17vw, 10rem);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .9;
}

.error-code-visual svg {
  width: clamp(82px, 13vw, 126px);
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(13, 37, 69, .18));
}

.error-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .85rem;
  padding: .42rem .75rem;
  color: var(--error-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(201, 151, 43, .10);
  border: 1px solid rgba(201, 151, 43, .24);
  border-radius: 999px;
}

.error-eyebrow--danger {
  color: var(--error-danger);
  background: rgba(180, 35, 24, .08);
  border-color: rgba(180, 35, 24, .18);
}

.error-public-title {
  margin: 0 0 .75rem;
  color: var(--error-navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.error-public-text {
  max-width: 620px;
  margin: 0 auto 1.75rem;
  color: var(--error-navy);
  font-size: 1rem;
  line-height: 1.75;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.error-page .btn-gold,
.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.2rem;
  border-radius: .65rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.error-page .btn-gold:hover,
.error-page .btn-gold:focus,
.error-btn:hover,
.error-btn:focus {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.error-page .btn-gold,
.error-btn--primary {
  color: var(--error-navy) !important;
  background: linear-gradient(135deg, var(--error-gold), var(--error-gold-light));
  border: 1px solid rgba(201, 151, 43, .25);
  box-shadow: 0 16px 26px rgba(201, 151, 43, .16);
}

.error-page .btn-gold:hover,
.error-page .btn-gold:focus,
.error-btn--primary:hover,
.error-btn--primary:focus {
  color: var(--error-navy) !important;
  background: linear-gradient(135deg, var(--error-gold-light), var(--error-gold));
  border-color: rgba(201, 151, 43, .38);
  box-shadow: 0 18px 30px rgba(201, 151, 43, .22);
}

.error-btn--light {
  color: #fff !important;
  background: var(--error-navy);
  border: 1px solid rgba(13, 37, 69, .18);
  box-shadow: 0 14px 24px rgba(13, 37, 69, .14);
}

.error-btn--light:hover,
.error-btn--light:focus {
  color: #fff !important;
  background: var(--error-navy-mid);
  border-color: rgba(13, 37, 69, .26);
  box-shadow: 0 18px 30px rgba(13, 37, 69, .20);
}

.error-btn--outline {
  color: var(--error-navy) !important;
  background: #fff;
  border: 1px solid rgba(13, 37, 69, .18);
}

.error-btn--outline:hover,
.error-btn--outline:focus {
  color: var(--error-navy) !important;
  background: rgba(13, 37, 69, .04);
  border-color: rgba(13, 37, 69, .28);
}

.error-code-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.25rem;
  color: var(--error-navy);
  font-size: .88rem;
  font-weight: 600;
}

.error-code-note code,
.error-chip,
.error-page code {
  color: var(--error-navy);
  background: rgba(13, 37, 69, .06);
  border: 1px solid rgba(13, 37, 69, .10);
  border-radius: .45rem;
  padding: .18rem .42rem;
  font-size: .84em;
}

.error-dev-shell {
  padding: 32px 0 40px;
  background: var(--error-cream);
}

.error-card {
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--error-border);
  border-radius: 18px;
  box-shadow: var(--error-shadow);
}

.error-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid rgba(13, 37, 69, .10);
}

.error-card__head--warning {
  background: linear-gradient(180deg, var(--error-warning-soft) 0%, var(--error-warning-soft-2) 100%);
  border-bottom-color: rgba(201, 151, 43, .20);
}

.error-card__head--danger {
  background: linear-gradient(180deg, var(--error-danger-soft-2) 0%, var(--error-danger-soft) 100%);
  border-bottom-color: rgba(180, 35, 24, .16);
}

.error-card__title {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  color: var(--error-navy);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.error-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--error-navy);
  background: rgba(13, 37, 69, .08);
  border-radius: 10px;
}

.error-icon-box--warning {
  color: var(--error-warning-strong);
  background: rgba(201, 151, 43, .16);
}

.error-icon-box--danger {
  color: var(--error-danger);
  background: rgba(180, 35, 24, .10);
}

.error-card__body {
  padding: 1.15rem;
}

.error-status-box {
  padding: 1rem;
  color: var(--error-warning-strong);
  background: var(--error-warning-soft);
  border: 1px solid var(--error-warning-border);
  border-radius: 14px;
}

.error-status-box--danger {
  color: var(--error-danger-strong);
  background: var(--error-danger-soft);
  border-color: var(--error-danger-border);
}

.error-info-tile {
  min-height: 100%;
  padding: .95rem;
  background: #fff;
  border: 1px solid rgba(13, 37, 69, .12);
  border-radius: 14px;
}

.error-info-tile__label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .35rem;
  color: var(--error-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.error-info-tile__value {
  margin: 0;
  color: var(--error-text);
  font-size: .9rem;
  line-height: 1.55;
}

.error-table {
  margin: 0;
  color: var(--error-text);
  font-size: .88rem;
  vertical-align: middle;
}

.error-table thead th {
  color: var(--error-navy);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(13, 37, 69, .05);
  border-bottom-color: rgba(13, 37, 69, .12);
  white-space: nowrap;
}

.error-table tbody th {
  color: var(--error-muted);
  font-weight: 800;
  background: rgba(13, 37, 69, .025);
  white-space: nowrap;
}

.error-table td,
.error-table th {
  border-color: rgba(13, 37, 69, .08);
}

.error-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .55rem;
  color: var(--error-navy);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(13, 37, 69, .06);
  border: 1px solid rgba(13, 37, 69, .10);
  border-radius: 999px;
}

.error-badge--warning {
  color: var(--error-warning-strong);
  background: var(--error-warning-soft);
  border-color: var(--error-warning-border);
}

.error-badge--danger {
  color: var(--error-danger);
  background: var(--error-danger-soft);
  border-color: var(--error-danger-border);
}

.error-route-current {
  background: var(--error-warning-soft);
}

.trace-summary {
  cursor: pointer;
  user-select: none;
  color: var(--error-blue);
  font-size: .88rem;
  font-weight: 700;
}

.trace-summary:hover,
.trace-summary:focus {
  color: var(--error-navy);
}

.trace-pre {
  max-height: 400px;
  overflow: auto;
  margin: .75rem 0 0;
  padding: 1rem;
  color: #e5e7eb;
  font-size: .75rem;
  line-height: 1.65;
  white-space: pre-wrap;
  background: #0b1220;
  border-radius: 14px;
}

.anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@keyframes blink-sad {

  0%,
  90%,
  100% {
    transform: scaleY(1);
  }

  95% {
    transform: scaleY(.15);
  }
}

@keyframes tear-drop {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.03);
    opacity: .95;
  }
}

@keyframes shake-soft {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-1px);
  }

  40% {
    transform: translateX(1px);
  }

  60% {
    transform: translateX(-1px);
  }

  80% {
    transform: translateX(1px);
  }
}

.eye-left {
  animation: blink-sad 4s ease-in-out infinite;
  transform-origin: center;
}

.eye-right {
  animation: blink-sad 4s ease-in-out infinite .08s;
  transform-origin: center;
}

.tear {
  animation: tear-drop 3.5s ease-in infinite 1.5s;
  opacity: 0;
}

.tri-wrap {
  animation: pulse-soft 2.8s ease-in-out infinite;
  transform-origin: center;
}

.tri-wrap.shake {
  animation: pulse-soft 2.8s ease-in-out infinite, shake-soft 5.5s ease-in-out infinite;
}

@media (max-width: 767.98px) {
  .error-hero {
    padding: 56px 0 64px;
  }

  .error-code-visual {
    margin-bottom: 1.15rem;
  }

  .error-public-text {
    font-size: .95rem;
  }
}

@media (max-width: 575.98px) {
  .error-hero {
    padding: 48px 0 58px;
  }

  .error-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .error-page .btn-gold,
  .error-btn {
    width: 100%;
  }

  .error-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .error-card__body {
    padding: 1rem;
  }

  .error-table {
    font-size: .82rem;
  }
}


/* ----------------------------------------------------------------------------
   PÁGINA DE AUDIÊNCIAS PÚBLICAS
   Source: app/Views/site/pages/audiencias.php
   ---------------------------------------------------------------------------- */

.audiencias-page {
  padding: 34px 0 44px;
  background: var(--color-surface-muted);
}

.audiencias-list-section+.audiencias-list-section {
  margin-top: 24px;
}

.audiencias-list-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 16px;
}

.audiencias-list-section__title {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin: 0;
  color: var(--color-brand-900);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.2;
}

.audiencias-list-section__title i {
  color: var(--color-brand-700);
}

.audiencias-list-section__count {
  flex: 0 0 auto;
  padding: .38rem .72rem;
  color: var(--color-brand-900);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 48, 82, .16);
  border-radius: 999px;
}

.audiencias-card {
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.audiencias-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 15px;
  scrollbar-width: thin;
}

.audiencias-table {
  width: 100% !important;
  min-width: 860px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 1px !important;
  table-layout: fixed;
}

.audiencias-table col:nth-child(1) {
  width: 34%;
}

.audiencias-table col:nth-child(2) {
  width: 23%;
}

.audiencias-table col:nth-child(3) {
  width: 29%;
}

.audiencias-table col:nth-child(4) {
  width: 14%;
}

.audiencias-table thead th {
  height: 54px;
  padding: 12px 20px;
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .015em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /* background: linear-gradient(180deg, #078347 0%, #006c37 100%); */
  border: 0 !important;
  border-right: 2px solid var(--color-surface-muted, #fff) !important;
  border-radius: 15px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.audiencias-table thead th:last-child {
  border-right: 0 !important;
}

.audiencias-head-label {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
}

.audiencias-head-label i {
  width: 27px;
  color: #fff;
  font-size: 1.48rem;
  line-height: 1;
  text-align: center;
}

.audiencias-table .audiencias-spacer td {
  height: 7px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.audiencias-table tbody tr.js-audiencia-row td {
  min-height: 86px;
  padding: 13px 15px;
  vertical-align: middle;
  color: #121a16;
  font-size: .86rem;
  line-height: 1.34;
  background: linear-gradient(90deg, #f7faf8 0%, #f0f6f2 100%);
  border-top: 1px solid #cfe1d5 !important;
  border-bottom: 1px solid #cfe1d5 !important;
  border-right: 1px solid #cfe1d5 !important;
}

.audiencias-table tbody tr.js-audiencia-row td:first-child {
  border-left: 1px solid #cfe1d5 !important;
  border-radius: 13px 0 0 13px;
}

.audiencias-table tbody tr.js-audiencia-row td:last-child {
  border-radius: 0 13px 13px 0;
}

.audiencias-table tbody tr.js-audiencia-row:hover td {
  background: linear-gradient(90deg, #f3f8f5 0%, #eaf3ed 100%);
}

.audiencias-cell {
  display: flex;
  align-items: flex-start;
  gap: .76rem;
  min-width: 0;
}

.audiencias-cell--middle {
  align-items: center;
}

.audiencias-cell__icon {
  flex: 0 0 29px;
  width: 29px;
  /* color: #08763f; */
  color: var(--color-brand-900);
  font-size: 1.52rem;
  line-height: 1;
  text-align: center;
}

.audiencias-cell__content {
  min-width: 0;
}

.audiencias-cell strong {
  display: block;
  color: #111814;
  font-weight: 800;
}

.audiencias-cell small {
  display: block;
  margin-top: 2px;
  color: #1d2922;
  font-size: .79rem;
  font-weight: 600;
}

.audiencias-title__name,
.audiencias-local__title {
  display: block;
  margin-bottom: 2px;
  color: #111814;
  font-weight: 800;
}

.audiencias-title__subtitle,
.audiencias-local__details {
  display: block;
  color: #1f2923;
  white-space: pre-line;
}

.audiencias-local__title {
  text-transform: uppercase;
}

.audiencias-eixos {
  padding: 0 0 0 1.15rem;
  margin: 0;
  color: #111814;
}

.audiencias-eixos li {
  padding-left: .18rem;
}

.audiencias-eixos li+li {
  margin-top: .24rem;
}

.audiencias-eixos strong {
  display: inline;
  color: #111814;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.audiencias-details-cell {
  text-align: center;
}

.audiencias-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  width: 100%;
  min-height: 40px;
  padding: .5rem .62rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /* background: linear-gradient(180deg, #078347 0%, #006c37 100%); */
  /* border: 1px solid #006c37; */
  border: none;
  border-radius: 999px;
  /* box-shadow: 0 7px 15px rgba(0, 108, 55, .14); */
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.audiencias-details-btn:hover,
.audiencias-details-btn:focus {
  color: #fff;
  filter: brightness(1.07);
  transform: translateY(-1px);
  /* box-shadow: 0 10px 18px rgba(0, 108, 55, .2); */
}

.audiencias-empty-row td {
  padding: 2.5rem 1rem !important;
  color: var(--color-text-muted);
  text-align: center;
  background: #f6faf7;
  border: 1px solid #dce8df !important;
  border-radius: 13px !important;
}

.audiencias-table tbody tr[hidden] {
  display: none !important;
}

.audiencias-pagination {
  margin-top: 24px;
}

@media (max-width: 991.98px) {
  .audiencias-page {
    padding-top: 26px;
  }
}

@media (max-width: 767.98px) {
  .audiencias-page {
    padding: 22px 0 34px;
  }

  .audiencias-table-wrap {
    border-radius: 13px;
  }

  .audiencias-table {
    min-width: 820px;
  }
}

.audiencia-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.audiencia-modal .modal-header {
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  color: #fff;
  /* background: linear-gradient(135deg, var(--color-brand-800), var(--color-brand-500)); */
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  border: 0;
}

.audiencia-modal .modal-title {
  font-size: 1.28rem;
  font-weight: 850;
}

.audiencia-modal__subtitle {
  margin: .25rem 2rem 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: .9rem;
}

.audiencia-modal .btn-close {
  margin-top: .05rem;
  filter: invert(1) grayscale(100%) brightness(200%);
}

.audiencia-modal .modal-body {
  padding: 1.35rem;
  background: #fbfdfb;
}


.audiencia-detail-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 0 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dce8df;
}

.audiencia-detail-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 42px;
  padding: .52rem .82rem;
  color: var(--color-text-primary);
  font-size: .84rem;
  font-weight: 800;
  line-height: 1;
  background: #fff;
  border: 1px solid #cfe0d3;
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.audiencia-detail-tab:hover,
.audiencia-detail-tab:focus-visible {
  color: var(--color-brand-800);
  background: #f3faf5;
  /* border-color: var(--color-brand-500); */
  outline: 0;
  transform: translateY(-1px);
}

.audiencia-detail-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));

}

.audiencia-detail-panel {
  display: none;
  margin-top: 0;
}

.audiencia-detail-panel.is-active {
  display: block;
}

.audiencia-detail-panel .audiencia-summary-grid {
  margin-bottom: 0;
}

.audiencia-loading,
.audiencia-error,
.audiencia-empty-section {
  padding: 2rem 1rem;
  color: var(--color-text-muted);
  text-align: center;
}

.audiencia-error {
  color: #8f2633;
}

.audiencia-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-bottom: 1rem;
}

.audiencia-summary-item {
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid #dde8df;
  border-radius: 11px;
}

.audiencia-summary-item--wide {
  grid-column: 1 / -1;
}

.audiencia-summary-item__label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .3rem;
  color: var(--color-brand-800);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.audiencia-summary-item__value {
  color: var(--color-text-primary);
  font-size: .92rem;
  font-weight: 650;
  white-space: pre-line;
}

.audiencia-section {
  margin-top: 1rem;
  padding: 1.05rem;
  background: #fff;
  border: 1px solid #dde8df;
  border-radius: 13px;
}

.audiencia-section__title {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .65rem;
  margin: 0 0 .9rem;
  color: var(--color-brand-800);
  font-size: 1.03rem;
  font-weight: 850;
  border-bottom: 1px solid #e4ece6;
}

.audiencia-axis-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.audiencia-axis-list li {
  padding: .5rem .7rem;
  color: var(--color-brand-800);
  font-size: .81rem;
  font-weight: 800;
  background: #edf7f0;
  border: 1px solid #cfe4d5;
  border-radius: 999px;
}

.audiencia-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.audiencia-evidence {
  overflow: hidden;
  background: #f7faf8;
  border: 1px solid #dce7df;
  border-radius: 11px;
}

.audiencia-evidence__image-link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf2ee;
}

.audiencia-evidence__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.audiencia-evidence__image-link:hover img {
  transform: scale(1.025);
}

.audiencia-evidence__zoom {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  background: rgba(0, 0, 0, .62);
  border-radius: 50%;
}

.audiencia-document-list,
.audiencia-diagnostic-list {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.audiencia-document-link {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .8rem;
  color: var(--color-text-primary);
  background: #f7faf8;
  border: 1px solid #dce7df;
  border-radius: 10px;
  text-decoration: none;
}

.audiencia-document-link:hover,
.audiencia-document-link:focus {
  color: var(--color-brand-800);
  border-color: #bcd6c3;
}

.audiencia-document-link i {
  margin-top: .1rem;
  color: var(--color-brand-800);
  font-size: 1.2rem;
}

.audiencia-document-link strong,
.audiencia-document-link small {
  display: block;
}

.audiencia-document-link small {
  margin-top: .2rem;
  color: var(--color-text-muted);
  white-space: pre-line;
}

.audiencia-diagnostic {
  padding: .9rem;
  background: #f7faf8;
  border-left: 4px solid var(--color-brand-800);
  border-radius: 9px;
}

.audiencia-diagnostic h4 {
  margin: 0 0 .4rem;
  color: var(--color-text-primary);
  font-size: .93rem;
  font-weight: 800;
}

.audiencia-rich-content {
  color: var(--color-text-primary);
  font-size: .87rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.audiencia-rich-content> :first-child {
  margin-top: 0;
}

.audiencia-rich-content> :last-child {
  margin-bottom: 0;
}

.audiencia-rich-content p,
.audiencia-rich-content ul,
.audiencia-rich-content ol,
.audiencia-rich-content blockquote,
.audiencia-rich-content table {
  margin: 0 0 .75rem;
}

.audiencia-rich-content h1,
.audiencia-rich-content h2,
.audiencia-rich-content h3,
.audiencia-rich-content h4,
.audiencia-rich-content h5,
.audiencia-rich-content h6 {
  margin: .85rem 0 .45rem;
  color: var(--color-text-primary);
  font-weight: 800;
  line-height: 1.3;
}

.audiencia-rich-content img {
  max-width: 100%;
  height: auto;
}

.audiencia-rich-content table {
  width: 100%;
  border-collapse: collapse;
}

.audiencia-rich-content th,
.audiencia-rich-content td {
  padding: .45rem .55rem;
  border: 1px solid #dce7df;
}

.audiencia-rich-content a {
  color: var(--color-brand-800);
  text-decoration: underline;
}

.audiencia-diagnostic .audiencia-document-list {
  margin-top: .8rem;
}

@media (max-width: 767.98px) {

  .audiencia-summary-grid,
  .audiencia-evidence-grid {
    grid-template-columns: 1fr;
  }

  .audiencia-summary-item--wide {
    grid-column: auto;
  }

  .audiencia-modal .modal-body {
    padding: 1rem;
  }


  .audiencia-detail-tabs {
    align-items: stretch;
    gap: .55rem;
  }

  .audiencia-detail-tab {
    flex: 1 1 100%;
  }
}


/* ----------------------------------------------------------------------------
   PÁGINA DE CRONOGRAMA
   Source: app/Views/site/pages/cronograma.php
   ---------------------------------------------------------------------------- */

.cronograma-page {
  padding: 34px 0 44px;
  background: var(--color-surface-muted);
}

.cronograma-list-section+.cronograma-list-section {
  margin-top: 24px;
}

.cronograma-list-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 16px;
}

.cronograma-list-section__title {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin: 0;
  color: var(--color-brand-900);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.2;
}

.cronograma-list-section__title i {
  color: var(--color-brand-700);
}

.cronograma-list-section__count {
  flex: 0 0 auto;
  padding: .38rem .72rem;
  color: var(--color-brand-900);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(15, 48, 82, .16);
  border-radius: 999px;
}

.cronograma-card {
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cronograma-table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 15px;
  scrollbar-width: thin;
}

.cronograma-table {
  width: 100% !important;
  min-width: 980px;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 1px !important;
  table-layout: fixed;
}

.cronograma-table col:nth-child(1) {
  width: 21%;
}

.cronograma-table col:nth-child(2) {
  width: 17%;
}

.cronograma-table col:nth-child(3) {
  width: 32%;
}

.cronograma-table col:nth-child(4) {
  width: 30%;
}

.cronograma-table thead th {
  height: 54px;
  padding: 12px 22px;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .015em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
  /* background: linear-gradient(180deg, #078347 0%, #006c37 100%); */
  border: 0 !important;
  border-right: 2px solid var(--color-surface-muted, #fff) !important;
  border-radius: 15px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.cronograma-table thead th:last-child {
  border-right: 0 !important;
}

.cronograma-head-label {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
}

.cronograma-head-label i {
  width: 27px;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  text-align: center;
}

.cronograma-table .cronograma-spacer td {
  height: 7px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.cronograma-table tbody tr.js-cronograma-row td {
  height: 78px;
  padding: 12px 15px;
  vertical-align: middle;
  color: #121a16;
  font-size: .86rem;
  line-height: 1.34;
  background: linear-gradient(90deg, #f7faf8 0%, #f0f6f2 100%);
  border-top: 1px solid #cfe1d5 !important;
  border-bottom: 1px solid #cfe1d5 !important;
  border-right: 1px solid #cfe1d5 !important;
}

.cronograma-table tbody tr.js-cronograma-row td:first-child {
  border-left: 1px solid #cfe1d5 !important;
  border-radius: 13px 0 0 13px;
}

.cronograma-table tbody tr.js-cronograma-row td:last-child {
  border-radius: 0 13px 13px 0;
}

.cronograma-table tbody tr.js-cronograma-row:hover td {
  background: linear-gradient(90deg, #f3f8f5 0%, #eaf3ed 100%);
}

.cronograma-cell {
  display: flex;
  align-items: flex-start;
  gap: .78rem;
  min-width: 0;
}

.cronograma-cell--middle {
  align-items: center;
}

.cronograma-cell__icon {
  flex: 0 0 29px;
  width: 29px;
  /* color: #08763f; */
  color: var(--color-brand-900);
  font-size: 1.58rem;
  line-height: 1;
  text-align: center;
}

.cronograma-cell__content {
  min-width: 0;
}

.cronograma-cell strong {
  display: block;
  color: #111814;
  font-weight: 800;
}

.cronograma-cell small {
  display: block;
  margin-top: 1px;
  color: #1d2922;
  font-size: .8rem;
  font-weight: 600;
}

.cronograma-local__title {
  display: block;
  margin-bottom: 1px;
  color: #111814;
  font-weight: 800;
  text-transform: uppercase;
}

.cronograma-local__details {
  display: block;
  color: #1f2923;
  white-space: pre-line;
}

.cronograma-eixos {
  padding: 0 0 0 1.15rem;
  margin: 0;
  color: #111814;
}

.cronograma-eixos li {
  padding-left: .2rem;
}

.cronograma-eixos li+li {
  margin-top: .26rem;
}

.cronograma-eixos strong {
  display: inline;
  color: #111814;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.cronograma-empty-row td {
  padding: 2.5rem 1rem !important;
  color: var(--color-text-muted);
  text-align: center;
  background: #f6faf7;
  border: 1px solid #dce8df !important;
  border-radius: 13px !important;
}

.cronograma-table tbody tr[hidden] {
  display: none !important;
}

.cronograma-pagination {
  margin-top: 24px;
}

@media (max-width: 991.98px) {
  .cronograma-page {
    padding-top: 26px;
  }
}

@media (max-width: 767.98px) {
  .cronograma-page {
    padding: 22px 0 34px;
  }

  .cronograma-table-wrap {
    border-radius: 13px;
  }

  .cronograma-table {
    min-width: 920px;
  }
}


/* ----------------------------------------------------------------------------
   PÁGINA FALE CONOSCO
   Source: app/Views/site/pages/faleconosco.php
   ---------------------------------------------------------------------------- */

/* Proteções do formulário e ajustes visuais da página pública Plamus. */
.contact-form {
  position: relative;
}

.contact-form__anti-bot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form__anti-bot input {
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
}

.contact-form__captcha {
  display: grid;
  gap: 10px;
  min-height: 72px;
  padding: 14px;
  background: var(--color-neutral-100, #f8f9fa);
  border: 1px solid var(--color-neutral-200, #dee2e6);
  border-radius: var(--radius-md, 12px);
}

.contact-form__captcha-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(110px, 160px);
  gap: 16px;
  align-items: end;
}

.contact-form__captcha-question {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  color: var(--color-brand-600);
  font-weight: 900;
  background: var(--color-surface, #fff);
  border: 1px dashed rgb(var(--color-accent-700-rgb) / 0.45);
  border-radius: var(--radius-md, 12px);
}

.contact-form__captcha-question i {
  color: var(--color-accent-700);
}

.contact-form__captcha-image-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.contact-form__captcha-image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: 62px;
  object-fit: contain;
  border: 1px solid var(--color-neutral-200, #dee2e6);
  border-radius: var(--radius-md, 12px);
  background: var(--color-surface, #fff);
  user-select: none;
}

.contact-form__captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--color-brand-600);
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-neutral-200, #dee2e6);
  border-radius: var(--radius-md, 12px);
  transition: var(--transition-base, .2s ease);
}

.contact-form__captcha-refresh:hover,
.contact-form__captcha-refresh:focus-visible {
  color: var(--color-surface, #fff);
  background: var(--color-brand-600);
  border-color: var(--color-brand-600);
  transform: translateY(-1px);
}

.contact-form__pow-status {
  min-height: 20px;
  margin-top: 7px;
  color: var(--color-neutral-500, #6c757d);
  font-size: .76rem;
  line-height: 1.35;
}

#contactForm[data-email-blocked="1"] #contactEmail,
#homeContactForm[data-email-blocked="1"] #contactEmail {
  border-color: var(--color-state-danger, #dc3545);
  box-shadow: 0 0 0 .18rem rgb(var(--color-state-danger-rgb, 220 53 69) / .12);
}

#contactForm.was-validated .form-control-custom:invalid,
#contactForm.was-validated .form-select-custom:invalid,
#homeContactForm.was-validated .form-control-custom:invalid,
#homeContactForm.was-validated .form-select-custom:invalid {
  border-color: var(--color-state-danger, #dc3545);
  box-shadow: 0 0 0 .18rem rgb(var(--color-state-danger-rgb, 220 53 69) / .12);
}

@media (max-width: 575.98px) {
  .contact-form__captcha-row {
    grid-template-columns: 1fr;
  }
}


.contact-page #contact {
  padding: 48px 0 72px;
  background: var(--color-surface-muted);
}

.contact-page .contact-wrap {
  border: 1px solid rgba(40, 134, 77, .16);
  box-shadow: 0 24px 60px rgba(18, 63, 40, .14);
}

.contact-page .contact-panel {
  /*  background:
            linear-gradient(135deg, rgba(18, 63, 40, .98), rgba(40, 134, 77, .94)),
            radial-gradient(circle at top right, rgba(210, 199, 46, .24), transparent 36%); */
  background: linear-gradient(135deg, var(--color-brand-900), var(--color-brand-700));
}

.contact-page .contact-info-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .09);
}

.contact-page .form-control-custom:focus,
.contact-page .form-select-custom:focus {
  border-color: rgba(40, 134, 77, .52);
  box-shadow: 0 0 0 4px rgba(40, 134, 77, .10);
}

.contact-page .contact-form__captcha-question,
.contact-page .contact-form__captcha-refresh {
  color: var(--color-brand-800, #195b36);
}

.contact-page .contact-form__captcha-refresh:hover,
.contact-page .contact-form__captcha-refresh:focus-visible {
  color: #fff;
  background: var(--color-brand-600, #28864d);
  border-color: var(--color-brand-600, #28864d);
}

@media (max-width: 991.98px) {
  .contact-page #contact {
    padding-top: 32px;
  }
}


/* ----------------------------------------------------------------------------
   PÁGINA INICIAL
   Source: app/Views/site/pages/home.php
   ---------------------------------------------------------------------------- */

.home-hero--carousel>.home-hero-carousel__slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}

.home-hero--carousel>.home-hero-carousel__slide:first-child {
  position: relative;
  z-index: 1;
}

.home-hero--carousel>.home-hero-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.home-hero-audience {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 56px 0 64px;
  isolation: isolate;
}

.home-hero-audience--default {
  background:
    radial-gradient(circle at 80% 20%, rgba(210, 199, 46, .22), transparent 28%),
    linear-gradient(135deg, var(--color-brand-900), var(--color-brand-600));
}

.home-hero-audience__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--color-brand-900);
}

.home-hero-audience__media-backdrop,
.home-hero-audience__media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-audience__media-backdrop {
  object-fit: cover;
  filter: blur(18px) saturate(.8) brightness(.55);
  opacity: .72;
  transform: scale(1.08);
}

.home-hero-audience__media-image {
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.home-hero-audience__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .64) 48%, rgba(0, 0, 0, .28) 100%);
}

.home-hero-audience--default .home-hero-audience__veil {
  background: linear-gradient(90deg, rgba(4, 28, 45, .72), rgba(4, 28, 45, .38));
}

.home-hero-audience__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* .home-hero-audience__content {
        max-width: 780px;
        padding: clamp(1.25rem, 3vw, 2rem);
        color: #fff;
        background: rgba(0, 0, 0, .2);
        border-radius: 22px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
        backdrop-filter: blur(5px);
    } */

.home-hero-audience__content {
  max-width: 780px;
  padding: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  background: rgba(0, 0, 0, .2);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.08);
  /* border-radius: 999px; */
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero-audience__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  color: #f6ef89;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-hero-audience__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 850;
  line-height: 1.05;
}

.home-hero-audience__subtitle {
  margin: .8rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.home-hero-audience__meta {
  display: grid;
  gap: .55rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, .94);
}

.home-hero-audience__meta span {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.45;
}

.home-hero-audience__meta i {
  width: 18px;
  margin-top: .2rem;
  color: #f6ef89;
  text-align: center;
}

.home-hero-audience__button {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.35rem;
  padding: .78rem 1.05rem;
  color: #102b3b;
  background: #fff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.home-hero-audience__button:hover {
  color: #102b3b;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Quando existe banner, o conteúdo vira uma faixa compacta para preservar a imagem. */
.home-hero-audience--image {
  align-items: flex-end;
  padding: 0 0 64px;
}

.home-hero-audience--image .home-hero-audience__veil {
  background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .14) 46%, rgba(0, 0, 0, .72) 100%);
}

.home-hero-audience--image .home-hero-audience__container {
  align-self: flex-end;
}

.home-hero-audience--image .home-hero-audience__content {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(300px, 1fr) auto;
  grid-template-areas:
    "eyebrow meta button"
    "title meta button"
    "subtitle meta button";
  align-items: center;
  gap: .3rem 1.35rem;
  width: 100%;
  max-width: none;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  /*  background: rgba(0, 0, 0, .2);
        backdrop-filter: blur(7px); */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-hero-audience--image .home-hero-audience__eyebrow {
  grid-area: eyebrow;
  margin: 0;
  font-size: .68rem;
}

.home-hero-audience--image .home-hero-audience__title {
  grid-area: title;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.08;
}

.home-hero-audience--image .home-hero-audience__subtitle {
  grid-area: subtitle;
  margin-top: .28rem;
  font-size: .9rem;
  line-height: 1.35;
}

.home-hero-audience--image .home-hero-audience__meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  font-size: .82rem;
}

.home-hero-audience--image .home-hero-audience__button {
  grid-area: button;
  justify-self: end;
  margin: 0;
  white-space: nowrap;
  padding: .68rem .9rem;
  font-size: .82rem;
}

.home-hero-carousel__controls {
  position: absolute;
  right: max(1rem, calc((100vw - 1320px) / 2));
  bottom: 1rem;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .55rem;
  /* background: rgba(0, 0, 0, .46);
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        backdrop-filter: blur(5px); */
}

.home-hero-carousel__arrow,
.home-hero-carousel__dot {
  border: 0;
  color: #fff;
  background: transparent;
}

.home-hero-carousel__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.home-hero-carousel__arrow:hover,
.home-hero-carousel__arrow:focus-visible {
  background: rgba(255, 255, 255, .16);
}

.home-hero-carousel__dots {
  display: flex;
  gap: .4rem;
}

.home-hero-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  transition: width .2s ease, background .2s ease;
}

.home-hero-carousel__dot.is-active {
  width: 24px;
  background: #f6ef89;
}

/* Audiências: composição compacta, minimalista e com densidade visual equilibrada. */
.home-section--audiences {
  padding-top: clamp(2.5rem, 4vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 4vw, 4rem) !important;
}

.home-audiences__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-audiences__head .section-title {
  margin-bottom: .2rem;
}

.home-audiences__head .section-subtitle {
  max-width: 680px;
  font-size: .94rem;
  line-height: 1.45;
}

.home-audiences__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: .8rem;
  align-items: stretch;
}

.home-audience-feature,
.home-audience-card {
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(16, 43, 59, .07);
  box-shadow: 0 8px 24px rgba(16, 43, 59, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-audience-feature:hover,
.home-audience-card:hover {
  color: inherit;
  border-color: rgba(30, 126, 72, .18);
  box-shadow: 0 12px 28px rgba(16, 43, 59, .09);
  transform: translateY(-2px);
  text-decoration: none;
}

.home-audience-feature {
  position: relative;
  display: grid;
  grid-template-rows: auto 1px 1fr;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(1.15rem, 1.8vw, 1.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(210, 199, 46, .11), transparent 25%),
    linear-gradient(145deg, var(--color-brand-900), var(--color-brand-600));
  border: 0;
  border-radius: 18px;
}

.home-audience-feature:hover {
  color: #fff;
}

.home-audience-feature__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 0;
}

.home-audience-feature__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: 850;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.home-audience-feature__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding-left: 1rem;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.home-audience-feature__day {
  font-size: clamp(3.1rem, 4.6vw, 4rem);
  font-weight: 900;
  line-height: .88;
}

.home-audience-feature__month {
  margin-top: .22rem;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.home-audience-feature__divider {
  width: 100%;
  height: 1px;
  margin: .85rem 0 .9rem;
  background: rgba(255, 255, 255, .18);
}

.home-audience-feature__meta {
  align-self: end;
  display: grid;
  gap: .52rem;
  color: rgba(255, 255, 255, .94);
  font-size: .88rem;
  line-height: 1.38;
}

.home-audience-feature__meta>span {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: .55rem;
}

.home-audience-feature__meta i {
  width: 16px;
  margin-top: .16rem;
  color: #f6ef89;
  text-align: center;
}

.home-audience-feature__location-text {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}


.home-audience-feature {
  grid-template-rows: auto 1px minmax(0, 1fr) auto auto;
  isolation: isolate;
}

.home-audience-feature__top,
.home-audience-feature__divider,
.home-audience-feature__middle,
.home-audience-feature__meta,
.home-audience-feature__cta {
  position: relative;
  z-index: 2;
  top: 15%;
}

.home-audience-feature__middle {
  align-self: center;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: .72rem;
  width: fit-content;
  margin: .55rem 0;
  padding: .7rem .9rem .72rem .75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.home-audience-feature__time-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #f6ef89;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  font-size: .9rem;
}

.home-audience-feature__time-content {
  display: grid;
  gap: .18rem;
  min-width: 0;
}

.home-audience-feature__time-label {
  color: #f6ef89;
  font-size: .62rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.home-audience-feature__time-value {
  color: #fff;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.home-audience-feature__time-separator {
  margin: 0 .18rem;
  color: rgba(255, 255, 255, .62);
  font-size: .72em;
  font-weight: 700;
  letter-spacing: 0;
}

.home-audience-feature__watermark {
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 1;
  width: clamp(140px, 18vw, 240px);
  height: auto;
  opacity: .08;
  filter: brightness(0) invert(1) grayscale(1) contrast(.9);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.home-audience-feature__cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .45rem;
  margin-top: .45rem;
  color: rgba(255, 255, 255, .86);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-audience-feature__cta i {
  color: #f6ef89;
  transition: transform .18s ease;
}

.home-audience-feature:hover .home-audience-feature__cta i {
  transform: translateX(3px);
}

.home-audiences__list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: .62rem;
  min-width: 0;
}

.home-audience-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: .72rem;
  align-items: stretch;
  min-height: 82px;
  padding: .55rem;
  background: #fff;
  border-radius: 16px;
}

.home-audience-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  color: var(--color-brand-900);
  /* color: #fff; */
  /*  background: linear-gradient(145deg, var(--color-brand-900), var(--color-brand-600)); */
  /*  border-radius: 12px; */
}

.home-audience-card__date strong {
  font-size: 1.5rem;
  /* line-height: .95; */
}

.home-audience-card__date span {
  margin-top: .22rem;
  /* font-size: .65rem; */
  font-weight: 850;
  /*  letter-spacing: .035em; */
  line-height: 1;
  text-transform: uppercase;
}

.home-audience-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: .06rem .25rem .06rem 0;
}

.home-audience-card__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .6rem;
  margin-bottom: .28rem;
}

.home-audience-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--color-brand-900);
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.home-audience-card__time {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  flex-shrink: 0;
  color: #5e6670;
  font-size: .76rem;
  line-height: 1;
  white-space: nowrap;
}

.home-audience-card__time i {
  color: #68717b;
  font-size: .8rem;
}

.home-audience-card__meta {
  min-width: 0;
  color: var(--color-text-muted);
  font-size: .78rem;
}

.home-audience-card__meta i {
  width: 13px;
  margin-top: .12rem;
  color: var(--color-brand-600);
  text-align: center;
  flex: 0 0 13px;
}

.home-audience-card__location {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  align-items: start;
  gap: .38rem;
  min-width: 0;
}

.home-audience-card__location-text {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (max-width: 1199.98px) {
  .home-audiences__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  }

  .home-audience-card__time {
    font-size: .72rem;
  }
}

@media (max-width: 991.98px) {
  .home-audiences__grid {
    grid-template-columns: 1fr;
  }

  .home-audience-feature {
    min-height: 245px;
  }

  .home-audiences__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .home-audience-card {
    min-height: 88px;
  }

  .home-hero-audience--image .home-hero-audience__content {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow button"
      "title button"
      "subtitle button"
      "meta meta";
  }

  .home-hero-audience--image .home-hero-audience__meta {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: .45rem;
  }
}

@media (max-width: 767.98px) {
  .home-hero-audience {
    padding: 42px 0 70px;
  }

  .home-hero-audience__content {
    margin: 0 .25rem;
  }

  .home-hero-audience--image {
    padding: 0 0 70px;
  }

  .home-hero-audience--image .home-hero-audience__content {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "subtitle" "meta" "button";
    gap: .4rem;
    margin: 0;
    padding: .85rem 1rem;
  }

  .home-hero-audience--image .home-hero-audience__meta {
    flex-direction: column;
  }

  .home-hero-audience--image .home-hero-audience__button {
    justify-self: start;
    margin-top: .25rem;
  }

  .home-hero-carousel__controls {
    right: 50%;
    transform: translateX(50%);
  }

  .home-audiences__head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: .85rem;
  }

  .home-audiences__list {
    grid-template-columns: 1fr;
  }

  .home-audience-feature {
    min-height: 220px;
    padding: 1rem;
  }

  .home-audience-feature__top {
    gap: .75rem;
  }

  .home-audience-feature__date {
    min-width: 82px;
    padding-left: .75rem;
  }

  .home-audience-feature__day {
    font-size: 2.8rem;
  }

  .home-audience-feature__month {
    font-size: .72rem;
  }


  /* .home-audience-feature__middle {
    margin: .7rem 0;
    padding: .62rem .72rem;
  } */

  .home-audience-feature__time-value {
    font-size: 1rem;
  }

  .home-audience-feature__watermark {
    right: 4%;
    font-size: 4rem;
  }

  .home-audience-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: .62rem;
    min-height: 80px;
    padding: .48rem;
  }

  .home-audience-card__head {
    gap: .4rem;
  }

  .home-audience-card__time {
    font-size: .7rem;
  }
}

@media (max-width: 479.98px) {
  .home-audience-card__head {
    grid-template-columns: 1fr;
    gap: .22rem;
  }

  .home-audience-card__time {
    justify-self: start;
  }

  .home-audience-feature__title {
    font-size: 1.22rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-hero--carousel>.home-hero-carousel__slide,
  .home-audience-feature,
  .home-audience-card {
    transition: none;
  }
}

/* Mantém o botão no canto inferior direito da coluna de conteúdo. */
@media (min-width: 992px) {
  #history .home-history__content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #history .home-history__button {
    align-self: flex-end;
    margin-top: auto;
    margin-left: auto;
  }
}


/* ============================================================================
   SEMANTIC UTILITIES FOR PUBLIC TEMPLATES
   ============================================================================ */

.content-icon--accent {
  color: var(--color-accent-700);
}

.diagnostic-table__column--index {
  width: 4rem;
}

.diagnostic-table__column--line {
  width: 6rem;
}

.diagnostic-table__column--key {
  width: 16rem;
}

.diagnostic-section__heading {
  color: var(--error-navy);
}

/* Dynamic agenda colors are registered as classes by the page controller. */
.agenda-calendar__legend-dot,
.agenda-calendar__dot {
  background-color: var(--agenda-event-color, #2563eb);
}

.agenda-calendar__day.has-event-single {
  background-color: var(--agenda-event-color, #2563eb);
  border-color: var(--agenda-event-color, #2563eb);
}

.agenda-calendar__day.has-event-multi {
  background-color: var(--agenda-event-soft-color, rgba(37, 99, 235, 0.12));
  border-color: var(--agenda-event-color, #2563eb);
}

.agenda-upcoming__badge,
.agenda-upcoming__pill {
  color: var(--agenda-event-color, #2563eb);
  background-color: var(--agenda-event-soft-color, rgba(37, 99, 235, 0.12));
}



.js-news-item.is-pagination-hidden {
  display: none;
}


/* ============================================================================
   SHARED PUBLIC COMPONENT STATES
   ============================================================================ */

.footer-vendor-logo {
  width: 100px;
}

.footer-vendor-logo__shape {
  fill: #ffffff;
  stroke-width: 0;
}

.footer-vendor-logo__shape--evenodd {
  fill-rule: evenodd;
}

.site-popup-close__icon {
  font-size: 0.9rem;
  pointer-events: none;
}

body.has-site-popup-open {
  overflow: hidden;
}

.site-accessibility-btn--static {
  cursor: default;
}

html[data-font-scale="70"] {
  font-size: 70%;
}

html[data-font-scale="80"] {
  font-size: 80%;
}

html[data-font-scale="90"] {
  font-size: 90%;
}

html[data-font-scale="100"] {
  font-size: 100%;
}

html[data-font-scale="110"] {
  font-size: 110%;
}

html[data-font-scale="120"] {
  font-size: 120%;
}

html[data-font-scale="130"] {
  font-size: 130%;
}

html[data-font-scale="140"] {
  font-size: 140%;
}

html[data-font-scale="150"] {
  font-size: 150%;
}

html[data-font-scale="160"] {
  font-size: 160%;
}

/* ==========================================================================
   RESPONSIVIDADE CONSOLIDADA — HOME, AUDIÊNCIAS E CRONOGRAMA
   Ajustes adicionados para impedir cortes laterais e transformar as tabelas
   em cartões legíveis em celulares e tablets.
   ========================================================================== */

.home-hero,
.home-hero-carousel__slide,
.home-hero-audience__container,
.home-hero-audience__content,
.home-audiences__grid,
.home-audiences__list,
.home-audience-feature,
.home-audience-card,
.audiencias-page,
.cronograma-page,
.audiencias-card,
.cronograma-card,
.audiencias-table-wrap,
.cronograma-table-wrap {
  min-width: 0;
}

.home-hero-carousel__slide,
.home-hero-carousel__slide--main,
.home-hero-carousel__slide--audience {
  width: 100%;
  max-width: 100%;
}

.home-hero-carousel__slide--main {
  position: relative;
}

.home-hero__title,
.home-hero__text,
.home-hero-audience__title,
.home-hero-audience__subtitle,
.home-hero-audience__meta,
.home-audience-feature__title,
.home-audience-feature__location-text,
.home-audience-card__title,
.home-audience-card__location-text,
.audiencias-cell__content,
.cronograma-cell__content,
.audiencias-local__details,
.cronograma-local__title,
.cronograma-local__details {
  overflow-wrap: anywhere;
  word-break: normal;
}

.home-hero-audience__meta span,
.home-hero-audience__button {
  min-width: 0;
  max-width: 100%;
}

.home-hero-carousel__controls {
  max-width: calc(100% - 24px);
}

.home-hero-carousel__dots {
  max-width: min(55vw, 420px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.home-hero-carousel__dots::-webkit-scrollbar {
  display: none;
}

/* Até 991px, cada linha das tabelas passa a funcionar como cartão. */
@media (max-width: 991.98px) {

  .audiencias-table-wrap,
  .cronograma-table-wrap {
    overflow: visible;
    border-radius: 0;
  }

  .audiencias-table,
  .cronograma-table {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: auto;
    border-spacing: 0 !important;
  }

  .audiencias-table colgroup,
  .cronograma-table colgroup,
  .audiencias-table thead,
  .cronograma-table thead,
  .audiencias-table .audiencias-spacer,
  .cronograma-table .cronograma-spacer {
    display: none;
  }

  .audiencias-table tbody,
  .cronograma-table tbody {
    display: grid;
    width: 100%;
    gap: 14px;
  }

  .audiencias-table tbody tr.js-audiencia-row,
  .cronograma-table tbody tr.js-cronograma-row {
    display: block;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f1f7f3 100%);
    border: 1px solid #cfe1d5;
    border-radius: 15px;
    box-shadow: 0 7px 20px rgba(18, 63, 40, .06);
  }

  .audiencias-table tbody tr.js-audiencia-row td,
  .cronograma-table tbody tr.js-cronograma-row td {
    display: grid !important;
    grid-template-columns: minmax(112px, 28%) minmax(0, 1fr);
    align-items: start;
    width: 100%;
    height: auto;
    min-height: 0;
    gap: 14px;
    padding: 14px 16px;
    color: #121a16;
    text-align: left;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #dce8df !important;
    border-radius: 0 !important;
  }

  .audiencias-table tbody tr.js-audiencia-row td:last-child,
  .cronograma-table tbody tr.js-cronograma-row td:last-child {
    border-bottom: 0 !important;
  }

  .audiencias-table tbody tr.js-audiencia-row td::before,
  .cronograma-table tbody tr.js-cronograma-row td::before {
    content: attr(data-label);
    display: block;
    padding-top: 3px;
    color: var(--color-brand-800);
    font-size: .72rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .audiencias-cell,
  .cronograma-cell {
    width: 100%;
    min-width: 0;
  }

  .audiencias-cell__content,
  .cronograma-cell__content,
  .audiencias-local__details,
  .cronograma-local__details {
    width: 100%;
    min-width: 0;
    white-space: pre-line;
  }

  .audiencias-details-cell {
    align-items: center !important;
  }

  .audiencias-details-btn {
    width: min(100%, 220px);
    justify-self: start;
  }

  .audiencias-empty-row,
  .cronograma-empty-row {
    display: block;
    width: 100%;
  }

  .audiencias-empty-row td,
  .cronograma-empty-row td {
    display: block !important;
    width: 100%;
    padding: 2rem 1rem !important;
  }

  .audiencias-empty-row td::before,
  .cronograma-empty-row td::before {
    display: none !important;
  }

  .audiencias-pagination,
  .cronograma-pagination,
  .news-pagination {
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 575.98px) {

  .audiencias-page,
  .cronograma-page {
    padding: 18px 0 30px;
  }

  .audiencias-list-section+.audiencias-list-section,
  .cronograma-list-section+.cronograma-list-section {
    margin-top: 18px;
  }

  .audiencias-table tbody,
  .cronograma-table tbody {
    gap: 11px;
  }

  .audiencias-table tbody tr.js-audiencia-row td,
  .cronograma-table tbody tr.js-cronograma-row td {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 12px 13px;
  }

  .audiencias-table tbody tr.js-audiencia-row td::before,
  .cronograma-table tbody tr.js-cronograma-row td::before {
    padding-top: 0;
  }

  .audiencias-cell,
  .cronograma-cell {
    gap: .65rem;
  }

  .audiencias-cell__icon,
  .cronograma-cell__icon {
    flex-basis: 25px;
    width: 25px;
    font-size: 1.3rem;
  }

  .audiencias-details-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Hero e cartões da página inicial. */
@media (max-width: 991.98px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 5vw, 42px);
  }

  .home-hero__content,
  .home-hero__panel,
  .home-hero-audience__content {
    width: 100%;
    max-width: 100%;
  }

  .home-hero__panel {
    margin-inline: auto;
  }

  .home-hero-audience--image .home-hero-audience__content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "title"
      "subtitle"
      "meta"
      "button";
    align-items: start;
  }

  .home-hero-audience--image .home-hero-audience__meta {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .home-hero-audience--image .home-hero-audience__button {
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .home-hero--carousel {
    padding-bottom: 96px;
  }

  .home-hero-audience {
    padding: 34px 0 82px;
  }

  .home-hero-audience--image {
    padding: 0 0 82px;
  }

  .home-hero-audience__content,
  .home-hero-audience--image .home-hero-audience__content {
    width: 100%;
    margin: 0;
    padding: 1rem;
    border-radius: 16px;
  }

  .home-hero-audience__title {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.08;
  }

  .home-hero-audience__subtitle {
    font-size: .94rem;
    line-height: 1.45;
  }

  .home-hero-audience__meta {
    font-size: .85rem;
  }

  .home-hero-audience__button {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .home-hero-audience__media-image {
    object-fit: cover;
    object-position: center;
  }

  .home-hero-carousel__controls {
    left: 50%;
    right: auto;
    bottom: 14px;
    justify-content: center;
    max-width: calc(100% - 20px);
    padding: .42rem .55rem;
    background: rgba(0, 0, 0, .26);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    transform: translateX(-50%);
  }

  .home-hero-carousel__dots {
    max-width: calc(100vw - 130px);
  }

  .home-audiences__grid,
  .home-audiences__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-audience-feature {
    min-height: 0;
  }

  .home-audience-feature__time-value,
  .home-audience-card__time {
    white-space: normal;
  }

  .home-audience-card__body,
  .home-audience-card__head,
  .home-audience-card__time {
    min-width: 0;
  }
}

@media (max-width: 479.98px) {
  .home-hero {
    padding-top: 38px;
  }

  .home-hero__grid {
    gap: 22px;
  }

  .home-hero__eyebrow {
    align-items: flex-start;
    width: 100%;
    padding-right: 11px;
    border-radius: 16px;
  }

  .home-hero__title {
    max-width: none;
    font-size: clamp(1.78rem, 9.5vw, 2.35rem);
  }

  .home-hero__text {
    font-size: .95rem;
    line-height: 1.6;
  }

  .home-hero__panel {
    border-radius: 20px;
  }

  .home-hero__panel-visual {
    min-height: 180px;
  }

  .home-hero__panel-head,
  .home-hero__panel-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-hero-audience__content,
  .home-hero-audience--image .home-hero-audience__content {
    padding: .9rem;
    border-radius: 14px;
  }

  .home-hero-audience__eyebrow {
    margin-bottom: .55rem;
    font-size: .68rem;
  }

  .home-hero-audience__title {
    font-size: clamp(1.4rem, 7.5vw, 1.95rem);
  }

  .home-hero-audience__meta span {
    gap: .48rem;
  }

  .home-hero-audience__button {
    width: 100%;
  }

  .home-audience-feature__top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-audience-feature__date {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    min-width: 0;
    padding-left: 0;
    text-align: left;
    border-left: 0;
  }

  .home-audience-feature__day {
    font-size: 2.3rem;
  }

  .home-audience-feature__month {
    margin: 0 0 0 .45rem;
  }

  .home-audience-feature__watermark {
    width: 130px;
    right: -18px;
  }

  .home-audience-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .home-audience-card__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-audience-card__time {
    justify-self: start;
  }
}