:root {
  --crc-primary-navy: #0f2f5f;
  --crc-primary-navy-strong: #0a2347;
  --crc-secondary-gold: #d7982f;
  --crc-secondary-gold-strong: #b67c1e;
  --crc-surface-light: #f3f7ff;
  --crc-surface-soft: #fff8ef;
  --crc-text-dark: #1f2937;
  --crc-text-muted: #5b6470;
  --crc-border-soft: #dbe4f4;
  --crc-shadow: 0 12px 30px rgba(10, 35, 71, 0.12);
  --crc-radius: 16px;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--crc-text-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
  font-family: 'Montserrat', sans-serif;
}

.portal-topbar {
  background: linear-gradient(
    95deg,
    var(--crc-primary-navy-strong) 0%,
    var(--crc-primary-navy) 60%,
    #14417f 100%
  );
}

.topbar-contact,
.topbar-link {
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar-contact:hover,
.topbar-link:hover,
.topbar-contact:focus-visible,
.topbar-link:focus-visible {
  color: #ffffff;
  opacity: 0.82;
}

.topbar-transparencia {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.2s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.75rem;
  margin-left: 0.15rem;
}

.topbar-transparencia img {
  height: 38px;
  width: auto;
}

.topbar-transparencia:hover,
.topbar-transparencia:focus-visible {
  opacity: 1;
  outline-offset: 3px;
}

.topbar-contact i {
  margin-right: 0.35rem;
}

.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.topbar-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #d5deed;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.topbar-socials a:hover,
.topbar-socials a:focus-visible {
  color: var(--crc-primary-navy-strong);
  background-color: var(--crc-secondary-gold);
  border-color: var(--crc-secondary-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(215, 152, 47, 0.4);
}

.topbar-socials a:active {
  color: var(--crc-primary-navy-strong);
  background-color: var(--crc-secondary-gold-strong);
  border-color: var(--crc-secondary-gold-strong);
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(182, 124, 30, 0.45);
}

.portal-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--crc-border-soft);
  position: sticky;
  top: 0;
  z-index: 998;
}

.portal-navbar-top {
  padding: 0.5rem 0;
}

.portal-navbar-menu {
  border-top: 1px solid var(--crc-border-soft);
  width: 100%;
}

.portal-navbar-menu .navbar-nav {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.portal-navbar .nav-link {
  color: var(--crc-primary-navy-strong);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 0.45rem;
}

.portal-navbar .nav-link:hover,
.portal-navbar .nav-link:focus-visible,
.portal-navbar .nav-link.active {
  color: var(--crc-secondary-gold-strong);
}

.portal-mega-menu {
  width: min(var(--portal-mega-max-width, 980px), 95vw);
  min-width: min(var(--portal-mega-max-width, 980px), 95vw);
  max-width: min(var(--portal-mega-max-width, 980px), 95vw);
  border: 1px solid var(--crc-border-soft);
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(10, 35, 71, 0.2);
  margin-top: 0.55rem;
}

.portal-mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(var(--portal-mega-columns, 3), minmax(0, 1fr));
  gap: 0;
  max-height: min(72vh, 620px);
  overflow-y: auto;
}

.portal-mega-col {
  padding: 1rem 1rem 1.1rem;
  border-right: 1px solid #e8eef9;
}

.portal-mega-col:last-child {
  border-right: 0;
}

.portal-mega-title {
  color: var(--crc-primary-navy-strong);
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.portal-mega-link {
  white-space: normal;
  line-height: 1.35;
  font-size: 0.92rem;
  border-radius: 10px;
  color: var(--crc-primary-navy-strong);
  padding: 0.45rem 0.55rem;
}

.portal-mega-link:hover,
.portal-mega-link:focus-visible,
.portal-mega-link.active {
  background-color: #eef4ff;
  color: var(--crc-primary-navy);
}

.portal-mega-link.has-children {
  font-weight: 700;
}

.portal-mobile-nav {
  background: #ffffff;
}

.portal-mobile-nav .offcanvas-header {
  border-bottom: 1px solid var(--crc-border-soft);
  background: linear-gradient(90deg, #f5f8ff 0%, #ffffff 100%);
}

.portal-mobile-brand {
  text-decoration: none;
}

.mobile-nav-wrap {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav-top-item,
.mobile-nav-top-link {
  border: 1px solid #e6edf9;
  border-radius: 12px;
  background: #fff;
}

.mobile-nav-top-link {
  display: block;
  padding: 0.75rem 0.9rem;
  color: var(--crc-primary-navy-strong);
  text-decoration: none;
  font-weight: 700;
}

.mobile-nav-top-link.active {
  color: var(--crc-secondary-gold-strong);
  border-color: #f0dfbe;
  background: #fffaf2;
}

.mobile-nav-top-toggle,
.mobile-nav-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--crc-primary-navy-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  text-align: left;
  font-weight: 700;
}

.mobile-nav-top-toggle:focus-visible,
.mobile-nav-toggle:focus-visible,
.mobile-nav-top-link:focus-visible,
.mobile-nav-link:focus-visible {
  outline: 3px solid rgba(15, 47, 95, 0.35);
  outline-offset: 1px;
}

.mobile-nav-top-toggle {
  padding: 0.75rem 0.9rem;
}

.mobile-nav-toggle {
  padding: 0.62rem 0.8rem;
  font-size: 0.95rem;
}

.mobile-nav-top-toggle i,
.mobile-nav-toggle i {
  transition: transform 0.2s ease;
}

.mobile-nav-top-toggle:not(.collapsed) i,
.mobile-nav-toggle:not(.collapsed) i {
  transform: rotate(180deg);
}

.mobile-nav-collapse {
  padding: 0 0.6rem 0.75rem;
}

.mobile-nav-level {
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.mobile-nav-level.depth-1 {
  border-top: 1px solid #edf2fb;
  padding-top: 0.55rem;
}

.mobile-nav-level.depth-2,
.mobile-nav-level.depth-3 {
  padding-left: 0.55rem;
  border-left: 2px solid #e7eefb;
}

.mobile-nav-item {
  border-radius: 10px;
}

.mobile-nav-link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: #1f3f70;
  text-decoration: none;
  font-size: 0.93rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.mobile-nav-link.active {
  background: #edf4ff;
  color: var(--crc-primary-navy);
}

.mobile-nav-toggle.is-group {
  font-size: 0.83rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #425e8b;
}

.portal-mega-sublist {
  margin: 0.25rem 0 0.55rem;
  border-left: 2px solid #e4ebf8;
  padding-left: 0.45rem;
}

.portal-mega-sublist .portal-mega-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #294979;
  padding: 0.36rem 0.5rem;
}

.portal-actions {
  min-width: 320px;
}

.portal-search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  width: 100%;
}

.portal-search-form .form-control,
.portal-search-form .form-select {
  border-radius: 10px;
  border: 1px solid var(--crc-border-soft);
  min-height: 40px;
  font-size: 0.92rem;
}

.btn-portal-search {
  background-color: var(--crc-primary-navy);
  color: #fff;
  border-radius: 10px;
  border: none;
  min-height: 40px;
}

.btn-portal-search:hover,
.btn-portal-search:focus-visible {
  background-color: var(--crc-primary-navy-strong);
  color: #fff;
}

.btn-portal-cta {
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  padding: 0.55rem 1rem;
}

.btn-inscreva {
  background-color: var(--crc-secondary-gold);
  border: 1px solid var(--crc-secondary-gold);
  color: #102a4f;
}

.btn-inscreva:hover,
.btn-inscreva:focus-visible {
  background-color: var(--crc-secondary-gold-strong);
  border-color: var(--crc-secondary-gold-strong);
  color: #ffffff;
}

.btn-desenvolvimento {
  background-color: #eef4ff;
  border: 1px solid #d3dff6;
  color: var(--crc-primary-navy);
}

.btn-desenvolvimento:hover,
.btn-desenvolvimento:focus-visible {
  background-color: var(--crc-primary-navy);
  border-color: var(--crc-primary-navy);
  color: #fff;
}

.search-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--crc-border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--crc-primary-navy);
  text-decoration: none;
}

.search-icon:hover,
.search-icon:focus-visible {
  color: #ffffff;
  background: var(--crc-primary-navy);
}

.portal-hero-caption {
  left: 6%;
  right: 6%;
  bottom: 12%;
  text-align: left;
  background: linear-gradient(85deg, rgba(10, 35, 71, 0.88) 0%, rgba(10, 35, 71, 0.15) 100%);
  border-radius: var(--crc-radius);
  padding: 1.2rem 1.4rem;
}

.portal-hero-kicker {
  margin-bottom: 0.5rem;
  color: #f6c162;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.1px;
  font-size: 0.82rem;
}

.portal-hero-caption h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.1rem, 2.3vw, 2.2rem);
}

.portal-inner-hero {
  background: linear-gradient(
    120deg,
    var(--crc-primary-navy-strong) 0%,
    var(--crc-primary-navy) 55%,
    #1f4f92 100%
  );
  position: relative;
  overflow: hidden;
}

.portal-inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

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

.portal-inner-hero-sm {
  min-height: 220px;
  display: flex;
  align-items: center;
}

.crc-home-section {
  padding: 4rem 0;
}

.crc-home-section.alt {
  background: linear-gradient(180deg, #ffffff 0%, var(--crc-surface-light) 100%);
}

.crc-section-title {
  color: #0a2a54;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  margin-bottom: 0.65rem;
  position: relative;
  letter-spacing: 0.2px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--crc-secondary-gold-strong);
  margin-bottom: 0.55rem;
}

.section-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--crc-secondary-gold) 0%, transparent 100%);
}

.presidente-spotlight {
  display: flex;
  align-items: stretch;
  background: linear-gradient(120deg, #ffffff 0%, #f4f8ff 60%, #ffffff 100%);
  border: 1px solid #e0e9fa;
  border-top: 3px solid var(--crc-secondary-gold);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(10, 35, 71, 0.14);
  overflow: hidden;
}

.presidente-photo-wrap {
  flex: 0 0 220px;
  background: #f0f4fb;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  border-right: 2px solid var(--crc-secondary-gold);
}

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

.presidente-content {
  flex: 1;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.presidente-content::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  font-size: 12rem;
  line-height: 1;
  color: var(--crc-primary-navy);
  opacity: 0.05;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
  user-select: none;
}

.presidente-role {
  color: #2d4c79;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Variante para página dedicada: coluna de foto mais larga */
.presidente-spotlight--full {
  align-items: flex-start;
}

.presidente-spotlight--full .presidente-photo-wrap {
  flex: 0 0 280px;
  border-right: 2px solid var(--crc-secondary-gold);
}

.btn-portal-president {
  background: linear-gradient(135deg, var(--crc-primary-navy) 0%, #1c4f93 100%);
  border: 0;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.62rem 1.1rem;
}

.btn-portal-president:hover,
.btn-portal-president:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 35, 71, 0.24);
}

.crc-section-subtitle {
  color: var(--crc-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--crc-border-soft);
  border-radius: var(--crc-radius);
  box-shadow: var(--crc-shadow);
  height: 100%;
  padding: 1.3rem 1rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(10, 35, 71, 0.16);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.service-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: #e8effd;
  color: var(--crc-primary-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.95rem;
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--crc-primary-navy-strong);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--crc-text-muted);
  margin-bottom: 0;
}

.news-highlight {
  border-radius: var(--crc-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--crc-border-soft);
  box-shadow: var(--crc-shadow);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.news-highlight:hover {
  transform: translateY(-5px);
  border-color: #cfdcf5;
  box-shadow: 0 20px 40px rgba(10, 35, 71, 0.18);
}

.news-highlight img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-highlight:hover img {
  transform: scale(1.04);
}

.news-highlight-content {
  padding: 1.2rem;
}

.news-list-item {
  border-radius: 14px;
  border: 1px solid var(--crc-border-soft);
  background-color: #fff;
  padding: 1rem;
  margin-bottom: 0.9rem;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.news-list-item:hover {
  transform: translateY(-3px);
  border-color: #ccdaf4;
  box-shadow: 0 12px 28px rgba(10, 35, 71, 0.13);
}

.news-list-item h4,
.news-highlight-content h3 {
  color: var(--crc-primary-navy-strong);
  font-size: 1.08rem;
}

.news-meta {
  color: var(--crc-text-muted);
  font-size: 0.88rem;
}

.event-item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--crc-border-soft);
  border-radius: 14px;
  margin-bottom: 0.8rem;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.event-item:hover {
  transform: translateX(4px);
  border-color: #cedcf5;
  box-shadow: 0 14px 28px rgba(10, 35, 71, 0.14);
}

.event-item:hover .event-date {
  background: linear-gradient(160deg, #103975 0%, #1f5aa4 100%);
}

.event-date {
  min-width: 62px;
  border-radius: 10px;
  background: var(--crc-primary-navy);
  color: #fff;
  text-align: center;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date strong {
  font-size: 1.35rem;
  line-height: 1;
}

.event-date span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.event-content h4 {
  color: var(--crc-primary-navy-strong);
  font-size: 1.04rem;
  margin-bottom: 0.2rem;
}

.event-content p {
  margin-bottom: 0;
  color: var(--crc-text-muted);
}

.course-panel {
  background: linear-gradient(160deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid var(--crc-border-soft);
  border-radius: 16px;
  box-shadow: var(--crc-shadow);
  padding: 1rem;
}

.course-panel-title {
  font-size: 1rem;
  color: var(--crc-primary-navy-strong);
}

.course-panel-link {
  color: var(--crc-primary-navy);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.course-panel-link:hover,
.course-panel-link:focus-visible {
  color: var(--crc-secondary-gold-strong);
  text-decoration: underline;
}

.course-item {
  border: 1px solid #dbe6fa;
  border-radius: 12px;
  padding: 0.85rem 0.85rem;
  background: #ffffff;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.course-item:hover {
  transform: translateY(-3px);
  border-color: #c4d5f3;
  box-shadow: 0 12px 22px rgba(10, 35, 71, 0.12);
}

.course-meta {
  color: #5f7090;
  font-size: 0.82rem;
  font-weight: 700;
}

.course-item h4 {
  color: var(--crc-primary-navy-strong);
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.course-item p {
  color: var(--crc-text-muted);
  font-size: 0.88rem;
}

.video-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--crc-border-soft);
  box-shadow: var(--crc-shadow);
  background-color: #fff;
  position: relative;
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

.video-card::after {
  content: '\25B6';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 35, 71, 0.62);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: #c9d9f5;
  box-shadow: 0 18px 34px rgba(10, 35, 71, 0.2);
}

.video-card:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-card iframe {
  width: 100%;
  height: 215px;
  border: 0;
  transition: transform 0.35s ease;
}

.video-card:hover iframe {
  transform: scale(1.03);
}

.video-card .video-caption {
  padding: 0.8rem;
  color: var(--crc-primary-navy-strong);
  font-weight: 600;
}

.btn-news-action {
  border-radius: 999px;
  border-color: #c2d3f1;
  color: var(--crc-primary-navy);
  font-weight: 700;
}

.btn-news-action:hover,
.btn-news-action:focus-visible {
  background-color: var(--crc-primary-navy);
  border-color: var(--crc-primary-navy);
  color: #ffffff;
}

.site-footer.crc-footer {
  background: linear-gradient(180deg, var(--crc-primary-navy-strong) 0%, #081a36 100%);
  color: #fff;
}

.crc-footer .footer-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--crc-secondary-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.crc-footer p,
.crc-footer li,
.crc-footer a,
.crc-footer address {
  color: #d5deed;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.crc-footer li {
  margin-bottom: 0.45rem;
}

.crc-footer a:hover,
.crc-footer a:focus-visible {
  color: #ffffff;
}

.footer-map {
  width: 100%;
  min-height: 180px;
  border-radius: 12px;
  border: 0;
}

.breadcrumb-crces {
  background: linear-gradient(90deg, #edf3ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--crc-border-soft);
}

.breadcrumb-crces .breadcrumb {
  margin-bottom: 0;
  padding: 0.8rem 0;
}

.breadcrumb-crces .breadcrumb-item,
.breadcrumb-crces .breadcrumb-item a {
  color: var(--crc-primary-navy-strong);
  font-size: 0.92rem;
  text-decoration: none;
}

.breadcrumb-crces .breadcrumb-item.active {
  color: var(--crc-secondary-gold-strong);
  font-weight: 700;
}

@media (min-width: 1200px) {
  /* Container é o contexto de posicionamento — impede overflow lateral */
  .portal-navbar .container-fluid {
    position: relative;
  }

  .portal-search-form {
    grid-template-columns: minmax(140px, 1fr) 130px 44px;
  }

  /* Nav-items NÃO são mais contextos de posicionamento */
  .portal-navbar .nav-item.dropdown {
    position: static;
  }

  .portal-navbar .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    transition:
      opacity 0.16s ease,
      transform 0.16s ease,
      visibility 0s linear 0.16s;
  }

  /* Ponte invisível acima do painel — estende 14px para cima para não fechar ao cruzar o gap */
  .portal-mega-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    pointer-events: auto;
  }

  /* portal-search-form desktop já definido acima */

  /* Mega menu abre no hover em desktop, sem depender de clique */
  .portal-navbar .nav-item.dropdown:hover > .dropdown-menu,
  .portal-navbar .nav-item.dropdown.mega-hover-open > .dropdown-menu,
  .portal-navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }

  .portal-navbar .nav-item.dropdown:hover > .nav-link.dropdown-toggle,
  .portal-navbar .nav-item.dropdown.mega-hover-open > .nav-link.dropdown-toggle,
  .portal-navbar .nav-item.dropdown:focus-within > .nav-link.dropdown-toggle {
    color: var(--crc-secondary-gold-strong);
  }
}

@media (max-width: 1199.98px) {
  .portal-navbar {
    top: 0;
  }

  .portal-mobile-nav {
    max-width: min(92vw, 430px);
  }

  .portal-mega-menu {
    min-width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 12px;
    margin-top: 0.35rem;
  }

  .portal-mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 56vh;
  }

  .portal-mega-col {
    border-right: 0;
    border-bottom: 1px solid #edf2fb;
  }

  .portal-mega-col:last-child {
    border-bottom: 0;
  }

  .portal-actions {
    margin-top: 1rem;
  }

  .btn-portal-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .presidente-spotlight {
    flex-direction: column;
  }

  .presidente-photo-wrap {
    flex: 0 0 auto;
    height: 280px;
    border-right: none;
    border-bottom: 2px solid var(--crc-secondary-gold);
  }

  .presidente-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .presidente-spotlight--full {
    align-items: stretch;
  }

  .presidente-spotlight--full .presidente-photo-wrap {
    flex: 0 0 auto;
    height: 320px;
  }

  .presidente-content {
    padding: 1.5rem;
  }

  .portal-mega-menu-grid {
    grid-template-columns: 1fr;
  }

  .portal-topbar {
    position: relative;
    z-index: 9998;
  }

  .portal-hero-caption {
    display: block;
    left: 4%;
    right: 4%;
    bottom: 6%;
    padding: 0.9rem;
  }

  .portal-hero-kicker {
    font-size: 0.72rem;
  }

  .news-highlight img {
    height: 220px;
  }

  .crc-home-section {
    padding: 3rem 0;
  }
}
