/* =========================================================
   WEBARTY — FAQ MANUTENÇÃO
   INTRO À ESQUERDA + PERGUNTAS À DIREITA
   SEM PISCAR AO FECHAR
   CSS COMPLETO PARA SUBSTITUIÇÃO
   ========================================================= */


/* =========================================================
   LOCAL RESET
   ========================================================= */

.wa-maintenance-faq,
.wa-maintenance-faq *,
.wa-maintenance-faq *::before,
.wa-maintenance-faq *::after {
    box-sizing: border-box;
}

.wa-maintenance-faq h2,
.wa-maintenance-faq h3,
.wa-maintenance-faq p {
    margin: 0;
    padding: 0;
}


/* =========================================================
   SECTION
   ========================================================= */

.wa-maintenance-faq {
    --wa-faq-dark: #212c4f;
    --wa-faq-dark-soft: #283550;

    --wa-faq-teal: #00a78e;
    --wa-faq-teal-hover: #008f7a;
    --wa-faq-green: #36c88a;

    --wa-faq-white: #ffffff;
    --wa-faq-text: #657188;

    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 88px 0 92px;

    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 96% 4%,
            rgba(0, 167, 142, 0.17) 0%,
            rgba(0, 167, 142, 0.035) 24%,
            rgba(0, 167, 142, 0) 42%
        ),
        radial-gradient(
            circle at 3% 96%,
            rgba(54, 200, 138, 0.09) 0%,
            rgba(54, 200, 138, 0) 34%
        ),
        linear-gradient(
            145deg,
            #283550 0%,
            #212c4f 62%,
            #1d2746 100%
        );

    font-family:
        var(
            --e-global-typography-text-font-family,
            "Roboto"
        ),
        Arial,
        sans-serif;
}


/* =========================================================
   DECORATION
   ========================================================= */

.wa-maintenance-faq__decor {
    position: absolute;
    z-index: -1;

    border-radius: 50%;

    pointer-events: none;
}

.wa-maintenance-faq__decor--top {
    top: -470px;
    right: -320px;

    width: 730px;
    height: 730px;

    border:
        1px solid rgba(141, 225, 202, 0.08);
}

.wa-maintenance-faq__decor--bottom {
    bottom: -520px;
    left: -410px;

    width: 760px;
    height: 760px;

    border:
        1px solid rgba(54, 200, 138, 0.07);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.wa-maintenance-faq__container {
    position: relative;
    z-index: 2;

    width:
        min(
            calc(100% - 64px),
            1380px
        );

    margin: 0 auto;
}


/* =========================================================
   LAYOUT
   LEFT COLUMN ALWAYS STAYS AT THE TOP
   ========================================================= */

.wa-maintenance-faq__layout {
    display: grid;

    grid-template-columns:
        minmax(360px, 0.83fr)
        minmax(0, 1.17fr);

    align-items: start !important;

    gap:
        clamp(
            60px,
            7vw,
            108px
        );

    width: 100%;
}


/* =========================================================
   INTRO
   ========================================================= */

.wa-maintenance-faq__intro {
    align-self: start !important;

    width: 100%;
    max-width: 545px;

    margin: 0;
    padding: 0;

    transform: none !important;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.wa-maintenance-faq__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: #8de1ca;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.wa-maintenance-faq__eyebrow-line {
    display: block;
    flex: 0 0 33px;

    width: 33px;
    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--wa-faq-teal),
            var(--wa-faq-green)
        );
}


/* =========================================================
   TITLE
   ========================================================= */

.wa-maintenance-faq__title {
    max-width: 545px;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size:
        clamp(
            38px,
            3.25vw,
            48px
        ) !important;

    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.042em !important;

    text-transform: none !important;
    text-wrap: balance;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.wa-maintenance-faq__description {
    max-width: 500px;

    margin-top: 23px !important;

    color:
        rgba(255, 255, 255, 0.73) !important;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   NOTE
   ========================================================= */

.wa-maintenance-faq__note {
    display: grid;

    grid-template-columns:
        50px
        minmax(0, 1fr);

    align-items: center;

    gap: 15px;

    width: 100%;
    max-width: 500px;

    margin-top: 30px;
    padding: 18px 19px;

    border:
        1px solid rgba(141, 225, 202, 0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.045)
        );

    box-shadow:
        0 14px 32px rgba(6, 14, 32, 0.10);
}

.wa-maintenance-faq__note-icon {
    display: inline-flex;

    width: 50px;
    height: 50px;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(141, 225, 202, 0.19);

    border-radius: 50%;

    color: #8de1ca;

    background:
        rgba(54, 200, 138, 0.09);
}

.wa-maintenance-faq__note-icon svg {
    display: block;

    width: 24px;
    height: 24px;
}

.wa-maintenance-faq__note-copy {
    min-width: 0;
}

.wa-maintenance-faq__note strong {
    display: block;

    color: #ffffff;

    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.4;
}

.wa-maintenance-faq__note p {
    margin-top: 5px !important;

    color:
        rgba(255, 255, 255, 0.65) !important;

    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
}


/* =========================================================
   QUESTIONS
   ========================================================= */

.wa-maintenance-faq__questions {
    align-self: start;

    display: flex;
    flex-direction: column;

    gap: 12px;

    width: 100%;
    max-width: 720px;

    margin-left: auto;
}


/* =========================================================
   FAQ ITEM
   IMPORTANT:
   NO BACKGROUND OR SHADOW ANIMATION
   ========================================================= */

.wa-faq-item {
    position: relative;

    width: 100%;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, 0.13);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 27px rgba(7, 15, 34, 0.11);

    transition: none !important;
}


/* =========================================================
   REMOVE OLD VERTICAL LINE
   ========================================================= */

.wa-faq-item::before,
.wa-faq-item::after,
.wa-faq-item[open]::before,
.wa-faq-item[open]::after {
    display: none !important;

    content: none !important;

    width: 0 !important;
    height: 0 !important;

    opacity: 0 !important;

    background: none !important;
}


/* =========================================================
   HOVER
   NO MOVEMENT — PREVENTS FLICKER
   ========================================================= */

.wa-faq-item:hover {
    border-color:
        rgba(0, 167, 142, 0.30);

    background: #ffffff;

    box-shadow:
        0 12px 27px rgba(7, 15, 34, 0.11);

    transform: none !important;
}


/* =========================================================
   OPEN ITEM
   SAME BACKGROUND AND SHADOW AS CLOSED ITEM
   ========================================================= */

.wa-faq-item[open] {
    border-color:
        rgba(0, 167, 142, 0.38);

    background: #ffffff;

    box-shadow:
        0 12px 27px rgba(7, 15, 34, 0.11);

    transform: none !important;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.wa-faq-item__summary {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        38px;

    align-items: center;

    gap: 20px;

    min-height: 68px;

    padding:
        14px
        17px
        14px
        21px;

    cursor: pointer;

    list-style: none;

    -webkit-tap-highlight-color: transparent;

    user-select: none;
    -webkit-user-select: none;
}

.wa-faq-item__summary::-webkit-details-marker {
    display: none;
}

.wa-faq-item__summary::marker {
    display: none;

    content: "";
}

.wa-faq-item__summary:focus {
    outline: none;
}

.wa-faq-item__summary:focus-visible {
    outline:
        3px solid rgba(0, 167, 142, 0.20);

    outline-offset: -3px;

    border-radius: 17px;
}


/* =========================================================
   QUESTION
   ========================================================= */

.wa-faq-item__question {
    color: var(--wa-faq-dark-soft);

    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: -0.01em;
}


/* =========================================================
   TOGGLE
   ONLY THIS ELEMENT IS ANIMATED
   ========================================================= */

.wa-faq-item__toggle {
    position: relative;

    display: inline-flex;

    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(0, 167, 142, 0.18);

    border-radius: 50%;

    color: var(--wa-faq-teal);

    background:
        rgba(0, 167, 142, 0.07);

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.wa-faq-item__toggle span {
    position: absolute;

    width: 13px;
    height: 2px;

    border-radius: 999px;

    background: currentColor;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.wa-faq-item__toggle span:first-child {
    transform: rotate(0deg);
}

.wa-faq-item__toggle span:last-child {
    transform: rotate(90deg);
}

.wa-faq-item[open] .wa-faq-item__toggle {
    border-color:
        var(--wa-faq-teal);

    color: #ffffff;

    background:
        var(--wa-faq-teal);
}

.wa-faq-item[open] .wa-faq-item__toggle span:first-child {
    transform: rotate(0deg);
}

.wa-faq-item[open] .wa-faq-item__toggle span:last-child {
    opacity: 0;

    transform:
        rotate(90deg)
        scaleX(0);
}


/* =========================================================
   ANSWER
   NO TRANSITION — NATIVE DETAILS CLOSES CLEANLY
   ========================================================= */

.wa-faq-item__answer {
    display: flex;
    flex-direction: column;

    gap: 8px;

    margin:
        0
        17px;

    padding:
        17px
        5px
        20px;

    border-top:
        1px solid rgba(0, 167, 142, 0.13);

    background: #ffffff;

    transition: none !important;
}

.wa-faq-item__answer p {
    max-width: 640px;

    color: var(--wa-faq-text) !important;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   CLOSED ANSWER
   ========================================================= */

.wa-faq-item:not([open]) > .wa-faq-item__answer {
    display: none;
}


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1280px) {

    .wa-maintenance-faq {
        padding:
            82px
            0
            87px;
    }

    .wa-maintenance-faq__container {
        width:
            min(
                calc(100% - 56px),
                1380px
            );
    }

    .wa-maintenance-faq__layout {
        grid-template-columns:
            minmax(320px, 0.78fr)
            minmax(0, 1.22fr);

        align-items: start !important;

        gap: 52px;
    }

    .wa-maintenance-faq__intro {
        align-self: start !important;
    }

    .wa-maintenance-faq__title {
        font-size:
            clamp(
                36px,
                3.35vw,
                45px
            ) !important;
    }

    .wa-maintenance-faq__questions {
        max-width: 680px;
    }
}


/* =========================================================
   SMALL DESKTOP / TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .wa-maintenance-faq {
        padding:
            78px
            0
            84px;
    }

    .wa-maintenance-faq__container {
        width:
            min(
                calc(100% - 48px),
                1380px
            );
    }

    .wa-maintenance-faq__layout {
        grid-template-columns: 1fr;

        align-items: start !important;

        gap: 40px;
    }

    .wa-maintenance-faq__intro {
        position: static;

        align-self: start !important;

        max-width: 720px;
    }

    .wa-maintenance-faq__title {
        max-width: 680px;

        font-size:
            clamp(
                38px,
                5.6vw,
                48px
            ) !important;
    }

    .wa-maintenance-faq__description {
        max-width: 640px;
    }

    .wa-maintenance-faq__note {
        max-width: 600px;
    }

    .wa-maintenance-faq__questions {
        max-width: 760px;

        margin:
            0
            auto;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .wa-maintenance-faq {
        padding:
            66px
            0
            72px;

        background:
            linear-gradient(
                155deg,
                #283550 0%,
                #212c4f 62%,
                #1d2746 100%
            );
    }

    .wa-maintenance-faq__decor {
        display: none;
    }

    .wa-maintenance-faq__container {
        width:
            calc(100% - 48px);
    }

    .wa-maintenance-faq__layout {
        align-items: start !important;

        gap: 32px;
    }

    .wa-maintenance-faq__intro {
        align-self: start !important;
    }

    .wa-maintenance-faq__eyebrow {
        gap: 10px;

        margin-bottom: 15px;

        font-size: 11px;
    }

    .wa-maintenance-faq__eyebrow-line {
        flex-basis: 27px;

        width: 27px;
        height: 2px;
    }

    .wa-maintenance-faq__title {
        max-width: none;

        font-size:
            clamp(
                32px,
                8.7vw,
                39px
            ) !important;

        line-height: 1.09 !important;
        text-wrap: pretty;
    }

    .wa-maintenance-faq__description {
        max-width: none;

        margin-top: 19px !important;

        font-size: 15px;
        line-height: 1.65;
    }

    .wa-maintenance-faq__note {
        grid-template-columns:
            44px
            minmax(0, 1fr);

        gap: 12px;

        margin-top: 24px;
        padding: 15px;

        border-radius: 16px;
    }

    .wa-maintenance-faq__note-icon {
        width: 44px;
        height: 44px;
    }

    .wa-maintenance-faq__note-icon svg {
        width: 21px;
        height: 21px;
    }

    .wa-maintenance-faq__note strong {
        font-size: 13.5px;
    }

    .wa-maintenance-faq__note p {
        font-size: 12px;
    }

    .wa-maintenance-faq__questions {
        gap: 10px;
    }

    .wa-faq-item {
        border-radius: 15px;
    }

    .wa-faq-item:hover {
        transform: none !important;
    }

    .wa-faq-item__summary {
        grid-template-columns:
            minmax(0, 1fr)
            34px;

        gap: 13px;

        min-height: 62px;

        padding:
            12px
            13px
            12px
            16px;
    }

    .wa-faq-item__question {
        font-size: 14px;
        line-height: 1.4;
    }

    .wa-faq-item__toggle {
        width: 34px;
        height: 34px;
    }

    .wa-faq-item__toggle span {
        width: 12px;
    }

    .wa-faq-item__answer {
        gap: 7px;

        margin:
            0
            13px;

        padding:
            14px
            3px
            17px;
    }

    .wa-faq-item__answer p {
        font-size: 13.5px;
        line-height: 1.62;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .wa-maintenance-faq__container {
        width:
            calc(100% - 40px);
    }

    .wa-maintenance-faq__title {
        font-size: 31px !important;
    }

    .wa-maintenance-faq__note {
        grid-template-columns: 1fr;
    }

    .wa-faq-item__summary {
        padding:
            11px
            11px
            11px
            14px;
    }

    .wa-faq-item__question {
        font-size: 13.5px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .wa-maintenance-faq *,
    .wa-maintenance-faq *::before,
    .wa-maintenance-faq *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   WEBARTY — UNIFIED DESKTOP SIDE GUTTERS
   64 PX ON EACH SIDE AT 1280 PX VIEWPORT
   MAXIMUM CONTENT WIDTH: 1380 PX
   ========================================================= */

@media (min-width: 1201px) {

    .wa-maintenance-faq__container {
        width:
            min(
                calc(100% - 128px),
                1380px
            ) !important;

        max-width: 1380px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

}

