:root {
    --red: #ff0011;
    --black: #000000;
    --white: #fff;
    --bg: #ffffff;
}



body {
    /*fonte, fundo*/
    font-family: "Inter", system-ui, Arial, sans-serif;
    background: var(--bg);
    color: var(--black);
}

a {
    text-decoration: none
}

/* centralizacao*/
.container {
    width: min(1200px, 100%);
    margin-inline: auto
}


/* topbar */
.topbar {
    background: var(--red);
    color: var(--white);
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;

    font-size: clamp(.60rem, .90rem, 2.90rem) !important;
}

.brand {
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--white)
}

nav {
    display: flex;
    gap: 14px;
}

.nav-link {
    font-weight: 600;
    font-size: .90rem;
    padding: 10px 12px;
    border-radius: 10px;
    opacity: .9;
    color: var(--white)
}

.actions {
    display: flex;
    gap: 10px
}

.btn {
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer
}

.btn-outline {
    border-color: #ccc;
    background: #fff;
    color: var(--black)
}

.btn-primary {
    background: var(--red);
    color: var(--white)
}

.btn-primary:hover {
    background: #ff0011
}

/* hero */
.hero {
    padding: 40px 0;
    background: linear-gradient(180deg, rgba(255, 0, 17, 0.08), rgba(227, 6, 19, 0) 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px
}

.kicker {
    color: var(--red);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .8rem
}

h1 {
    margin: 10px 0 12px;
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 800;
}

.sub {
    color: #000000;
    font-size: 1.05rem;
    max-width: 60ch
}
/*
.hideBtn {
    
}

*/

/* mobile*/

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Botão hamburguer escondido no desktop */
.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 32px;
  height: 2px;
  background: white;
  margin: 8px;
  transition: 0.3s;
}

/* Responsivo (mobile) */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;         /* fixo, não desgruda do topo */
    top: 0;
    right: 0;
    width: 250px;            /* largura do menu */
    height: 100vh;           /* ocupa a altura toda da tela */
    background: #e60000;     /* fundo do menu */
    flex-direction: column;
    justify-content: center; /* centraliza verticalmente */
    align-items: center;     /* centraliza horizontalmente */
    gap: 30px;               /* espaço entre links */
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
    z-index: 999;            /* fica acima do conteúdo */
  }

  .nav-list li a {
    font-size: 1.4rem;       /* aumenta o tamanho da fonte */
    font-weight: bold;
    color: white;
  }

  .nav-list.active {
    transform: translateX(0);
  }

  .mobile-menu {
    display: block;
    z-index: 1000; /* garante que o botão fica acima */
  }

  /* Animação do botão hamburguer */
  .mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
  }

  .mobile-menu.active .line2 {
    opacity: 0;
  }

  .mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
  }
}
