/* =========================
   RESET BÁSICO
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 16px;


    @media(max-width: 990px) {
        padding: 0 64px;
    }

    @media(max-width: 500px) {
        padding: 0 18px;
    }
}

/* =========================
   DISPLAY
========================= */
.d-block {
    display: block;
}

.d-inline {
    display: inline;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

/* =========================
   FLEX
========================= */
.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.m-flex-wrap {
    @media (max-width: 990px) {
        flex-wrap: wrap;
    }
}

.flex-nowrap {
    flex-wrap: nowrap;
}

/* JUSTIFY CONTENT */
.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}


.m-justify-center {
    @media(max-width: 990px) {
        justify-content: center;
    }
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

/* ALIGN ITEMS */
.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.items-stretch {
    align-items: stretch;
}

/* ALIGN SELF */
.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: center;
}

.self-end {
    align-self: flex-end;
}

.centered-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* GAP */
.gap-6 {
    gap: 6px;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

/* =========================
   GRID
========================= */
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* =========================
   POSITION
========================= */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.center-absolute {
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.position-fixed {
    position: fixed;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

/* =========================
   WIDTH & HEIGHT
========================= */
.w-100 {
    width: 100%;
}

.m-w-100 {
    @media(max-width: 990px) {
        width: 100%;
    }
}

.h-100 {
    height: 100%;
}

/* =========================
   TEXT
========================= */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* =========================
   SPACING
========================= */
.mt-12 {
    margin-top: 12px;
}

.mb-12 {
    margin-bottom: 12px;
}

.pt-12 {
    padding-top: 12px;
}

.pb-12 {
    padding-bottom: 12px;
}

.m-12 {
    margin: 12px;
}

.p-12 {
    padding: 12px;
}

.px-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.py-12 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.mx-12 {
    margin-left: 12px;
    margin-right: 12px;
}

.my-12 {
    margin-top: 12px;
    margin-bottom: 12px;
}


.mt-24 {
    margin-top: 24px;
}

.mb-24 {
    margin-bottom: 24px;
}

.pt-24 {
    padding-top: 24px;
}

.pb-24 {
    padding-bottom: 24px;
}

.m-24 {
    margin: 24px;
}

.p-24 {
    padding: 24px;
}

.px-24 {
    padding-left: 24px;
    padding-right: 24px;
}

.py-24 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.mx-24 {
    margin-left: 24px;
    margin-right: 24px;
}

.my-24 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.p-20 {
    padding: 20px;
}

.m-20 {
    margin: 20px;
}

/* =========================
   UTILIDADES EXTRAS
========================= */

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

img {
    max-width: 100%;
    width: 100%;
}

/* =========================
   SITE CONTENT
========================= */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

body {
    background-color: #fff;
    font-family: 'Poppins' !important;
}


header {
    .content-header {
        padding: 64px;

        @media(max-width: 550px) {
            padding: 24px 0;
            padding-bottom: 0;
        }

        @media(max-width: 990px) {
            display: flex;
            flex-direction: column-reverse;
        }

        .site-logo {
            img {
                width: 280px;
                height: auto;
            }
        }


    }
}

.cta-tarja {

    @media(max-width: 990px) {
        justify-content: center;
    }

    a {
        padding: 10px 32px;
        background: #EA5725;
        border-radius: 8px;
        height: 44px;

        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: #FFFFFF;
    }
}

.section-site {
    padding: 64px 0;
}

.section-site-medium {
    padding: 32px 0;
}

.cta-button {
    cursor: pointer;
    box-shadow: 0px 0px 0px transparent;
    transition: all .3s ease-in-out;

    &:hover {
        opacity: .8;
        box-shadow: 1px 1px 4px #333333;
    }
}

.section-tarja {
    .tarja-content {
        grid-template-columns: repeat(4, 1fr);

        @media(max-width: 990px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media(max-width: 500px) {
            grid-template-columns: repeat(1, 1fr);
        }

        .item-tarja {
            background: #FFFFFF;
            box-shadow: 0px 0px 26px rgba(53, 53, 53, 0.15);
            border-radius: 16px;
            transition: all .3s ease-in-out;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0);


            &:hover {
                border: 1px solid #F47920;
                box-shadow: 2px 2px 26px rgba(53, 53, 53, 0.30);
                transform: scale(1.02);

            }

            .icon {
                img {
                    max-width: 32px;
                }
            }

            .text p {
                font-weight: 600;
                font-size: 14px;
                line-height: 24px;
                color: #3E4149;
            }
        }
    }


}

.section-form {
    background: radial-gradient(40.02% 50% at 50% 50%, #F47920 0%, #EA5725 100%);

    .section-title {
        h2 {
            font-weight: 600;
            font-size: 48px;
            line-height: 55px;
            color: #FFFFFF;
            margin-bottom: 45px;
        }

        p {
            font-weight: 400;
            font-size: 27px;
            line-height: 40px;
            color: #FFFFFF;
            margin-bottom: 64px;
        }
    }

    .content-section {
        gap: 20px;

        @media(max-width: 990px) {
            gap: 12px;
        }
    }

    .image-form {
        img {
            max-width: 700px;
            height: auto;

            @media(max-width: 990px) {
                max-width: 100%;
            }
        }
    }

    .form-content {
        padding: 64px 38px 38px;
        gap: 12px;
        width: 520px;
        background: #FFFFFF;
        box-shadow: 0px 0px 26px rgba(0, 0, 0, 0.25);
        border-radius: 32px;
        overflow: hidden;

        #overlay-form {
            visibility: hidden;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            filter: blur(6px);
            z-index: 2;
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            cursor: pointer;

            &.active {
                visibility: visible;
            }
        }

        #form-response {
            visibility: hidden;
            z-index: 3;
            background-color: #fff;
            border: 1px solid rgba(0, 0, 0, .2);
            padding: 12px;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;

            &.active {
                visibility: visible;
            }
        }


        .input-form {
            padding: 12px 16px;
            width: 100%;
            height: 48px;
            border: 1px solid #A4A7AF;
            border-radius: 8px;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            color: #3E4149;

            &::placeholder {
                color: #A4A7AF;
            }

            &:focus,
            &:active {
                outline-color: #EA5725;
                outline-style: solid;
                outline-width: thin;
                border-color: transparent;
            }

            &.error {
                outline-color: #ff3030;
                outline-style: solid;
                outline-width: thin;
                border-color: transparent;
            }
        }


        .label-radio {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;

            input[type="radio"] {
                display: none;
            }

            .radio {
                width: 16px;
                height: 16px;
                border: 1px solid #ff5a2c;
                border-radius: 50%;
                position: relative;
            }

            /* bolinha interna */
            .radio::after {
                content: "";
                width: 16px;
                height: 16px;
                background: #ff5a2c;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) scale(0);
                transition: 0.2s;
            }

            /* quando selecionado */
            input[type="radio"]:checked+.radio::after {
                transform: translate(-50%, -50%) scale(1);
            }

            input:checked+.radio {
                border-color: #ff4d2d;
            }
        }

        label[for="aceito"] {
            font-weight: 400;
            font-size: 13px;
            color: #A4A7AF;
            cursor: pointer;
            position: relative;

            &.error {
                color: #ff3030;

                .checkbox {
                    border: 1px solid #ff3030;

                    &.error {
                        &:after {
                            background-color: #ff3030;
                        }
                    }
                }
            }

            input[type="checkbox"] {
                opacity: 0;
                position: absolute;
                z-index: -1;
                overflow: hidden;
                width: 0;
                height: 0;
            }

            .checkbox {
                min-width: 16px;
                min-height: 16px;
                max-width: 16px;
                max-height: 16px;
                border: 1px solid #ff5a2c;
                border-radius: 4px;
                position: relative;
            }

            /* bolinha interna */
            .checkbox::after {
                content: "";
                width: 16px;
                height: 16px;
                background: #ff5a2c;
                border-radius: 4px;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%) scale(0);
                transition: 0.2s;
            }

            /* quando selecionado */
            input[type="checkbox"]:checked+.checkbox::after {
                transform: translate(-50%, -50%) scale(1);
            }

            input:checked+.checkbox {
                border-color: #ff4d2d;
            }
        }

        .radio-flex {
            padding: 16px;

            .label-title {
                font-weight: 700;
                font-size: 16px;
                line-height: 24px;
                color: #3E4149;
            }

            label {
                font-weight: 400;
                font-size: 16px;
                line-height: 24px;
                color: #A4A7AF;
            }

        }

        .footer-form {
            button {
                padding: 10px 64px;
                width: 243px;
                max-width: 100%;
                height: 44px;
                background: #EA5725;
                border-radius: 8px;
                font-weight: 600;
                font-size: 16px;
                line-height: 24px;
                color: #FFFFFF;
                border: none;
            }

            p {
                font-weight: 400;
                font-size: 14px;
                line-height: 21px;
                color: #A4A7AF;
            }
        }
    }
}

.section-cards {
    background-color: #002FA7;

    .cards-content {
        grid-template-columns: repeat(3, 1fr);

        @media(max-width: 990px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media(max-width: 500px) {
            grid-template-columns: repeat(1, 1fr);
        }

        .item-card {
            padding: 16px;
            gap: 8px;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid #FFFFFF;
            border-radius: 8px;
            transition: all .3s ease-in-out;
            cursor: pointer;

            &:hover {
                border: 1px solid #F47920;
                box-shadow: 2px 2px 26px rgba(53, 53, 53, 0.30);
                transform: scale(1.02);
            }

            .icon {
                img {
                    max-width: 32px;
                }
            }

            .text {
                font-weight: 400;
                font-size: 16px;
                line-height: 24px;
                color: #FFFFFF;
            }
        }
    }
}

.section-services,
.section-additonal-services {
    background-color: #f5f5f5;

    .section-title {
        margin-bottom: 32px;

        h2 {
            font-weight: 500;
            font-size: 27px;
            line-height: 40px;
            color: #3E4149;
        }
    }

    .content-services {
        grid-template-columns: repeat(4, 1fr);

        @media(max-width: 990px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media(max-width: 500px) {
            grid-template-columns: repeat(1, 1fr);
        }

        .item-service {
            padding: 30px 20px;
            background: #FFFFFF;
            box-shadow: 0px 0px 26px rgba(53, 53, 53, 0.15);
            border-radius: 16px;
            transition: all .3s ease-in-out;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0);


            &:hover {
                border: 1px solid #F47920;
                box-shadow: 2px 2px 26px rgba(53, 53, 53, 0.30);
                transform: scale(1.02);
            }

            .icon {
                max-width: 32px;
            }

            .text {
                h3 {
                    font-weight: 600;
                    font-size: 16px;
                    line-height: 24px;
                    color: #3E4149;
                    margin-bottom: 8px;
                }

                p {
                    font-weight: 400;
                    font-size: 14px;
                    line-height: 21px;
                    color: #8F9198;
                }
            }
        }
    }
}


.section-additonal-services {



    .content-services {
        grid-template-columns: repeat(3, 1fr);

        @media(max-width: 990px) {
            grid-template-columns: repeat(1, 1fr);
        }

        .item-service {
            background-color: #F47920;
            transition: all .3s ease-in-out;
            cursor: pointer;
            border: 1px solid rgba(0, 0, 0, 0);


            &:hover {
                border: 1px solid #FFFFFF;
                box-shadow: 2px 2px 26px rgba(53, 53, 53, 0.30);
                transform: scale(1.02);
            }

            .text {

                h3,
                p {
                    color: #fff;
                }
            }
        }
    }
}

.section-banner-mid {
    a {
        overflow: hidden;

        img {
            transition: all .5s ease-in-out;
        }

        &:hover {
            img {
                transform: scale(1.05);
            }
        }
    }
}


.section-faq {
    background-color: #f5f5f5;
    background-image: url('../images/bg-faq.png');
    background-size: 1312px;
    background-position: center;
    background-repeat: no-repeat;

    .section-title {
        margin-bottom: 32px;

        h2 {
            font-weight: 500;
            font-size: 27px;
            line-height: 40px;
            color: #3E4149;
        }
    }

    .faq {
        padding: 64px;
        background: #FFFFFF;
        box-shadow: 0px 0px 26px rgba(0, 0, 0, 0.15);
        border-radius: 32px;
        width: 860px;
        max-width: 100%;


        @media(max-width: 500px) {
            padding: 48px 24px;
        }

        .faq-item {
            padding-top: 32px;
            gap: 23px;
            border-bottom: 1px solid #A4A7AF;
            display: flex;
            flex-direction: column;
            padding-bottom: 9px;

            &:nth-child(1) {
                padding-top: 0;
            }

            &:last-child {
                border: none;
            }

            &.active {
                .faq-answer {
                    max-height: 200px;
                    padding: 16px 0;
                    padding-bottom: 23px;
                }

                .faq-icon {
                    transform: rotate(180deg);
                }
            }
        }

        .faq-question {
            width: 100%;
            border: none;
            background-color: transparent;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            text-align: left;

            span {
                font-family: 'Poppins' !important;
                font-weight: 500;
                font-size: 19px;
                line-height: 28px;
                color: #3E4149;
            }
        }

        .faq-icon {
            background-image: url('data:image/svg+xml,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.88 11.4535L8 13.3335L16 21.3335L24 13.3335L22.12 11.4535L16 17.5602L9.88 11.4535Z" fill="%23EA5725"/></svg>');
            background-size: 32px;
            background-position: center;
            background-repeat: no-repeat;
            width: 32px;
            height: 32px;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: 0.3s ease;
            font-weight: 400;
            font-size: 14px;
            line-height: 21px;
            color: #8F9198;

        }
    }
}

.section-depoiments {
    background-color: #f5f5f5;
    background-image: url('../images/bg-depoimentos.png');
    background-size: 1312px;
    background-position: center;
    background-repeat: no-repeat;

    .section-title {
        margin-bottom: 32px;

        h2 {
            font-weight: 500;
            font-size: 27px;
            line-height: 40px;
            color: #3E4149;
        }
    }

}

footer {
    background-color: #3E4149;
    padding: 64px 0;

    .social-logo-footer {
        padding-bottom: 80px;

        @media(max-width: 500px) {
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 24px;
        }

        .logo-footer {
            width: auto;

            img {
                width: 200px;
                height: auto;
            }
        }
    }

    .social-links {
        a {
            svg {
                transition: all .3s ease-in-out;
            }

            &:hover {
                svg rect {
                    stroke: #EA5725;
                }
            }
        }
    }

    .content-footer {
        .social-polices {
            padding-bottom: 32px;

            a {
                font-style: normal;
                font-weight: 500;
                font-size: 14px;
                line-height: 21px;
                color: #A4A7AF;
            }
        }

        .antendimento-footer {
            h2 {
                font-weight: 800;
                font-size: 14px;
                line-height: 21px;
                color: #FFFFFF;
            }

            .links {
                .item-link {
                    span {
                        display: block;
                        max-width: 370px;
                        font-weight: 400;
                        font-size: 14px;
                        line-height: 21px;
                        color: #FFFFFF;
                        transition: all .3s ease;
                    }

                    &:hover {
                        span {
                            transform: translateX(12px);
                        }
                    }
                }
            }
        }

        .content-map {
            iframe {
                border-radius: 12px;
                width: 640px;
                max-width: 100%;
                height: 300px;

                @media(max-width: 990px) {
                    width: 100%;
                }
            }
        }

        .left-footer,
        .right-footer {
            @media(max-width: 990px) {
                width: 100%;
            }
        }
    }
}


.modal-polices {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;

    &.active {
        display: block;
    }

    .modal-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .6);
    }

    .modal-content {
        position: relative;
        max-width: 600px;
        width: calc(100% - 32px);
        margin: 10vh auto;
        background: #fff;
        border-radius: 12px;

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, .1);

            .modal-close {
                font-size: 24px;
                cursor: pointer;
                color: red;
                border: none;
                background-color: transparent;
            }
        }

        .modal-text {
            padding: 12px;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
            max-height: 400px;
            overflow-y: auto;

            h3 {
                font-size: 15px;
                font-weight: 600;
                margin: 20px 0 8px;
                color: #111;
            }

            p {
                margin: 0 0 12px;
            }

            ul {
                margin: 0 0 16px;
                padding-left: 18px;

                li {
                    margin-bottom: 6px;
                    position: relative;
                    padding-left: 6px;
                }
            }

            a {
                color: inherit;
                text-decoration: underline;

                &:hover {
                    opacity: .8;
                }
            }

            h3+p {
                margin-top: 0;
            }

            p+h3 {
                margin-top: 24px;
            }
        }
    }
}

.cookie-popup {
    position: fixed;
    bottom: -600px;
    left: 0;
    width: 100%;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    transition: bottom 1s ease-in-out;
    background: #f5f5f5;
    border-top: 1px solid rgba(0, 0, 0, .2);

    &.active {
        opacity: 1;
        visibility: visible;
        bottom: 0;
    }

    .content-cookies {
        padding: 24px 40px;
        display: flex;
        align-items: center;
        gap: 16px;

        @media(max-width: 990px) {
            flex-wrap: wrap;
        }
    }

    .cookie-box {
        @media(max-width: 990px) {
            width: 100%;
        }

        h3 {
            font-style: normal;
            font-weight: 500;
            font-size: 19px;
            line-height: 28px;
            color: #3E4149;
        }

        p,
        a {
            font-style: normal;
            font-weight: 400;
            font-size: 14px;
            line-height: 21px;
            color: #A4A7AF;
        }

        a {

            color: #002FA7;

        }
    }

    .actions {
        .cta-cookies {
            padding: 10px 32px;
            height: 44px;
            background: #EA5725;
            border-radius: 8px;
            font-style: normal;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            color: #FFFFFF;
            border: 1px solid #EA5725;
            white-space: nowrap;

            &.reject {
                background: #fff;
                color: #EA5725;
            }

        }
    }
}

.float-wpp_site {
    position: fixed;
    z-index: 9999;
    bottom: 12px;
    right: 12px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, .2));
}