 * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: Arial, Helvetica, sans-serif, cursive;
      background-color: #fff;
      color: #00a859;
      line-height: 1.6;
    }
    header {
      background-color: #00a859;
      color: #fff;
      padding: 0px 0;
      display: flex;
      justify-content: center;
      text-align: center;
    }
    .logo-nome {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 10px;
    }
    header img {
      width: 300px;
      height: 300px;
      margin-bottom: -50px;
    }
    .texto-header h1,
    .texto-header p {
      font-family: Arial, Helvetica, sans-serif, cursive;
      font-size: 24px;
      margin: 1px;
      white-space: nowrap;
      overflow: hidden;
      border-right: 2px;
    }
    .texto-header h1 {
      width: 0;
      animation: typing 2s steps(20, end) forwards;
    }
    .texto-header p {
      width: 0;
      font-size: 16px;
      animation: typing 2s steps(30, end) forwards;
      animation-delay: 2.2s;
    }
    .typing {
      display: inline-block;
    }
    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }

    h1 {
      color: #fff;
      margin-bottom: 20px;
      text-align: center;
    }
    nav {
      background: #00a859;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      padding: 10px;
    }
    nav a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      padding: 8px 12px;
      border-radius: 5px;
      transition: background-color 0.3s;
      white-space: nowrap;
    }
    nav a:hover {
      background-color: #50d698;
    }
    .products {
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
    }
    .product {
      background: #fff;
      border: 2px solid #00a859;
      border-radius: 10px;
      padding: 15px;
      text-align: center;
    }
    .product img {
      max-width: 300px;
      height: auto;
      border-radius: 10px;
      margin-bottom: 10px;
    }
    .product h3 {
      color: #00a859;
      margin-top: 10px;
    }
    .botoes-produto {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 10px;
    }
    .comprar {
      background-color: #25d366;
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .comprar:hover {
      background-color: #1da851;
    }
    .saber-mais {
      background-color: #eda000;
      color: white;
      padding: 10px 20px;
      border-color: 0;
      border-radius: 8px ;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .saber-mais:hover {
      background-color: #e4c279;
    }
    .voltar {
      display: block;
      text-align: center;
      margin: 30px auto 0;
      width: fit-content;
      padding: 12px 24px;
      background-color: #00a859;
      color: white;
      border-radius: 5px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s;
    }
    .voltar:hover {
      background-color: #007b59;
    }
    @media (min-width: 768px) {
      .products {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }
      .product {
        flex: 1 1 calc(22% - 20px);
        max-width: calc(22% - 20px);
        margin: 10px;
      }
    }
    footer {
      background-color: #00a859;
      color: white;
      text-align: center;
      padding: 15px;
    }
    .modal {
  display: none; /* começa oculto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}


.modal-content {
  background-color: white;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  color: #333;
}
.modal-content {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.fechar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  font-weight: bold;
  color: #00a859;
}




 .btn-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.btn-topo:hover {
  transform: scale(1.1);
}

/* Layout padrão (mobile first) */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* Layout para desktop */
@media (min-width: 1024px) {
  .logo-nome {
    flex-direction: row; /* logo na lateral */
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 40px; /* mais espaço entre logo e texto */
    
  }

  .logo-nome img {
    max-width: 200px; /* ajuste do tamanho da logo */
    height: auto;
    
  }

  .texto-header {
    max-width: 60px; /* limita a largura do texto */
  }
}


/* Cabeçalho geral */
header {
  background: #009f46; /* cor de fundo que já está no seu print */
  padding: 20px;
}

/* Container logo + texto */
.logo-nome {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

nav {
      background-color: #333;
      padding: 10px 20px;
      position: relative;
    }

    .menu-toggle {
      background: none;
      border: none;
      color: white;
      font-size: 28px;
      cursor: pointer;
      display: block;
    }

    nav a {
      display: block;
      color: white;
      text-decoration: none;
      font-weight: bold;
      padding: 12px 20px;
      border-top: 1px solid #444;
      transition: background 0.3s;
    }

    nav a:hover {
      background-color: #555;
    }

    .menu {
      display: none;
      flex-direction: column;
      background-color: #444;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      z-index: 1;
    }

    .menu.open {
      display: flex;
    }

    /* Layout para telas maiores */
    @media (min-width: 768px) {
      .menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        width: auto;
      }

      nav a {
        padding: 10px 15px;
        border: none;
      }

      .menu-toggle {
        display: none;
      }
    }


/* Layout Desktop */
@media (min-width: 1024px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo/texto de um lado e menu do outro */
    padding: 20px 50px;
  }

  .logo-nome {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 500px;
  }

  nav {
    margin-top: 0; /* remove espaçamento em desktop */
  }

  .texto-header {
    max-width: 500px;
  }
}
