:root {
  --color-primary: #08a66b;
  --color-primary-dark: #05764c;
  --color-primary-soft: #14d58d;
  --color-black: #0e1114;
  --color-black-soft: #171c21;
  --color-white: #ffffff;
  --color-surface: #f6faf8;
  --color-text: #20262c;
  --color-muted: #5c6770;
  --color-border: rgba(14, 17, 20, 0.08);
  --shadow-soft: 0 18px 48px rgba(14, 17, 20, 0.09);
  --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.24);
  --header-offset: 132px;
  --container-width: min(1200px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-top: var(--header-offset);
  font-family: "Source Sans 3", sans-serif;
  color: var(--color-text);
  background: var(--color-white);
}

/* Tipografia dos componentes institucionais compartilhados */
.header-shell,
.search-panel,
.site-footer,
.floating-button {
  font-family: "Source Sans 3", Arial, sans-serif;
}

section {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

main[id] {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

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

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

button,
input {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  color: var(--color-white);
  background: var(--color-black);
  font-weight: 700;
  transform: translateY(calc(-100% - 1rem));
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--color-primary-soft);
  outline-offset: 3px;
}

body :is(a[href], button, input, select, textarea, [role="tab"], [tabindex="0"]):focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.button-primary:focus-visible,
.floating-button:focus-visible {
  outline-color: var(--color-white);
  box-shadow: 0 0 0 6px var(--color-primary-dark);
}

.top-bar a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--color-primary-soft);
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.header-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 320;
}

.top-bar {
  background: linear-gradient(90deg, var(--color-black) 0%, #12181d 100%);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-content {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.campus-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.64);
}

.campus-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(20, 213, 141, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(20, 213, 141, 0.24);
}

.top-bar-link {
  font-weight: 600;
}

.top-bar-link:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: #d8fff0;
}

.site-header {
  background: var(--color-white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(14, 17, 20, 0.06);
  box-shadow: 0 12px 36px rgba(14, 17, 20, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 18px 42px rgba(14, 17, 20, 0.12);
}

.header-content {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: fit-content;
}

.brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.92rem 1rem;
  border-radius: 999px;
  color: var(--color-black);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.nav-item > a:hover,
.nav-link:hover,
.nav-item.is-open > .nav-link {
  background: rgba(8, 166, 107, 0.08);
  color: var(--color-primary-dark);
}

.nav-item > a[aria-current="page"],
.dropdown-menu a[aria-current="page"] {
  background: rgba(8, 166, 107, 0.1);
  color: var(--color-primary-dark);
}

.chevron {
  width: 0.56rem;
  height: 0.56rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 180ms ease;
}

.nav-item.is-open .chevron {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 240px;
  max-width: calc(100vw - 2rem);
  padding: 0.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  color: var(--color-text);
  transition: background 180ms ease, color 180ms ease;
}

.dropdown-menu a:hover {
  background: rgba(8, 166, 107, 0.08);
  color: var(--color-primary-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-button,
.search-close {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-black);
  background: rgba(14, 17, 20, 0.05);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.icon-button svg {
  width: 1.35rem;
  fill: currentColor;
}

.icon-button:hover,
.search-close:hover {
  background: rgba(8, 166, 107, 0.12);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.92rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #087f53 100%);
  box-shadow: 0 18px 34px rgba(8, 166, 107, 0.26);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(8, 166, 107, 0.3);
}

.button-secondary {
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: var(--color-white);
}

.mobile-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(14, 17, 20, 0.05);
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  border-radius: 999px;
}

.search-panel {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 12, 15, 0.7);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 500;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-card {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-strong);
}

.search-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-kicker,
.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.52rem 0.92rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-kicker,
.section-kicker {
  color: var(--color-primary-dark);
  background: rgba(8, 166, 107, 0.09);
}

.search-kicker {
  min-width: 0;
  margin: 0;
}

.search-close {
  position: static;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(6, 114, 73, 0.24);
  color: var(--color-primary-dark);
  background: var(--color-white);
  box-shadow: 0 8px 20px rgba(6, 86, 57, 0.12);
}

.search-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.search-close:hover {
  color: var(--color-white);
  background: var(--color-primary-dark);
  transform: none;
}

.search-close:focus-visible {
  outline: 3px solid rgba(8, 166, 107, 0.3);
  outline-offset: 3px;
}

body.is-search-open [vw-access-button] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.search-card input {
  width: 100%;
  min-height: 58px;
  padding: 0 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(14, 17, 20, 0.12);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.search-card input:focus-visible {
  border-color: rgba(8, 166, 107, 0.52);
  box-shadow: 0 0 0 4px rgba(8, 166, 107, 0.12);
}

.site-search-form {
  display: grid;
  gap: 0.75rem;
}

.search-help,
.search-status {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.search-status {
  min-height: 1.35em;
  color: var(--color-black);
  font-weight: 700;
}

.search-results[aria-busy="true"] {
  opacity: 0.68;
}

.search-results-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-result-link {
  display: grid;
  gap: 0.32rem;
  min-height: 44px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(14, 17, 20, 0.1);
  border-radius: 14px;
  color: var(--color-black);
  background: var(--color-white);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.search-result-link:hover {
  border-color: rgba(8, 166, 107, 0.45);
  box-shadow: 0 8px 20px rgba(14, 17, 20, 0.08);
  transform: translateY(-1px);
}

.search-result-link:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.search-result-type {
  color: var(--color-primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-title,
.search-result-description {
  margin: 0;
}

.search-result-title {
  font-size: 1rem;
  line-height: 1.3;
}

.search-result-description {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.search-result-link mark {
  padding: 0 0.08em;
  border-radius: 0.2em;
  color: inherit;
  background: rgba(246, 196, 68, 0.38);
}

.search-more {
  width: 100%;
  min-height: 44px;
  margin-top: 0.75rem;
  border: 1px solid rgba(8, 166, 107, 0.35);
  border-radius: 12px;
  color: var(--color-primary-dark);
  background: rgba(8, 166, 107, 0.07);
  font-weight: 800;
  cursor: pointer;
}

.search-more:hover {
  background: rgba(8, 166, 107, 0.13);
}

.search-more:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.search-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(14, 17, 20, 0.08);
}

.search-shortcuts a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(14, 17, 20, 0.05);
  color: var(--color-black);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  height: auto;
  aspect-ratio: 7 / 3;
  background: var(--color-white);
}

.hero-carousel,
.hero-track {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 720ms ease, transform 720ms ease, visibility 720ms ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-controls {
  position: absolute;
  inset: auto 0 clamp(0.5rem, 1.4vw, 1rem);
  z-index: 4;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-navigation {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-primary-dark);
  border: 1px solid rgba(14, 17, 20, 0.12);
  box-shadow: 0 5px 16px rgba(14, 17, 20, 0.14);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-arrow svg {
  width: 1.25rem;
  fill: currentColor;
}

.hero-arrow:hover {
  transform: translateY(-2px);
  background: var(--color-white);
  border-color: rgba(8, 166, 107, 0.4);
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.hero-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.hero-dot::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(14, 17, 20, 0.48);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero-dot.is-active {
  background: transparent;
}

.hero-dot.is-active::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(8, 166, 107, 0.2);
  transform: scale(1.08);
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
  outline: 3px solid var(--color-primary-soft);
  outline-offset: 3px;
}

.section-heading h2,
.institutional-copy h2,
.admissions-copy h2 {
  font-family: "Montserrat", sans-serif;
}

.institutional,
.courses,
.support,
.admissions {
  padding: 5rem 0;
}

.institutional {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-surface) 100%);
}

.institutional-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.institutional-video {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: #000;
  min-height: 500px;
}

.institutional-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.institutional-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 760px;
}

.section-heading h2,
.institutional-copy h2,
.admissions-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  color: var(--color-black);
}

.section-heading p,
.institutional-copy p,
.admissions-copy p,
.support-card p,
.course-card p {
  color: var(--color-muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.institutional-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.institutional-stats article {
  padding: 1.35rem;
  border-radius: 22px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.institutional-stats strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.9rem;
  color: var(--color-primary-dark);
}

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

.courses-grid,
.support-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

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

.course-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  border-radius: 16px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 3.5rem;
  transition: transform 0.3s ease;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-card {
  position: relative;
  overflow: hidden;
  padding: 1.7rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.98));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
}

.course-card:hover,
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 44px rgba(14, 17, 20, 0.12);
}

.course-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(8, 166, 107, 0.1);
  color: var(--color-primary-dark);
}

.course-card h3,
.support-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  color: var(--color-black);
  margin-bottom: 0.7rem;
}

.course-card a {
  display: inline-flex;
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.support {
  background: var(--color-surface);
}

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

.support-card {
  padding: 1.75rem;
  border-radius: 26px;
  background: linear-gradient(155deg, var(--color-black) 0%, var(--color-black-soft) 100%);
  border: 1px solid rgba(20, 213, 141, 0.1);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.support-card h3 {
  color: var(--color-white);
}

.support-card p {
  color: rgba(255, 255, 255, 0.72);
}

.admissions-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-soft) 75%);
  box-shadow: var(--shadow-strong);
}

.admissions-copy .section-kicker {
  color: #d8fff0;
  background: rgba(20, 213, 141, 0.14);
}

.admissions-copy h2 {
  margin-top: 0.85rem;
  color: var(--color-white);
}

.admissions-copy p {
  margin-top: 0.8rem;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

.admissions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Página inicial: refinamentos finais de mídia e alinhamento */
body[data-page="home"] .institutional-video {
  width: 100%;
  min-height: 0;
  align-self: start;
  aspect-ratio: 16 / 9;
}

body[data-page="home"] .institutional-video iframe {
  width: 100%;
  height: 100%;
}

body[data-page="home"] .course-card {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .course-card a {
  margin-top: auto;
  padding-top: 1.15rem;
}

body[data-page="home"] .noticia-principal img,
body[data-page="home"] .noticia-item img {
  object-fit: contain;
  background: linear-gradient(135deg, #f4faf7 0%, #ffffff 100%);
}

body[data-page="home"] .noticia-principal picture {
  display: block;
  width: 100%;
  line-height: 0;
}

body[data-page="home"] .noticia-item img {
  padding: 0.5rem;
}

body[data-page="home"] .noticia-principal:hover img {
  transform: none;
}

body[data-page="home"] .noticia-item:hover {
  transform: translateY(-2px);
}

.floating-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 58px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  color: var(--color-white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #087f53 100%);
  box-shadow: 0 20px 40px rgba(8, 166, 107, 0.32);
  transition: transform 180ms ease, opacity 180ms ease;
}

.floating-button.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.floating-button:hover {
  transform: translateY(-3px);
}

.floating-button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  flex-shrink: 0;
}

.site-footer {
  background: linear-gradient(180deg, #004d40 0%, #13181d 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #08a66b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

/* Página institucional: listagem de Notícias */
.news-page.news-list-page {
  color: var(--color-text);
  background: var(--color-surface);
}

.news-page.news-list-page .news-list-main {
  min-width: 0;
}

.news-page.news-list-page .noticias-header {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #087f53 100%);
}

.news-page.news-list-page .noticias-header h1 {
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.news-page.news-list-page .noticias-header p {
  max-width: 720px;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.news-page.news-list-page .noticias-container {
  width: var(--container-width);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 4rem;
}

.news-page.news-list-page .noticias-filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.news-page.news-list-page .filtro-btn {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--color-primary-dark);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-page.news-list-page .filtro-btn:hover,
.news-page.news-list-page .filtro-btn.active {
  color: var(--color-white);
  background: var(--color-primary-dark);
}

.news-page.news-list-page .filtro-btn:active {
  transform: translateY(1px);
}

.news-page.news-list-page .noticia-card:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.news-page.news-list-page .filtro-btn:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-primary-dark);
}

.news-page.news-list-page .noticia-destaque {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.news-page.news-list-page .noticia-destaque.has-single-card {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.news-page.news-list-page .noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-page.news-list-page .noticia-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  color: inherit;
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(14, 17, 20, 0.07);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-page.news-list-page .noticia-destaque .noticia-card {
  height: auto;
}

.news-page.news-list-page .noticia-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 166, 107, 0.24);
  box-shadow: 0 18px 38px rgba(14, 17, 20, 0.11);
}

.news-page.news-list-page .noticia-card:active {
  transform: translateY(-1px) scale(0.995);
}

.news-page.news-list-page .noticia-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.news-page.news-list-page .noticia-card-picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.news-page.news-list-page .noticia-card-image--editorial {
  aspect-ratio: 7 / 3;
  object-fit: contain;
  background: var(--color-white);
}

.news-page.news-list-page .noticia-card-image--brand {
  aspect-ratio: 8 / 3;
  padding: clamp(0.9rem, 3vw, 1.5rem);
  object-fit: contain;
  background: linear-gradient(135deg, #f4faf7 0%, #ffffff 100%);
}

.news-page.news-list-page .noticia-destaque .noticia-card-image--brand {
  aspect-ratio: 4 / 3;
  padding: clamp(2rem, 5vw, 3.25rem);
}

.news-page.news-list-page .noticia-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.news-page.news-list-page .noticia-card h3 {
  margin: 0 0 0.8rem;
  color: var(--color-primary-dark);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-page.news-list-page .noticia-destaque .noticia-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.news-page.news-list-page .noticia-card .noticia-data {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.news-page.news-list-page .noticia-card .noticia-data i {
  flex-shrink: 0;
  color: var(--color-primary-dark);
}

.news-page.news-list-page .noticia-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.news-page.news-list-page .noticias-paginacao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.news-page.news-list-page .pagina-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-muted);
  background: var(--color-white);
  font-weight: 700;
}

.news-page.news-list-page .pagina-btn:not(:disabled):hover {
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
}

.news-page.news-list-page .pagina-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.news-page.news-list-page .pagina-btn.active:disabled {
  color: var(--color-primary-dark);
  border-color: rgba(8, 166, 107, 0.32);
  background: rgba(8, 166, 107, 0.11);
  opacity: 1;
}

.news-page.news-list-page .paginacao-ellipsis {
  min-width: 32px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  line-height: 1;
}

.news-page.news-list-page [hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .news-page.news-list-page .noticia-destaque {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-page.news-list-page .noticia-destaque .noticia-card-image--brand {
    aspect-ratio: 8 / 3;
    padding: clamp(1rem, 4vw, 1.75rem);
  }
}

@media (max-width: 768px) {
  .news-page.news-list-page .noticias-container {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .news-page.news-list-page .noticias-filtros {
    gap: 0.55rem;
    margin-bottom: 2rem;
  }

  .news-page.news-list-page .noticias-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .news-page.news-list-page .noticias-header {
    padding: 3rem 0;
  }

  .news-page.news-list-page .noticias-header h1 {
    font-size: 2.35rem;
  }

  .news-page.news-list-page .filtro-btn {
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
  }

  .news-page.news-list-page .noticia-destaque,
  .news-page.news-list-page .noticias-grid {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .news-page.news-list-page .noticia-card-content {
    padding: 1.15rem;
  }

  .news-page.news-list-page .noticia-card h3 {
    font-size: 1.1rem;
  }

  .news-page.news-list-page .noticia-destaque .noticia-card h3 {
    font-size: 1.3rem;
  }

  .news-page.news-list-page .noticia-card-image--brand {
    padding: 0.9rem;
  }

  .news-page.news-list-page .noticias-paginacao {
    gap: 0.35rem;
    margin-top: 2rem;
  }

  .news-page.news-list-page .pagina-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.55rem 0.7rem;
  }
}

/* Página institucional: matéria individual de Notícias */
.news-page.news-article-page {
  color: var(--color-text);
  background: var(--color-surface);
}

.news-page.news-article-page .news-article-main,
.news-page.news-article-page .news-article-container,
.news-page.news-article-page .news-article {
  min-width: 0;
}

.news-page.news-article-page .news-article-hero {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #087f53 100%);
}

.news-page.news-article-page .news-article-hero-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
}

.news-page.news-article-page .news-article-hero h1 {
  max-width: 920px;
  margin: 0;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.news-page.news-article-page .news-article-summary {
  max-width: 800px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.news-page.news-article-page .news-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.news-page.news-article-page .news-article-meta-item {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-page.news-article-page .news-article-meta-item i {
  flex-shrink: 0;
}

.news-page.news-article-page .news-article-content {
  width: min(840px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.news-page.news-article-page .news-article-media {
  width: 100%;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.news-page.news-article-page .news-article-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.news-page.news-article-page .news-article-media picture {
  width: 100%;
  height: 100%;
  display: block;
}

.news-page.news-article-page .news-article-media--editorial {
  aspect-ratio: 7 / 3;
}

.news-page.news-article-page .news-article-media--brand {
  aspect-ratio: 8 / 3;
  padding: clamp(1.25rem, 5vw, 3rem);
  background: linear-gradient(135deg, #f1f8f5 0%, #ffffff 100%);
}

.news-page.news-article-page .news-article-copy {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  color: var(--color-text);
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(14, 17, 20, 0.06);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.8;
}

.news-page.news-article-page .news-article-copy p {
  margin: 0 0 1.4rem;
}

.news-page.news-article-page .news-article-copy p:last-child {
  margin-bottom: 0;
}

.news-page.news-article-page .news-article-copy h2,
.news-page.news-article-page .news-article-copy h3,
.news-page.news-article-page .news-article-copy h4 {
  margin: 2rem 0 0.85rem;
  color: var(--color-primary-dark);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.25;
}

.news-page.news-article-page .news-article-copy h2 {
  font-size: clamp(1.45rem, 3vw, 1.8rem);
}

.news-page.news-article-page .news-article-copy h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.news-page.news-article-page .news-article-copy ul,
.news-page.news-article-page .news-article-copy ol {
  margin: 0 0 1.5rem;
  padding-left: 1.35rem;
}

.news-page.news-article-page .news-article-copy li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.news-page.news-article-page .news-article-copy li::marker {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.news-page.news-article-page .news-article-copy blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  color: var(--color-muted);
  background: #f1f8f5;
  font-style: italic;
}

.news-page.news-article-page .news-article-copy a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.news-page.news-article-page .news-article-copy a:focus-visible,
.news-page.news-article-page .news-article-nav-link:focus-visible,
.news-page.news-article-page .news-related-card:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.news-page.news-article-page .news-share-link:focus-visible,
.news-page.news-article-page .news-article-state-link:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-primary-dark);
}

.news-page.news-article-page .news-article-share {
  margin: 2rem 0 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  text-align: center;
}

.news-page.news-article-page .news-article-share h2 {
  margin: 0 0 1rem;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.news-page.news-article-page .news-article-share-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.news-page.news-article-page .news-share-link {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-page.news-article-page .news-share-link:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(14, 17, 20, 0.16);
}

.news-page.news-article-page .news-share-link:active {
  transform: translateY(0);
}

.news-page.news-article-page .news-share-link--facebook {
  background: #1465cc;
}

.news-page.news-article-page .news-share-link--twitter {
  background: #0969a8;
}

.news-page.news-article-page .news-share-link--whatsapp {
  background: #087f3e;
}

.news-page.news-article-page .news-share-link--linkedin {
  background: #0077b5;
}

.news-page.news-article-page .news-article-navigation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.news-page.news-article-page .news-article-nav-link {
  min-width: 0;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(8, 166, 107, 0.18);
  border-radius: 10px;
  color: var(--color-primary-dark);
  background: #f1f8f5;
  font-weight: 700;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.news-page.news-article-page a.news-article-nav-link:hover {
  color: var(--color-white);
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.news-page.news-article-page .news-article-nav-link.is-disabled {
  color: var(--color-muted);
  border-color: var(--color-border);
  background: #eef1ef;
  cursor: not-allowed;
  opacity: 0.68;
  user-select: none;
}

.news-page.news-article-page .news-related {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--color-border);
  background: #eef6f2;
}

.news-page.news-article-page .news-related-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.news-page.news-article-page .news-related h2 {
  margin: 0 0 2rem;
  color: var(--color-primary-dark);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  text-align: center;
}

.news-page.news-article-page .news-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.news-page.news-article-page .news-related-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: inherit;
  background: var(--color-white);
  box-shadow: 0 10px 28px rgba(14, 17, 20, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-page.news-article-page .news-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 166, 107, 0.24);
  box-shadow: 0 16px 34px rgba(14, 17, 20, 0.11);
}

.news-page.news-article-page .news-related-media {
  width: 100%;
  overflow: hidden;
  background: var(--color-white);
}

.news-page.news-article-page .news-related-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.news-page.news-article-page .news-related-media--editorial {
  aspect-ratio: 7 / 3;
}

.news-page.news-article-page .news-related-media--brand {
  aspect-ratio: 8 / 3;
  padding: clamp(0.85rem, 3vw, 1.4rem);
  background: linear-gradient(135deg, #f1f8f5 0%, #ffffff 100%);
}

.news-page.news-article-page .news-related-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}

.news-page.news-article-page .news-related-card h3 {
  margin: 0 0 0.85rem;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  line-height: 1.4;
}

.news-page.news-article-page .news-related-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.news-page.news-article-page .news-related-meta i {
  flex-shrink: 0;
  color: var(--color-primary-dark);
}

.news-page.news-article-page .news-article-state {
  width: min(680px, calc(100% - 2rem));
  margin: clamp(2rem, 7vw, 5rem) auto;
  padding: clamp(2rem, 6vw, 3.5rem);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.news-page.news-article-page .news-article-state > i {
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
  font-size: 2.25rem;
}

.news-page.news-article-page .news-article-state h1 {
  margin: 0 0 0.75rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.news-page.news-article-page .news-article-state p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.news-page.news-article-page .news-article-state--error > i {
  color: #b42318;
}

.news-page.news-article-page .news-article-state-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--color-primary-dark);
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.news-page.news-article-page .news-article-state-link:hover {
  background: var(--color-black-soft);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .news-page.news-article-page .news-article-meta {
    align-items: flex-start;
  }

  .news-page.news-article-page .news-article-share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-page.news-article-page .news-article-navigation {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .news-page.news-article-page .news-article-hero {
    padding: 3rem 0;
  }

  .news-page.news-article-page .news-article-hero-shell,
  .news-page.news-article-page .news-article-content,
  .news-page.news-article-page .news-related-shell,
  .news-page.news-article-page .news-article-state {
    width: calc(100% - 1rem);
  }

  .news-page.news-article-page .news-article-hero h1 {
    font-size: 2rem;
  }

  .news-page.news-article-page .news-article-meta {
    flex-direction: column;
    gap: 0.6rem;
  }

  .news-page.news-article-page .news-article-media,
  .news-page.news-article-page .news-article-copy,
  .news-page.news-article-page .news-article-share,
  .news-page.news-article-page .news-article-state {
    border-radius: 12px;
  }

  .news-page.news-article-page .news-article-media--brand {
    padding: 1rem;
  }

  .news-page.news-article-page .news-article-copy {
    padding: 1.15rem;
  }

  .news-page.news-article-page .news-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .news-page.news-article-page .news-article-share-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Página institucional: CPA */
.cpa-page {
  color: var(--color-text);
  background: var(--color-surface);
}

.cpa-page .cpa-main {
  padding-bottom: 4rem;
}

.cpa-page .cpa-shell {
  width: var(--container-width);
  max-width: 1200px;
  margin: 0 auto;
}

.cpa-page .cpa-hero {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #087f53 100%);
}

.cpa-page .cpa-hero-content {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.cpa-page .cpa-hero h1 {
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

.cpa-page .cpa-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.cpa-page .cpa-shortcuts-section {
  position: relative;
  z-index: 1;
  margin-top: -1.75rem;
}

.cpa-page .cpa-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.cpa-page .cpa-shortcut {
  min-width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-radius: 14px;
  color: var(--color-primary-dark);
  background: rgba(8, 166, 107, 0.07);
  font-weight: 700;
  text-align: center;
}

.cpa-page .cpa-shortcut > [aria-hidden="true"] {
  font-size: 1.75rem;
  line-height: 1;
}

.cpa-page .cpa-document-link {
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.cpa-page .cpa-document-link.is-unavailable {
  cursor: not-allowed;
  opacity: 0.78;
}

.cpa-page .cpa-document-link.is-available {
  cursor: pointer;
}

.cpa-page .cpa-shortcut.is-available:hover,
.cpa-page .cpa-resource-card.is-available:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 166, 107, 0.34);
  box-shadow: 0 14px 30px rgba(14, 17, 20, 0.09);
}

.cpa-page .cpa-document-link.is-available:active {
  transform: translateY(1px);
}

.cpa-page .cpa-document-title {
  min-width: 0;
}

.cpa-page .cpa-document-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  color: var(--color-muted);
  background: rgba(14, 17, 20, 0.055);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.cpa-page [hidden] {
  display: none !important;
}

.cpa-page .cpa-content {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
}

.cpa-page .cpa-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.cpa-page .cpa-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(8, 166, 107, 0.18);
  border-left: 5px solid var(--color-primary);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 14px 36px rgba(14, 17, 20, 0.08);
}

.cpa-page .cpa-result-card.is-available:hover {
  border-color: rgba(8, 166, 107, 0.4);
  box-shadow: 0 18px 42px rgba(14, 17, 20, 0.11);
}

.cpa-page .cpa-result-copy {
  display: grid;
  gap: 0.45rem;
}

.cpa-page .cpa-result-unavailable {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cpa-page .cpa-result-card h2,
.cpa-page .cpa-section h2 {
  color: var(--color-primary-dark);
  font-family: "Montserrat", "Source Sans 3", sans-serif;
  line-height: 1.2;
}

.cpa-page .cpa-result-card h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.cpa-page .cpa-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-primary-dark);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cpa-page .cpa-result-card.is-available:hover .cpa-button {
  color: var(--color-white);
  background: var(--color-primary-dark);
}

.cpa-page .cpa-document-link:focus-visible,
.cpa-page .cpa-table-scroll:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.cpa-page .cpa-section {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 12px 32px rgba(14, 17, 20, 0.06);
}

.cpa-page .cpa-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cpa-page .cpa-introduction p {
  max-width: 900px;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.cpa-page .cpa-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cpa-page .cpa-resource-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem;
  border: 1px solid rgba(8, 166, 107, 0.16);
  border-radius: 16px;
  color: var(--color-primary-dark);
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(14, 17, 20, 0.05);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.cpa-page .cpa-table-hint {
  display: none;
  margin: -0.25rem 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.cpa-page .cpa-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  -webkit-overflow-scrolling: touch;
}

.cpa-page .cpa-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: var(--color-text);
}

.cpa-page .cpa-table th,
.cpa-page .cpa-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
}

.cpa-page .cpa-table th {
  color: var(--color-primary-dark);
  background: rgba(8, 166, 107, 0.12);
  font-weight: 700;
}

.cpa-page .cpa-table td {
  border-top: 1px solid var(--color-border);
  line-height: 1.55;
}

.cpa-page .cpa-table tbody tr:nth-child(even) {
  background: rgba(14, 17, 20, 0.025);
}

.cpa-page .cpa-table tbody tr:hover {
  background: rgba(8, 166, 107, 0.055);
}

@media (max-width: 900px) {
  .cpa-page .cpa-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cpa-page .cpa-main {
    padding-bottom: 3rem;
  }

  .cpa-page .cpa-hero {
    padding: 3rem 0 3.5rem;
  }

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

  .cpa-page .cpa-content {
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .cpa-page .cpa-table-hint {
    display: block;
  }
}

@media (max-width: 560px) {
  .cpa-page .cpa-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.65rem;
    border-radius: 16px;
  }

  .cpa-page .cpa-shortcut {
    min-height: 84px;
    padding: 0.75rem 0.5rem;
    font-size: 0.92rem;
  }

  .cpa-page .cpa-shortcut:last-child {
    grid-column: 1 / -1;
  }

  .cpa-page .cpa-result-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cpa-page .cpa-button {
    width: 100%;
  }

  .cpa-page .cpa-section {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .cpa-page .cpa-introduction p {
    font-size: 1rem;
  }

  .cpa-page .cpa-resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .cpa-page .cpa-resource-card {
    min-height: 88px;
    padding: 1rem;
  }

  .cpa-page .cpa-table-scroll {
    border-radius: 12px;
  }

  .cpa-page .cpa-table th,
  .cpa-page .cpa-table td {
    padding: 0.85rem 1rem;
  }
}

/* Páginas de curso: Psicologia, Pedagogia e Enfermagem */
.course-page {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

.course-page .course-header {
  padding: 60px 20px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  background: var(--course-gradient);
}

.course-page .course-header h1 {
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.course-page .course-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.95;
}

.course-page .course-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 100;
  margin-bottom: 40px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-page .nav-tabs {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
}

.course-page .nav-tabs li {
  flex: 1;
}

.course-page .nav-tabs button {
  width: 100%;
  padding: 20px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #666;
  background: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.course-page .nav-tabs button:hover,
.course-page .nav-tabs button.active {
  color: var(--course-accent);
}

.course-page .nav-tabs button.active {
  border-bottom-color: var(--course-accent);
}

.course-page .course-container {
  width: var(--container-width);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.course-page .course-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  margin-bottom: 60px;
}

.course-page .tab-content {
  display: none;
  padding: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-page .tab-content.active {
  display: block;
}

.course-page .tab-content h2 {
  margin-bottom: 20px;
  color: var(--course-accent);
  font-family: "Poppins", sans-serif;
}

.course-page .tab-content h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #333;
  font-family: "Poppins", sans-serif;
}

.course-page .tab-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.course-page .tab-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.course-page .tab-content li {
  margin-bottom: 8px;
}

.course-page .sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-page .sidebar-card {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-page .sidebar-card h3 {
  margin-bottom: 16px;
  color: var(--course-accent);
  font-family: "Poppins", sans-serif;
}

.course-page .cta-button {
  display: block;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--course-gradient);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-page .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(10, 127, 63, 0.3);
}

.course-page .info-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.course-page .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.course-page .info-label {
  color: #999;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.course-page .info-value {
  margin-top: 4px;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.course-page .sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-page .sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--course-accent);
  font-weight: 500;
  transition: margin-left 0.3s ease;
}

.course-page .sidebar-links a:hover {
  margin-left: 4px;
}

.course-page .contact-info {
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .course-page .course-header h1 {
    font-size: 2rem;
  }

  .course-page .course-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-page .nav-tabs {
    flex-wrap: wrap;
  }

  .course-page .nav-tabs button {
    padding: 16px 12px;
    font-size: 0.95rem;
  }

  .course-page .tab-content {
    padding: 24px;
  }
}

/* Páginas de curso — modelo detalhado: Direito e Odontologia */
.course-page.course-detail-page .course-header {
  padding: 4rem 2rem;
  margin-bottom: 0;
  box-shadow: 0 4px 12px rgba(10, 127, 63, 0.15);
}

.course-page.course-detail-page .course-header h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

.course-page.course-detail-page .course-header p {
  max-width: none;
  margin: 0;
}

.course-page.course-detail-page .top-nav {
  position: sticky;
  top: var(--header-offset);
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.course-page.course-detail-page .nav-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.course-page.course-detail-page .nav-tab {
  flex: 1;
  min-width: 150px;
  padding: 1rem 1.5rem;
  border-bottom: 3px solid transparent;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.course-page.course-detail-page .nav-tab:hover {
  color: var(--course-accent);
  background: rgba(10, 127, 63, 0.03);
}

.course-page.course-detail-page .nav-tab.active {
  color: var(--course-accent);
  border-bottom-color: var(--course-accent);
}

.course-page.course-detail-page .course-detail-container {
  width: var(--container-width);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.course-page.course-detail-page .content-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
}

.course-page.course-detail-page .main-content {
  min-width: 0;
  padding: 2.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.course-page.course-detail-page .tab-content {
  display: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: course-detail-fade-in 300ms ease;
}

.course-page.course-detail-page .tab-content.active {
  display: block;
}

@keyframes course-detail-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.course-page.course-detail-page .content-section {
  margin-bottom: 3rem;
}

.course-page.course-detail-page .content-section:last-child {
  margin-bottom: 0;
}

.course-page.course-detail-page .section-title {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e0e0e0;
  color: var(--course-accent);
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.course-page.course-detail-page .section-text {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

.course-page.course-detail-page .highlight-box {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--course-accent);
  border-radius: 6px;
  background: rgba(10, 127, 63, 0.08);
}

.course-page.course-detail-page .highlight-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--course-accent);
  font-family: "Poppins", sans-serif;
}

.course-page.course-detail-page .highlight-box p {
  margin-bottom: 0;
  line-height: inherit;
}

.course-page.course-detail-page .main-content .tab-content ul {
  margin-bottom: 0;
}

.course-page.course-detail-page .main-content .tab-content li {
  margin-bottom: 0;
}

.course-page.course-detail-page .sidebar {
  gap: 1.5rem;
}

.course-page.course-detail-page .sidebar-card {
  border-radius: 12px;
}

.course-page.course-detail-page .cta-button {
  width: 100%;
  padding: 1.2rem;
  background: var(--course-gradient);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(10, 127, 63, 0.25);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.course-page.course-detail-page .cta-button:hover {
  box-shadow: 0 6px 16px rgba(10, 127, 63, 0.35);
}

.course-page.course-detail-page .info-section h3 {
  margin-bottom: 1rem;
  color: var(--course-accent);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.course-page.course-detail-page .info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.course-page.course-detail-page .info-item:last-child {
  padding-bottom: 0.75rem;
  border-bottom: 0;
}

.course-page.course-detail-page .info-label {
  color: #666;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.course-page.course-detail-page .info-value {
  margin-top: 0;
  color: var(--course-accent);
  font-size: inherit;
  font-weight: 700;
}

.course-page.course-detail-page .links-list {
  margin-top: 1rem;
  list-style: none;
}

.course-page.course-detail-page .links-list li {
  margin-bottom: 0.75rem;
}

.course-page.course-detail-page .links-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--course-accent);
  font-weight: 600;
  transition: gap 200ms ease;
}

.course-page.course-detail-page .links-list a:hover {
  gap: 0.75rem;
}

.course-page.course-detail-page .links-list a[aria-disabled="true"] {
  cursor: not-allowed;
}

.course-page.course-detail-page .links-list a::after {
  content: "→";
}

@media (max-width: 768px) {
  .course-page.course-detail-page .course-detail-container {
    padding: 1rem;
  }

  .course-page.course-detail-page .content-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-page.course-detail-page .main-content {
    padding: 1.5rem;
  }

  .course-page.course-detail-page .course-header {
    padding: 2rem 1rem;
  }

  .course-page.course-detail-page .course-header h1 {
    font-size: 2rem;
  }

  .course-page.course-detail-page .nav-tab {
    min-width: 120px;
    padding: 0.75rem 1rem;
  }

  .course-page.course-detail-page .section-title {
    font-size: 1.4rem;
  }
}

/* Páginas de curso: navegação por abas em telas compactas */
.course-page .nav-tabs button:focus-visible,
.course-page.course-detail-page .nav-tab:focus-visible {
  outline: 3px solid var(--course-accent);
  outline-offset: -4px;
  background: rgba(10, 127, 63, 0.06);
}

.course-page .cta-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--course-accent);
}

@media (max-width: 768px) {
  .course-page:not(.course-detail-page) .course-nav {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .course-page:not(.course-detail-page) .nav-tabs,
  .course-page.course-detail-page .nav-container {
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0.5rem 3rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--course-accent) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .course-page:not(.course-detail-page) .nav-tabs {
    padding-right: 3rem;
  }

  .course-page:not(.course-detail-page) .nav-tabs li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .course-page:not(.course-detail-page) .nav-tabs button,
  .course-page.course-detail-page .nav-tab {
    min-width: 142px;
    min-height: 44px;
    padding: 0.65rem 1rem;
    line-height: 1.2;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .course-page:not(.course-detail-page) .nav-tabs button {
    width: auto;
  }

  .course-page.course-detail-page .nav-container {
    padding-right: 3rem;
  }

  .course-page.course-detail-page .nav-tab {
    flex: 0 0 auto;
  }

  .course-page:not(.course-detail-page) .nav-tabs::-webkit-scrollbar,
  .course-page.course-detail-page .nav-container::-webkit-scrollbar {
    height: 4px;
  }

  .course-page:not(.course-detail-page) .nav-tabs::-webkit-scrollbar-track,
  .course-page.course-detail-page .nav-container::-webkit-scrollbar-track {
    background: transparent;
  }

  .course-page:not(.course-detail-page) .nav-tabs::-webkit-scrollbar-thumb,
  .course-page.course-detail-page .nav-container::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: var(--course-accent);
  }
}

@media (max-width: 560px) {
  .course-page:not(.course-detail-page) .course-nav::after,
  .course-page.course-detail-page .top-nav::after {
    content: "→";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.65rem;
    color: var(--course-accent);
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 58%);
    font-size: 1.1rem;
    font-weight: 700;
    pointer-events: none;
  }
}

@media (min-width: 1101px) {
  .header-content {
    gap: 1rem;
  }

  .header-content .brand img {
    width: clamp(170px, 14vw, 190px);
  }

  .main-nav {
    min-width: 0;
    gap: 0.75rem;
  }

  .nav-list {
    flex-shrink: 0;
    gap: 0.15rem;
  }

  .nav-item > a,
  .nav-link {
    padding: 0.85rem 0.7rem;
    font-size: 0.92rem;
  }

  .nav-actions {
    flex-shrink: 0;
    gap: 0.55rem;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }

  .header-cta {
    padding-right: 1rem;
    padding-left: 1rem;
    white-space: nowrap;
  }
}

/* Página de Editais */
body.editais-page {
  --editais-green: #0a7f3f;
  --editais-green-dark: #075c2e;
  --editais-green-soft: #e5f6ec;
  --editais-surface: #f4f8f4;
  --editais-border: rgba(10, 127, 63, 0.16);
  background: var(--editais-surface);
  color: #183022;
}

.editais-page .editais-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 2.75rem 0;
  background:
    radial-gradient(circle at top right, rgba(73, 210, 135, 0.28), transparent 28%),
    linear-gradient(135deg, #0a7f3f 0%, #0c5f34 45%, #093a23 100%);
  color: var(--color-white);
}

.editais-page .editais-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 72%);
}

.editais-page .editais-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editais-page .editais-copy {
  width: min(100%, 760px);
  display: grid;
  gap: 0.8rem;
}

.editais-page .editais-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editais-page .editais-copy h1,
.editais-page .edital-card-title,
.editais-page .editais-empty h3 {
  font-family: "Montserrat", sans-serif;
}

.editais-page .editais-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.editais-page .editais-copy p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.75;
}

.editais-page .editais-section {
  padding: 3rem 0 5rem;
}

.editais-page .editais-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--editais-border);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 16px 36px rgba(10, 127, 63, 0.07);
}

.editais-page .editais-filter-field {
  min-width: 0;
}

.editais-page .editais-filter-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #24452f;
  font-size: 0.92rem;
  font-weight: 700;
}

.editais-page .editais-filter-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 2.5rem 0.7rem 0.85rem;
  border: 1px solid rgba(10, 127, 63, 0.22);
  border-radius: 12px;
  background-color: #fbfefc;
  color: #183022;
  cursor: pointer;
}

.editais-page .editais-results-status {
  min-height: 1.5em;
  margin: 1.5rem 0 0.85rem;
  color: #48604f;
  font-weight: 600;
}

.editais-page .editais-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.editais-page .edital-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1.35rem;
  border: 1px solid rgba(10, 127, 63, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  box-shadow: 0 18px 44px rgba(10, 127, 63, 0.08);
}

.editais-page .edital-card--indisponivel {
  border-color: rgba(72, 96, 79, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f6 100%);
}

.editais-page .edital-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.editais-page .edital-card-icon {
  min-width: 52px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--editais-green) 0%, #087f53 100%);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.editais-page .edital-card--indisponivel .edital-card-icon {
  background: #60736a;
}

.editais-page .edital-card-category {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--editais-green-soft);
  color: var(--editais-green-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.editais-page .edital-card-title {
  color: #173523;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.editais-page .edital-card-description {
  margin-top: 0.75rem;
  color: #48604f;
  line-height: 1.65;
}

.editais-page .edital-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.editais-page .edital-card-meta-item {
  display: grid;
  gap: 0.15rem;
}

.editais-page .edital-card-meta-label {
  color: #607368;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editais-page .edital-card-meta-value {
  color: #24452f;
  font-size: 0.94rem;
  font-weight: 700;
}

.editais-page .edital-card-action {
  display: flex;
  align-items: center;
}

.editais-page .edital-card-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--editais-green);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.editais-page a.edital-card-link:hover {
  transform: translateY(-2px);
  background: var(--editais-green-dark);
  box-shadow: 0 12px 26px rgba(10, 127, 63, 0.18);
}

.editais-page .edital-card-link--disabled {
  border: 1px solid rgba(72, 96, 79, 0.18);
  background: #edf1ee;
  color: #526259;
  cursor: default;
}

.editais-page .editais-filter-field select:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.editais-page a.edital-card-link:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--editais-green-dark);
}

.editais-page .editais-empty,
.editais-page .editais-noscript {
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--editais-border);
  border-radius: 20px;
  background: var(--color-white);
  color: #48604f;
  text-align: center;
}

.editais-page .editais-empty h3 {
  margin-bottom: 0.4rem;
  color: #173523;
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .editais-page .editais-hero {
    min-height: 280px;
    padding: 2.25rem 0;
  }

  .editais-page .editais-copy h1 {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .editais-page .editais-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .editais-page .editais-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .editais-page .editais-hero {
    min-height: 0;
    padding: 2rem 0;
  }

  .editais-page .editais-copy {
    gap: 0.65rem;
  }

  .editais-page .editais-kicker {
    padding: 0.5rem 0.75rem;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .editais-page .editais-copy h1 {
    font-size: clamp(2.15rem, 11vw, 2.75rem);
  }

  .editais-page .editais-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .editais-page .editais-section {
    padding: 2.5rem 0 3.5rem;
  }

  .editais-page .editais-filters,
  .editais-page .edital-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .editais-page .edital-card-link {
    width: 100%;
  }
}

/* Página de Trabalhos de Conclusão de Curso */
body.tcc-page {
  --tcc-green: #0a7f3f;
  --tcc-green-dark: #075c2e;
  --tcc-green-soft: #e5f6ec;
  --tcc-surface: #f4f8f4;
  --tcc-border: rgba(10, 127, 63, 0.16);
  background: var(--tcc-surface);
  color: #183022;
}

.tcc-page .tcc-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2.75rem 0;
  background:
    radial-gradient(circle at top right, rgba(73, 210, 135, 0.28), transparent 28%),
    linear-gradient(135deg, #0a7f3f 0%, #0c5f34 45%, #093a23 100%);
  color: var(--color-white);
}

.tcc-page .tcc-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 72%);
}

.tcc-page .tcc-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcc-page .tcc-hero-copy {
  width: min(100%, 900px);
  display: grid;
  gap: 0.85rem;
}

.tcc-page .tcc-kicker {
  width: fit-content;
  display: inline-flex;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tcc-page .tcc-hero-copy h1,
.tcc-page .tcc-card-title {
  font-family: "Montserrat", sans-serif;
}

.tcc-page .tcc-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1.08;
}

.tcc-page .tcc-hero-copy p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
  line-height: 1.75;
}

.tcc-page .tcc-query {
  padding: 3rem 0 5rem;
}

.tcc-page .tcc-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(180px, 0.75fr));
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--tcc-border);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 16px 36px rgba(10, 127, 63, 0.07);
}

.tcc-page .tcc-filter-field {
  min-width: 0;
}

.tcc-page .tcc-filter-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #24452f;
  font-size: 0.92rem;
  font-weight: 700;
}

.tcc-page .tcc-filter-field input,
.tcc-page .tcc-filter-field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(10, 127, 63, 0.22);
  border-radius: 12px;
  background-color: #fbfefc;
  color: #183022;
}

.tcc-page .tcc-filter-field select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.tcc-page .tcc-filter-field input::placeholder {
  color: #64776c;
}

.tcc-page .tcc-results-status {
  min-height: 1.5em;
  margin: 1.5rem 0 0.85rem;
  color: #48604f;
  font-weight: 600;
}

.tcc-page .tcc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tcc-page .tcc-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1.4rem;
  border: 1px solid rgba(10, 127, 63, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
  box-shadow: 0 18px 44px rgba(10, 127, 63, 0.08);
}

.tcc-page .tcc-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.tcc-page .tcc-card-icon {
  min-width: 52px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tcc-green) 0%, #087f53 100%);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tcc-page .tcc-card-course {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--tcc-green-soft);
  color: var(--tcc-green-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.tcc-page .tcc-card-title {
  color: #173523;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tcc-page .tcc-card-people {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: #40584a;
  line-height: 1.55;
}

.tcc-page .tcc-card-person-label {
  color: #24452f;
}

.tcc-page .tcc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.tcc-page .tcc-card-meta-item {
  display: grid;
  gap: 0.15rem;
}

.tcc-page .tcc-card-meta-label {
  color: #607368;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tcc-page .tcc-card-meta-value {
  color: #24452f;
  font-size: 0.94rem;
  font-weight: 700;
}

.tcc-page .tcc-card-keywords,
.tcc-page .tcc-card-abstract {
  margin-top: 1rem;
}

.tcc-page .tcc-card-keywords-label,
.tcc-page .tcc-card-abstract-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #24452f;
  font-size: 0.9rem;
}

.tcc-page .tcc-card-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.tcc-page .tcc-card-keyword {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--tcc-green-soft);
  color: var(--tcc-green-dark);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.tcc-page .tcc-card-abstract-text {
  color: #48604f;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.tcc-page .tcc-card-action {
  display: flex;
  align-items: center;
}

.tcc-page .tcc-card-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--tcc-green);
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.tcc-page a.tcc-card-link:hover {
  transform: translateY(-2px);
  background: var(--tcc-green-dark);
  box-shadow: 0 12px 26px rgba(10, 127, 63, 0.18);
}

.tcc-page .tcc-card-link--disabled {
  border: 1px solid rgba(72, 96, 79, 0.18);
  background: #edf1ee;
  color: #526259;
  cursor: default;
}

.tcc-page .tcc-filter-field input:focus-visible,
.tcc-page .tcc-filter-field select:focus-visible {
  outline: 3px solid var(--color-primary-dark);
  outline-offset: 3px;
}

.tcc-page a.tcc-card-link:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--tcc-green-dark);
}

.tcc-page .tcc-empty {
  padding: 1.6rem;
  border: 1px solid var(--tcc-border);
  border-radius: 20px;
  background: var(--color-white);
  color: #48604f;
  text-align: center;
}

.tcc-page .tcc-empty[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .tcc-page .tcc-hero {
    min-height: 320px;
    padding: 2.25rem 0;
  }

  .tcc-page .tcc-hero-copy h1 {
    font-size: clamp(2.35rem, 7vw, 3.2rem);
  }

  .tcc-page .tcc-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .tcc-page .tcc-filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .tcc-page .tcc-hero {
    min-height: 0;
    padding: 2rem 0;
  }

  .tcc-page .tcc-hero-copy {
    gap: 0.65rem;
  }

  .tcc-page .tcc-kicker {
    padding: 0.5rem 0.75rem;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .tcc-page .tcc-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .tcc-page .tcc-hero-copy p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .tcc-page .tcc-query {
    padding: 2.5rem 0 3.5rem;
  }

  .tcc-page .tcc-filters,
  .tcc-page .tcc-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .tcc-page .tcc-card-link {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .header-content {
    min-height: 82px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
  }

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

  .nav-list,
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .nav-item > a,
  .nav-link,
  .dropdown-menu a,
  .header-cta {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 0.4rem;
    padding: 0.35rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(14, 17, 20, 0.03);
  }

  .nav-item.is-open .dropdown-menu {
    display: block;
  }

  .institutional-grid,
  .courses-grid,
  .support-grid,
  .admissions-content {
    grid-template-columns: 1fr;
  }

  .admissions-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================
   FAEDI 0.15.23 - encaixe do cabeçalho com o carrossel
   ========================================================== */
body[data-page="home"] .site-header {
  border-bottom: 0;
}

body[data-page="home"] .site-header:not(.is-scrolled) {
  box-shadow: none;
}

body[data-page="home"] #main-content {
  margin-top: -1px;
}

/* ==========================================================
   FAEDI 0.15.25 - WhatsApp flutuante compacto
   ========================================================== */
.faedi-new-home .joinchat {
  --s: 58px;
  --sep: 20px;
  --bottom: 20px;
}

.faedi-new-home .joinchat .joinchat__button {
  width: var(--s) !important;
  min-width: var(--s) !important;
  max-width: var(--s) !important;
  height: var(--s) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}

.faedi-new-home .joinchat .joinchat__button__open {
  width: var(--s) !important;
  min-width: var(--s) !important;
  height: var(--s) !important;
  display: block !important;
  flex: 0 0 var(--s) !important;
}

.faedi-new-home .joinchat .joinchat__button__send,
.faedi-new-home .joinchat .joinchat__button__sendtext,
.faedi-new-home .joinchat .joinchat__tooltip {
  display: none !important;
}

@media (max-width: 767px) {
  .faedi-new-home .joinchat {
    --s: 52px;
    --sep: 10px;
    --bottom: 10px;
  }

  .faedi-new-home .joinchat .joinchat__button {
    box-shadow: 0 8px 22px rgba(7, 94, 84, 0.24) !important;
  }
}

@media (max-width: 900px) {
  .hero-navigation {
    width: 100%;
    justify-content: space-between;
  }

  .institutional-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

}

@media (max-width: 760px) {
  :root {
    --header-offset: 140px;
    --container-width: min(100% - 1rem, 100%);
  }

  .top-bar-content,
  .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .top-bar-content {
    align-items: flex-start;
  }

  .hero-slide {
    transform: none;
  }

  .courses-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .course-image {
    height: 140px;
    font-size: 2.5rem;
  }

  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .institutional-video {
    min-height: 300px;
  }

  .institutional-video iframe {
    height: 300px;
  }

  .admissions-content {
    padding: 1.6rem;
  }

  body[data-page="home"] .institutional,
  body[data-page="home"] .courses,
  body[data-page="home"] .noticias,
  body[data-page="home"] .support,
  body[data-page="home"] .admissions {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 560px) {
  .header-content {
    gap: 0.9rem;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  .brand img {
    width: 150px;
  }

  .hero-navigation {
    gap: 0.55rem;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
  }

  .admissions-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .floating-button {
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: auto;
    max-width: calc(100vw - 2rem);
    padding-right: 1rem;
    padding-left: 1rem;
    text-align: center;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   FAEDI 0.15.9 - artes oficiais nos cards de graduação
   ========================================================== */
body[data-page="home"] .course-card .course-image--art {
  width: calc(100% + 3.4rem);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: -1.7rem -1.7rem 1.45rem;
  overflow: hidden;
  border-radius: 24px 24px 15px 15px;
  background: #edf3f0;
  transform: none;
}

body[data-page="home"] .course-card .course-image--art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 480ms cubic-bezier(.22, 1, .36, 1);
}

body[data-page="home"] .course-card:hover .course-image--art {
  transform: none;
}

body[data-page="home"] .course-card:hover .course-image--art img {
  transform: scale(1.025);
}

body[data-page="home"] .course-card::before {
  z-index: 2;
}

@media (max-width: 760px) {
  body[data-page="home"] .course-card .course-image--art {
    width: calc(100% + 2.8rem);
    margin: -1.4rem -1.4rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .course-card .course-image--art img {
    transition: none;
  }
}


/* ==========================================================
   FAEDI 0.2.4 - acabamento do menu desktop
   Isola o cabeçalho novo de estilos herdados do Kava/Elementor.
   ========================================================== */
@media (min-width: 1101px) {
  .faedi-new-home {
    --header-offset: 120px;
  }

  .faedi-new-home .header-shell .container {
    width: min(1360px, calc(100% - 2.5rem));
  }

  .faedi-new-home .top-bar-content {
    min-height: 38px;
  }

  .faedi-new-home .site-header .header-content {
    min-height: 82px;
    gap: 1.1rem;
  }

  .faedi-new-home .site-header .brand {
    flex: 0 0 auto;
  }

  .faedi-new-home .site-header .brand img {
    width: 190px;
    max-width: none;
  }

  .faedi-new-home .site-header .main-nav {
    min-width: 0;
    justify-content: flex-end;
    gap: 0.7rem;
  }

  .faedi-new-home .site-header .nav-list {
    margin-left: auto;
    gap: 0.14rem;
    flex-wrap: nowrap;
  }

  .faedi-new-home .site-header .nav-item {
    display: flex;
    align-items: center;
  }

  /* Reset específico para impedir o Kava de transformar os botões
     Instituição/Acadêmico/Graduação em grandes cápsulas verdes. */
  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 0.76rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    color: #18221e !important;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .faedi-new-home .site-header .nav-item > a:hover,
  .faedi-new-home .site-header button.nav-link:hover,
  .faedi-new-home .site-header .nav-item.is-open > button.nav-link {
    background: rgba(8, 166, 107, 0.09) !important;
    color: #05764c !important;
  }

  .faedi-new-home .site-header .nav-item > a[aria-current="page"] {
    background: rgba(8, 166, 107, 0.11) !important;
    color: #05764c !important;
  }

  .faedi-new-home .site-header .chevron {
    width: 0.48rem;
    height: 0.48rem;
    margin-left: 0.1rem;
    border-right-width: 2px;
    border-bottom-width: 2px;
    flex: 0 0 auto;
  }

  .faedi-new-home .site-header .nav-actions {
    flex: 0 0 auto;
    gap: 0.58rem;
  }

  .faedi-new-home .site-header .icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 166, 107, 0.09) !important;
    color: #05764c !important;
    box-shadow: none !important;
  }

  .faedi-new-home .site-header .icon-button svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .faedi-new-home .site-header .header-cta {
    min-height: 44px;
    padding: 0 1.12rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #08a66b 0%, #14d58d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(8, 166, 107, 0.18) !important;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  .faedi-new-home .site-header .header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(8, 166, 107, 0.24) !important;
  }
}

/* Faixa intermediária: evita quebra de texto antes do menu mobile. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .faedi-new-home .header-shell .container {
    width: min(1240px, calc(100% - 1.5rem));
  }

  .faedi-new-home .site-header .brand img {
    width: 168px;
  }

  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    padding-inline: 0.58rem;
    font-size: 0.9rem;
  }

  .faedi-new-home .site-header .header-cta {
    padding-inline: 0.88rem;
    font-size: 0.88rem;
  }
}


/* ==========================================================
   FAEDI 0.2.5 - cabeçalho sincronizado com o
   Projeto-X-reformulacao-site-institucional (base atual).
   Mantém o menu atual do WordPress, mas usa as proporções e
   o alinhamento vertical do projeto mais novo.
   ========================================================== */
@media (min-width: 1101px) {
  .faedi-new-home .site-header .header-content {
    position: relative;
    min-height: 88px;
    height: 88px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .faedi-new-home .site-header .brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: center;
    min-width: fit-content;
    margin: 0;
  }

  .faedi-new-home .site-header .brand img {
    width: clamp(170px, 14vw, 190px);
    height: auto;
    margin: 0;
  }

  .faedi-new-home .site-header .main-nav {
    min-width: 0;
    height: 100%;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
  }

  .faedi-new-home .site-header .nav-list {
    height: 100%;
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
  }

  .faedi-new-home .site-header .nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
  }

  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0.85rem 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    line-height: 1;
    vertical-align: middle;
  }

  .faedi-new-home .site-header .nav-actions {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
  }

  .faedi-new-home .site-header .icon-button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    align-self: center;
  }

  .faedi-new-home .site-header .header-cta {
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    white-space: nowrap;
    line-height: 1;
  }

  .faedi-new-home .site-header .chevron {
    flex: 0 0 auto;
  }
}


/* FAEDI 0.3.1 - correção do banner no WordPress */
.faedi-new-home .hero {
  background: #ffffff;
}
.faedi-new-home .hero-slide-picture,
.faedi-new-home .hero-slide-image {
  display: block;
  width: 100%;
  height: 100%;
}
.faedi-new-home .hero-slide-image {
  object-fit: contain;
  object-position: center;
}

/* ==========================================================
   FAEDI 0.3.2 - centralização horizontal do menu desktop
   Distribui o cabeçalho em:
   logo | navegação centralizada | ações
   ========================================================== */
@media (min-width: 1101px) {
  .faedi-new-home .site-header .header-content {
    gap: 1rem;
  }

  .faedi-new-home .site-header .main-nav {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1rem;
    margin: 0;
    padding: 0;
  }

  .faedi-new-home .site-header .nav-list {
    justify-self: center;
    align-self: center;
    margin: 0;
    padding: 0;
  }

  .faedi-new-home .site-header .nav-actions {
    justify-self: end;
    align-self: center;
    margin: 0;
  }
}

/* Em notebooks e larguras intermediárias, aproxima um pouco mais
   o menu da logo sem comprometer o botão de Processos Seletivos. */
@media (min-width: 1101px) and (max-width: 1360px) {
  .faedi-new-home .site-header .main-nav {
    column-gap: 0.65rem;
  }

  .faedi-new-home .site-header .nav-list {
    transform: translateX(-0.5rem);
  }
}

/* ==========================================================
   FAEDI 0.3.3 - carrossel institucional automático e limpo
   ========================================================== */

/* As setas laterais deixam de aparecer: o banner roda sozinho. */
.faedi-new-home .hero-arrow {
  display: none !important;
}

/* Mantém apenas os indicadores discretos e centralizados. */
.faedi-new-home .hero-navigation {
  justify-content: center;
}

.faedi-new-home .hero-pagination {
  margin-inline: auto;
  gap: 0.2rem;
}

/* Transição mais suave entre os banners. */
.faedi-new-home .hero-slide {
  transform: scale(1.012);
  transition:
    opacity 950ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 950ms ease;
}

.faedi-new-home .hero-slide.is-active {
  transform: scale(1);
}

/* Os indicadores não disputam atenção com a arte. */
.faedi-new-home .hero-dot {
  width: 34px;
  height: 34px;
}

.faedi-new-home .hero-dot::before {
  width: 9px;
  height: 9px;
}

/* ==========================================================
   FAEDI 0.3.4 - rodapé institucional reformulado
   ========================================================== */
.faedi-new-home .site-footer-modern {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 213, 141, 0.16), transparent 30rem),
    linear-gradient(135deg, #071c24 0%, #073d35 55%, #062c2a 100%);
}

.faedi-new-home .site-footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #08a66b, #14d58d, #2ab4e7);
}

.faedi-new-home .footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(170px, 0.8fr)) minmax(260px, 1.05fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  padding-top: clamp(3.5rem, 6vw, 5.25rem);
  padding-bottom: clamp(3rem, 5vw, 4rem);
  align-items: start;
}

.faedi-new-home .footer-brand-block,
.faedi-new-home .footer-nav-block,
.faedi-new-home .footer-contact-block {
  min-width: 0;
}

.faedi-new-home .footer-brand {
  margin-bottom: 1.1rem;
}

.faedi-new-home .footer-brand img {
  width: min(230px, 100%);
  filter: brightness(0) invert(1);
  opacity: 0.98;
}

.faedi-new-home .footer-tagline {
  max-width: 340px;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faedi-new-home .footer-campus {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.faedi-new-home .footer-campus-label {
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  background: rgba(20, 213, 141, 0.13);
  border: 1px solid rgba(20, 213, 141, 0.2);
  color: #a8f7d8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.faedi-new-home .footer-social {
  display: flex;
  gap: 0.65rem;
}

.faedi-new-home .footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.faedi-new-home .footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(20, 213, 141, 0.18);
  border-color: rgba(20, 213, 141, 0.32);
}

.faedi-new-home .footer-nav-block h3,
.faedi-new-home .footer-contact-block h3 {
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
}

.faedi-new-home .footer-nav-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faedi-new-home .footer-nav-list a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 180ms ease, transform 180ms ease;
}

.faedi-new-home .footer-nav-list a:hover {
  color: #7ff0c4;
  transform: translateX(3px);
}

.faedi-new-home .footer-contact-block {
  display: flex;
  flex-direction: column;
}

.faedi-new-home .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.faedi-new-home .footer-contact-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(20, 213, 141, 0.23);
}

.faedi-new-home .footer-contact-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(20, 213, 141, 0.13);
  color: #6ff0bc;
  font-size: 1.05rem;
}

.faedi-new-home .footer-contact-item small,
.faedi-new-home .footer-contact-item strong {
  display: block;
}

.faedi-new-home .footer-contact-item small {
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.faedi-new-home .footer-contact-item strong {
  color: #ffffff;
  font-size: 0.91rem;
  font-weight: 700;
}

.faedi-new-home .footer-process-button {
  min-height: 46px;
  margin-top: 0.35rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 13px;
  color: #062c2a;
  background: linear-gradient(135deg, #14d58d 0%, #4ce6ae 100%);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(20, 213, 141, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.faedi-new-home .footer-process-button:hover {
  color: #062c2a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(20, 213, 141, 0.22);
}

.faedi-new-home .footer-bottom {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 19, 24, 0.28);
}

.faedi-new-home .footer-bottom-modern {
  min-height: 88px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
}

.faedi-new-home .footer-credits {
  display: grid;
  justify-items: center;
  gap: 0.28rem;
}

.faedi-new-home .footer-bottom-modern p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.faedi-new-home .footer-bottom-modern .footer-project-credit {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.faedi-new-home .footer-project-credit strong {
  color: rgba(127, 240, 196, 0.86);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .faedi-new-home .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .faedi-new-home .footer-contact-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .faedi-new-home .footer-contact-block h3,
  .faedi-new-home .footer-process-button {
    grid-column: 1 / -1;
  }

  .faedi-new-home .footer-contact-item {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .faedi-new-home .footer-main {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
  }

  .faedi-new-home .footer-contact-block {
    grid-column: auto;
    display: flex;
  }

  .faedi-new-home .footer-contact-block h3,
  .faedi-new-home .footer-process-button {
    grid-column: auto;
  }

  .faedi-new-home .footer-bottom-modern {
    min-height: auto;
    justify-items: center;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    text-align: center;
  }
}

/* ==========================================================
   FAEDI 0.3.5 - menu responsivo tablet/mobile
   ========================================================== */
@media (max-width: 1100px) {
  .faedi-new-home {
    --header-offset: 116px;
  }

  /* A barra superior continua compacta e em uma única linha. */
  .faedi-new-home .top-bar-content {
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .faedi-new-home .top-bar-link {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .faedi-new-home .campus-selector {
    gap: 0.55rem;
  }

  .faedi-new-home .campus-pill {
    padding: 0.34rem 0.72rem;
  }

  /* Cabeçalho branco mais baixo e equilibrado. */
  .faedi-new-home .site-header .header-content {
    min-height: 76px;
    height: 76px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 1rem;
  }

  .faedi-new-home .site-header .brand img {
    width: 178px;
    max-width: 45vw;
  }

  .faedi-new-home .mobile-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0.72rem;
    margin-left: auto;
    border: 1px solid rgba(8, 166, 107, 0.12);
    border-radius: 14px;
    background: rgba(8, 166, 107, 0.09) !important;
    box-shadow: none !important;
    transition: background 180ms ease, transform 180ms ease;
  }

  .faedi-new-home .mobile-toggle span {
    height: 2px;
    background: #075c3d;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .faedi-new-home .mobile-toggle[aria-expanded="true"] {
    background: rgba(8, 166, 107, 0.15) !important;
  }

  .faedi-new-home .mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .faedi-new-home .mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .faedi-new-home .mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /*
   * Painel do menu:
   * deixa de ser aquele bloco enorme/translúcido e vira um cartão
   * compacto, opaco e rolável.
   */
  .faedi-new-home .site-header .main-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: auto;
    width: min(560px, calc(100vw - 2rem));
    max-height: calc(100vh - 138px);
    max-height: calc(100dvh - 138px);
    overflow-y: auto;
    overscroll-behavior: contain;

    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;

    padding: 0.8rem;
    margin: 0;
    border: 1px solid rgba(8, 166, 107, 0.12);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(9, 30, 24, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
    z-index: 420;
  }

  .faedi-new-home .site-header .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .faedi-new-home .site-header .nav-list,
  .faedi-new-home .site-header .nav-actions {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .faedi-new-home .site-header .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.22rem;
  }

  .faedi-new-home .site-header .nav-item {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
  }

  /* Neutraliza os botões verdes gigantes que apareciam no tablet/mobile. */
  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 46px;
    height: auto;
    margin: 0;
    padding: 0.72rem 0.88rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;

    border: 0 !important;
    border-radius: 12px;
    background: transparent !important;
    box-shadow: none !important;

    color: #17231e !important;
    font-family: "Source Sans 3", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-transform: none;
  }

  .faedi-new-home .site-header .nav-item > a:hover,
  .faedi-new-home .site-header button.nav-link:hover,
  .faedi-new-home .site-header .nav-item.is-open > button.nav-link {
    background: rgba(8, 166, 107, 0.075) !important;
    color: #067249 !important;
  }

  .faedi-new-home .site-header .nav-item > a[aria-current="page"] {
    background: rgba(8, 166, 107, 0.1) !important;
    color: #067249 !important;
  }

  .faedi-new-home .site-header .chevron {
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.1rem;
    flex: 0 0 auto;
  }

  /* Submenus ficam discretos e integrados ao cartão principal. */
  .faedi-new-home .site-header .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0.15rem 0 0.35rem;
    padding: 0.35rem;

    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;

    border: 0;
    border-left: 2px solid rgba(8, 166, 107, 0.2);
    border-radius: 0 12px 12px 0;
    background: #f6faf8;
    box-shadow: none;
  }

  .faedi-new-home .site-header .nav-item.is-open .dropdown-menu {
    display: block;
  }

  .faedi-new-home .site-header .dropdown-menu a {
    min-height: 40px;
    padding: 0.62rem 0.78rem;
    display: flex;
    align-items: center;
    border-radius: 9px;
    color: #35433c;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .faedi-new-home .site-header .dropdown-menu a:hover {
    background: #eaf6f0;
    color: #067249;
  }

  /* Busca e CTA viram uma única faixa bem alinhada no fim do menu. */
  .faedi-new-home .site-header .nav-actions {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(14, 17, 20, 0.08);
  }

  .faedi-new-home .site-header .icon-button {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 166, 107, 0.09) !important;
    color: #067249 !important;
    box-shadow: none !important;
  }

  .faedi-new-home .site-header .header-cta {
    width: 100%;
    min-height: 46px;
    height: 46px;
    margin: 0;
    padding: 0 1rem;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #08a66b 0%, #14d58d 100%) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1;
  }

  /* A caixa real de pesquisa também fica mais adequada a tablet/mobile. */
  .faedi-new-home .search-card {
    width: min(620px, calc(100vw - 1.5rem));
    max-height: calc(100dvh - 1.5rem);
    padding: 1.35rem;
    border-radius: 20px;
  }
}

@media (max-width: 760px) {
  .faedi-new-home {
    --header-offset: 108px;
  }

  .faedi-new-home .top-bar-content {
    min-height: 38px;
    padding: 0;
  }

  .faedi-new-home .top-label,
  .faedi-new-home .top-bar-link {
    font-size: 0.76rem;
  }

  .faedi-new-home .campus-pill {
    padding: 0.3rem 0.62rem;
    font-size: 0.84rem;
  }

  .faedi-new-home .site-header .header-content {
    min-height: 70px;
    height: 70px;
  }

  .faedi-new-home .site-header .brand img {
    width: 150px;
    max-width: 52vw;
  }

  .faedi-new-home .mobile-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0.68rem;
  }

  .faedi-new-home .site-header .main-nav {
    top: calc(100% + 0.4rem);
    right: -0.15rem;
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 120px);
    padding: 0.65rem;
    border-radius: 17px;
  }

  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    min-height: 44px;
    padding: 0.68rem 0.78rem;
    font-size: 0.93rem;
  }

  .faedi-new-home .site-header .dropdown-menu a {
    min-height: 38px;
    padding: 0.56rem 0.7rem;
    font-size: 0.88rem;
  }

  .faedi-new-home .site-header .nav-actions {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faedi-new-home .site-header .icon-button,
  .faedi-new-home .site-header .header-cta {
    min-height: 44px;
    height: 44px;
  }

  .faedi-new-home .site-header .icon-button {
    width: 44px;
    min-width: 44px;
  }

  .faedi-new-home .search-card {
    width: calc(100vw - 1rem);
    padding: 1.15rem;
    border-radius: 17px;
  }

  .faedi-new-home .search-card-header {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .faedi-new-home .search-kicker {
    flex: 1 1 auto;
    padding: 0.58rem 0.78rem;
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .faedi-new-home .search-close {
    flex-basis: 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .faedi-new-home .search-panel .search-close,
  .faedi-new-home .search-panel .search-close:hover,
  .faedi-new-home .search-panel .search-close:active,
  .faedi-new-home .search-panel .search-close:focus {
    border: 1px solid rgba(5, 118, 76, 0.22) !important;
    color: #05764c !important;
    background: #edf8f4 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .faedi-new-home .search-panel .search-close svg,
  .faedi-new-home .search-panel .search-close svg path {
    color: #05764c !important;
    fill: none !important;
    stroke: #05764c !important;
  }
}

@media (max-width: 430px) {
  .faedi-new-home .top-label {
    display: none;
  }

  .faedi-new-home .top-bar-link {
    font-size: 0.72rem;
  }

  .faedi-new-home .site-header .brand img {
    width: 138px;
  }
}

/* FAEDI 0.4.3 - navegação horizontal da Psicologia em telas compactas */
@media (max-width: 768px) {
  .course-page--psicologia .course-nav::after {
    display: none !important;
    content: none !important;
  }
}

/* ==========================================================
   FAEDI 0.8.1 - Odontologia em breve
   ========================================================== */

.course-card--coming-soon {
  cursor: default;
}

.course-card--coming-soon:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.course-card--coming-soon:hover .course-image {
  transform: none;
}

.course-card--coming-soon .course-image {
  filter: saturate(0.72);
}

.course-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.course-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 17, 20, 0.07);
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.course-link-disabled {
  display: inline-flex;
  margin-top: 1.15rem;
  color: #7a847f;
  font-weight: 700;
  cursor: not-allowed;
  user-select: none;
}

.dropdown-menu .nav-coming-soon > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.95rem;
  border-radius: 12px;
  color: #7a847f;
  cursor: default;
}

.dropdown-menu .nav-coming-soon small {
  display: inline-flex;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  background: rgba(8, 166, 107, 0.09);
  color: var(--color-primary-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.coming-soon-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.25rem;
  background: linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
}

.coming-soon-hero {
  width: min(680px, 100%);
  text-align: center;
  padding: 2.4rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.coming-soon-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
  color: #fff;
  font-size: 2rem;
}

.coming-soon-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coming-soon-hero h1 {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--color-black);
}

.coming-soon-hero p {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

/* ==========================================================
   FAEDI 0.14.7 - centralização do rodapé em tablet e mobile
   ========================================================== */
@media (max-width: 1100px) {
  .faedi-new-home .site-footer-modern .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    text-align: center;
  }

  .faedi-new-home .footer-brand-block {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .faedi-new-home .footer-brand {
    display: inline-flex;
    justify-content: center;
  }

  .faedi-new-home .footer-tagline {
    margin-right: auto;
    margin-left: auto;
  }

  .faedi-new-home .footer-campus,
  .faedi-new-home .footer-social {
    justify-content: center;
  }

  .faedi-new-home .footer-nav-list {
    justify-items: center;
  }

  .faedi-new-home .footer-contact-block {
    text-align: center;
  }

  .faedi-new-home .footer-contact-item {
    text-align: left;
  }

  .faedi-new-home .footer-process-button {
    width: min(520px, 100%);
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
  }

  .faedi-new-home .footer-bottom-modern {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .faedi-new-home .site-footer-modern .footer-main {
    width: min(100% - 2rem, 620px);
    grid-template-columns: 1fr;
    gap: 2.35rem;
  }

  .faedi-new-home .footer-brand-block,
  .faedi-new-home .footer-nav-block,
  .faedi-new-home .footer-contact-block {
    grid-column: auto;
    width: 100%;
    align-items: center;
  }

  .faedi-new-home .footer-brand img {
    width: min(230px, 78vw);
  }

  .faedi-new-home .footer-contact-item,
  .faedi-new-home .footer-process-button {
    width: min(100%, 520px);
  }

  .faedi-new-home .footer-bottom-modern {
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================
   FAEDI 0.15.8 - controles e arraste do carrossel
   ========================================================== */
.faedi-new-home .hero-carousel {
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.faedi-new-home .hero-carousel.is-dragging {
  cursor: grabbing;
}

.faedi-new-home .hero-slide.is-active {
  transform: translate3d(var(--carousel-drag-x, 0px), 0, 0) scale(1);
}

.faedi-new-home .hero-carousel.is-dragging .hero-slide.is-active {
  transition: none;
  transform: translate3d(var(--carousel-drag-x, 0px), 0, 0) scale(.997);
}

.faedi-new-home .hero-controls {
  cursor: default;
  pointer-events: none;
}

.faedi-new-home .hero-pagination {
  pointer-events: auto;
  gap: 3px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(3, 43, 32, .64);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

.faedi-new-home .hero-dot,
.faedi-new-home .hero-dot.is-active {
  width: 24px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
  transition: width 260ms cubic-bezier(.22, 1, .36, 1);
}

.faedi-new-home .hero-dot.is-active {
  width: 39px;
}

.faedi-new-home .hero-dot::before,
.faedi-new-home .hero-dot.is-active::before {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  box-shadow: none;
  transform: none;
  transition: width 260ms cubic-bezier(.22, 1, .36, 1), background 180ms ease, opacity 180ms ease;
}

.faedi-new-home .hero-dot:hover::before {
  background: #fff;
}

.faedi-new-home .hero-dot.is-active::before {
  width: 23px;
  background: #22db98;
  box-shadow: 0 0 0 3px rgba(34, 219, 152, .14);
}

.faedi-new-home .hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .faedi-new-home .hero-pagination {
    padding: 4px 6px;
  }

  .faedi-new-home .hero-dot,
  .faedi-new-home .hero-dot.is-active {
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faedi-new-home .hero-dot,
  .faedi-new-home .hero-dot::before {
    transition: none;
  }
}

/* ==========================================================
   FAEDI 0.15.19 - cabeçalho institucional e CTA de matrícula
   ========================================================== */
@media (min-width: 1101px) {
  .faedi-new-home {
    --header-offset: 130px;
  }

  .faedi-new-home .header-shell .container {
    width: min(1720px, calc(100% - 4rem));
  }

  .faedi-new-home .site-header {
    border-bottom-color: rgba(5, 118, 76, 0.09);
    box-shadow: 0 10px 30px rgba(14, 46, 36, 0.07);
  }

  .faedi-new-home .site-header.is-scrolled {
    box-shadow: 0 14px 34px rgba(14, 46, 36, 0.11);
  }

  .faedi-new-home .site-header .header-content {
    min-height: 92px;
    height: 92px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 215px;
    align-items: center;
    column-gap: 1.25rem;
  }

  .faedi-new-home .site-header .brand {
    width: 220px;
    justify-self: start;
  }

  .faedi-new-home .site-header .brand img {
    width: 202px;
  }

  .faedi-new-home .site-header .main-nav {
    display: contents;
  }

  .faedi-new-home .site-header .nav-list {
    grid-column: 2;
    justify-self: center;
    height: 92px;
    margin: 0;
    gap: 0.18rem;
  }

  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    position: relative;
    min-height: 46px;
    height: 46px;
    padding-inline: 0.82rem;
    border: 1px solid transparent !important;
    font-size: 0.95rem;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease !important;
  }

  .faedi-new-home .site-header .nav-item > a:hover,
  .faedi-new-home .site-header button.nav-link:hover,
  .faedi-new-home .site-header .nav-item.is-open > button.nav-link {
    border-color: rgba(8, 166, 107, 0.12) !important;
    background: #f1f9f5 !important;
  }

  .faedi-new-home .site-header .nav-item > a[aria-current="page"] {
    border-color: rgba(8, 166, 107, 0.16) !important;
    background: #e9f7f1 !important;
  }

  .faedi-new-home .site-header .nav-actions {
    grid-column: 3;
    justify-self: end;
    width: 215px;
    height: auto;
    gap: 0.7rem;
  }

  .faedi-new-home .site-header .search-toggle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border: 1px solid rgba(5, 118, 76, 0.14) !important;
    border-radius: 14px;
    color: #05764c !important;
    background: #f2f9f6 !important;
    box-shadow: none !important;
  }

  .faedi-new-home .site-header .search-toggle:hover {
    border-color: rgba(5, 118, 76, 0.28) !important;
    background: #e5f5ee !important;
    transform: translateY(-1px);
  }

  .faedi-new-home .site-header .header-cta {
    width: 158px;
    min-height: 46px;
    height: 46px;
    padding: 0 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, #05764c 0%, #0aad71 100%) !important;
    box-shadow: 0 10px 22px rgba(5, 118, 76, 0.2) !important;
    font-size: 0.92rem;
    font-weight: 800;
  }

  .faedi-new-home .site-header .header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(5, 118, 76, 0.29) !important;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .faedi-new-home .header-shell .container {
    width: calc(100% - 1.5rem);
  }

  .faedi-new-home .site-header .header-content {
    grid-template-columns: 165px minmax(0, 1fr) 180px;
    column-gap: 0.45rem;
  }

  .faedi-new-home .site-header .brand {
    width: 165px;
  }

  .faedi-new-home .site-header .brand img {
    width: 158px;
  }

  .faedi-new-home .site-header .nav-item > a,
  .faedi-new-home .site-header button.nav-link {
    padding-inline: 0.48rem;
    font-size: 0.83rem;
  }

  .faedi-new-home .site-header .nav-actions {
    width: 180px;
    gap: 0.45rem;
  }

  .faedi-new-home .site-header .search-toggle {
    width: 42px;
    height: 44px;
    min-width: 42px;
  }

  .faedi-new-home .site-header .header-cta {
    width: 130px;
    padding-inline: 0.75rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 1100px) {
  .faedi-new-home .site-header .search-toggle {
    border: 1px solid rgba(5, 118, 76, 0.14) !important;
    border-radius: 12px;
    background: #f0f8f4 !important;
  }

  .faedi-new-home .site-header .header-cta {
    border-radius: 999px;
    background: linear-gradient(135deg, #05764c 0%, #0bb878 100%) !important;
  }
}

.faedi-new-home .search-panel .search-close,
.faedi-new-home .search-panel .search-close:hover,
.faedi-new-home .search-panel .search-close:active,
.faedi-new-home .search-panel .search-close:focus {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(5, 118, 76, 0.22) !important;
  color: #05764c !important;
  background: #edf8f4 !important;
  box-shadow: none !important;
  transform: none !important;
  -webkit-tap-highlight-color: transparent;
}

.faedi-new-home .search-panel .search-close svg,
.faedi-new-home .search-panel .search-close svg path {
  color: #05764c !important;
  fill: none !important;
  stroke: #05764c !important;
}

/* FAEDI 0.15.26 - acessos acadêmicos no menu */
.faedi-new-home .site-header .portal-shortcuts {
  display: flex;
  align-items: center;
}

.faedi-new-home .site-header .portal-shortcut {
  color: #05764c;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.faedi-new-home .site-header .portal-shortcut:focus-visible {
  outline: 3px solid rgba(10, 173, 113, 0.3);
  outline-offset: 2px;
}

@media (min-width: 1101px) {
  .faedi-new-home .site-header .header-content {
    grid-template-columns: 220px minmax(0, 1fr) 150px 215px;
  }

  .faedi-new-home .site-header .portal-shortcuts {
    grid-column: 3;
    justify-self: end;
    gap: 0.35rem;
  }

  .faedi-new-home .site-header .portal-shortcut {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(5, 118, 76, 0.16);
    border-radius: 12px;
    background: #f0f8f4;
    box-shadow: 0 6px 15px rgba(5, 118, 76, 0.06);
  }

  .faedi-new-home .site-header .portal-shortcut:hover {
    color: #ffffff;
    border-color: #07895a;
    background: #07895a;
    box-shadow: 0 10px 20px rgba(5, 118, 76, 0.2);
    transform: translateY(-2px);
  }

  .faedi-new-home .site-header .portal-shortcut i {
    font-size: 1.15rem;
  }

  .faedi-new-home .site-header .portal-shortcut-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .faedi-new-home .site-header .nav-actions {
    grid-column: 4;
  }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .faedi-new-home .site-header .header-content {
    grid-template-columns: 165px minmax(0, 1fr) 126px 180px;
  }

  .faedi-new-home .site-header .portal-shortcuts {
    gap: 0.2rem;
  }

  .faedi-new-home .site-header .portal-shortcut {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
  }
}

@media (max-width: 1100px) {
  .faedi-new-home .site-header .portal-shortcuts {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(5, 118, 76, 0.12);
  }

  .faedi-new-home .site-header .portal-shortcut {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.45rem;
    border: 1px solid rgba(5, 118, 76, 0.14);
    border-radius: 12px;
    background: #f3faf7;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
  }

  .faedi-new-home .site-header .portal-shortcut:hover,
  .faedi-new-home .site-header .portal-shortcut:active {
    color: #ffffff;
    border-color: #07895a;
    background: #07895a;
  }

  .faedi-new-home .site-header .portal-shortcut i {
    font-size: 1rem;
  }

  .faedi-new-home .site-header .nav-actions {
    order: 3;
  }
}

@media (max-width: 600px) {
  .faedi-new-home .site-header .portal-shortcut {
    min-height: 58px;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.45rem 0.25rem;
    font-size: 0.73rem;
  }
}

/* FAEDI 0.15.28 - encaixe com a barra administrativa do WordPress */
body.admin-bar.faedi-new-home .header-shell {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar.faedi-new-home .header-shell {
    top: 46px;
  }
}
