/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Impede a navbar de tremer ao trocar de página */
html {
  overflow-y: scroll;
}

/* ===== LINKS ===== */
a {
  font-family: sans-serif;
  text-decoration: none;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  background: #2b047c;
  padding-inline: 16px;
}

.nav {
  max-width: 1280px;
  height: 70px;
  margin-inline: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== LOGO ===== */
.logo img {
  width: 70px;
  height: 70px;        /* ajuste solicitado */
  transform: translate(-50px, 0px);
  display: block;
}

/* ===== NAV LIST DESKTOP ===== */
.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-list a {
  font-size: 18px;
  color: #fff;
  padding-block: 16px;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 70px);
  background-color: #ffffff;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  border: none;
  background: none;
  border-top: 3px solid #fff;
  cursor: pointer;
}

.hamburger::after,
.hamburger::before {
  content: " ";
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  margin-top: 5px;
  position: relative;
  transition: 0.3s;
}

/* ===== MOBILE ===== */
@media (max-width: 750px) {
  .hamburger {
    display: block;
    z-index: 2;
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #a5c;
    clip-path: circle(100px at 90% -15%);
    transition: 1s ease-out;

    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0;

    pointer-events: none;
  }

  .nav-list a {
    font-size: 24px;
    opacity: 0;
  }

  .nav-list li:nth-child(1) a { transition: 0.5s 0.2s; }
  .nav-list li:nth-child(2) a { transition: 0.5s 0.4s; }
  .nav-list li:nth-child(3) a { transition: 0.5s 0.6s; }
  .nav-list li:nth-child(4) a { transition: 0.5s 0.8s; }

  /* ===== ESTADOS ATIVOS ===== */
  .nav.active .nav-list {
    clip-path: circle(1500px at 90% -15%);
    pointer-events: all;
  }

  .nav.active .nav-list a {
    opacity: 1;
  }

  .nav.active .hamburger {
    position: fixed;
    top: 26px;
    right: 16px;
    border-top-color: transparent;
  }

  .nav.active .hamburger::before {
    transform: rotate(135deg);
  }

  .nav.active .hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }
}
