*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #0057ff;
  --brand-dark: #003fbb;
  --brand-light: #ebf1ff;
  --ink: #0d1117;
  --ink-2: #1e2532;
  --slate: #4a5568;
  --mist: #f4f6fa;
  --border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif !important;
  background: #fff;
  color: var(--ink);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #f0f4ff;
}

::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 99px;
}

/* ── Cursor ── */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--brand);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.12s ease;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(0, 87, 255, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
}

@media (max-width: 768px) {
  .cursor,
  .cursor-ring {
    display: none;
  }
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 87, 255, 0.07);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo-text span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.btn-nav {
  background: var(--brand);
  color: #fff;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-nav:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* ── Mobile Nav ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
  padding: 5rem 2rem 3rem;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

/* Links directos do mobile nav */
.mobile-nav > a {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.75rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.mobile-nav > a:first-of-type {
  border-top: 1px solid var(--border);
}

.mobile-nav > a:hover {
  color: var(--brand);
}

.mnav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 2rem;
  color: var(--slate);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ── Grupo Instituição no mobile ── */
.mnav-group {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.mnav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem 0;
  text-align: center;
  transition: color 0.2s;
  text-transform: none;
  letter-spacing: 0;
}

.mnav-group-toggle:hover {
  color: var(--brand);
}

.mnav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mnav-group-toggle.active .mnav-chevron {
  transform: rotate(180deg);
}

.mnav-group-toggle.active {
  color: var(--brand);
}

/* ── Submenu mobile ── */
.mnav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0.5rem;
}

.mnav-sub.open {
  max-height: 500px;
  padding-bottom: 0.75rem;
}

.mnav-sub a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0.2rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 10px;
  background: var(--mist);
  border: 1px solid var(--border);
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}

.mnav-sub a:hover,
.mnav-sub a:active {
  background: var(--brand-light);
  color: var(--brand);
  border-color: rgba(0, 87, 255, 0.2);
}

.mnav-sub a i {
  font-size: 1.15rem;
  color: var(--brand);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.mnav-sub-label {
  display: flex;
  flex-direction: column;
}

.mnav-sub-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.mnav-sub-desc {
  font-size: 0.72rem;
  color: var(--slate);
  font-weight: 400;
  margin-top: 1px;
}

.mnav-sub a:hover .mnav-sub-title {
  color: var(--brand);
}

/* ── HERO EMBLA ── */
.embla-wrap {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  margin-top: 72px;
}

.embla {
  overflow: hidden;
  height: 100%;
}

.embla__container {
  display: flex;
  height: 100%;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.embla__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 17, 23, 0.75) 0%,
    rgba(13, 17, 23, 0.42) 55%,
    rgba(0, 87, 255, 0.1) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  z-index: 10;
}

.hero-inner {
  max-width: 700px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

.chip-dot {
  width: 6px;
  height: 6px;
  background: #4df0c5;
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.hero-title {
  font-size: clamp(1rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: #4df0c5;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 1rem 2.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.btn-hero-p:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.35);
}

.btn-hero-g {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.95rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.btn-hero-g:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Embla arrows */
.embla-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.embla-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.ea-prev {
  left: 2rem;
}

.ea-next {
  right: 2rem;
}

/* Dots */
.embla-dots {
  position: absolute;
  bottom: 7rem;
  left: 8vw;
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.ed {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.ed.sel {
  background: #fff;
  width: 52px;
}

/* Stat bar */
.stat-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}

.stat-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.4;
}

/* ── Ticker ── */
.ticker-wrap {
  background: var(--brand);
  overflow: hidden;
  padding: 0.85rem 0;
}

.ticker {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.55rem;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Shared ── */
section {
  position: relative;
}

.sp {
  padding: 6rem 2rem;
}

.ctr {
  max-width: 1280px;
  margin: 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}

.tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.sec-title {
  font-size: clamp(1.85rem, 3.5vw, 2.875rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.sec-title span {
  color: var(--brand);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-p {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--slate);
  margin-top: 1.25rem;
}

.city-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--border);
  background: var(--mist);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}

.cp-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.m-tile {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.m-tile:first-child {
  background: var(--brand);
  border-color: var(--brand);
}

.m-tile:first-child .m-num {
  color: #fff;
}

.m-tile:first-child .m-lbl {
  color: rgba(255, 255, 255, 0.7);
}

.m-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.05em;
  line-height: 1;
}

.m-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate);
  margin-top: 0.35rem;
}

.m-orb {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 87, 255, 0.07);
}

.m-tile:first-child .m-orb {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Services ── */
.bg-mist {
  background: var(--mist);
}

.svc-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s,
    border-color 0.3s;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 87, 255, 0.1);
  border-color: rgba(0, 87, 255, 0.2);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-card:hover .svc-icon {
  background: var(--brand);
  color: #fff;
}

.svc-num {
  font-size: 0.63rem;
  font-weight: 800;
  color: rgba(0, 87, 255, 0.35);
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

.svc-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--brand);
  transition:
    background 0.3s,
    color 0.3s;
}

.svc-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.svc-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--slate);
}

/* ── Why ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.benefit-list {
  margin-top: 2.5rem;
}

.b-row {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.b-row:first-child {
  border-top: 1px solid var(--border);
}

.b-idx {
  width: 32px;
  height: 32px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.b-name {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.b-text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--slate);
}

.cta-box {
  background: var(--brand);
  border-radius: 20px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cta-pt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-ck {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #fff;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--brand);
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-cta:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

/* ── Partners ── */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3.5rem;
}

.p-cell {
  flex: 1 1 calc(100% / 7);
  min-width: 140px;
  background: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.p-cell:last-child {
  border-right: none;
}

.p-cell:hover {
  background: var(--mist);
}

.p-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand);
}

.p-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
  line-height: 1.3;
  transition: color 0.2s;
}

.p-cell:hover .p-name {
  color: var(--brand);
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.ci-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.ci-icon {
  width: 46px;
  height: 46px;
  background: var(--brand-light);
  border: 1px solid rgba(0, 87, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
  flex-shrink: 0;
}

.ci-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ci-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 87, 255, 0.06);
}

.fg {
  margin-bottom: 1.25rem;
}

.fl {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.fi {
  width: 100%;
  background: var(--mist);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}

.fi:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.1);
  background: #fff;
}

.fi::placeholder {
  color: #9aa5b4;
  font-weight: 400;
}

textarea.fi {
  resize: vertical;
  min-height: 110px;
}

select.fi {
  cursor: pointer;
}

.btn-sub {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.btn-sub:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.3);
}

/* ── Footer ── */
footer {
  background: var(--ink);
  padding: 3rem 2rem;
}

.foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.foot-logo img {
  height: 32px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.foot-txt {
  font-size: 0.78rem;
  color: #6b7080;
}

.foot-tagline {
  font-size: 0.75rem;
  color: #4a5568;
  margin-top: 0.3rem;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.soc {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa5b4;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.soc:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ── btn-primary shared ── */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-p:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* MDI icon sizing inside containers */
.svc-icon .mdi,
.p-icon .mdi,
.ci-icon .mdi {
  font-size: inherit;
  line-height: 1;
}

/* ── Desktop Instituição dropdown ── */
.inst-wrap {
  position: relative;
}

.inst-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0;
  transition: color 0.2s;
  position: relative;
}

.inst-trigger::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.inst-wrap.open .inst-trigger,
.inst-trigger:hover {
  color: var(--brand);
}

.inst-wrap.open .inst-trigger::after {
  transform: scaleX(1);
}

.inst-chevron {
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.inst-wrap.open .inst-chevron {
  transform: rotate(180deg);
}

.inst-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 20px 48px rgba(0, 63, 187, 0.13),
    0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 300;
}

.inst-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: #fff;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 2px 0 0 0;
}

.inst-wrap.open .inst-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.inst-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inst-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s;
}

.inst-item:hover {
  background: var(--brand-light, #ebf1ff);
}

.inst-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand-light, #ebf1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand);
  flex-shrink: 0;
  transition:
    background 0.18s,
    color 0.18s;
}

.inst-item:hover .inst-item-icon {
  background: var(--brand);
  color: #fff;
}

.inst-item-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.inst-item-label {
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--ink, #0d1117);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.inst-item-desc {
  font-size: 0.72rem;
  color: var(--slate, #4a5568);
  line-height: 1.4;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════
   INSTITUCIONAL
═══════════════════════════════════════════════ */

#institucional {
  display: none;
}
#institucional.active {
  display: block;
}

/* ── Tab bar ── */
.inst-tabs-bar {
  position: sticky;
  top: 72px;
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0, 87, 255, 0.06);
}
.inst-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.inst-tabs-inner::-webkit-scrollbar {
  display: none;
}

.inst-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.1rem 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.inst-tab i {
  font-size: 1rem;
}
.inst-tab:hover {
  color: var(--brand);
}
.inst-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.inst-tab-close {
  margin-left: auto;
  color: #dc2626;
}
.inst-tab-close:hover {
  color: #b91c1c;
}

/* ── Panes ── */
.inst-pane {
  display: none;
}
.inst-pane.active {
  display: block;
}

/* ── Hero ── */
.inst-hero {
  background: linear-gradient(135deg, #0d1117 0%, #1a2540 60%, #0057ff 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.inst-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(0, 87, 255, 0.28) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.inst-hero .ctr {
  position: relative;
  z-index: 1;
}
.inst-breadcrumb {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(77, 240, 197, 0.85);
  margin-bottom: 0.85rem;
}
.inst-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.inst-hero h1 em {
  font-style: normal;
  color: #4df0c5;
}
.inst-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
  margin-top: 0.85rem;
}

.inst-bg-white {
  background: #fff;
}
.inst-bg-mist {
  background: var(--mist);
}

/* ── Reveal2 ── */
.reveal2 {
  opacity: 0;
  transform: translateY(22px);
}
.reveal2.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ SOBRE — MVV ═══ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.mvv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
}
.mvv-card:hover {
  box-shadow: 0 16px 40px rgba(0, 87, 255, 0.1);
  transform: translateY(-4px);
}

.mvv-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand);
  margin-bottom: 1rem;
}
.mvv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.mvv-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.75;
}
.mvv-card ul {
  padding-left: 1rem;
  margin-top: 0.5rem;
}
.mvv-card li {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}
.mvv-card li::marker {
  color: var(--brand);
}

/* ═══ SOBRE — Organograma ═══ */
.org-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
}
.org-level {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.org-level-cols {
  gap: 2rem;
}
.org-level-wrap {
  flex-wrap: wrap;
  gap: 1rem;
}

.org-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.org-v-line {
  width: 2px;
  height: 36px;
  background: var(--border);
}
.org-h-line {
  width: 55%;
  height: 2px;
  background: var(--border);
}
.org-h-wide {
  width: 75%;
}
.org-v-short {
  width: 2px;
  height: 22px;
  background: var(--border);
  margin: 0 auto;
}
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  text-align: center;
  min-width: 150px;
  max-width: 185px;
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.05);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.org-card:hover {
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.12);
  transform: translateY(-3px);
}
.org-ceo {
  border-color: var(--brand);
  border-width: 2px;
}
.org-card-sm {
  min-width: 130px;
  max-width: 150px;
  padding: 0.85rem 1rem;
}

.org-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.1rem;
  color: var(--brand);
}
.org-avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  background: var(--brand);
  color: #fff;
}
.org-avatar-sm {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}
.org-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.org-role {
  font-size: 0.7rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 2px;
}
.org-dept {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}

/* ═══ MENSAGEM ═══ */
.msg-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.msg-author {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  position: sticky;
  top: 140px;
  box-shadow: 0 8px 32px rgba(0, 87, 255, 0.07);
}
.msg-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.2rem;
  color: #fff;
}
.msg-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-role {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  margin-top: 3px;
}
.msg-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-top: 0.75rem;
}
.msg-contacts {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}
.msg-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--slate);
}
.msg-contact-row i {
  color: var(--brand);
  font-size: 1rem;
  flex-shrink: 0;
}

.msg-body blockquote {
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  border-left: 3px solid var(--brand);
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}
.msg-body p {
  font-size: 0.93rem;
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: 1.1rem;
}

.msg-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  background: var(--mist);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.msg-pillar {
  text-align: center;
}
.msg-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.25rem;
  color: var(--brand);
}
.msg-pillar-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-pillar-sub {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}

.msg-sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.msg-sig-intro {
  font-size: 0.82rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.msg-sig-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.msg-sig-role {
  font-size: 0.8rem;
  color: var(--brand);
}

/* ═══ DOCUMENTOS ═══ */
.doc-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.doc-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 1rem;
}
.doc-search i {
  color: var(--slate);
}
.doc-search input {
  border: none;
  background: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
  width: 200px;
}
.doc-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.doc-fbtn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.doc-fbtn.active,
.doc-fbtn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.1rem;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.doc-card:hover {
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.1);
  transform: translateY(-3px);
}
.doc-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.doc-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.doc-ico-pdf {
  background: #fef2f2;
  color: #dc2626;
}
.doc-ico-docx {
  background: #eff6ff;
  color: #2563eb;
}
.doc-ico-xls {
  background: #f0fdf4;
  color: #16a34a;
}
.doc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.doc-desc {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.6;
  margin-top: 0.25rem;
}
.doc-meta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}
.doc-meta span {
  font-size: 0.7rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.doc-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  background: var(--brand-light);
  color: var(--brand);
}
.doc-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: auto;
}
.doc-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.doc-btn-pri {
  background: var(--brand);
  color: #fff;
  border: none;
}
.doc-btn-pri:hover {
  background: var(--brand-dark);
}
.doc-btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand-light);
}
.doc-btn-ghost:hover {
  background: var(--brand-light);
}

/* ═══ IMPRENSA ═══ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.news-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.news-fbtn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}
.news-fbtn.active,
.news-fbtn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.news-featured {
  background: linear-gradient(135deg, #0d1117, #1a2540);
  border-radius: 14px;
  padding: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.news-featured::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(0, 87, 255, 0.25);
  pointer-events: none;
}
.news-feat-cat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4df0c5;
  margin-bottom: 0.75rem;
}
.news-feat-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.news-feat-excerpt {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.news-feat-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.news-feat-meta span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.news-feat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.news-feat-btn:hover {
  background: var(--brand-dark);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  gap: 1rem;
  cursor: pointer;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.08);
  transform: translateY(-2px);
}
.news-card-img {
  width: 84px;
  height: 68px;
  border-radius: 8px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.7rem;
  color: var(--brand);
}
.news-card-body {
  flex: 1;
}
.news-card-cat {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.news-card-title {
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.news-card-meta {
  font-size: 0.7rem;
  color: var(--slate);
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Sidebar */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 140px;
}
.sb-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.35rem;
}
.sb-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sb-rec {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.sb-rec-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.22;
  flex-shrink: 0;
  line-height: 1;
}
.sb-rec-title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.sb-rec-date {
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 2px;
}

.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sb-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  background: var(--mist);
  color: var(--slate);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.sb-tag:hover {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand-light);
}

.sb-newsletter {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
}
.sb-newsletter h4 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.sb-newsletter p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.sb-newsletter input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  outline: none;
}
.sb-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.sb-newsletter button {
  width: 100%;
  background: #fff;
  color: var(--brand);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s;
}
.sb-newsletter button:hover {
  background: var(--brand-light);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .msg-grid {
    grid-template-columns: 1fr;
  }
  .msg-author {
    position: static;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    text-align: left;
    align-items: center;
  }
  .msg-avatar {
    margin: 0;
  }
  .msg-contacts {
    grid-column: 1/-1;
  }
  .msg-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-sidebar {
    position: static;
  }
  .org-h-line {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .inst-tab {
    padding: 0.9rem 1rem;
    font-size: 0.73rem;
  }
  .org-level-cols {
    gap: 1rem;
  }
  .org-card {
    min-width: 125px;
  }
  .org-h-line {
    width: 90%;
  }
  .msg-author {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .msg-avatar {
    margin: 0 auto;
  }
  .msg-contacts {
    text-align: left;
  }
}
