:root {
  --navy: #052b5c;
  --navy-deep: #031c3a;
  --navy-mid: #072f62;
  --navy-soft: #07346c;
  --ink: #172334;
  --muted: #687383;
  --line: #e1e6ec;
  --paper: #ffffff;
  --paper-soft: #f6f8fb;
  --yellow: #ffc400;
  --yellow-btn: #f7bd00;
  --gold: #b88400;
  --max: 1180px;
  --radius: 10px;
  --font: Arial, Helvetica, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: var(--navy-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
  text-align: center;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  text-decoration: none;
  color: var(--navy-mid);
  min-width: 0;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand-meta {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--navy);
  padding: 0.25rem 0.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #18212c;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-soft);
}

.site-nav .matricula {
  background: var(--yellow-btn);
  color: #10284a !important;
  padding: 0.75rem 1rem;
  border-radius: 5px;
}

.hero {
  position: relative;
  min-height: 555px;
  overflow: hidden;
  background: #0b2c50;
  display: flex;
  align-items: center;
}

.hero > picture,
.hero > img.hero-bg {
  position: absolute;
  inset: 0;
}

.hero > picture img,
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 24, 48, 0.92) 0%,
    rgba(4, 28, 54, 0.72) 43%,
    rgba(4, 28, 54, 0.18) 78%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 42rem;
  color: #fff;
}

.eyebrow,
.section-label,
.title-kicker,
.cta-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: #fff;
}

.section-label,
.title-kicker,
.cta-kicker {
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.375rem);
  line-height: 1.05;
  margin: 0.8rem 0 1rem;
  font-weight: 800;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.15rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.btn-yellow {
  background: var(--yellow);
  color: #10284a;
}

.btn-yellow:hover {
  background: #ffd34d;
  color: #10284a;
}

.btn-glass {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn-blue {
  background: var(--navy-soft);
  color: #fff;
}

.btn-blue:hover {
  background: var(--navy);
  color: #fff;
}

.highlights {
  margin-top: -35px;
  position: relative;
  z-index: 5;
  padding-bottom: 1rem;
}

.highlight-grid {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.5rem;
}

.highlight-grid > div {
  padding: 0.2rem 1.35rem;
  border-right: 1px solid var(--line);
}

.highlight-grid > div:last-child {
  border-right: 0;
}

.highlight-grid b,
.highlight-grid span {
  display: block;
}

.highlight-grid b {
  color: var(--navy-soft);
  font-size: 0.9rem;
}

.highlight-grid span {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.section {
  padding: 4.75rem 0;
}

.section-light {
  background: var(--paper-soft);
}

.section-title {
  margin-bottom: 1.75rem;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  color: var(--navy-mid);
  margin: 0.3rem 0 0;
}

.section-title.center {
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-mid);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.feature img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #fff;
}

.feature-body {
  padding: 1.15rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  font-size: 0.85rem;
  color: #dce6f1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.photo-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-copy p {
  color: #586474;
  margin: 0 0 1rem;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e3e8ee;
}

.info-card h3 {
  color: var(--navy-soft);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.info-card p {
  font-size: 0.8rem;
  color: var(--ink);
  margin: 0 0 0.9rem;
}

.info-card b {
  display: block;
  margin-bottom: 0.15rem;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.level-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.level-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.level-card div {
  padding: 1rem 1.1rem 1.2rem;
}

.level-card h3 {
  margin: 0 0 0.35rem;
  color: var(--navy-mid);
  font-size: 1rem;
}

.level-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.95rem;
}

.quick-grid a {
  padding: 1.5rem;
  border: 1px solid #e0e6ed;
  border-radius: 9px;
  text-decoration: none;
  color: var(--navy-soft);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.quick-grid a:hover {
  border-color: #c5d0dc;
}

.quick-grid b,
.quick-grid span {
  display: block;
}

.quick-grid span {
  font-size: 0.75rem;
  color: #697686;
  margin-top: 0.35rem;
  font-weight: 400;
}

.cta {
  background: var(--navy);
  color: #fff;
  padding: 3.4rem 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.75rem;
}

.cta .cta-kicker {
  color: var(--yellow);
}

.cta h2 {
  color: #fff;
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta p {
  margin: 0;
  color: #d5e1ee;
}

.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-inner b {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-inner p,
.footer-inner a {
  font-size: 0.75rem;
  color: #bdc9d6;
  margin: 0.3rem 0;
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fff;
}

.page-hero {
  background: var(--navy-mid);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}

.page-hero h1 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: #d5e1ee;
}

.breadcrumb {
  font-size: 0.8rem;
  color: #9eb0c4;
  margin: 0 0 0.5rem;
}

.breadcrumb a {
  color: #c5d3e2;
  text-decoration: none;
}

.note {
  background: #fff8e1;
  border: 1px solid #f0d98a;
  color: #6b5200;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  margin: 1.25rem 0;
}

.note p {
  margin: 0;
  color: inherit;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--paper-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

tr:last-child td {
  border-bottom: none;
}

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

.doc-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.doc-list a:hover {
  border-color: #c5d0dc;
}

.doc-list span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1rem;
}

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
  background: var(--paper-soft);
}

.person-body {
  padding: 0.9rem 1rem 1.1rem;
}

.person-body h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--navy-mid);
}

.person-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.person-email {
  font-size: 0.8rem;
  word-break: break-all;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.4rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #fff3c4;
  color: #10284a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.dl-grid {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}

.dl-grid dt {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 800;
}

.dl-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.map-embed {
  border: 0;
  width: 100%;
  height: 22rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.prose {
  max-width: 44rem;
}

.prose p {
  color: #586474;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.1rem 1.25rem 1.35rem;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

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

  .hero {
    min-height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(3, 24, 48, 0.55) 0%,
      rgba(4, 28, 54, 0.88) 55%,
      rgba(4, 28, 54, 0.95) 100%
    );
  }

  .highlights {
    margin-top: 0;
  }

  .highlight-grid,
  .feature-grid,
  .quick-grid,
  .about-grid,
  .level-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    border-radius: 0;
  }

  .highlight-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem;
  }

  .highlight-grid > div:last-child {
    border-bottom: 0;
  }

  .feature img {
    height: 250px;
  }

  .cta-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dl-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .dl-grid dt {
    margin-top: 0.7rem;
  }
}
