:root {
    --faq-bg: #f7f5f2;
    --faq-card: #ffffff;
    --faq-text: #232323;
    --faq-muted: #5e5e5e;
    --faq-accent: #f07a1f;
    --faq-blue: #18a9d2;
    --faq-shadow: 0 12px 30px rgba(40, 33, 27, 0.08);
}

body.faq-page {
    background: var(--faq-bg);
    color: var(--faq-text);
}

body.faq-page main {
    overflow: hidden;
}

body.faq-page .hero {
    min-height: auto;
    height: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: block;
}

body.faq-page .hero-bg-faq {
    position: relative;
    width: 100%;
}

body.faq-page .hero-bg-faq img {
    display: block;
    width: 100%;
    height: clamp(340px, 42vw, 560px);
    object-fit: cover;
    object-position: top center;
}

.faq-heading {
    position: relative;
    background: var(--faq-bg);
    padding: 72px 20px 44px;
}

.faq-heading__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-heading__title {
    width: min(280px, 58vw);
    max-width: 280px;
    padding: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.23, 1, 0.32, 1), transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-heading__title.fade-in-up-active {
    opacity: 1;
    transform: translateY(0);
}

.faq-heading__waves {
    position: absolute;
    left: clamp(-36px, 2vw, 0px);
    top: 50%;
    transform: translateY(-18%);
    width: min(150px, 22vw);
    opacity: 1;
}

.faq-heading__waves img {
    display: block;
    width: 100%;
    height: auto;
}

.faq {
    position: relative;
    background: var(--faq-bg);
    padding: 26px 20px 170px;
}

.faq-shell {
    max-width: 900px;
}

.faq-title {
    margin: 0;
    font-family: "Kalnia", serif;
    font-size: clamp(2.05rem, 3.3vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--faq-accent);
}

.faq-title-wave {
    display: flex;
    justify-content: center;
    margin: 78px 0 54px;
}

.faq-title-wave img {
    width: 58px;
    height: auto;
}

.accordion {
    max-width: 960px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--faq-card);
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: var(--faq-shadow);
    overflow: hidden;
    border: 1px solid rgba(240, 122, 31, 0.08);
}

.accordion-header {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--faq-text);
    background: var(--faq-card);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.accordion-header:hover {
    background: #fdf3eb;
}

.accordion-header i {
    color: #f0b073;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: #fff7f0;
    color: #201f1f;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #fffdfa;
}

.accordion-item.active .accordion-content {
    max-height: 2200px;
    padding: 8px 22px 22px;
}

.accordion-content p,
.accordion-content li {
    margin: 0 0 14px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--faq-muted);
}

.accordion-content strong {
    color: var(--faq-text);
}

.accordion-content ul {
    margin: 0 0 18px 18px;
    padding: 0;
}

.accordion-content a {
    color: #147ba0;
    word-break: break-word;
}

.faq-note {
    font-size: 0.84rem;
}

.faq-decor {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    pointer-events: none;
}

.faq-decor__board {
    position: absolute;
    left: clamp(8px, 3vw, 26px);
    bottom: -170px;
    width: min(142px, 18vw);
    z-index: 2;
}

.faq-decor__palm {
    position: absolute;
    right: clamp(-12px, 1vw, 12px);
    bottom: -170px;
    width: min(250px, 24vw);
    opacity: 0.88;
}

body.faq-page .contato {
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

body.faq-page .contato-top {
    padding-top: 76px;
}

body.faq-page .contato h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.faq-page .linha {
    display: block;
}

@media (max-width: 960px) {
    .faq-heading {
        padding-top: 56px;
    }

    .faq-heading__waves {
        width: 120px;
        top: 58%;
    }

    .faq {
        padding-bottom: 170px;
    }

    .faq-title-wave {
        margin-bottom: 40px;
    }

    .faq-decor__board {
        width: 110px;
        bottom: -116px;
    }

    .faq-decor__palm {
        width: 200px;
        bottom: -140px;
    }
}

@media (max-width: 768px) {
    body.faq-page .linha {
        display: none !important;
    }

    .faq-heading {
        padding: 30px 0px 27px;
    }

    .faq-heading__title {
        width: min(398px, 165vw);
        display: block;
        margin: 0 auto;
    }

    .faq-heading__waves {
        position: static;
        transform: none;
        width: 110px;
        margin: 0 0 76px;
    }

    .faq-heading__inner {
        flex-direction: column;
        align-items: center;
    }

    .faq {
        padding: 6px 14px 130px;
    }

    .faq-title {
        font-size: clamp(1.46rem, 6.5vw, 1.96rem);
        line-height: 1.3;
        text-align: center;
        max-width: 320px;
        margin: 0 auto 73px;
    }

    .faq-title-wave {
        margin: 0 0 34px;
        position: relative;
        z-index: 0;
    }

    .faq-title-wave img {
        width: 48px;
    }

    .accordion-header {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .accordion-content {
        padding: 0 18px;
    }

    .accordion-item.active .accordion-content {
        padding: 7px 26px 18px;
    }

    .accordion-content p,
    .accordion-content li {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .faq-decor__board {
        left: 2px;
        bottom: -131px;
        width: 92px;
    }

    .faq-decor__palm {
        right: -22px;
        bottom: -131px;
        width: 150px;
    }

    body.faq-page .contato-top {
        padding-top: 54px;
    }
}
