* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: 'Open Sans', sans-serif;
}


.hide {
  display: none !important;
}


.nav-products {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 70px;
}

.nav-products .nav-items {
  display: flex;
  flex: 1;
  align-items: center;
  list-style: none;
  padding: 0;
  height: 100%;
}

.nav-products .nav-items li {
  padding-right: 70px;
}

.nav-products .nav-items li a {
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

.nav-products .nav-items li a:hover {
  color: #2e7d32;
}

.nav-products form {
  display: flex;
  height: 40px;
  border-radius: 10px;
  padding: 0;
  background: #2c2c2c;
  min-width: 48%;
  /* border: 1px solid #585858; */
}

.nav-products form .search-data {
  height: 100%;
  width: 100%;
  padding: 0 3%;
  font-size: 15px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 10px;
  background: none;
  border: none;
}

.nav-products form button {
  padding: 0 15px;
  background: #fbc02d;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: #000000;
  border-radius: 10px;
}

.nav-products .menu-icon,
.nav-products .search-icon,
.nav-products .cancel-icon {
  width: 40px;
  color: #fff;
  text-align: center;
  margin: 0 70px;
  font-size: 17px;
  cursor: pointer;
  display: none;
}

.nav-products .menu-icon,
.nav-products .search-icon,
.nav-products .cancel-icon {
  width: 40px;
  color: #fff;
  text-align: center;
  margin: 0 50px;
  font-size: 17px;
  cursor: pointer;
  display: none;
}

.nav-products .menu-icon span,
.nav-products .search-icon,
.nav-products .cancel-icon {
  display: none;
}




/* CONTAINER */
.container {
  margin-top: 70px;
  padding: 40px 60px;
}

.title {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 20px;
}

/* SEARCH */
#search {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* CARD */
.card {
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 15px;
}

.card h2 {
  color: #0f3d2e;
}

.scientific {
  font-size: 15px;
  color: gray;
}

.card p {
  margin: 10px 0;
  font-size: 14px;
  min-height: 65px;
}

.whats-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  background: #25D366;
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
}

/* LOAD MORE */
.load-more {
  text-align: center;
  margin-top: 20px;
}

.load-more button {
  padding: 10px 20px;
  background: #0f3d2e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* FOOTER */
.footer {
  margin-top: 50px;
  background: #0f3d2e;
  color: white;
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.copy {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
}

/* RESPONSIVO */
@media(max-width:768px) {
  .nav-products {
    padding: 0;
  }

  .nav-products .nav-items {
    position: fixed;
    z-index: 999;
    top: 70px;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #14141f;

    display: flex;
    flex-direction: column;
    /* 👈 ESSENCIAL */
    justify-content: flex-start;
    /* centraliza vertical */
    align-items: center;
    /* centraliza horizontal */

    padding-top: 20px;
    transition: left 0.3s ease;
  }

  .nav-products form .search-data {
    height: 100%;
    width: 100%;
    padding: 0 3%;
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
    border-radius: 10px;
    background: none;
    border: none;
  }

  .nav-products .nav-items.active {
    left: 0%;
  }

  .nav-products .nav-items li {
    margin: 20px 0;
    padding: 0;
  }

  .nav-products .nav-items li a {
    font-size: 22px;
    text-align: center;
  }

  .nav-products form {
    position: absolute;
    top: 80px;
    right: 20px;
    left: 20px;
    opacity: 0;
    pointer-events: none;
    transition: top 0.3s ease, opacity 0.1s ease;
  }

  .nav-products form.active {
    opacity: 1;
    top: 95px;
    pointer-events: auto;
  }

  .nav-products form:before {
    position: absolute;
    content: "";
    top: -13px;
    right: 0;
    height: 0;
    width: 0;
    z-index: -1;
    margin: -20px 10px 0;
    border: 10px solid transparent;
    border-bottom-color: #1e232b;
  }

  .nav-products form:after {
    position: absolute;
    content: "";
    height: 60px;
    width: calc(100% + 15px);
    padding: 2px;
    border-radius: 10px;
    background: #1e232b;
    z-index: -2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

  }

  .nav-products .menu-icon {
    display: block;
    margin-left: 20px;
    font-size: 20px;
  }

  .nav-products .search-icon,
  .nav-products .menu-icon span {
    display: block;
    margin-right: 20px;
    font-size: 20px;
  }

  .nav-products .search-icon.hide,
  .nav-products .menu-icon span.hide {
    display: none;
  }

  .nav-products .cancel-icon.show {
    display: block;
    margin-left: 20px;
    font-size: 20px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .container {
  margin-top: 70px;
  padding: 40px 20px;
}

.title {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 20px;
}

/* SEARCH */
/* #search {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
} */

/* CARD */
.card {
  height: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 5px;
}

.card h2 {
  color: #0f3d2e;
  font-size: 20px;
}

.scientific {
  font-size: 12px;
  color: gray;
}

.card p {
  margin: 10px 0;
  font-size: 12px;
  min-height: 65px;
}

.whats-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  background: #25D366;
  color: white;
  padding: 5px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
}

/* LOAD MORE */
.load-more {
  text-align: center;
  margin-top: 20px;
}

.load-more button {
  padding: 10px 20px;
  background: #0f3d2e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.copy {
  grid-column: 1/-1;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
}

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}




