/* ============================================================
   Universidade 2S — Página de rosto
   Cores da marca:
     #1a2b6b  primária (navy)
     #1CA4DE  secundária (azul claro)
     #6A4A9E  secundária (roxo)
   ============================================================ */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Helvetica, Arial, sans-serif;
  color: #ffffff;
  background-color: #0c1330;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 26px 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.6;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #1CA4DE;
  border-bottom-color: #1CA4DE;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 140px 48px 96px;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-welcome {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #1CA4DE;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.hero-sub {
  margin: 4px 0 0;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  color: #d7dded;
}

/* ---------- Footer ---------- */
.site-footer {
  flex: 0 0 auto;
  padding: 20px 24px;
  text-align: center;
  background-color: #0c1330;
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #aab2cc;
}

/* ---------- Responsivo ---------- */
@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .main-nav ul {
    gap: 16px 22px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero {
    padding: 168px 24px 80px;
    background-position: center right;
  }

  .hero-welcome {
    font-size: 15px;
    letter-spacing: 0.26em;
  }
}

@media (max-width: 420px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 220px;
  }
}
