* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pretoTitle: rgba(0, 0, 0, 0.9);
  --pretoText: rgba(0, 0, 0, 0.8);
  --brancoTitle: rgba(255, 255, 255, 0.9);
  --brancoText: rgba(255, 255, 255, 0.8);
  --bg: #f3efdf;
  --orangeGradient: linear-gradient(92deg, #b52000 1.04%, #e23712 98.96%);
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: #f3efdf;
}

body,
button {
  font-family: "Poppins";
}

h1,
h2,
h3 {
  color: var(--pretoTitle);
}

h1,
h2 {
  font-family: "Handlee", cursive;
  font-weight: 600;
  font-size: 4.1vw;
}

p {
  color: var(--pretoText);
}

section {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 5vw;
  position: relative;
}

.botoes {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  width: max-content;
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  padding: 12px 12px 12px 20px;
  border-radius: 12px;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;

  &:hover {
    transform: translate(4px, 4px) !important;
    box-shadow: 0px 0px 0px 0px black !important;
  }

  div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;

    border-radius: 50%;
  }
}

.botaoPrimario {
  background: var(--orangeGradient);
  color: var(--brancoTitle);
  border: 2px solid #4b0d00;
  box-shadow: 4px 4px 0 0 #4b0d00;

  .divSeta {
    background-color: #f4efdd;

    img {
      width: 14px;
      height: 14px;
    }
  }
}

.botaoSecundario {
  background: #777465;
  color: var(--brancoTitle);
  border: 2px solid #26220b;
  box-shadow: 4px 4px 0 0 #26220b;

  div {
    background: rgba(255, 255, 255, 0.2);
  }
}

.textoAnimado {
  overflow-y: hidden;
}

/* PRELOADER */
/* PRELOADER */
#preloader {
  width: 100%;
  height: 100vh;
  position: fixed;
  background-color: #1a1916;
  z-index: 999;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  .logoLoader {
    width: 800px;
    height: 800px;
  }
}
.logoLoader path {
  fill: #f4efdd33;
  stroke: #f4efdd;
  stroke-width: 1px;
  stroke-dasharray:390;
  stroke-dashoffset: 390;
}


a {
  text-decoration: none;
}

/* HEADER */
header {
  right: 4vw;
  top: 3vw;
  position: absolute;
  z-index: 9;

  h2 {
    font-family: "Handlee", cursive;
    font-size: 28px;
  }
}

h2 {
  font-size: 4vw;
}

/* SECAO 1 */
.sec1 {
  background-position: top center;
  background-size: cover;
  align-items: end;
  position: relative;
  overflow: hidden;
  background-color: #f5efda;

  h1 {
    width: max-content;
  }

  .bgHero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    img {
      width: 100%;
      object-fit: cover;
    }
  }

  .conteudo {
    display: flex;
    flex-direction: column;
    width: 52%;
    min-height: 80vh;
    justify-content: center;
    margin: 20px 0px;
    transition: opacity 0.3s;
    opacity: 1;
    position: relative;
    z-index: 1;

    .textos {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 20px 0px 40px;
    }

    p {
      font-size: clamp(16px, 1vw, 1vw);
    }
  }

  .iconeMao {
    position: absolute;
    left: 0;
    top: 60%;
  }

  .precos {
    display: flex;
    flex-direction: column;
    width: 50%;
    min-width: 780px;
    align-items: end;
    margin-bottom: 120px;
    position: relative;
  }
}

.precos .cards {
  display: flex;
  justify-content: end;
  margin-top: 40px;
  gap: clamp(16px, 2vw, 2vw);
  .cardPreco {
    position: relative;
    border-radius: 16px;
    width: 308px;

    .fundo {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
      border-radius: 16px;
    }
    .amarelo {
      background-color: #ffd301;
    }

    .laranja {
      background-color: #cd2c09;
    }

    .branco {
      background-color: #ffffff;
    }

    .conteudoCard {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: #ffffff;
      align-items: center;
      box-shadow: 24px 28px 44px 0 rgba(0, 0, 0, 0.15);
      border-radius: 16px;
      padding: 24px 24px 32px 24px;
      position: relative;
    }

    h3 {
      font-family: "Handlee", cursive;
      font-size: clamp(20px, 2.4vw, 52px);
      margin-bottom: 8px;
    }
    .preco {
      font-size: 54px;
      font-weight: 700;
      margin-bottom: 40px;
    }
    
    button {
      background: #3d3620;
      box-shadow: 4px 4px 0 0 #000;
      color: var(--brancoTitle);

      div {
        background-color: rgba(255, 255, 255, 0.9);
      }
    }
  }
}

/* SECAO 2 */
.sec2 {
  background-image: url("assets/img/bg_sec2.webp");
  background-position: center 100%;
  background-size: cover;
  align-items: end;
  justify-content: center;
  height: 110vh;
  padding-bottom: 10%;
  .conteudo {
    width: 50%;
    h2 {
      color: var(--brancoTitle);
    }
    p {
      color: var(--brancoText);
      margin: 40px 0px 32px;
      font-size: clamp(16px, 1.4vw, 1.4vw);
    }
  }
}

/* SECAO 3 */
.sec3 {
  background-color: var(--bg);
  padding: 16% 5vw 5vw;
  flex-direction: row;
  flex-wrap: wrap;
  z-index: 2;

  .conteudo {
    z-index: 3;
  }
  .depoimentos {
    z-index: 2;

    .iconeCartoon {
      display: none;
    }
  }

  .conteudo {
    width: 50%;
    h2 {
      & > div {
        overflow: hidden;
      }
    }
    h3 {
      font-size: 20px;
      text-transform: uppercase;
      font-weight: 500;
      letter-spacing: 2px;
      margin: 40px 0px 44px;
    }
  }

  img {
    border-radius: 16px;

    box-shadow: 24px 28px 44px 0 rgba(0, 0, 0, 0.15);
  }

  .depoimentos {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 3%;
    align-items: center;
    img {
      width: 35%;
      object-fit: cover;
      box-shadow: 24px 28px 44px 0 rgba(0, 0, 0, 0.15);
      border-radius: 16px;
      &.maior {
        width: 62%;
      }
    }
  }

  .depoimentosInferior {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-evenly;
    position: relative;

    img:nth-child(1) {
      width: 40%;
      margin-right: 5%;
    }
    img:nth-child(2) {
      width: 50%;
    }
    img:nth-child(3) {
      position: absolute;
      right: 20%;
      top: 20%;
    }
    img:nth-child(4) {
      width: 60%;
    }
    img:nth-child(5) {
      width: 30%;
    }
    div {
      width: 100%;
      display: flex;
      align-items: start;
      justify-content: start;
      margin-top: -25%;

      img:nth-child(1) {
        width: 30%;
      }
      img:nth-child(2) {
        width: 30%;
      }
    }
  }

  /* FAIXA ANIMADA */
  .marquee {
    position: relative;
    width: 100%;
    height: 30vw;
    overflow: hidden;
    position: absolute;
    top: -15vw;
    left: 0;
    .marquee-inner {
      position: relative;
      width: 100%;
      height: 100%;
      display: grid;
      grid-template: 1fr / 1fr;
    }

    .marquee-bg-svg {
      color: #cb2b09;
      grid-area: 1/1;
      z-index: 1;
    }

    .marquee-text-svg {
      z-index: 2;
      grid-area: 1/1;
    }

    .marquee-text-svg text {
      fill: var(--brancoTitle);
      letter-spacing: -0.03em;
      text-transform: uppercase;
      font-size: 5rem;
      font-weight: 600;
      font-family: "Poppins", sans-serif;
      user-select: none;
    }

    .marquee-inner svg {
      backface-visibility: hidden;
    }

    .marquee-overlay {
      z-index: 0;
      background-color: var(--bg);
      clip-path: polygon(66% 40%, 100% 50%, 100% 100%, 0 100%, 0 50%);
      grid-area: 1/1;
      position: relative;
      bottom: 0px;
    }
  }
}

/* SECAO 4 */
.sec4 {
  background-color: #f3efdf;
  margin-top: -1px;
  padding: 0 5vw;
  & > div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  .paragrafos {
    margin-top: 2.4vw;
    width: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 1.2vw;
    p {
      font-size: clamp(16px, 1.46vw, 1.46vw);
    }
  }
}

/* SECAO 5 */
.sec5 {
  background-color: var(--bg);
  flex-direction: row;
  align-items: center;
  gap: 32px;

  & > div {
    width: 50%;
  }

  .precos .cards {
    justify-content: start;
  }

  .compraSegura {
    position: relative;
    h3 {
      text-align: end;
      font-style: italic;
      opacity: 0.7;
      margin-bottom: 32px;
    }

    .setaSegura {
      position: absolute;
      top: -80px;
    }
  }

  .cardsSegura {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 24px;

    img {
      box-shadow: 24px 28px 44px 0 rgba(0, 0, 0, 0.15);
      border-radius: 50%;
      margin-bottom: 12px;
    }
  }
}

footer {
  background-color: #b52000;
  margin-top: -1px;

  width: 100%;

  .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4vw 4vw 16vw;
    position: relative;
    background-color: var(--bg);
    border-radius: 0px 0px 40px 40px;

    .conteudo {
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;

      h2 {
        padding-bottom: 20px;
      }

      button {
        color: var(--pretoTitle);
        background-color: #fdfcf9;
        div {
          background-color: var(--pretoText);
        }
      }
    }

    & > img {
      position: absolute;
      z-index: 1;
    }

    img:nth-child(2) {
      bottom: 0;
      left: 2vw;
      width: 20%;
    }

    img:nth-child(3) {
      top: 16%;
      right: 4vw;
    }

    h3 {
      font-size: 16vw;
      font-family: "Handlee", cursive;
      position: absolute;
      width: max-content;
      bottom: -5vw;
      opacity: 0.4;
    }
  }
  .descricao {
    background-color: #b52000;
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 32px 4vw;

    h3,
    p {
      font-size: 14px;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.6);
    }

    p {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    img {
      opacity: 0.6;
    }

    a {
      text-decoration: none;
      color: rgba(255, 255, 255, 0.6);
      font-weight: 600;
      transition: color 0.3s;

      &:hover {
        color: white;
      }
    }
  }
}

/* MEDIA QUERIES */
@media (max-width: 1460px) {
  section {
    padding: 5vw 3vw;
  }

  footer .descricao {
    padding: 32px 3vw;
  }

  .sec5 .cardsSegura {
    p {
      font-size: 14px;
    }
    img {
      width: 48px;
    }
  }
}

@media (max-width: 1328px) {
  .sec3 {
    & .conteudo {
      h3 {
        font-size: 16px;
        margin: 20px 0px 32px;
      }
    }
  }
  .sec5 {
    flex-direction: column;
    width: 100%;

    .precos {
      width: 100%;
      align-items: center;
      display: flex;
      flex-direction: column;
      margin-bottom: 32px;
    }

    .compraSegura {
      width: 100%;

      .cardsSegura {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
      }
    }
  }
}

@media (max-width: 1024px) {
  .sec4 .paragrafos p {
    font-size: 2vw;
  }

  footer .iconeCartoon {
    width: 12vw;
  }
}

@media (max-width: 980px) {
  #preloader {
    .logoLoader {
      width: 80vw;
      height: 80vw;
    }
  }

  h1,
  h2 {
    font-size: 5.2vw;
  }
  .sec1 {
    .conteudo {
      width: 64%;
    }
    .bgHero {
      picture {
        img {
          object-position: right top;
        }
      }
    }
  }
  .sec2 {
    .conteudo {
      width: 64%;
    }
  }
  .sec3 {
    .conteudo,
    .depoimentos {
      width: 100%;
    }
    .depoimentos {
      margin-top: -10%;
      justify-content: end;
      align-items: end;
      img {
        width: 40%;

        &.maior {
          width: 40%;
        }

        &:nth-child(2) {
          margin-top: -10%;
        }
      }
    }

    .depoimentosInferior {
      & div {
        img:nth-child(1) {
          width: 40%;
        }
      }
    }
  }
  .sec4 {
    div img:nth-child(1) {
      width: 9%;
    }
    .iconeCartoon {
      width: 18%;
    }
  }
  .sec5 .compraSegura {
    display: flex;
    flex-direction: column;
    align-items: center;

    .iconeCartoon {
      right: 0%;
      top: -6%;
      rotate: 20deg !important;
    }

    .cardsSegura {
      grid-template-columns: 1fr 1fr;
    }
  }
  footer {
    .container {
      padding: 8vw 4vw 20vw;

      img:nth-child(2) {
        width: 24%;
        left: 0;
      }
    }
    .descricao {
      flex-direction: column;
      align-items: center;
    }
  }
}

@media (max-width: 780px) {
  header {
    width: 100%;
    left: 0;
    h2 {
      text-align: center;
      font-size: 28px;
    }
  }
  h1,
  h2 {
    font-size: 7.6vw;
    
  }

  .botoes {
    flex-direction: column;
  }

  button {
    width: 100%;
    justify-content: space-between;
  }
  .sec1 {
    padding: 0;
    .bgHero {
      position: relative;
    }

    .conteudo {
      margin: -10% 0 40px;
      padding: 0 4vw;
      min-height: auto;
      width: 100%;
    }

    .precos {
      width: 100%;
      align-items: end;
      justify-content: center;
      min-width: auto;
      padding: 0 4vw;
      

      .iconeCartoon {
        width: 24%;
        right: 308px;
        left: auto;
      }

      h2 {
        width: 100%;
        margin-top: 6vw;
        display: flex;
        justify-content: center;
        text-align: center;
      }
      .cards {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 20px;
        gap: 32px;

        .cardPreco {
          width: auto;
          .preco {
            font-size: 40px;
            margin-bottom: 20px;
          }
          h3 {
            font-size: 28px;
            margin-top: 12px;
            margin-bottom: 4px;
          }
         
          
        }
      }
    }
  }

  .sec2 {
    justify-content: start;
    padding-top: 60px;
    background-image: url(assets/img/bg_sec2-mobile.webp);
    .conteudo {
      width: 100%;
      p {
        margin: 20px 0px 0px;
      }
    }

    .iconeCartoon {
      width: 20%;
      margin-top: 80px;
    }
  }

  .sec3 {
    .conteudo {
      display: flex;
      flex-direction: column;
      h3 {
        font-size: 3.4vw;
        order: -1;
        margin: 20px 0px 12px;
      }

      h2 {
        margin-bottom: 32px;
      }
    }

    .depoimentos {
      margin-top: 12%;
      justify-content: center;
      gap: 0;
      position: relative;

      img.maior {
        width: 90%;
        margin-left: 20%;
      }

      .iconeCartoon {
        display: block;
        box-shadow: none;
        position: absolute;
        right: 0;
        width: 20%;
        bottom: 10%;
      }

      img:nth-child(2) {
        width: 60%;
        margin-right: 30%;
        margin-top: -20%;
      }
    }

    .depoimentosInferior {
      flex-direction: column;
      gap: 40px;

      & > img:nth-child(1) {
        width: 100%;
      }

      & > img:nth-child(2) {
        width: 120%;
        margin-left: -20%;
        margin-bottom: 10%;
      }

      img:nth-child(4) {
        width: 110%;
        margin-left: 4%;
      }

      div {
        margin-top: 0px;
        flex-direction: column;

        img:nth-child(1) {
          width: 80%;
        }
        img:nth-child(2) {
          width: 80%;
          margin-left: 30%;
        }
      }

      img:nth-child(3) {
        width: 70%;
        top: 30%;
      }
      img:nth-child(5) {
        width: 100%;
        margin-top: 10%;
      }
    }
  }

  .sec4 {
    .paragrafos p {
      font-size: 4vw;
    }
    div img:nth-child(1) {
      width: 14%;
      object-fit: cover;
    }

  .divImagens{
    margin-bottom: 16px;
  }

    .iconeCartoon {
      width: 24%;
    }
  }

  .sec5 {
    padding-top: 80px;

    h2 {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .precos .cards {
      flex-direction: column;

      .cardPreco {
        h3 {
            font-size: 36px;
            margin-top: 12px;
          }
      }
    }

    .compraSegura {
      align-items: start;

      .cardsSegura {
        grid-template-columns: 1fr;
        gap: 28px;

        p {
          font-size: 16px;
        }
      }
      h3 {
        font-size: 16px;
        text-align: start;
      }
      .iconeCartoon {
        width: 12%;
        right: 0%;
        top: 0;
      }
    }
  }

  footer {
    .container {
      align-items: end;

      img:nth-child(2) {
        width: 40%;
        left: -1%;
      }

      .iconeCartoon {
        display: none;
      }

      h3 {
        font-size: 20vw;
        margin-right: -14.8vw;
        opacity: 0.2;
      }

      .conteudo {
        align-items: end;

        .botoes {
          align-items: stretch;
        }
      }
    }

    .descricao {
      gap: 12px;
      h3 {
        text-align: center;
      }
    }
  }
}
