/**
 * Estilos da Página Home - Campino
 * CSS PURO (Vanilla CSS) com classes semânticas
 * Tipografia Padrão: Proxima Nova Extra Condensed
 */

/* ==========================================================================
   Declarações @font-face para Proxima Nova Extra Condensed
   ========================================================================== */
@font-face {
  font-family: "ProximaNovaExCn";
  src:
    url("../fonts/ProximaNovaExCn-Thin.woff2") format("woff2"),
    url("../fonts/ProximaNovaExCn-Thin.woff") format("woff"),
    url("../fonts/ProximaNovaExCn-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova Extra Condensed";
  src:
    url("../fonts/ProximaNovaExCn-Thin.woff2") format("woff2"),
    url("../fonts/ProximaNovaExCn-Thin.woff") format("woff"),
    url("../fonts/ProximaNovaExCn-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ProximaNovaExCn";
  src:
    url("../fonts/ProximaNovaExCn-Bold.woff2") format("woff2"),
    url("../fonts/ProximaNovaExCn-Bold.woff") format("woff"),
    url("../fonts/ProximaNovaExCn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proxima Nova Extra Condensed";
  src:
    url("../fonts/ProximaNovaExCn-Bold.woff2") format("woff2"),
    url("../fonts/ProximaNovaExCn-Bold.woff") format("woff"),
    url("../fonts/ProximaNovaExCn-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   SECÇÃO 1: ABOUT US
   ========================================================================== */
.home-about {
  width: 100%;
  background-color: #ffffff;
  padding: 90px 0 80px 0;
  box-sizing: border-box;
}

.home-about-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.home-about-title {
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 80px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  color: #474747;
  margin: 0 0 35px 0;
  line-height: 1.05;
  letter-spacing: 0.02em;
  width: 100%;
}

.home-about-text {
  width: 100%;
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 32px;
  font-weight: 100;
  text-align: left;
  color: #474747;
  line-height: 1.45;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.home-about-text p {
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 32px;
  font-weight: 100;
  text-align: left;
  color: #474747;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.home-about-text p:last-child {
  margin-bottom: 0;
}

.home-about-text strong,
.home-about-text b {
  font-weight: 700;
}

.home-about-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 45px;
  box-sizing: border-box;
}

.home-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #dc2218;
  color: #ffffff;
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 32px;
  font-weight: 100;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  padding: 16px 45px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease;
  box-sizing: border-box;
}

.home-about-btn:hover,
.home-about-btn:focus {
  background-color: #b91a12;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* ==========================================================================
   SECÇÃO 2: OUR BRANDS
   ========================================================================== */
.home-brands {
  width: 100%;
  background-color: #ffffff;
  padding: 20px 0 100px 0;
  box-sizing: border-box;
}

.home-brands-wrapper {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

.home-brands-col-content {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0px 50px 40px 0;
  margin-left: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.home-brands-title {
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 80px;
  font-weight: 600;
  text-align: left;
  text-transform: uppercase;
  color: #474747;
  margin: 0 0 30px 0;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.home-brands-text {
  width: 100%;
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 28px;
  font-weight: 100;
  text-align: left;
  color: #474747;
  line-height: 1.45;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.home-brands-text p {
  font-family: "ProximaNovaExCn", "Proxima Nova Extra Condensed", sans-serif;
  font-size: 28px;
  font-weight: 100;
  text-align: left;
  color: #474747;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.home-brands-text p:last-child {
  margin-bottom: 0;
}

.home-brands-text strong,
.home-brands-text b {
  font-weight: 700;
}

.home-brands-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.home-brands-logo-img {
  max-width: calc(50% - 15px);
  width: auto;
  height: auto;
  max-height: 110px;
  display: block;
  object-fit: contain;
  flex-shrink: 1;
}

.home-brands-col-image {
  position: relative;
  width: 55%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
}

.home-brands-col-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

.home-brands-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   RESPONSIVIDADE (Tablets e Mobile)
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1700px) {
  .home-brands-col-content {
    padding-left: 5vw;
  }
}

@media (min-width: 1700px) {
  .home-brands-col-content {
    padding-left: 0;
  }
}

@media (max-width: 1200px) {
  .home-about-title {
    font-size: 64px;
  }
  .home-brands-title {
    font-size: 64px;
  }
  .home-brands-col-content {
    padding-top: 20px;
    padding-bottom: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 991px) {
  .home-about {
    padding: 60px 0 50px 0;
  }
  .home-about-title {
    font-size: 48px;
  }
  .home-about-text,
  .home-about-text p {
    font-size: 24px;
  }
  .home-about-btn {
    font-size: 26px;
    padding: 12px 35px;
  }

  .home-brands {
    padding: 20px 0 70px 0;
  }
  .home-brands-wrapper {
    width: 100%;
    margin: 0;
    flex-direction: column;
  }
  .home-brands-col-content {
    width: 90%;
    margin: 0 auto;
    padding: 0 0 40px 0;
  }
  .home-brands-title {
    font-size: 48px;
  }
  .home-brands-text,
  .home-brands-text p {
    font-size: 24px;
  }
  .home-brands-logos {
    gap: 30px;
    justify-content: center;
  }
  .home-brands-logo-img {
    max-width: 200px;
  }
  .home-brands-col-image {
    width: 100%;
    height: 380px;
    min-height: 380px;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .home-about {
    padding: 45px 0 16px 0;
  }
  .home-about-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
  }
  .home-about-text,
  .home-about-text p {
    font-size: 20px;
    line-height: 1.45;
  }
  .home-about-btn-container {
    margin-top: 30px;
  }
  .home-about-btn {
    font-size: 22px;
    padding: 10px 28px;
  }

  .home-brands {
    padding: 20px 0 50px 0;
  }
  .home-brands-wrapper {
    width: 100%;
    margin: 0;
    flex-direction: column;
  }
  .home-brands-col-content {
    width: 90%;
    margin: 0 auto;
    padding: 0 0 30px 0;
  }
  .home-brands-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
  }
  .home-brands-text,
  .home-brands-text p {
    font-size: 20px;
    line-height: 1.45;
  }
  .home-brands-logos {
    gap: 25px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }
  .home-brands-logo-img {
    max-width: 160px;
  }
  .home-brands-col-image {
    width: 100%;
    height: 280px;
    min-height: 280px;
    margin: 0;
  }
}
