*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333B45;
    background-color: #ECECF1;
}

img,
svg,
iframe,
video {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

h1,
h2,
h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #0C3489;
    line-height: 1.25;
    margin: 0 0 20px;
    font-weight: 400;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
    ;
}

h3 {
    font-size: 22px;
}

h3 b,
h2 b,
h1 b {
    font-weight: 700;
}

p {
    margin: 0 0 20px;
}

a {
    color: #0C3489;
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

.material-symbols-outlined {
    font-variation-settings: 'FILL'0, 'wght'400, 'GRAD'0, 'opsz'24;
    vertical-align: middle;
}

.hero-logo {
    display: block;
    width: 250px;
    max-width: 80%;
    height: auto;
    margin: 60px auto 40px;
}

.quiz-logo {
    display: block;
    width: 180px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 40px;
}

.section {
    padding: 100px 0;
    overflow-x: clip;
}

.section--alt {
    background-color: #F5F6F8;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    color: #5C6670;
}

.hero {
    position: relative;
    display: flow-root;
    overflow-x: clip;
    background-color: #0c3489;
    color: #FFFFFF;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(206deg,rgba(12, 52, 137, 0) 0%, rgba(12, 52, 137, 1) 80%, rgba(12, 52, 137, 1) 100%);
}

.hero>.container {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-video {
        display: none;
    }
}

.hero .eyebrow {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #f5b700;
    margin-bottom: 16px;
}

.hero h1 {
    position: relative;
    color: #FFFFFF;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero h1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgb(12 52 137) 0%, rgb(12 52 137) 35%, rgba(245, 183, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.hero .hero-sub {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 40px;
    color: #D7DEE8;
}

.video-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.video-stage {
    position: relative;
}

.video-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(122deg, #fe6a0b 7.21%, #fda51e 73.34%);
    background: #fff;
    transform: rotate(-2deg);
    transform-origin: center;
    z-index: 1;
    pointer-events: none;
    opacity: 0.1;
}

.hero-corretor-layer {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 860px;
    max-width: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-corretor {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(50%);
    width: 680px;
    max-width: 90%;
    height: auto;
}

.hero-corretor-2 {
    display: none;
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
}

.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.video-overlay .overlay-icon {
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.video-frame.is-paused:not(.is-ended) .video-overlay .overlay-icon--play {
    display: inline-flex;
}

.video-frame.is-ended .video-overlay .overlay-icon--replay {
    display: inline-flex;
}

.video-overlay .overlay-icon .material-symbols-outlined {
    font-size: 44px;
    font-variation-settings: 'FILL'1, 'wght'400, 'GRAD'0, 'opsz'48;
}

.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.video-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(122deg, #fe6a0b 7.21%, #fda51e 73.34%);
    background: #fff;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #AEBBCC;
    padding: 24px;
    text-align: center;
}

.video-placeholder .material-symbols-outlined {
    font-size: 56px;
    color: #f5b700;
}

.cta-area {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-locked {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #AEBBCC;
}

.cta-locked .material-symbols-outlined {
    font-size: 20px;
    color: #f5b700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    min-height: 52px;
    padding: 12px 32px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: #0c3489;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #03246b;
}

.btn-cta {
    background-color: #f5b700;
    background-image: linear-gradient(145deg, #ffd24a 0%, #f5b700 45%, #e09400 100%);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    min-height: 60px;
    padding: 16px 44px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 12px 30px rgba(245, 183, 0, 0.35);
    margin-bottom: -31px;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    background-color: #ffc61a;
    background-image: linear-gradient(145deg, #ffdd6b 0%, #ffc61a 45%, #eda000 100%);
}

.btn-cta.is-watch {
    color: #FFFFFF;
    background-color: #c62828;
    background-image: linear-gradient(145deg, #ff5a4d 0%, #e53935 45%, #b71c1c 100%);
    box-shadow: 0 12px 30px rgba(198, 40, 40, 0.35);
    cursor: no-drop;
}

.btn-outline {
    background-color: #F5F6F8;
    color: #999999;
}

.btn-outline:hover {
    background-color: #e7e7e7;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
}

[hidden] {
    display: none !important;
}

.steps-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-row {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step-row:nth-child(even) {
    flex-direction: row-reverse;
}

.step-figure {
    flex: 1 1 52%;
    min-width: 0;
}

.step-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.step-body {
    flex: 1 1 48%;
    min-width: 0;
    text-align: left;
}

.step-body .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #0C3489;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-body h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.step-body h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    background-color: #f5b700;
}

.step-body p {
    margin: 0;
    color: #5C6670;
    font-size: 16px;
}

.step-row:nth-child(even) .step-body {
    text-align: right;
}

.step-row:nth-child(even) .step-body h3::after {
    left: auto;
    right: 0;
}

.site-footer {
    color: #5C6670;
    font-size: 13px;
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.footer-left .footer-logo {
    flex: 0 0 auto;
    width: 40px;
    height: auto;
    display: block;
    margin: 0;
}

.footer-left p {
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-link {
    display: inline-flex;
}

.social-link:hover {
    opacity: 0.85;
}

.social-link img {
    width: 100%;
    height: 100%;
    display: block;
}

.quiz-page {
    background-color: #F5F6F8;
    background-image: linear-gradient(160deg, #EEF3F8 0%, #F5F6F8 55%, #E9EDF2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.quiz-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
}

.quiz-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    padding: 40px;
}

.quiz-progress {
    margin-bottom: 40px;
}

.quiz-progress-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5C6670;
    margin-bottom: 10px;
}

.quiz-progress-track {
    height: 10px;
    background-color: #F5F6F8;
    border-radius: 999px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    width: 0;
    background-color: #0c896b;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.quiz-step h2,
.quiz-step legend {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0C3489;
    line-height: 1.3;
    margin: 0 0 10px;
    padding: 0;
}

.quiz-step .step-hint {
    color: #5C6670;
    font-size: 15px;
    margin-bottom: 20px;
}

.quiz-step fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.form-field label {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0C3489;
    margin-bottom: 5px;
}

.form-field input[type='text'],
.form-field input[type='tel'],
.form-field input[type='email'] {
    width: 100%;
    min-height: 50px;
    padding: 10px 30px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    color: #333B45;
    background-color: #FFFFFF;
    border: 1px solid #DDE2E8;
    border-radius: 100px;
}

.form-field input:focus {
    outline: none;
    box-shadow: none;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.option-card {
    position: relative;
    display: block;
}

.option-card input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.option-card .option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 30px;
    border: 1px solid #DDE2E8;
    border-radius: 100px;
    background-color: #FFFFFF;
    cursor: pointer;
    font-size: 15px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.option-card .option-mark {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 2px solid #DDE2E8;
    border-radius: 50%;
    background-color: #FFFFFF;
}

.option-card input[type='checkbox']+.option-label .option-mark {
    border-radius: 6px;
}

.option-card input:checked+.option-label {
    border-color: #d6e3ff;
    background-color: #f9fbff;
}

.option-card input:checked+.option-label .option-mark {
    border-color: #0C3489;
    background-color: #0C3489;
    box-shadow: inset 0 0 0 4px #FFFFFF;
}

.other-field {
    margin-top: 12px;
}

.field-error {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 15px 30px;
    border-radius: 5px;
    background-color: #e96161;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    pointer-events: none;
}

.field-error:empty {
    display: none;
}

.quiz-nav {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.quiz-nav .btn {
    flex: 1;
}

.quiz-result {
    text-align: center;
}

.quiz-result .result-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.quiz-result--success .result-icon {
    color: #1E6B3C;
}

.quiz-result--error .result-icon {
    color: #B3261E;
}

.quiz-result p {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    color: #5C6670;
}

.privacy-note {
    font-size: 13px;
    color: #5C6670;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .hero::before {
        background-image: url('../img/background-mobile.png');
    }

    .hero-corretor-layer {
        display: none;
    }

    .hero-corretor-2 {
        display: block;
        position: relative;
        z-index: 4;
        width: 350px;
        height: auto;
        margin: 0 auto -35px;
    }

    .hero-overlay {
        background: linear-gradient(258deg, rgba(12, 52, 137, 0) 0%, rgba(12, 52, 137, 1) 80%, rgba(12, 52, 137, 1) 100%);
        background-position: center right;
    }

    .hero h1::before {
        width: 700px;
        height: 700px;
        opacity: 0.8;
    }
}

@media (max-width: 767.98px) {
    .video-stage::before {
        transform: rotate(-4deg);
    }

    .step-row,
    .step-row:nth-child(even) {
        flex-direction: column;
        gap: 20px;
    }

    .step-row:nth-child(even) .step-body {
        text-align: center;
    }

    .step-row:nth-child(even) .step-body h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .step-body {
        text-align: center;
    }

    .step-body h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    .cta-area .btn {
        width: 100%;
        max-width: 420px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        text-align: center;
    }
}