/* ===================================
   SMA Boutique - Footer Adobe XD Specs
   Especificações extraídas do Adobe XD
   ================================== */

/* Importar fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ===================================
   FOOTER CONTAINER
   ================================== */

.footer-xd {
  width: 100%;
  font-family: "Poppins", sans-serif;
}

:root {
  --footer-design-width: 1920px;
}

footer.footer-xd {
  margin-top: 0;
  background: transparent;
  color: inherit;
}

/* ===================================
   FAIXA SUPERIOR - BENEFÍCIOS
   ================================== */

.footer-xd__benefits {
  width: 100%;
  height: 183px;
  background: #674F27;
  opacity: 1;
}

.footer-xd__benefits-inner {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  width: var(--footer-design-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 41px 0 0;
}

.footer-xd__benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: absolute;
}

.footer-xd__benefit:nth-child(1) {
  left: 300px;
  top: 51px;
  gap: 21px;
}

.footer-xd__benefit:nth-child(2) {
  left: 807px;
  top: 51px;
  gap: 22px;
}

.footer-xd__benefit:nth-child(3) {
  left: 1279px;
  top: 51px;
  gap: 17px;
}

.footer-xd__benefit i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
  color: #C7B69B;
  opacity: 1;
}

.footer-xd__benefit:nth-child(1) i {
  width: 93px;
  height: 67px;
  font-size: 67px;
}

.footer-xd__benefit:nth-child(2) i {
  width: 69px;
  height: 79px;
  font-size: 79px;
}

.footer-xd__benefit:nth-child(3) i {
  width: 85px;
  height: 65px;
  font-size: 65px;
}

.footer-xd__benefit h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 35px;
  line-height: 28px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  margin: 0;
  position: relative;
  width: 100%;
  height: 49px;
}

.footer-xd__benefit:nth-child(1) h4 {
  width: 297px;
  height: 49px;
}

.footer-xd__benefit:nth-child(2) h4 {
  width: 285px;
  height: 49px;
}

.footer-xd__benefit:nth-child(3) h4 {
  width: 235px;
  height: 49px;
}

.footer-xd__benefit p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  margin: 0;
  position: relative;
  top: -3px;
}

/* ===================================
   BLOCO PRINCIPAL
   ================================== */

.footer-xd__main {
  width: 100%;
  height: 379px;
  background: #8C6D3A;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer-xd__main-inner {
  position: relative;
  display: block;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  width: var(--footer-design-width);
  max-width: 100%;
  margin: 0 auto;
  height: 300px;
}

/* ===================================
   LOGO
   ================================== */

.footer-xd__brand {
  width: 555px;
  height: 162px;
  position: absolute;
  left: 300px;
  top: 60px;
}

.footer-xd__logo {
  width: 555px;
  height: 162px;
  opacity: 1;
  object-fit: contain;
}

/* ===================================
   LINKS ÚTEIS
   ================================== */

.footer-xd__links h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 35px;
  line-height: 28px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  margin: 0 0 10px;
}

.footer-xd__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 282px;
  height: 148px;
}

.footer-xd__links a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  text-decoration: none;
  display: block;
}

/* ===================================
   CONTATO
   ================================== */

.footer-xd__contact h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 35px;
  line-height: 28px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  margin: 0 0 10px;
}

.footer-xd__contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 335px;
  height: 90px;
}

.footer-xd__links {
  position: absolute;
  left: 943px;
  top: 42px;
}

.footer-xd__contact {
  position: absolute;
  left: 1331px;
  top: 42px;
}

.footer-xd__contact li {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0;
  color: #C7B69B;
  opacity: 1;
  display: block;
}

.footer-xd__contact a {
  color: #C7B69B;
  text-decoration: none;
}

.footer-xd__contact a:hover {
  text-decoration: underline;
}

.footer-xd__contact i {
  margin-right: 8px;
  color: #C7B69B;
}

/* ===================================
   LINHA DIVISÓRIA + COPYRIGHT
   ================================== */

.footer-xd__divider {
  width: 1317px;
  height: 0;
  border-top: 3px solid rgba(199, 182, 155, 0.22);
  margin: 0;
  position: absolute;
  left: 50%;
  top: 288px;
  transform: translateX(-50%);
}

.footer-xd__copy {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #C7B69B;
  opacity: 1;
  margin-top: 1px;
  padding-left: 24px;
}

/* ===================================
   RESPONSIVO
   ================================== */

@media (max-width: 1200px) {
  .footer-xd__benefits,
  .footer-xd__main {
    height: auto;
  }

  .footer-xd__benefits {
    padding: 24px 0;
  }

  .footer-xd__main {
    padding: 32px 0;
  }

  .footer-xd__main-inner {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    text-align: center;
    justify-items: center;
  }

  .footer-xd__links ul,
  .footer-xd__contact ul {
    width: auto;
    height: auto;
  }

  .footer-xd__benefits-inner {
    position: static;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
  }

  .footer-xd__benefit {
    position: static;
    gap: 1rem;
    flex: 1;
    max-width: 300px;
    min-width: 250px;
  }

  .footer-xd__brand,
  .footer-xd__links,
  .footer-xd__contact {
    position: static;
    left: auto;
    top: auto;
  }

  .footer-xd__brand {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .footer-xd__logo {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .footer-xd__divider {
    position: static;
    width: 100%;
    border-top: 1px solid rgba(199, 182, 155, 0.35);
    opacity: 1;
    margin: 24px 0 12px;
    transform: none;
  }
}

/* ===================================
   TABLET - 768px
   ================================== */

@media (max-width: 768px) {
  .footer-xd__benefits {
    padding: 20px 0;
  }

  .footer-xd__benefits-inner {
    padding: 0 1rem;
    gap: 0.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .footer-xd__benefit {
    gap: 0.5rem;
    flex: none;
    max-width: none;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-xd__benefit:nth-child(1) i,
  .footer-xd__benefit:nth-child(2) i,
  .footer-xd__benefit:nth-child(3) i {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .footer-xd__benefit h4 {
    font-size: 20px;
    line-height: 24px;
    height: auto;
  }

  .footer-xd__benefit:nth-child(1) h4,
  .footer-xd__benefit:nth-child(2) h4,
  .footer-xd__benefit:nth-child(3) h4 {
    width: auto;
    height: auto;
  }

  .footer-xd__benefit p {
    font-size: 14px;
    line-height: 18px;
    top: 0;
  }

  .footer-xd__main {
    padding: 24px 0;
  }

  .footer-xd__main-inner {
    padding: 0 1rem;
    gap: 1.5rem 0.5rem;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas:
      "brand brand"
      "links contact";
    justify-items: center;
    text-align: left;
  }

  .footer-xd__brand {
    grid-area: brand;
    max-width: none;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 1.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(199, 182, 155, 0.35);
  }

  .footer-xd__logo {
    width: 100%;
    max-width: 320px;
  }

  .footer-xd__links,
  .footer-xd__contact {
    width: 100%;
    max-width: 280px;
  }

  .footer-xd__links {
    grid-area: links;
  }

  .footer-xd__contact {
    grid-area: contact;
    justify-self: start;
    margin-left: -0.5rem;
  }

  .footer-xd__links h5,
  .footer-xd__contact h5 {
    font-size: 24px;
    line-height: 28px;
  }

  .footer-xd__links a,
  .footer-xd__contact li {
    font-size: 16px;
    line-height: 26px;
  }

  .footer-xd__contact li:first-child {
    white-space: nowrap;
  }

  .footer-xd__copy {
    font-size: 14px;
    padding-left: 0;
  }
}

/* ===================================
   MOBILE - 576px
   ================================== */

@media (max-width: 576px) {
  .footer-xd__benefits {
    padding: 16px 0;
  }

  .footer-xd__benefits-inner {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .footer-xd__benefit {
    gap: 0.4rem;
  }

  .footer-xd__benefit:nth-child(1) i,
  .footer-xd__benefit:nth-child(2) i,
  .footer-xd__benefit:nth-child(3) i {
    width: 32px;
    height: 32px;
    font-size: 28px;
  }

  .footer-xd__benefit h4 {
    font-size: 16px;
    line-height: 20px;
  }

  .footer-xd__benefit p {
    font-size: 12px;
    line-height: 16px;
  }

  .footer-xd__main {
    padding: 20px 0;
  }

  .footer-xd__main-inner {
    padding: 0 0.5rem;
    gap: 1.25rem 0.25rem;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .footer-xd__brand {
    max-width: none;
    padding-bottom: 1rem;
    margin-bottom: 0;
  }

  .footer-xd__logo {
    max-width: 240px;
  }

  .footer-xd__contact {
    margin-left: -0.65rem;
  }

  .footer-xd__links h5,
  .footer-xd__contact h5 {
    font-size: 18px;
    line-height: 22px;
  }

  .footer-xd__links a,
  .footer-xd__contact li {
    font-size: 13px;
    line-height: 22px;
  }

  .footer-xd__copy {
    font-size: 12px;
    padding-left: 0;
  }
}
