:root {
  --blue-950: #071a36;
  --blue-900: #0a2f66;
  --blue-800: #123f7f;
  --blue-700: #1d5b9f;
  --yellow-500: #f3bd2d;
  --yellow-400: #ffd15d;
  --cream-50: #faf7f2;
  --cream-100: #f4eee5;
  --gray-900: #162033;
  --gray-700: #45536a;
  --gray-500: #6d7890;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(7, 26, 54, 0.16);
  --radius: 18px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--blue-900);
  color: var(--white);
  border-radius: 10px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 26, 54, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 26, 54, 0.98);
  box-shadow: 0 10px 35px rgba(7, 26, 54, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 174px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--yellow-500);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--yellow-500);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0;
  background: var(--blue-950);
  border-radius: 999px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 88px);
  padding: 70px 0 64px;
  color: var(--white);
  background: var(--blue-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 26, 54, 0.95) 0%, rgba(12, 48, 99, 0.82) 45%, rgba(12, 48, 99, 0.30) 100%),
    url("assets/hero-students-bg.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -12vw;
  z-index: -1;
  width: 46vw;
  max-width: 620px;
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(243, 189, 45, 0.38), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow-400);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.8vw, 3.95rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-950);
  font-size: 1.18rem;
  line-height: 1.3;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(7, 26, 54, 0.18);
}

.button-primary {
  background: var(--yellow-500);
  color: var(--blue-950);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--blue-900);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero-media {
  display: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section-pad {
  padding: 104px 0;
}

.two-column,
.where-grid,
.trust-grid,
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}

.about {
  background: var(--cream-50);
}

.about-media {
  position: relative;
}

.about-main {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.experience-badge {
  position: absolute;
  right: 28px;
  bottom: -28px;
  display: grid;
  width: 188px;
  min-height: 156px;
  place-items: center;
  padding: 24px;
  color: var(--white);
  text-align: center;
  background: var(--blue-900);
  border: 8px solid var(--cream-50);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.experience-badge strong {
  display: block;
  font-size: 3.25rem;
  line-height: 1;
}

.experience-badge span {
  font-weight: 700;
}

.section-copy p {
  color: var(--gray-700);
  font-size: 1.03rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue-950);
  font-weight: 700;
}

.check-icon {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--white);
  background: #20a96b;
  border: 1px solid rgba(32, 169, 107, 0.35);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(32, 169, 107, 0.24);
}

.check-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.numbers {
  padding: 70px 0;
  background:
    linear-gradient(rgba(9, 42, 91, 0.86), rgba(9, 42, 91, 0.86)),
    url("assets/21-Sem-Titulo-4-5.webp") center / cover no-repeat;
}

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

.stat-card {
  min-height: 168px;
  padding: 30px 24px;
  color: var(--blue-950);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(4, 16, 36, 0.18);
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.stat-number,
.stat-plus {
  color: var(--blue-900);
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  font-weight: 600;
  line-height: 1;
}

.stat-plus {
  color: var(--yellow-500);
}

.stat-number-wide {
  font-size: inherit;
}

.stat-card p {
  margin: 14px 0 0;
  color: var(--gray-700);
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

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

.feature-card,
.service-card,
.trust-card,
.contact-card,
.map-card {
  background: var(--white);
  border: 1px solid rgba(18, 63, 127, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(7, 26, 54, 0.09);
  overflow: hidden;
}

.feature-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
}

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

.feature-card div {
  padding: 24px;
}

.feature-card p,
.service-card p,
.trust-card li {
  color: var(--gray-700);
}

.where {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 35, 101, 0.78), rgba(8, 35, 101, 0.82)),
    url("assets/03-Sem-Titulo-4-3-r8fijhge8s5911hgvn8qsqr65njhdih7skzfa3pyaw.webp") center / cover no-repeat;
}

.where::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 35, 101, 0.9), rgba(8, 35, 101, 0.58)),
    rgba(8, 35, 101, 0.32);
}

.where h2 {
  color: var(--white);
}

.where .section-copy p {
  color: rgba(255, 255, 255, 0.88);
}

.map-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.map-card img {
  margin: 0 auto;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.24));
}

.region-note {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 20px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.92);
  border-left: 5px solid var(--yellow-500);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(7, 26, 54, 0.07);
}

.services {
  background: var(--white);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 46px 36px 30px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-bottom-left-radius: 999px;
}

.service-rule {
  display: block;
  width: 88px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--blue-800);
}

.service-card h3 {
  margin: 54px 0 20px;
  font-size: 1.1rem;
}

.service-card p {
  margin-bottom: 30px;
  color: var(--gray-900);
  font-size: 1.02rem;
  line-height: 1.55;
}

.service-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 32, 51, 0.28);
}

.service-logos img {
  width: 92px;
  height: 46px;
  object-fit: contain;
}

.service-logos img:nth-child(2) {
  width: 58px;
}

.trust {
  background:
    linear-gradient(rgba(249, 247, 242, 0.94), rgba(249, 247, 242, 0.94)),
    url("assets/22-World-map-03-ai-copy-min.png") center / contain no-repeat;
}

.trust-card {
  padding: 34px;
}

.trust-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: 1.3rem;
}

.trust-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.cta {
  padding: 88px 0;
  color: var(--white);
  background-color: var(--blue-900);
  background-image:
    linear-gradient(135deg, rgba(12, 48, 99, 0.95), rgba(29, 91, 159, 0.9)),
    url("assets/22-World-map-03-ai-copy-min.png");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, min(920px, 92%) auto;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-card {
  color: var(--gray-900);
}

.contact-card img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 28px;
}

.contact-card dt {
  color: var(--blue-900);
  font-weight: 800;
}

.contact-card dd {
  margin: 3px 0 0;
  color: var(--gray-700);
  overflow-wrap: anywhere;
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #274675;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 36px;
  padding: 58px 0;
}

.footer-logo {
  width: 170px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer p {
  font-size: 0.93rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
  color: var(--yellow-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 88px 20px auto 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    color: var(--white);
    background: rgba(7, 26, 54, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .hero-grid,
  .two-column,
  .where-grid,
  .trust-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-media img {
    margin: 0 auto;
  }

  .stats-grid,
  .feature-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 132px;
  }

  .site-nav {
    inset: 78px 14px auto 14px;
  }

  .hero {
    padding: 54px 0 56px;
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 4rem);
  }

  .section-pad {
    padding: 72px 0;
  }

  .about-main {
    min-height: 360px;
  }

  .experience-badge {
    right: 14px;
    bottom: -22px;
    width: 148px;
    min-height: 128px;
    padding: 16px;
    border-width: 6px;
  }

  .experience-badge strong {
    font-size: 2.5rem;
  }

  .stats-grid,
  .feature-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-bottom-inner,
  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
