/* ------------------------------
   ESTILO GERAL
--------------------------------*/
body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--slt-dark);
    background: #fff;
    line-height: 1.6;
    font-display: swap;
}

/* ------------------------------
   BANNER
--------------------------------*/
.section-faq{
    position: relative;
    text-align: center;
    color: #fff;
    padding: 120px 0 80px;
}

.faq-section{
    padding: 40px 0 100px; max-width: 900px;
}

.background-bg{
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.section-faq .background-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}
.banner-faq h1 {
    font-size: 44px;
    font-weight: 800;
    margin-top: 150px;
    color: var(--slt-dark);
}

.banner-faq p {
    font-size: 22px;
    opacity: 0.75;
    margin-top: 20px;
    color: #000;
    margin-left:0;
}

/* Conteúdo */
.banner-faq {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding-top: 5px;
    padding: 1rem 0 1rem;
    text-align: center;
    color: #fff;
    top: -120px;
    margin-bottom: -150px;
}

.video-bg video,
.background-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width:768px){

    .section-faq .background-bg img{
        height: 100%;
    }
    
    .section-faq{
    position: relative;
    text-align: center;
    color: #fff;
}

}

/* ------------------------------
   RESPONSIVIDADE
--------------------------------*/
@media (max-width: 768px) {

    .banner-faq p {
    font-size: 17px;
    text-align:center;
    margin-bottom: -50px;
    margin-left: 0;
}

.banner-faq h1 {
    margin-top: 100px;
    font-size:45px;
}
    
    .bubble {
        width: 50px;
        height: 50px;
    }

    .bubble .bub {
        font-size: 1.4rem;
    }

    .content h2 {
        font-size: 1.3rem;
    }

    .faq-group-title {
     margin-left:43%;
}

.faq-section h2 {
    text-align: center;
}

.faq-section{
     max-width: 300px;
}
}

.faq-group-title {
    width: 60px;
    height: 60px;
    background: #1d2227;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.faq-group-title .bub {
   color: #fff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.faq-item {
    border-bottom: 1px solid rgba(5, 5, 5, 0.453);
    padding: 20px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: 0.35s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-top: 10px;
}

.faq-answer p {
    color: #000000;
    margin-bottom: 12px;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease !important;
}

.faq-item.open .faq-answer {
    max-height: 500px !important;
}

.faq-answer p {
    overflow: visible !important;
}

.faq-answer {
    display: block !important;
    height: auto !important;
}

/* TABLET */
@media (max-width: 768px) {

    .faq-item {
        padding: 18px 0;
    }

    .faq-question {
        font-size: 1rem;
        line-height: 1.5;
        gap: 15px;
        align-items: flex-start;
    }

    .faq-icon {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: justify;
    }
}

/* TELEMÓVEL */
@media (max-width: 480px) {

    .faq-item {
        padding: 15px 0;
    }

    .faq-question {
        font-size: 0.95rem;
        line-height: 1.5;
        padding-right: 15px;
        padding-left: 15px;
    }

    .faq-icon {
        font-size: 1.2rem;
        min-width: 20px;
        text-align: center;
    }

    .faq-answer {
        margin-top: 12px;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.7;
        word-break: break-word;
        padding-right: 15px;
        padding-left: 15px;
    }
}