/*
Theme Name: FCOTheme
Theme URI: https://blumewebstudio.com.br
Author: Blume Web Studio
Author URI: https://blumewebstudio.com.br
Description: Tema criado para a FCO.
Version: 1.0
*/

/* Add your custom styles here */

:root {
  --primary: #131858;
  --white: #ffffff;
  --white-secondary: #f8f8f8;
  --text-color: #0f0f0f;
  --box-shadow: #0000000d;
  --title-color: #090836;
  --option-color: #8286ba;
  --green-light: #e4efe5;
  --green-soft: #8fce96;
  --green-primary: #3c8f46;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Google Sans Flex", sans-serif;
  color: var(--text-color);
  background: var(--white);
  line-height: 1.5;
  padding: 20px;
}

a {
  text-decoration: none;
}

main {
  min-height: 100vh;
}

.container {
  max-width: 1356px;
  width: 100%;
  margin: 0 auto;
  padding: 0;

  @media (max-width: 1356px) {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.container-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

/* WHATSAPP FLOAT */
.float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  border-radius: 50%;
  z-index: 999;
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;

  img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.2s ease;
  }

  &:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

    img {
      transform: scale(1.1);
    }
  }
}

/* HEADER */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0 40px;
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  top: 10px;
  padding: 0 5px;

  .header-wrapper {
    height: 65px;
  }
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  height: 88px;
  background: var(--white);
  box-shadow: 0px 0px 10px 0px var(--box-shadow);
  border-radius: 16px;
  padding: 0 20px;
}

.logo img {
  display: block;
}

/* NAV */
.nav {
  display: flex;
}

.menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.menu a {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 300;
  transition: 0.2s;
}

.menu a:hover {
  color: var(--primary);
}

/* BUTTON */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  box-sizing: border-box;
  background: var(--primary);
  color: var(--white);
  padding: 0 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* BOTÃO OUTLINE */
.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: #0f0f0f;
}

/* BOTÃO CONTACT */
.btn-contact {
  background: var(--white);
  color: var(--primary);
  gap: 8px;
}

/* TITLE */
.title-section {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--title-color);
}

.subtitle {
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);

  strong {
    font-weight: 600;
  }
}

/* LANGUAGE */
.lang-select {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  display: none;
  padding: 8px 0;
  min-width: 120px;
}

.lang-dropdown.active {
  display: block;
}

.lang-dropdown li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.lang-dropdown li:hover {
  background: #f5f5f5;
}

.lang-dropdown img {
  width: 24px;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-color);
  transition: 0.3s;
}

/* estado ativo (vira X) */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 3px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

.site-footer {
  background: linear-gradient(70.93deg, #0c0c30 6.57%, #302fbe 92.18%);
  color: var(--white);
  padding-top: 50px;
  border-radius: 16px;
}

/* GRID 4 COLUNAS */
.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* COL */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* MENU */
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  opacity: 0.8;
  transition: 0.2s;
}

.footer-menu a:hover {
  opacity: 1;
}

/* CONTATO */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
  opacity: 0.9;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.footer-contact img {
  margin-top: 2px;
}

/* CTA */
.footer-cta .btn {
  max-width: 214px;
  width: 100%;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 50px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.footer-bottom a {
  color: var(--white);
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* DIVIDER */
.footer-bottom .divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-slider {
  width: 100%;
  height: 100vh;
  border-radius: 16px;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* opcional: setas mais limpas */
.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--white);
}

.swiper-pagination-bullet {
  background: var(--white) !important;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* SOBRE */
.about {
  padding: 50px 0;

  .about-highlight {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding: 50px 0;

    .subtitle {
      margin-bottom: 20px;
    }

    p {
      max-width: 625px;
      box-shadow: 0px 0px 10px 0px #0000000d;
      border-radius: 16px;
      padding: 20px;
      font-weight: 400;
      font-size: 16px;
      line-height: 1.4;
      color: var(--text-color);
      margin-bottom: 16px;

      strong {
        display: block;
        font-size: 18px;
        color: var(--primary);
        margin-bottom: 10px;
      }
    }
  }

  .about-video {
    width: 100%;
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
  }

  .about-video img {
    width: 100%;
    display: block;
    object-fit: cover;
  }

  .about-video .play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .about-video .play img {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
  }

  .about-video:hover .play img {
    transform: scale(1.2);
  }

  .about-bottom {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;

    p {
      font-weight: 400;
      font-size: 18px;
      line-height: 1.4;
      color: var(--primary);
    }
  }
}

/* MARCAS */
.brands {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .brands-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .brands-item {
    height: 100px;
    padding: 0 16px;
    box-shadow: 0px 0px 10px 0px #0000000d;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brands-item svg rect,
  .brands-item svg path {
    transition:
      fill 0.3s ease,
      stroke 0.3s ease;
  }

  .brands-item:hover svg rect {
    fill: var(--primary);
  }

  .brands-item:hover svg path {
    stroke: var(--white);
  }
}

/* PILARES */
.pillars {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 50px;
  }

  .pillars-item {
    box-shadow: 0px 0px 10px 0px #0000000d;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .pillars-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary);
  }

  .pillars-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary);
  }
}

/* PRODUTOS */
.products {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .products-wrapper {
    margin-top: 50px;
  }

  .products-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .product-option {
    height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0px 0px 10px 0px #0000000d;
    cursor: pointer;
    transition: 0.3s;
    background: var(--white-secondary);
  }

  .product-option.active {
    background: var(--primary);
    color: var(--white);

    img {
      filter: brightness(0) invert(1);
    }

    span {
      color: var(--white);
    }
  }

  .product-option img {
    width: 36px;
    height: 36px;
  }

  .product-option span {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: var(--option-color);
    transition: 0.3s;
  }

  .product-option.is-featured {
    background: var(--green-light);

    span {
      color: var(--green-soft);
    }
  }

  .product-option.is-featured.active {
    background: var(--green-primary);

    span {
      color: var(--white);
    }
  }

  .products-content {
    position: relative;
    margin-top: 20px;
  }

  .product-content {
    display: none;
  }

  .product-content.active {
    display: block;
  }

  .content-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: var(--primary);
    padding: 16px;
    border-radius: 16px;
  }

  .content-list p {
    padding: 16px;
    background: var(--white);
    box-shadow: 0px 0px 10px 0px #0000000d;
    border-radius: 16px;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
    color: var(--primary);
  }

  .featured-card {
    padding: 20px;
    background: var(--green-primary);
    border-radius: 12px;

    > div {
      display: flex;
      flex-direction: column;
      gap: 16px;
      background: var(--white);
      box-shadow: 0px 0px 10px 0px #0000000d;
      border-radius: 8px;
      padding: 20px;
    }
  }

  .featured-card img {
    width: 100%;
    object-fit: contain;
    border-radius: 4px;
  }
}

/* SEGMENTOS */
.segments {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 50px;
  }

  .segments-item {
    box-shadow: 0px 0px 10px 0px #0000000d;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .segments-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary);
  }
}

/*SUSTENTABILIDADE*/
.sustainability {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .sustainability-content {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

    > div {
      display: flex;
      flex-direction: column;
      gap: 20px;

      p {
        font-weight: 300;
        font-size: 18px;
        line-height: 1.4;
      }
    }
  }
}

/*RESPONSABILIDADE*/
.responsibility {
  padding: 50px 0;

  .subtitle {
    margin-top: 50px;
  }

  .responsibility-content {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;

    > div {
      display: flex;
      flex-direction: column;
      gap: 20px;

      p {
        font-weight: 300;
        font-size: 18px;
        line-height: 1.4;
      }

      .btn {
        max-width: 166px;
        gap: 8px;
      }
    }
  }
}

/*NOSSAS CANAIS*/
.contact {
  margin: 50px auto;
  background-image: url(./img/contato.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 150px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;

  .subtitle {
    color: var(--white);
  }

  > div {
    max-width: 327px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* DOWNLOADS */
.hero-downloads {
  height: 405px;
  background-image: url(./img/header-downloads.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;

  h1 {
    font-weight: 400;
    font-size: 74px;
    line-height: 1.1;
    letter-spacing: -0.3px;
    color: var(--white);
  }
}

.downloads-section {
  max-width: 960px;
  margin: 100px auto;
}

.downloads-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.download-card {
  box-shadow: 0px 0px 10px 0px #0000000d;
  padding: 30px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  .download-title {
    max-width: 373px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: var(--primary);
  }

  .download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 176px;
    width: 100%;
  }

  .download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 10px;
    border-radius: 16px;
    transition: background 0.3s ease;

    > div {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    span {
      font-weight: 600;
      font-size: 16px;
      line-height: 1;
      color: var(--text-color);
    }
  }

  .download-item:hover {
    background-color: var(--green-light);
  }
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  body {
    padding: 16px;
  }

  .subtitle {
    font-size: 36px;
  }

  .site-header {
    top: 32px;
    padding: 0 32px;
  }

  .header-wrapper {
    gap: 16px;

    .btn {
      display: none;
    }
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background: var(--white);

    display: flex;
    justify-content: center;
    align-items: center;

    transform: translateY(-100%);
    transition: 0.4s ease;

    z-index: 1000;
  }

  .nav.active {
    transform: translateY(0);
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .menu a {
    font-size: 22px;
  }

  .products-wrapper {
    grid-template-columns: 1fr;
  }

  .products-options {
    flex-direction: row;
    overflow-x: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 687px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom .divider {
    display: none;
  }

  .about {
    padding: 30px 0;

    .about-highlight {
      flex-wrap: wrap;
      padding: 20px 0;
    }

    .about-video {
      height: 300px;
    }

    .about-bottom {
      margin-top: 20px;
    }
  }

  .brands {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .brands-grid {
      margin-top: 20px;
      grid-template-columns: 1fr;
    }

    .brands-item {
      height: 80px;
    }
  }

  .pillars {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .pillars-grid {
      grid-template-columns: 1fr;
      margin-top: 20px;
    }
  }

  .products {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .products-wrapper {
      margin-top: 20px;
    }

    .products-options {
      grid-template-columns: repeat(2, 1fr);
    }

    .product-option {
      height: auto;
    }

    .product-option img {
      width: 24px;
      height: 24px;
    }

    .product-option span {
      font-size: 14px;
    }

    .content-list {
      grid-template-columns: repeat(2, 1fr);
    }

    .content-list p {
      font-size: 16px;
    }
  }

  .segments {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .segments-grid {
      grid-template-columns: 1fr;
      margin-top: 20px;
    }

    .segments-title {
      font-size: 16px;
    }
  }

  .sustainability {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .sustainability-content {
      margin-top: 20px;
      flex-direction: column;
      gap: 20px;
    }
  }

  .responsibility {
    padding: 30px 0;

    .subtitle {
      margin-top: 20px;
    }

    .responsibility-content {
      margin-top: 20px;
      flex-direction: column;
      gap: 20px;
    }
  }

  .contact {
    margin: 30px auto;
    padding: 50px;
  }

  .hero-downloads {
    height: 305px;
    padding: 50px 0;
  }

  .downloads-section {
    margin: 50px auto;
  }

  .download-card {
    padding: 20px;
    flex-direction: column;
  }
}
