@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: "Gotham-ultra";
    font-display: swap;
    src: url("/frontend/fonts/Gotham-Ultra.woff2");
}

@font-face {
    font-family: "Gotham-medium";
    font-display: swap;
    src: url("/frontend/fonts/Gotham-Medium.woff2");
}

/*--- Card de Perguntas frequentes desativado ---*/

#card-7 {
    display: none !important;
}

/*--- Card de Perguntas frequentes desativado ---*/

body h3 {
    font-size: 40px;
    color: black;
    font-family: "Gotham-Medium";
    line-height: 1;
}

body h4 {
    font-size: 30px;
    color: black;
    font-family: "Gotham-Medium";
    font-weight: 800;
    line-height: 1.2;
}

body a,
body a:hover,
body a:visited,
body a:focus {
    text-decoration: none;
    color: inherit;
}

/*--- card-1 ---*/
#card-1 h1 {
    font-size: 105px;
    color: black;
    font-family: "Gotham-Ultra";
    font-weight: 800;
    line-height: 1;
}

#card-1 .background1 {
    background: url(https://static.hayapek.com.br/banners/hayonik/sonorizacao/sonorizacaodeambientes/card1-background.webp);
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0px 0px 0px 5.319%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

#card-1 img {
    width: 100%;
    position: relative;
    left: -45px;
    top: -57px;
    width: 100%;
    height: auto;
}

#card-1 .img1 {
    margin-top: 8%;
    margin-bottom: 140px;
}

#card-1 .desc1 {
    width: 52%;
}

#card-1 .desc1 h4 {
    width: 90%;
    margin-top: 5%;
}

@media (max-width: 1760px) {
    #card-1 .desc1 {
        width: 70%;
    }
}

@media (max-width: 1700px) {
    #card-1 h1 {
        font-size: 95px;
    }

    #card-1 h4 {
        font-size: 28px;
    }
}

@media (max-width: 1550px) {
    #card-1 h1 {
        font-size: 83px;
    }

    #card-1 h4 {
        font-size: 24px;
    }

    #card-1 .img1 {
        margin-top: 6%;
        margin-bottom: 6%;
    }
}

@media (max-width: 1460px) {
    #card-1 .background1 {
        flex-direction: column;
        padding: 0% 5.319%;
    }

    #card-1 .desc1 h4 {
        width: 100%;
        margin-top: 5%;
    }

    #card-1 .desc1 {
        width: 100%;
        text-align: center;
    }

    #card-1 img {

        left: 0px;
        top: 0px;
    }

    #card-1 .img1 {
        margin-top: 3%;
        margin-bottom: 3%;
    }

    #card-1 h1 {
        font-size: 75px;
    }
}

@media (max-width: 1250px) {
    #card-1 h1 {
        font-size: 65px;
    }

    #card-1 h4 {
        font-size: 22px;
    }
}

@media (max-width: 1120px) {
    #card-1 h1 {
        font-size: 50px;
    }

    #card-1 h4 {
        font-size: 20px;
    }
}

@media (max-width: 900px) {
    #card-1 h1 {
        font-size: 40px;
    }

    #card-1 h4 {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    #card-1 h1 {
        font-size: 30px;
    }

    #card-1 h4 {
        font-size: 15px;
    }

}

@media (max-width:460px) {
    #card-1 h1 {
        font-size: 24px;
    }

    #card-1 h4 {
        font-size: 15px;
    }
}

/*--- card-2 ---*/
#card-2 {
    padding: 5.319%;
    background-color: #C7C7C7;
    display: flex;
    flex-direction: row;
    justify-content: center;
    line-height: 1;
    align-items: center;
    gap: 70px;
}

.highlight2 {
    background: #F37139;
    color: #fff;
    padding: 0 .1em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

#card-2 img {
    width: 100%;
    height: auto;
}

#card-2 h1 {
    font-size: 45px;
    font-family: "Gotham-medium";
    font-weight: 600;
    color: black;
    margin-bottom: 6%;
}

#card-2 .desc2 {
    width: 45%;
}

@media (max-width: 1700px) {
    .mobile-break {
        display: none;
    }

    #card-2 {
        gap: 3%;
    }
}

@media (max-width: 1500px) {
    #card-2 {
        flex-direction: column;
        padding: 3% 5.319%;
    }

    #card-2 .desc2 {
        margin-bottom: 3%;
        width: 100%;
        text-align: center;
    }

    #card-2 h1 {
        margin-bottom: 3%;
    }
}

@media (max-width: 1100px) {
    #card-2 h1 {
        font-size: 35px;
    }
}

@media (max-width: 850px) {
    #card-2 h1 {
        font-size: 30px;
    }

    #card-2 h4 {
        font-size: 25px;
    }
}

@media (max-width: 720px) {
    #card-2 h1 {
        font-size: 26px;
    }

    #card-2 h4 {
        font-size: 21px;
    }
}

@media (max-width: 620px) {
    #card-2 h1 {
        font-size: 22px;
    }

    #card-2 h4 {
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    #card-2 h1 {
        font-size: 18px;
    }

    #card-2 h4 {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    #card-2 h1 {
        font-size: 15px;
    }

    #card-2 h4 {
        font-size: 12px;
    }
}

/*--- card-3 ---*/
#card-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 5.319%;
    gap: 79px;
}

#card-3 .topics3 {
    width: 80%;
    margin-top: 73px;
}

#card-3 .topics3 h1 {
    font-size: 45px;
    color: #FF4D0F;
    font-family: "Gotham-ultra";
    font-weight: 800;
    margin: 0 0 15px;
}

#card-3 .topics3 .item {
    border-top: 2px solid #FF4D0F;
    padding: 18px 0px 10px 0;
}

#card-3 .topics3 h2 {
    margin: 0;
    font-size: 40px;
    color: #000;
    font-family: "Gotham-medium";
    font-weight: 400;
    line-height: 1.2;
}

#card-3 h3 {
    color: #F37139;
    font-family: "Gotham-ultra";
    margin-bottom: 5%;
    font-weight: 800;
}

#card-3 .professional h1,
#card-3 .residencial h1 {
    color: #FFFFFF;
    font-family: "Gotham-ultra";
    font-size: 55px;
    width: 100%;
    text-align: center;
    font-weight: 800;
    transition: font-size .3s ease;
    position: relative;
    z-index: 3;
    margin: 0;
}

#card-3 .title3 {
    text-align: center;
    width: 100%;
}

#card-3 .desc3 {
    margin-top: 4%;
}

#card-3 .desc3 h2 {
    font-size: 30px;
    color: #000;
    font-family: "Gotham-medium";
    font-weight: 400;
    line-height: 1.4;
}

.professional,
.residencial {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 12%;
    height: 1001px;
    width: 100%;
}

.professional .bg,
.residencial .bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform .35s ease;
}

.professional .bg {
    background-image: url(https://static.hayapek.com.br/banners/hayonik/sonorizacao/sonorizacaodeambientes/card3-right.webp);
}

.residencial .bg {
    background-image: url(https://static.hayapek.com.br/banners/hayonik/sonorizacao/sonorizacaodeambientes/card3-left.webp);
}

.imgcontainer {
    position: relative;
    overflow: hidden;
    border-radius: 75px;
    height: auto;
    width: 100%;
}

.links3 {
    width: 100%;
}

.imgcontainer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    border-radius: inherit;
}

.imgcontainer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 77, 15, 0.35);
    opacity: 0;
    transition: opacity .35s ease;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

.imgcontainer:hover::after {
    opacity: 1;
}

.imgcontainer:hover .professional .bg,
.imgcontainer:hover .residencial .bg {
    transform: scale(1.1);
}


#card-3 .professional:hover h1,
#card-3 .residencial:hover h1 {
    font-size: 65px;
}

#card-3 .right3 {
    display: flex;
    flex-direction: column;
    text-align: right;
}

#card-3 .content3 {
    display: flex;
    align-items: end;
    justify-content: end;
}

#card-3 .cards3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 1600px) {
    #card-3 {
        gap: 4%;
    }
}

@media (max-width: 1450px) {
    #card-3 h3 {
        font-size: 30px;
    }

    #card-3 .desc3 h2 {
        font-size: 25px;
    }

    #card-3 .topics3 h2 {
        font-size: 30px;
    }

    .residencial,
    .professional {
        height: 800px;
    }
}

@media (max-width: 1200px) {
    #card-3 h3 {
        font-size: 25px;
    }

    #card-3 .desc3 h2 {
        font-size: 22px;
    }

    #card-3 .topics3 h2 {
        font-size: 25px;
    }

    #card-3 .topics3 h1 {
        font-size: 35px;
    }

    #card-3 {
        padding: 5.319%;
    }
}

@media (max-width: 1080px) {

    .residencial,
    .professional {
        height: 650px;
        padding: 6%;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 50px;
    }

    #card-3 .professional:hover h1,
    #card-3 .residencial:hover h1 {
        font-size: 58px;
    }
}

@media (max-width: 1000px) {
    #card-3 h3 {
        font-size: 21px;
    }

    #card-3 .desc3 h2 {
        font-size: 20px;
    }

    #card-3 .topics3 h2 {
        font-size: 22px;
    }

    #card-3 .topics3 h1 {
        font-size: 30px;
    }

}

@media (max-width: 950px) {
    #card-3 h3 {
        font-size: 19px;
    }

    #card-3 .desc3 h2 {
        font-size: 18px;
    }

    #card-3 .topics3 h2 {
        font-size: 20px;
    }

    #card-3 .topics3 h1 {
        font-size: 26px;
    }

    .residencial,
    .professional {
        height: 550px;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 40px;
    }

    #card-3 .professional:hover h1,
    #card-3 .residencial:hover h1 {
        font-size: 50px;
    }
}

@media (max-width: 800px) {
    #card-3 {
        flex-direction: column;
        margin-top: 3%;
    }

    #card-3 .links3 {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    #card-3 .left3 {
        margin-bottom: 7%;
        align-items: center;
    }

    #card-3 h3 {
        font-size: 30px;
    }

    #card-3 .topics3 {
        width: 90%;
        margin-top: 5%;
        text-align: center;
    }

    #card-3 .desc3 h2 {
        text-align: center;
    }

    #card-3 .desc3 {
        margin-top: 2%;
    }

    .residencial,
    .professional {
        height: 950px;
        padding: 12%;
    }

    #card-3 .content3 {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 55px;
    }

    #card-3 .professional:hover h1,
    #card-3 .residencial:hover h1 {
        font-size: 65px;
    }
}

@media (max-width: 650px) {

    .residencial,
    .professional {
        height: 750px;
        padding: 8%;
    }
}

@media (max-width: 510px) {
    #card-3 h3 {
        font-size: 25px;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 45px;
    }
}

@media (max-width: 450px) {
    #card-3 h3 {
        font-size: 20px;
    }

    #card-3 .desc3 h2 {
        font-size: 16px;
    }

    #card-3 .topics3 h2 {
        font-size: 18px;
    }

    .residencial,
    .professional {
        height: 600px;
        padding: 8%;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 41px;
    }
}

@media (max-width: 475px) {

    #card-3 .professional:hover h1,
    #card-3 .residencial:hover h1 {
        font-size: 40px;
    }
}


@media (max-width: 380px) {

    .residencial,
    .professional {
        height: 500px;
        padding: 8%;
    }

    #card-3 .professional h1,
    #card-3 .residencial h1 {
        font-size: 38px;
    }
}

/*--- card-4 ---*/
#card-4 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-top: 2%;
    padding: 0% 5.319%;
}

#card-4 h3 {
    color: #F37139;
    font-family: "Gotham-ultra";
    font-weight: 700;
    margin-bottom: 3%;
}

#card-4 h4 {
    font-weight: 400;
}

@media (max-width: 1200px) {
    #card-4 h4 {
        font-size: clamp(14px, calc(11.26px + 0.731vw), 25px);
    }

    #card-4 h3 {
        font-size: clamp(21.88px, calc(21.88px + 0.698vw), 35px);
    }
}


/*--- card-5 ---*/
#card-5 {
    margin-top: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#card-5 .workflow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#card-5 h1 {
    font-size: 40px;
    color: white;
    font-family: "Gotham-Ultra";
    font-weight: 800;
    line-height: 1;
}

#card-5 .cards5 {
    background-color: #5D666E;
    border-radius: 24px;
    width: 376px;
    height: 362px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    padding: 8%;
}

#card-5 .number5 {
    position: absolute;
    bottom: -20px;
    left: -20px;
}

#card-5 .arrow5 {
    padding: 5px;
}

#card-5 .desc51 h4 {
    font-weight: 400;
}

#card-5 .desc51 {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
}

@media (max-width: 1760px) {
    #card-5 .cards5 {
        width: 326px;
        height: 312px;
    }
}

@media (max-width: 1560px) {
    #card-5 .cards5 {
        width: 376px;
        height: 362px;
    }

    #card-5 .workflow {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
    }

    #card-5 .workflow>*:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    #card-5 .workflow>*:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        transform: rotate(0deg);
    }

    #card-5 .workflow>*:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    #card-5 .workflow>*:nth-child(4) {
        grid-column: 3;
        grid-row: 2;
        transform: rotate(90deg);
    }

    #card-5 .workflow>*:nth-child(5) {
        grid-column: 3;
        grid-row: 3;
    }

    #card-5 .workflow>*:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
        transform: rotate(180deg);
    }

    #card-5 .workflow>*:nth-child(7) {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (max-width: 900px) {
    #card-5 .cards5 {
        width: 350px;
        height: 336px;
    }
}

@media (max-width: 815px) {
    #card-5 .cards5 {
        width: 376px;
        height: 362px;
    }

    #card-5 .workflow {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    #card-5 .workflow>*:nth-child(1),
    #card-5 .workflow>*:nth-child(2),
    #card-5 .workflow>*:nth-child(3),
    #card-5 .workflow>*:nth-child(4),
    #card-5 .workflow>*:nth-child(5),
    #card-5 .workflow>*:nth-child(6),
    #card-5 .workflow>*:nth-child(7) {
        grid-column: 1;
        grid-row: auto;
    }

    #card-5 .workflow>*:nth-child(2),
    #card-5 .workflow>*:nth-child(4),
    #card-5 .workflow>*:nth-child(6) {
        transform: rotate(90deg);
    }
}

@media (max-width: 430px) {
    #card-5 .cards5 {
        width: 300px;
        height: 270px;
    }

    #card-5 .img5 img {
        width: 70%;
        height: auto;
    }

    #card-5 .img5 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #card-5 .cards5 {
        padding: 11%;
    }
}

/*--- card-7 ---*/
#card-7 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #C7C7C7;
    padding: 38px 5.319%;
    text-align: left;
}

#card-7 .title7 {
    width: 100%;
}

#card-7 h1 {
    font-family: "Gotham-Medium";
    font-weight: 400;
    color: white;
    font-size: 30px;
    margin: 0 0 10px 0;
}

#card-7 h2 {
    font-family: "Gotham-Medium";
    font-weight: 400;
    color: white;
    font-size: 23px;
    margin: 0;
    line-height: 1.5;
}

#card-7 h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin-bottom: 60px;
}

#card-7 .arrow-desc {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 40px;
    cursor: pointer;
}

#card-7 .arrow-desc img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 8px;
    margin-right: 20px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

#card-7 .arrow-desc.active img {
    transform: rotate(-90deg);
    filter: invert(70%) sepia(62%) saturate(0%) hue-rotate(247deg) brightness(84%) contrast(105%) hue-rotate(180deg);
}

#card-7 .desc7 {
    width: 75%;
    overflow: hidden;
}

#card-7 h2 {
    font-family: "Gotham-Medium";
    font-weight: 400;
    color: white;
    font-size: 23px;
    margin: 0;
    line-height: 1.5;
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
}

#card-7 .arrow-desc.active h2 {
    max-height: 0;
    opacity: 0;
}

/*--- footer ---*/
#footer {
    padding: 70px 5.319%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#footer .social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 67px;
}

#footer .logo img {
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    #footer {
        padding: 60px 4%;
    }

    #footer .social-media {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        gap: 32px;
        padding: 48px 6%;
        text-align: center;
    }

    #footer .social-media {
        gap: 28px;
        flex-wrap: wrap;
        justify-content: center;
    }

    #footer .social-media img {
        max-height: 60px;
    }
}

@media (max-width: 420px) {
    #footer .social-media {
        gap: 20px;
    }

    #footer .social-media img {
        width: 100%;
        height: auto;
        max-height: 32px;
    }

    #footer .logo img {
        width: 200px;
    }
}

/* Header */
.main-forms .header-form {
    display: flex;
    flex-direction: row;
    padding: 5.319%;
    gap: 27%;
}

.main-forms .header-form div {
    flex: 1;
}

.main-forms .header-form div:first-child {
    max-width: 282px;
}

.main-forms .header-form .menu {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.main-forms .header-form .menu span {
    font-weight: 500;
    font-size: 16px;
    color: black;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
}

.main-forms .header-form .menu span:hover {
    color: #F37139;
}

.main-forms .header-form img {
    width: 100%;
    max-width: 282px;
    height: auto;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 1334px) {
    .main-forms .header-form {
        display: flex;
        flex-direction: row;
        padding: 5.319%;
        gap: 7%;
    }
}

@media (max-width: 967px) {
    .main-forms .header-form {
        gap: 1.5rem;
        flex-direction: column;
    }

    .main-forms .header-form div:first-child {
        text-align: center;
        max-width: none;
    }
}

@media (max-width: 620px) {
    .main-forms .header-form .menu span {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .main-forms .header-form .menu span {
        font-size: 11px;
    }
}

@media (max-width: 700px) {
    body h4 {
        font-size: 25px;
    }
}

@media (max-width: 500px) {
    body h4 {
        font-size: 20px;
    }
}