* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  background-color: #fff;
  color: #1e2a2e;
  overflow-x: hidden;
}

button {
  border: none;
  cursor: pointer;
}

/* animações inicia (scroll) */
.gsap-reveal {
  opacity: 0;
  y: 30;
}

p {
  font-size: 1rem;
}

.section-title {
  font-size: 2.2rem;
  color: #424242;
  margin-bottom: 0.5rem;
  font-weight: 100;
}

.section-title span {
  font-weight: normal;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

.container {
  max-width: 1440px;
}

/* cabeçalho / menu */
#header {
  position: fixed;
  z-index: 99;
  top: 0;
  width: 100%;
}

.top-bar {
  background-color: #3c3a3a;
  padding: 0rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 30%;
  justify-content: center;
}

.logo-area img {
  max-width: 306px;
  width: 100%;
  padding: 10px 0;
  filter: brightness(100);
}

.logo-icon {
  background: #3f5e3c;
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 30px;
  letter-spacing: -1px;
}

.logo-text {
  font-weight: 600;
  color: #2c4a2a;
  border-left: 2px solid #b7cfaa;
  padding-left: 12px;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  color: #6c7a5d;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  /* padding: 0 2.2rem; */
}

#nav {
  width: 20%;
  display: flex;
  gap: 20px;
  min-width: 275px;
  height: 100px;
  align-items: center;
}

#nav .menu-item.onde-estamos {
  display: none;
}

.menu-item {
  padding: 0.8rem 0;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  height: 100px;
  display: flex;
  align-items: center;
}

.menu-item a {
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.menu-item a:hover {
  opacity: 0.8;
}

.menu-item i {
  margin-left: 5px;
  font-size: 0.8rem;
  margin-top: 3px;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 1px 1px 13px 0px #2f2a25;
  border-radius: 0;
  width: 100%;
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  display: none;
  transition: 0.2s;
  z-index: 100;
  border: 1px solid #d9e3d1;
}

.submenu a.active {
  font-weight: bold;
}

.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  display: block;
}

.submenu a {
  display: block;
  padding: 0.7rem 1.5rem;
  text-decoration: none;
  color: #2f4d2e;
  font-size: 0.9rem;

  width: 16%;
  min-width: 252px;
}

.submenu span.categoria {
  margin-bottom: 10px;
  color: #2f4d2e;
  margin-left: 22px;
  display: block;
}

.submenuitem {
  position: absolute;
  left: 221px;
  width: 82%;
  top: 13px;
  display: flex;
  opacity: 0;
  visibility: hidden;
  display: none;
  flex-wrap: wrap;
}

.submenuitem.active {
  opacity: 1;
  visibility: visible;
  display: flex;
}

.product-menu {
  flex: 0 0 calc(20% - 20px);
  min-width: 100px;
  background: #f4f4f4;
  border-radius: 15px;
  padding: 1.8rem 1rem;
  scroll-snap-align: start;
  border: 1px solid #f4f4f4;
  transition: transform 0.2s;
  height: 25vh;
  display: flex;
  align-items: center;

  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-menu img {
  max-width: 110px;
  margin: 0 auto;
  display: flex;
  width: 50vw;
  height: 15vh;
  object-fit: contain;
  position: relative;
  z-index: 9;
}

.product-menu .product-content {
  display: none;
}

.product-menu h3 {
  color: #254f1f;
  font-size: 1.8rem;
  margin: 0.5rem 0 0.2rem;
}

.product-menu .price {
  font-weight: 700;
  color: #cd5959;
  background: #fff;
  border-radius: 40px;
  display: inline-block;
  position: absolute;
  top: 5%;
}

.product-menu .price .value {
  padding: 0.3rem 0.6rem;
  display: block;
}

.product-menu .btn-product {
  background: #000;
  border: 2px solid #000;
  color: #fff;
  box-shadow: none;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  padding: 4px;
  width: 88%;
  text-align: center;
  min-width: inherit;
}

.product-menu .btn-product:hover {
  background: #3c3a3a;
  border: 2px solid #3c3a3a;
}

/* Estilo da imagem */
.product-menu img {
  transition: transform 0.4s ease;
  transform-origin: center;
}

/* Efeito hover na imagem - reduzir tamanho */
.product-menu:hover img {
  transform: scale(0.5) translateY(-55%);
}

/* Estilo base do product-content (invisível) */
.product-menu .product-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -100px; /* Começa fora da div */
  left: 0;
  width: 100%;
  background: rgba(58, 54, 54, 0.95);
  padding: 1.5rem 0rem;
  border-radius: 15px;
  transition: bottom 0.4s;
  opacity: 0;
  visibility: hidden;
}

/* Efeito hover no product-content - subir até o centro */
.product-menu:hover .product-content {
  bottom: 0;
  height: 13vh;
  transform: translateY(-6%);
  opacity: 1;
  visibility: visible;
}

/* Ajuste para manter o texto legível */
.product-menu .product-content h3 {
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0rem 0 0rem;
  padding-bottom: 0px;
  text-align: center;
  border-bottom: 1px solid #fff;
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 1.5s ease,
    transform 1s ease;
}

.product-menu:hover h3 {
  opacity: 1;
  transform: translateY(0px);
}

.product-menu .product-content .menu-footer {
  text-align: center;
  font-size: 0.75rem;
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 2s ease,
    transform 1.5s ease;
}

.product-menu:hover .menu-footer {
  opacity: 1;
  transform: translateY(0px);
}

.product-menu .product-content .price {
  font-weight: 700;
  color: #7c5e1a;
  background: #fdf5d6;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  display: inline-block;
  margin: 0.5rem 0;
}

.menu-footer {
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 915px) {
  .submenu span.categoria {
    color: #fff;
    margin-top: 15px;
  }
  .submenuitem {
    position: relative;
    left: 0;
    width: 100%;
    top: 0;
  }
  .submenuitem.active {
    opacity: 1;
    visibility: visible;
    display: block;
  }
  .submenuitem.active {
    display: none;
  }
  .submenu a.active {
    font-weight: 500;
  }
  .product-menu {
    flex: 0 0 calc(100% - 20px);
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
  }
  .product-menu .price,
  .product-menu img {
    display: none;
  }
  .product-menu .product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(58, 54, 54, 0.95);
    padding: 1.5rem 0rem;
    border-radius: 15px;
    transition: bottom 0.4s;
    opacity: 1;
    visibility: visible;
  }
  .product-menu:hover .product-content {
    transform: translateY(0%);
  }
}

.menu-icons {
  width: 20%;
  min-width: 275px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}

.menu-icons a {
  text-decoration: none;
}

.menu-icons img {
  filter: invert(100%);
}

.menu-icons .number {
  background: #fff;
  color: #000;
  text-align: center;
  border-radius: 5px;
}

.menu-icons a:hover img {
  filter: invert(100%) drop-shadow(2px 4px 6px black);
}

.profile-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-menu-toggle {
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
}

.profile-menu-toggle:hover img {
  filter: invert(100%) drop-shadow(2px 4px 6px black);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid #e8e8e8;
  overflow: hidden;
  z-index: 120;
}

.profile-dropdown a,
.profile-dropdown button {
  width: 100%;
  display: block;
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: none;
  color: #3c3a3a;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    sans-serif;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background: #f3f3f3;
}

.profile-dropdown form {
  margin: 0;
}

/* ===== MENU HAMBURGUER ===== */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Animação do hamburguer quando ativo */
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* BTN */
.btn {
  background: #3c3a3a;
  border: none;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 8px rgba(0, 40, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -1px;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    sans-serif;
  text-decoration: none;
}

.btn:hover {
  background: #524f4f;
}

.btn i {
  font-size: 1.2rem;
}

.btn-outline {
  background: #3c3a3a;
  border: 2px solid #3c3a3a;
  color: #fff;
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease; /* Smooth transition */
}

.btn-absolute {
  position: absolute;
  right: 4%;
  bottom: 10%;
}

/* Page */
.page {
  margin-top: 10rem;
}

/* Responsividade */
@media screen and (max-width: 915px) {
  .top-bar {
    padding: 1rem 1rem;
  }

  .nav-menu {
    padding: 0;
  }

  .menu-icons .menu-item.onde-estamos {
    display: none;
  }

  #nav .menu-item.onde-estamos {
    display: block;
  }

  .hamburger-btn {
    display: block;
  }

  #nav {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background-color: #3c3a3a;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: left 0.3s ease;
    /* box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3); */
    z-index: 98;
    gap: 0;
    min-width: auto;
  }

  .menu-item {
    display: block;
    height: auto;
  }

  #nav.active {
    left: 0;
  }

  #nav .menu-item {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #nav .menu-item:last-child {
    border-bottom: none;
  }

  /* Ajustes do submenu no mobile */
  #nav .has-submenu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    padding: 0.5rem 0;
    display: none;
  }

  #nav .has-submenu.active .submenu {
    display: block;
  }

  #nav .has-submenu .fa-chevron-down {
    float: right;
    transition: transform 0.3s;
  }

  #nav .has-submenu.active .fa-chevron-down {
    transform: rotate(180deg);
  }

  .submenu a {
    color: #fff;
    padding: 0.8rem 1.5rem;
  }

  .submenu a:hover {
    background: rgba(255, 255, 255, 0.2);
  }

  .logo-area img {
    max-width: 210px;
  }

  .menu-icons {
    width: auto;
    min-width: auto;
    gap: 10px;
  }

  /* Overlay quando menu está aberto */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 97;
  }

  .menu-overlay.active {
    display: block;
  }

  .page {
    margin-top: 7rem;
  }
}

/* Ajuste para telas muito pequenas */
@media screen and (max-width: 480px) {
  .top-bar {
    padding: 1rem;
  }

  #nav {
    width: 100%;
    max-width: none;
  }

  .logo-area img {
    max-width: 165px;
  }

  .menu-icons {
    gap: 8px;
    min-width: auto;
  }

  .menu-icons img {
    width: 20px;
  }
  .menu-icons img.login {
    width: 15px;
  }
  .menu-icons img.favorite {
    width: 15px;
  }

  .profile-dropdown {
    right: -4px;
    min-width: 175px;
  }

  .page {
    margin-top: 7rem;
  }
}

@media screen and (max-width: 370px) {
  .logo-area img {
    max-width: 100px;
  }
}

/* footer */
#footer {
  background: #424242;
}

#footer .container {
  margin: 0 auto;
  padding: 4rem 2rem;
}

#footer .footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

#footer .footer .footer-item.one {
  width: 50%;
}

#footer .footer .footer-item.two {
  width: 40%;
}

#footer .footer .footer-item {
  width: 33.33%;
}

#footer .footer .footer-item p {
  color: #888;
  margin-bottom: 10px;
}

#footer .footer .footer-item .link {
  background-color: #75694b;
  font-size: 1rem;
  color: white;
  position: relative;
  color: #fff;
  border: none;
  border-radius: 45px;
  padding: 10px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
  letter-spacing: 0px;
  max-width: 275px;
  margin: 0 auto;
}

#footer .footer .footer-item .link:hover {
  background-color: #3c3a3a;
}

#footer .section-title {
  color: #fff;
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

#footer .section-title span {
  font-weight: 700;
}

#footer .footer .footer-item a {
  display: block;
  color: #888888;
  text-decoration: none;
  margin-bottom: 5px;
  letter-spacing: -0.5px;
}

#footer .footer .footer-item a:hover {
  color: #fff;
}

#form-news {
  position: relative;
  width: 100%;
}

#form-news input[type="email"] {
  border: none;
  background-color: #424242;
  border: 1px solid #fff;
  font-size: 1rem;
  color: white; /* Text color */
  width: 100%;
  padding: 15px 140px 15px 20px; /* padding direito maior para o botão */
  border-radius: 50px;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

#form-news input[type="email"]::placeholder {
  color: white; /* Placeholder color */
}

#form-news input[type="submit"] {
  background-color: #75694b;
  font-size: 1.1rem;
  color: white; /* Text color */
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  border: none;
  border-radius: 45px;
  padding: 10px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

#form-news input[type="submit"]:hover {
  background-color: #333;
}

.redes {
  margin-top: 6rem;
}

.redes .icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

#footer .footer .footer-item .icons a {
  background-color: #606060;
  padding: 10px;
  border-radius: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
}

#footer .footer .footer-item .icons a:hover {
  background-color: #75694b;
}

#footer .container.bottom {
  margin: 0 auto;
  padding: 0rem 2rem;
  padding-bottom: 2rem;
}

#footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}

#footer .footer-bottom p {
  color: #fff;
  text-align: center;
}

#footer .footer-bottom .logo {
  max-width: 250px;
  width: 100%;
  filter: brightness(100);
}

#footer .whatsapp-button {
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 9999;
  transition: transform 0.3s;
}

#footer .whatsapp-button img {
  width: 100%;
}

#footer .whatsapp-button:hover {
  transform: scale(1.1);
}

@media screen and (max-width: 900px) {
  #footer .footer {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }
  .redes {
    margin: 0 auto;
    display: table;
    margin-top: 2rem;
  }
  .footer-item {
    display: flex;
    align-items: center;
    flex-flow: column;
  }
  #footer .footer .footer-item.two {
    width: 80%;
  }
  #footer .footer .footer-item p {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #footer .footer {
    flex-wrap: wrap;
  }

  #footer .footer .footer-item {
    flex: 1 1 100%;
  }

  #footer .footer .footer-item p {
    text-align: center;
  }

  .redes {
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: table;
  }

  #footer .footer .footer-item .section-title {
    text-align: center;
  }

  #footer .footer .footer-item a {
    text-align: center;
  }

  #footer .footer-bottom {
    justify-content: center;
    gap: 20px;
  }
}

@media screen and (max-width: 560px) {
  #footer .footer .footer-item {
    width: 100% !important;
  }
}

@media screen and (max-width: 330px) {
  #form-news input[type="submit"] {
    letter-spacing: 0px;
    font-size: 0.75rem;
  }

  #footer .footer .footer-item .link {
    font-size: 0.75rem;
  }
  #footer .footer .footer-item .icons a {
    width: 18%;
    margin: 0 auto;
  }
  .redes img {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .section-title {
    font-size: 1.6rem !important;
  }
  #footer .section-title {
    font-size: 1.3rem !important;
  }
}
