@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;700&display=swap');
.newsreader-light {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-style: normal;
}
.newsreader-bold {
  font-family: "Newsreader", serif;
  font-weight: 700;
  font-style: normal;
}
.box-texts-main {
    padding-top: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}
main.home{
    background-image: url("../img/home/background-home.webp");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    width: 100%;
}
.box-item {
    font-family: "Bebas Neue";
}
.box-item h2,
.box-item h2 span {
    font-size: 3rem;
    letter-spacing: -1px;
    line-height: 3rem;
    text-transform: uppercase;
}
.box-item h2 {
    padding: 1.5rem;
    padding-left: calc(1.5rem * 2);
    background-color: #fff;
    color: #4d4d4d;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-weight: 400;
    position: relative;
}
.box-item:nth-child(2) h2 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}
.box-item h2::before {
    content: '+';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}
.box-item:nth-child(2) h2::before {
    top: 3.5rem;
}
.box-item.last h2 {
    min-height: 165px;
    align-content: center;
}
.box-item.last h2::before {
    top: calc(50% - 1.25rem);
    transform: translateY(-50%);
}
.box-item.last h2,
.box-item.last h2 span {
    font-size: 2rem;
    line-height: 2rem;
}
.box-item.last .top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.box-item:first-child h2 span:last-child {
    display: block;
    text-align: center;
}
.box-item span.text-orange {
    color: #a5a58d;
}
.box-item:first-child h3 {
    color: #eae6e5;
    font-size: 4.85rem;
    line-height: 5rem;
    letter-spacing: -1px;
    font-weight: 400;
    text-align: center;
}
.box-item.last span.tag-credibilidade,
.box-item.last .bottom span {
    color: #eae6e5;
    font-size: 4.85rem;
    line-height: 4.65rem;
    letter-spacing: -1px;
}
.box-item.last .bottom {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    justify-content: space-between;
}
.box-item.last .bottom h3 {
    color: #a4a48d;
    font-size: 4.85rem;
    line-height: 4rem;
    letter-spacing: -1px;
    font-weight: 400;
}
.area-introduction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}
.area-introduction .text {
    position: relative;
    padding: 0 0 0 3rem;
}
.area-introduction .image {
    width: fit-content;
    height: 100%;
    position: relative;
    display: inline-flex;
}
.area-introduction .image:before{
    pointer-events: none;
    content: "";
    position: absolute;
    border: 2px solid #fff;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.94, 0.96);
}
.area-introduction .image img {
    height: 100%;
    object-fit: contain;
    object-position: top;
}
.area-introduction .text > div {
    position: relative;
    z-index: 1;
}
.area-introduction img.img-aspas {
    position: absolute;
    z-index: 0;
    top: -140px;
    left: -15px;
}
.area-introduction .text h5 {
    font-size: 1.7rem;
    line-height: 1.7rem;
    font-family: "Bebas Neue";
    letter-spacing: 1px;
    font-weight: 400;
    color: #4d4d4d;
}
span.tag-credibilidade-mobile {
    display: none;
    color: #eae6e5;
    font-size: 4.85rem;
    line-height: 4.65rem;
    letter-spacing: -1px;
}
/* Estado inicial (fora da tela) */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
/* Estado final (visível) */
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
span.tag-plus-home {
    display: none;
}
@media (max-width: 1300px) {
    .box-item h2, 
    .box-item h2 span,
    span.tag-plus-home {
        font-size: 2.5rem !important;
        line-height: 2.5rem !important;
    }
}
@media (max-width: 1200px) {
    main.home .box-texts-main {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    main.home .box-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    main.home .box-item:first-child {
        gap: 2.25rem;
    }
    .box-item:first-child h2, 
    .box-item:nth-child(2) h2 {
        min-width: 445px;
    }
    .box-item:first-child h2 {
        text-align: center;
    }
    .box-item:first-child h2::before {
        left: 6.5rem;
    }
    .box-item:nth-child(2) {
        margin-bottom: 25px;
    }
    .box-item:nth-child(2) h2 {
        padding-left: 2.8rem;
    }
    .box-item:nth-child(2) h2 span:last-child {
        text-align: left;
    }
}
@media (max-width: 800px) {
    main.home {
        background-position-x: 85%;
    }
    .area-introduction {
        flex-direction: column-reverse;
        margin-top: calc(120px + 3rem);
    }
    .area-introduction img.img-aspas {
        width: 140px;
        top: -120px;
        left: -5px;
    }
    .area-introduction .text {
        padding: 0px;
    }
    .area-introduction .image img {
        width: 100%;
        height: auto;
    }
}
@media (max-width: 500px) {
    .box-item:first-child h2,
    .box-item:nth-child(2) h2 {
        width: 100%;
        min-width: 100%;
    }
    .box-item:nth-child(2) h2 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}
@media (max-width: 470px) {
    .box-item h2::before,
    .box-item.last span.tag-credibilidade, 
    .box-item.last .bottom span,
    .box-item.last h2 br {
        display: none;
    }
    span.tag-plus-home {
        display: inline-block;
    }
    .box-item h2 {
        padding: 1.5rem;
    }
    .box-item:first-child h2 span:last-child {
        position: relative;
        left: 12px;
    }
    .box-item h2,
    .box-item:nth-child(2) h2 span:last-child {
        text-align: center !important;
    }
    .box-item:nth-child(2) h2 {
        padding-left: 1.5rem;
    }
    .box-item.last .top,
    .box-item.last h2 {
        width: 100%;
        text-align: center;
    }
    .box-item.last h2,
    .box-item.last span:last-child  {
        font-size: 2.5rem;
        line-height: 2.5rem;
        display: inline;
        text-wrap: wrap;
    }
    .box-item.last {
        gap: 2rem;
    }
    .box-item.last .bottom h3 {
        font-size: 4.85rem;
        line-height: 5rem;
    }
    span.tag-credibilidade-mobile {
        display: block;
    }
    .box-item:first-child h3,
    span.tag-credibilidade-mobile,
    .box-item.last .bottom h3 {
        font-size: 4rem;
        line-height: 4rem;
    }
}
@media(max-width: 430px) {
    .box-item:first-child h3, 
    span.tag-credibilidade-mobile, 
    .box-item.last .bottom h3 {
        font-size: 3rem;
        line-height: 3rem;
    }
    main.home .box-item:first-child,
    main.home .box-texts-main,
    .box-item.last {
        gap: 1.5rem;
    }
    main.home .box-item {
        margin: 0;
    }
    main.home .box-item h2 {
        margin-bottom: 5px;
    }
    .box-item:nth-child(2) h2 span:last-child {
        max-width: 180px;
        white-space: normal;
    }
}
@media (max-width: 410px) {
    .box-item:nth-child(2) h2 {
        padding-left: 1rem;
    }
}
@media (max-width: 390px) {
    .box-item h2, 
    .box-item h2 span {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
    main.home .box-texts-main,
    main.home .box-item.last {
        gap: 1.5rem;
    }
    main.home .box-item:first-child {
        gap: 1.8rem;
    }
}
@media (max-width: 360px) {
    .box-item h2, 
    .box-item h2 span, 
    span.tag-plus-home {
        font-size: 2.2rem !important;
        line-height: 2.2rem !important;
    }
}
@media (max-width: 340px) {
    .box-item h2, 
    .box-item h2 span,
    .box-item.last h2, 
    .box-item.last span:last-child {
        font-size: 2rem;
        line-height: 2rem;
    }
    .box-item:first-child h3,
    span.tag-credibilidade-mobile,
    .box-item.last .bottom h3 {
        font-size: 3rem;
        line-height: 3rem;
    }
}
@media (max-width: 310px) {
    .box-item:first-child h3, 
    span.tag-credibilidade-mobile, 
    .box-item.last .bottom h3 {
        font-size: 2.5rem;
    }
    .box-item h2, 
    .box-item h2 span, 
    span.tag-plus-home {
        font-size: 2rem !important;
        line-height: 2rem !important;
    }
}