* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body{
  background: #f5f7fb;
  padding-top: 75px;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: #1c2c75;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-weight: bold;
  font-size: 22px;
}

nav a{
  color:white;
  text-decoration:none;
  margin:0 15px;
  font-weight:500;
  transition:0.3s;
}

nav a.active{
color:#fff;
background:rgba(255,255,255,0.2);
padding:6px 12px;
border-radius:20px;
}

.btn-topo {
  background: white;
  color: #2a5bd7;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-topo:hover{
  transform: scale(1.08);
  box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

/* HAMBURGUER */
.menu-toggle{
  display:none;
  font-size:28px;
  cursor:pointer;
}

/* BOTAO MOBILE ESCONDIDO */
.btn-mobile{
  display:none;
}

/* MOBILE */
@media (max-width:768px){

header{
  padding:20px;
}

/* ESCONDE NAV */
nav{
  position:absolute;
  top:75px;
  left:0;
  width:100%;
  background:#1c2c75;
  display:none;
  flex-direction:column;
  align-items:center;
  padding:20px 0;
}

/* MOSTRA MENU */
nav.active{
  display:flex;
}

/* LINKS */
nav a{
  margin:12px 0;
  font-size:18px;
}

/* BOTÃO DENTRO DO MENU */
.btn-mobile{
  display:block;
  margin-top:15px;
}

/* ESCONDE BOTAO DESKTOP */
.btn-desktop{
  display:none;
}

/* MOSTRA HAMBURGUER */
.menu-toggle{
  display:block;
}

}