@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --clr-primary: #DFE5FF;
    --clr-secondary: #1F0857;
    --clr-accent: #04CD99;
    --clr-light-purple: #C0C9FF;
    --slider-clr: #DFE5FF;
    --ff-primary: 'Poppins';
    overflow-x: hidden !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: never;
}

body {
    margin: 0;
    padding: 0 !important;
    font-family: var(--ff-primary), sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    overflow-x: hidden !important;
    text-wrap: balance;
    color: var(--clr-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

a:hover {
    color: #000000;
}

body {
    overflow-y: hidden;
}

#section-ads {
    display: flex;
    justify-content: center;
    width: 100%;
}

#section-ads a {
    width: unset;
    padding: 25px;
}

.custom-container {
    --max-width: 1220px;
    --padding: 1rem;
    width: min(var(--max-width), 100% - (2 * var(--padding)));
    margin-inline: auto;
}


form {
    width: 100%;
}

/* inner */
.form-box--inner {
    width: 100%;
}

/* Progress */
.form-progress {
    position: relative;
    padding-top: 10px;
    margin: 0 auto;
}

.form-progress__track {
    height: 8px;
    border-radius: 60px;
    background: rgba(192, 201, 255, 0.20);
}

.form-progress__fill {
    height: 100%;
    width: 10%;
    background: var(--clr-accent);
    border-radius: 999px;
    transition: width .6s ease-in;
}

.step {
    display: none;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    margin-block: 35px;
    text-align: center;
    animation: fadeInUp 1.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#step-5 {
    gap: 20px;
}

.exemplo {
    margin-top: 8px;
}

/* Title */
.form-title {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

/* Options */
.form-options {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.form-options-grid {
    flex-wrap: wrap;
}

.form-options-grid .form-option {
    width: 48%;
}

.form-options-grid .form-option label {
    width: 100%;
}

.form-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-option label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 185px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(192, 201, 255, 0.20);
    border: 1px solid var(--clr-secondary);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    cursor: pointer;
    user-select: none;
    transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.form-option label:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(25, 20, 60, .10);
}

/* selected */
.form-option input:checked+label {
    background: var(--clr-accent);
    border-color: #fff;
    color: white;
    box-shadow: 0 12px 26px rgba(25, 20, 60, .12);
}

.form-option input:checked+label img {
    filter: brightness(0) invert(1);
}

.error {
    font-size: 12px;
    color: red;
    text-align: center;
    display: block;
    margin-top: 5px;
}

/* CTA */
.cta {
    font-weight: 700;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform .08s ease, background .12s ease, box-shadow .12s ease;
    padding-block: 6px;
    padding-inline: 22px 15px;
    border-radius: 60px;
    background: var(--clr-secondary);
    color: #FFF;
    border: none;
    transition: all 0.4s ease;
}

.cta:hover {
    background: var(--clr-accent);
    transform: scale(1.05);
}

.circle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    transition: all 0.4s ease;
}

.cta:hover .circle-icon {
    transform: rotate(45deg);
}

/* input slider */
.form-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slider {
    width: 100% !important;
    margin: 10px 0 !important;
    height: auto !important;
}

.slider_values {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 5px;
    gap: 12px;
}

.slider_values p {
    font-size: 20px;
    line-height: 1.1;
    margin: 0 !important;
}

.value-display {
    margin-bottom: 22px;
    border: 1px solid var(--clr-secondary);
    border-radius: 20px;
    height: 60px;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-display span {
    font-size: 32px;
    font-weight: 700;
}

.value-display:focus-visible {
    outline: none;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 10px 0;
    height: 12px;
    border-radius: 15px;
    background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 12px;
    border-radius: 15px;
    background: linear-gradient(to right, var(--clr-secondary) 0%, var(--clr-secondary) var(--slider-value, 0%), var(--slider-clr) var(--slider-value, 0%), var(--slider-clr) 100%);
}

input[type=range]::-moz-range-track {
    height: 12px;
    border-radius: 15px;
    background: linear-gradient(to right, var(--clr-secondary) 0%, var(--clr-secondary) var(--slider-value, 0%), var(--slider-clr) var(--slider-value, 0%), var(--slider-clr) 100%);
}

input[type=range]::-ms-track {
    height: 12px;
    border-radius: 15px;
    background: transparent;
    border: none;
    color: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary);
    background-size: 14px;
    border: none;
    cursor: pointer;
    margin-top: -10px;
}

input[type=range]::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary);
    background-size: 16px;
    border: none;
    cursor: pointer;
    margin-top: -5px;
}

input[type=range]::-ms-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    background: var(--clr-secondary);
    background-size: 16px;
    border: none;
    cursor: pointer;
    margin-top: -5px;
}


.custom-select {
    width: 100%;
    padding: 0;
    list-style: none;
}

.custom-select .dropdown-toggle {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    background-color: #fff;
    color: var(--placeholder);
    border-radius: 20px;
    border: 1px solid var(--clr-secondary);
    cursor: pointer;
    font-size: 18px;
    background-image: url('/img/icons/drop.svg');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: 95%;
    transition: all 0.7s ease;
    text-align: left;
    overflow: hidden;
}

.custom-select .dropdown-toggle.selected {
    background-image: none !important;
    padding-right: 25px;
}

.custom-select .dropdown-toggle:hover {
    background-color: #D9E8FD;
}

.custom-select.active-bg .dropdown-toggle,
.custom-select .dropdown-toggle.selected {
    background-color: #D9E8FD;
    color: var(--clr-secondary);
}

.dropdown-toggle:focus {
    box-shadow: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    max-height: 165px;
    margin: 3px 0 0 0 !important;
    padding: 0;
    border-radius: 20px;
    overflow-x: hidden;
}

.dropdown-item {
    padding: 15px;
    cursor: pointer;
}

.dropdown-menu li {
    padding: 15px 20px;
    line-height: 1;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background: var(--clr-secondary);
    color: #fff;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.answers {
    width: 100%;
}

.form-input {
    width: 100%;
}

.form-input input[type="text"] {
    width: 100%;
    max-width: 700px;
    margin-inline: auto;
    text-align: start;
    height: 60px;
    padding: 0 25px;
    border-radius: 20px;
    color: var(--clr-secondary);
    border: 1px solid var(--clr-secondary);
    font-size: 18px;
}

/*Term animation */
.termContainer {
    width: 100%;
    font-size: 12px;
    color: var(--clr-secondary);
    cursor: pointer;
    text-align: center;
}

.termContainer a {
    color: var(--clr-secondary);
}

.termContainer input {
    display: none;
}

.termContainer a:hover {
    color: var(--clr-secondary) !important;
}

.termContainer svg {
    overflow: visible;
    max-height: 15px;
    max-width: 15px;
    margin-right: 5px;
    margin-top: 1px;
    vertical-align: baseline;
    translate: 0 2px;
}

.path {
    fill: none;
    stroke: var(--clr-secondary);
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
    stroke-dasharray: 241 9999999;
    stroke-dashoffset: 0;
}

.termContainer input:checked~svg .path {
    stroke-dasharray: 70.5096664428711 9999999;
    stroke-dashoffset: -262.2723388671875;
}

/* messagem de agradecimento */
.message-box {
    border-radius: 30px;
    background-color: #fff;
    padding: 60px 40px;
    text-align: center;
    max-width: 750px;
    margin-inline: auto;
    margin-block: 40px;
}

.message-box h2 {
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 40px;
}


/* Thanks Upload */
.upload-map {
    border: 2px dashed var(--clr-accent);
    border-radius: 8px;
    padding: 20px 25px;
    text-align: center;
    width: 80%;
    font-size: 16px;
    position: relative;
    cursor: pointer;
}

.upload-label {
    cursor: pointer;
}

.upload-label p {
    color: var(--mediumgrey);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-wrap: balance;
    margin: 0;
}

.upload-label span {
    color: var(--clr-accent);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    text-decoration-line: underline;
    text-decoration-style: solid;
}

.upload-map input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.no-map a {
    font-weight: 600;
    color: var(--clr-accent);
}

.upload {
    width: 100%;
    max-width: 200px;
    padding-inline: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agradecimento-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

@media (max-width: 768px) {

    .form-option label {
        min-width: 150px;
        font-size: 18px;
    }

    #step-4 .form-option label {
        min-height: 58px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-input input[type="text"] {
        font-size: 16px;
    }

    .form-option label img {
        height: 15px;
    }

    .form-progress {
        width: 85%;
    }

    .slider_values p {
        font-size: 12px;
    }

    .value-display {
        height: 50px;
    }

    .value-display span {
        font-size: 20px;
    }

    .form-box {
        max-width: 100%;
    }

    .custom-select .dropdown-toggle {
        width: 100%;
        height: 50px;
        padding: 0 16px;
        font-size: 16px;
    }
}

@media(max-width: 550px) {

    .form-options {
        flex-direction: column;
        width: 100%;
    }

    .form-option label {
        width: 100%;
        max-width: 200px;
        font-size: 16px;
    }

    .step {
        margin-block: 35px 0;
    }

    .form-option label {
        font-size: 16px;
    }

    .value-display {
        width: 90%;
    }

    .exemplo {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.2;
        opacity: .9;
    }

    .message-box h2 {
        font-size: 32px;
    }
}