@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.cdnfonts.com/css/gotham-6');

body {
  font-family: "Montserrat", sans-serif;
  background-color: #FCF9F2;
}

header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  left: 0;
  top: 0;
  background: #00000033;
  height: 79px;
  z-index: 10;
}

section {
  margin-bottom: 100px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header-content a {
  display: flex;
}

button#toggle-menu {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

svg.menu-close-icon {
  display: none;
}

.menu-dropdown {
  position: absolute;
  width: 100%;
  left: 0;
  top: 79px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
}

.menu-main-item {
  position: relative;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.menu-main-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-second-level {
  position: absolute;
  top: 100px;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: #00000033;
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  align-items: center;
  display: none;
}

.menu-second-level a {
  white-space: nowrap;
}

.menu-dropdown::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: #00000033;
  z-index: -1;
}

.menu-dropdown a {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 100%;
  text-transform: uppercase;
}

.menu-dropdown a:hover {
  text-decoration: underline;
}

.menu-main-item:hover .menu-second-level {
  display: flex;
}

.menu.show .menu-dropdown {
  opacity: 1;
  pointer-events: all;
}

.menu.show svg.menu-close-icon {
  display: block;
}

.menu.show svg.menu-icon {
  display: none;
}

.newsletter {
  background: #F5ECDC;
  padding: 50px 0;
}

.newsletter-container {
  max-width: 1352px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.newsletter-title {
  font-size: 32px;
  font-weight: 350;
  color: #030304;
  max-width: 262px;
  font-family: "Gotham", sans-serif;
}

.newsletter input,
.newsletter select {
  height: 50px;
  background: #fff;
  border: none;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  width: 280px;
  color: #030304;
  appearance: none;
}

.newletter-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter select {
  width: 100%;
  background: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99995 6.36367L14.2222 -7.77092e-08L16 1.81819L7.99995 10L-7.94756e-08 1.81819L1.77777 -6.21674e-07L7.99995 6.36367Z' fill='%231E3954'/%3E%3C/svg%3E%0A")
    no-repeat;
  background-color: #fff;
  background-position: calc(100% - 30px) 50%;
}

.newsletter input::placeholder {
  color: #030304;
  opacity: 1;
}

.newsletter input::-ms-input-placeholder {
  color: #030304;
}

.newsletter-submit {
  height: 50px;
  width: 280px;
  font-size: 16px;
  font-weight: 400;
  color: #1f1f1f;
  white-space: nowrap;
  background: none;
  border: 1px solid #000;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  background: #FFF;
}

.newsletter-submit:hover {
    background: #000;
    color: #fff;
}

footer {
  position: relative;
  z-index: 2;
}

.footer-row {
  background: #4D4131;
  padding: 40px 0 60px;
}

.footer-container {
  max-width: 1464px;
  margin: 0 auto;
}

.footer-infos {
  border-bottom: 1px solid #ededec;
  padding-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.footer-stores,
.footer-institucional {
  display: flex;
  gap: 45px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-store,
.footer-institucional-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-store p,
.footer-store a,
.footer-institucional-link,
.footer-institucional-title {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 17px;
}

.store-title,
.footer-institucional-title {
  font-weight: 600 !important;
}

.footer-institucional-link {
  text-decoration: none;
}

.footer-institucional-link.b {
  font-weight: 600;
}

.footer-institucional-col {
  max-width: 132px;
}

.footer-institucional-link {
  white-space: inherit;
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-final {
  margin: 50px 58px 0 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.footer-final p {
  font-size: 14px;
  font-weight: 400;
}

.footer-infos-mobile,
.footer-legal-text.mobile,
.footer-logo-mobile {
  display: none;
}

.footer-social-icons {
  display: flex;
  gap: 30px;
}

.footer-social-icons a {
  text-decoration: none;
  display: flex;
}

.footer-social {
  display: flex;
  gap: 50px;
  align-items: center;
}

.whatsapp-popup {
  position: fixed;
  z-index: 999;
  right: 69px;
  bottom: 70px;
  display: flex;
  gap: 5px;
  transition: 0.3s;
}

.whatsapp-popup a {
  height: 50px;
  border-radius: 25px;
  background: #1f1f1f;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 13px;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: 0.5s;
  overflow: hidden;
  max-width: 50px;
  white-space: nowrap;
}

.whatsapp-popup b {
  font-weight: 600;
}

.whatsapp-popup button {
  width: 20px;
  height: 20px;
  border: 1px solid #1f1f1f;
  padding: 0;
  border-radius: 10px;
  background: #fff;
  transition: 0.5s;
  cursor: pointer;
}

.whatsapp-popup a svg {
  min-width: 24px;
  height: 24px;
}

.whatsapp-popup .whatsapp-popup-wrapper:hover a {
  max-width: 310px;
  padding: 0 17px;
}

.whatsapp-popup .whatsapp-popup-wrapper:hover ~ button {
  opacity: 0;
  pointer-events: none;
}

.newsletter-container form {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  align-items: center;
}

@media (max-width: 1100px) {
  .newsletter-container form {
    gap: 50px;
    flex-direction: column;
  }

  .footer-infos {
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 20px;
    height: 80px;
  }

  .header-content {
    width: 100%;
    justify-content: space-between;
  }

  .header-content img {
    width: 136px;
    height: auto;
  }

  .menu-icon {
    width: 18px;
    height: 16px;
  }

  .menu-close-icon {
    width: 20px;
    height: 20px;
  }

  .menu-dropdown {
    height: calc(100vh - 80px);
    flex-direction: column;
    gap: 50px;
  }

  section {
    margin-bottom: 50px;
  }

  .newletter-form-row {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter select {
    font-size: 14px;
  }

  .newsletter {
    padding: 40px 0 30px;
  }

  .newsletter-container {
    padding: 0 20px;
    gap: 18px;
  }

  .newsletter-title {
    font-size: 16px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .newsletter-submit {
    height: 50px;
    border: 1px solid #000;
    width: 280px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
  }

  .newsletter-submit:hover {
    background: #000;
    color: #fff;
  }

  .footer-infos {
    display: none;
  }

  .footer-infos-mobile {
    display: flex;
    padding: 0 4px;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ededec;
  }

  .footer-stores {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .footer-store {
    gap: 5px;
  }

  .footer-infos-mobile summary {
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: space-between;
  }

  .footer-row {
    padding: 30px 0;
  }

  .footer-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .footer-infos-mobile details[open] svg {
    transform: rotate(180deg);
  }

  .footer-institucional-col {
    gap: 20px;
    max-width: none;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-final {
    margin: 0;
    margin-top: 30px;
    flex-direction: column;
    gap: 10px;
  }

  .footer-final p {
    font-size: 12px;
    text-align: center;
    line-height: 14px;
  }

  .footer-legal-text.desktop,
  .footer-logo {
    display: none;
  }

  .footer-legal-text.mobile,
  .footer-logo-mobile {
    display: block;
  }

  .newsletter-container form {
    gap: 18px;
  }

  .footer-social {
    flex-direction: column;
    gap: 20px;
  }

  .whatsapp-popup {
    bottom: 50px;
    right: 20px;
  }

  .whatsapp-popup a {
    pointer-events: none;
  }

  .whatsapp-popup-wrapper:hover a {
    pointer-events: all;
  }

  .menu-main-item {
    width: 100%;
    height: fit-content;
    display: block;
  }

  .menu-main-label {
    gap: 36px;
    height: 50px;
    justify-content: center;
  }

  .menu-dropdown a {
    height: 50px;
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .menu-second-level {
    position: static;
    background: none;
    backdrop-filter: none;
    transform: none;
    gap: 30px;
    background: #1f1f1f;
    padding: 30px 0;
  }

  .menu-dropdown {
    overflow: auto;
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    background: #00000033;
    padding: 50px 0;
    gap: 20px;
    justify-content: flex-start;
  }

  .menu-dropdown::before {
    display: none;
  }

  .menu-main-item a {
    width: fit-content;
    height: fit-content;
    min-height: 0;
  }
}
